{"text_format":"1","workbook":"xlsx","n_sheets":16,"sheets":[".","Summary & Acknowledgments","Instructions & Rules Reference","Factors Reference","Calculator Form","Calculator Table","Calculate","Rk Assign","Threats Instructions","Threats Assessment","Threats Data Compiled","Export from Biotics5","Import into Biotics","for Version2 users","Lookups","RULES"],"not_rendered":{"charts":0,"images":7,"macros":1,"external_links":0,"defined_names":168,"comments":5,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":3,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":".","index":0,"n_rows":43,"n_cols":1,"rows_kept":43,"cut":false,"hidden":false,"merged":[]}
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
["Version 3.2, June 24, 2020"]
["IMPORTANT: To use the calculator you must Enable Macros."]

{"sheet":"Summary & Acknowledgments","index":1,"n_rows":37,"n_cols":1,"rows_kept":37,"cut":false,"hidden":false,"merged":[]}
["NatureServe Conservation Status Assessments: Rank Calculator Version 3.2"]
["Executive Summary"]
["Primary Goal: To assess the conservation status of species and ecosystems—specifically the extinction risk of species and elimination risk of ecosystems at global scales, and their extirpation risk at national and subnational scales—using standard methods. NatureServe and Natural Heritage program staff across North America collect and evaluate data for species and ecosystems of concern using these methods and tools to ensure that assigned status ranks are accurate and consistent, based on current field and remote sensing information."]
["Rank Factors (see Master et al. 2012)"]
["• Eight core status rank factors are identified as relevant to risk assessments of extinction/elimination or extirpation."]
["\u009f• Descriptions of each factor include the basis for its use and its evaluation and rating criteria."]
["Methods (see Faber-Langendoen et al. (2012)"]
["• Factors are organized into three categories (rarity, threats, and trends)."]
["• Conditional rules for use of factors are applied to ensure that adequate information is used for assessing status."]
["• Factors are scaled and weighted according to their impact on risk."]
["• Consistent factor scaling and weighting allows the use of points to effectively score the contribution of each factor to risk."]
["• Scores are weighted and combined by category resulting in an overall calculated rank, which is reviewed, and a final conservation status rank assigned."]
["Tools"]
["• A rank calculator automates the process of assigning conservation status ranks (NatureServe 2012, provided here)."]
["• NatureServe’s Biotics database provides management for all conservation status information."]
[]
["Suggested Citation"]
["NatureServe. 2020. NatureServe Conservation Status Assessments: Rank Calculator Version 3.2. NatureServe, Arlington, VA. Online at"]
["https://www.natureserve.org/conservation-tools/conservation-rank-calculator"]
[]
["Acknowledgments"]
["This Rank Calculator provides a tool for assigning a conservation status rank to all elements of biodiversity tracked by NatureServe. The calculator has been developed by the Element Ranking Work Group, which was formed in 2004; current members are Don Faber-Langendoen and Margaret Ormes (co-chairs), and (in alphabetical order) Marilyn Anions, Roxanne Bittman, Geoff Hammerson, Bonnie Heidel, Larry Master, Jennifer Nichols, Leah Ramsay, Andy Teucher, Adele Tomaino, Ben Wigley (NCASI), and Bruce Young. Kristin Snow provided the programming skills and feedback to the working group on how best to implement the Rank Calculator. Past members include the late Larry Morse (who, with Adele Tomaino, helped create Version 1 of the rank calculator), Paul Hendricks, Steve Rust, and Troy Weldy. We appreciate their contributions to this project."]
["We thank all those in the NatureServe network who for many years have been applying the ranking methodology to species and community element types. Their ongoing advice has helped us think through many of the issues we needed to address in refining our methods. Most recently, the calculator has been extensively reviewed by several staff of network member programs. Participants at the National Center for Ecological Analysis and Synthesis (NCEAS) workshops (2000-2004) advised NatureServe on methods for assessing extinction risk. Funding for the most recent revisions has been generously provided by the National Council for Air and Stream Improvement (NCASI), Office Depot, U.S. Fish and Wildlife Service, U.S. Forest Service, the Sarah K. de Coizart Article TENTH Perpetual Charitable Trust, an anonymous donor, and in-kind contributions from NatureServe and member programs."]
["Front cover artwork: \"Rustico Beach Dunes\" (detail), Carol Fogelsong 2008."]
[]
["References"]
["Faber-Langendoen, D., J. Nichols, L. Master, K. Snow, A. Tomaino, R. Bittman, G. Hammerson, B. Heidel, L. Ramsay, A. Teucher, and B. Young. 2012. NatureServe Conservation Status Assessments: Methodology for Assigning Ranks. NatureServe, Arlington, VA. Online at:"]
["http://www.natureserve.org/publications/ConsStatusAssess_RankMethodology.jsp"]
[]
["Master, L.L., D. Faber-Langendoen, R. Bittman, G.A. Hammerson, B. Heidel, L. Ramsay, K. Snow, A. Teucher, and A. Tomaino. 2012. NatureServe Conservation Status Assessments: Factors for Evaluating Species and Ecosystem Risk. NatureServe, Arlington, VA. Online at:"]
["http://www.natureserve.org/publications/ConsStatusAssess_StatusFactors.jsp"]
[]
["Salafsky, N., D. Salzer, A.J. Stattersfield, C. Hilton-Taylor, R. Neugarten, S.H.M. Butchart, B. Collen, N. Cox, L.L. Master, S. O’Connor, and D. Wilkie. 2008. A standard lexicon for biodiversity conservation: unified classifications of threats and actions. Conservation Biology 22:897– 911. Classification online at:"]
["http://conservationmeasures.org/CMP/IUCN/browse.cfm?TaxID=DirectThreats"]
[]
["© NatureServe 2020"]
["Version 3.2, June 4, 2020"]

{"sheet":"Instructions & Rules Reference","index":2,"n_rows":80,"n_cols":4,"rows_kept":80,"cut":false,"hidden":false,"merged":[[0,0,0,4],[22,2,22,4],[17,2,17,4],[18,2,18,4],[12,2,12,4],[15,2,15,4],[19,2,19,4],[20,2,20,4],[13,2,13,4],[14,2,14,4],[1,1,1,4],[9,2,9,4],[10,2,10,4],[11,2,11,4],[16,2,16,4],[67,3,68,3],[40,1,40,4],[41,1,41,4],[42,1,42,4],[43,1,43,4],[44,1,44,4],[50,1,50,4],[39,1,39,4],[21,2,21,4],[8,2,8,4],[27,2,27,4],[24,2,24,4],[25,2,25,4],[26,2,26,4],[28,2,28,4],[29,2,29,4],[30,2,30,4],[31,2,31,4],[32,2,32,4],[23,2,23,4]]}
["NatureServe Conservation Status Rank Calculator: Brief Overview"]
[null,"This calculator does not contain all the information necessary for ranking; please carefully review \"NatureServe Conservation Status Assessments: Factors for Evaluating Species and Ecosystem Risk\" (Master et al. 2012) and \"NatureServe Conservation Status Assessments: Methodology for Assigning Ranks\" (Faber-Langendoen et al. 2012)."]
[]
[null,"This workbook automatically calculates a conservation status rank from data entered in the Calculator Form or Calculator Table tabs."]
[null,"For help with this calculator, contact Don Faber-Langendoen (don_faber-langendoen@natureserve.org) or Kristin Snow (kristin_snow@natureserve.org)."]
[null,"Note: drag-and-drop and auto-complete are DISABLED in this workbook."]
[]
[null,"Workbook Sheets (use tabs at bottom of workbook to switch among sheets):"]
[null,"Summary & Acknowledgments","Contains the Executive Summary, suggested citation, references, and recognition for members of the Element Ranking Work Group and others that have contributed to the updated methodology and development of the rank calculator."]
[null,"Instructions & Rules Reference","Provides basic information on how to use the rank calculator, and summarizes the rules applied to generate a calculated status rank."]
[null,"Factors Reference","Summarizes the status factors and rating values. (Prints on 2 pages.)"]
[null,"Calculator Form","In cases when no existing factor ratings data have been recorded in NatureServe's Biotics data management system for import, the form is used for entering status factor ratings for a single species or ecosystem at a time and generating a calculated rank.\nDetails of the automated calculation process can be viewed most easily using this form. A row from the Calculator Table can be imported into this form for better viewing.  The calculated rank changes with each edit that is made to data in the form."]
[null,null,"Buttons: \"Copy Data to Calculator Table\" copies the data from this form to a new row on the Calculator Table worksheet; \"Clear Form\" removes all data from this form."]
[null,null,"Caution: the \"Copy Data to Calculator Table\" button does not check existing records in the Calculator Table to prevent creating duplicate rows; it is up to the user to do so."]
[null,"Calculator Table","Stores factor data, either imported from Biotics or transferred from the Calculator Form, for multiple species and ecosystems in tabular format. The calculated rank changes with each edit that is made to data in the Calculator Table."]
[null,null,"Buttons: \"Copy Selected Row to Calculator Form\" replaces data existing in the Calculator Form with the selected row; \"Cautions\" provides important information about using this table, which you are advised to read."]
[null,null,"Caution: The Calculator Table is not designed for data entry and contains no data validation of rank factor values."]
[null,"Threats Instructions","Provides information on how to use the Threats Assessment worksheet."]
[null,"Threats Assessment","Used to automatically calculate the rating for the Overall Threat Impact status factor based on scope and severity values entered for individual threats.  An overall threat impact is automatically calculated, but you must verify or change the calculated value by selecting a value in the \"Assigned Overall Threat Impact\" cell."]
[null,null,"Buttons: \"Copy Data to 'Threats Data Compiled'\" copies the data from this form to new rows on the Threats Data Compiled worksheet; \"Clear Form\" removes all the data from this form; \"Copy Overall Impact and Adjustment Reasons to Calculator Form\" copies the Assigned Overall Threat Impact rating and Overall Threat Impact Adjustment Reasons to the Calculator Form."]
[null,null,"Caution: You must manually enter scope & severity for Level 1 threats. There is no automatic rollup of lower-level threats, and only Level 1 threats are included in the Overal Threat Impact calculation."]
[null,"Threats Data Compiled","Stores threats data, either imported from Biotics or transferred from the Threats Assessment Worksheet, for multiple species and ecosystems in tabular format."]
[null,null,"Buttons: \"Cautions\" provides important information about using this table, which you are advised to read before copying data to the Threats Assessment Worksheet; \"Copy Selected Rows to 'Threats Assessment'\" replaces data existing in the Threats Assessment Worksheet with the selected rows."]
[null,"Biotics Export/Import Sheets","Provide SQL queries and instructions for exporting global or subnational status factor ratings from Biotics into the rank calculator,"]
[null,"Export from Biotics 2011","... for Biotics installations that have been updated to use the new (2011) methodology use in this calculator."]
[null,"Export from Biotics pre-2011","… for Biotics installations that have NOT been updated to use the new (2011) methodology. These queries automatically convert the existing ratings that were assigned under the previous methodology to the equivalent new values during the export process."]
[null,"Import into Biotics","Provides information to be considered regarding data import from the rank calculator into Biotics. Data from the rank calculator should not be imported into Biotics until the database includes the structure required to manage data for the updated methodology."]
[null,"for Version2 users","Contains information on changes made to the rank calculator since v2.0 (2010) and whether they affect rank calculation."]
[null,"Hidden Sheets","(The curious can display these by right-clicking on any tab below and selecting Unhide, but do not edit them; they affect the calculation.)"]
[null,"RULES","Ranking rules and the points and weights which are used in the calculations in the other tabs."]
[null,"Calculate","Calculation of the rank score from weighted factor points."]
[null,"Rk Assign tab","The calculated rank score is converted into a Global Rank."]
[null,"Lookups","The lists used in dropdowns and for some calculations."]
[]
[null,"Summary of Rules"]
[null," Return GRanks, NRanks or SRanks?",{"$f":"'Calculator Form'!F4","v":"S"},"If G then GRanks and TRanks will be calculated; if N or S then NRanks or SRanks will be calculated.  "]
[null,null,null,"The only difference is in which letter precedes the number in the rank."]
[null,null,null,"You can change this on the \"Calculator Form\" tab; the choice is applied to ALL ranks in the calculator."]
[null," Minimum Factors Requirement"]
[null,"     To calculate a rank, there must be a value for 1 factor from each of 2 out of 3 factor groups: "]
[null,"          Rarity1 (Range/Distribution): Range Extent, Area of Occupancy"]
[null,"          Rarity2 (Abundance/Condition): # of Occurrences, # of Occurrences or Percent Area with Good Viability/Ecological Integrity, Population Size"]
[null,"          Threats/Trends: Overall Threat Impact, Short-term Trend, Long-term Trend"]
[null,"          *Environmental Specificity and Intrinsic Vulnerability do not count towards meeting the minimum factors requirement."]
[null,"     If not met, a GU (or SU) rank is returned."]
[]
[null," Overrides:"]
[null,"Any factor = exact Z produces GX (or SX).  (Population size, Area of Occupancy, # of Occurrences, or Range Extent)"]
[null,"(An exact Z for one factor with non-Z values for other rarity factors produces an error (rank will = \"Z-ERROR\").)"]
[null,"Any factor = Z range produces GH (or SH).  (Population size, Area of Occupancy, # of Occurrences, or Range Extent)"]
[null,"Population size or Area of Occupancy = A, AB, B, ZA, or ZB produces G1 (or S1)."]
[]
[null," Ruleset:"]
[null," Ruleset Name:",{"$f":"RULES!G1","v":"Standard with \"Trend Subtraction/Addition Method\""}]
[null," Point scale:",{"$f":"LEFT(RULES!G4) & LOWER(MID(RULES!G4,2,20))","v":"Linear scale"}," "]
[null," Point range:",{"$f":"RULES!G3","v":5.5}," "]
[null," Averaging method:",{"$f":"RULES!J4","v":"3AVG"}," "]
[null,"Rarity weight:",{"$f":"RULES!$F$15","v":0.7}," "]
[null,"Threats weight:",{"$f":"RULES!$F$17","v":0.30000000000000004}," "]
[null,"Trends weight:",{"$f":"RULES!$F$16","v":0},"(\"Trend Subtraction/Addition Method\")"]
[]
[null," Factor weights:"," "," "]
[null,"   Rarity",{"$f":"RULES!$F$15","v":0.7}," "]
[null,"Range Extent",{"$f":"RULES!$B$46","v":1}," "]
[null,"Area of Occupancy",{"$f":"RULES!$B$55","v":2}]
[null,"# of Occurrences",{"$f":"RULES!$B$66","v":1}," "]
[null,"Population Size",{"$f":"RULES!$B$38","v":2}," "]
[null,"# of Occurrences with Good Viability/Ecological Integrity",{"$f":"RULES!$B$75","v":2},"If both factors rated then most at-risk rating used. \n§Can only rate if Area of Occupancy also rated. "]
[null,"Percent Area with Good Viability/Ecological Integrity§",{"$f":"RULES!$B$83","v":2}]
[null,"*Environmental Specificity",{"$f":"RULES!$B$96","v":1},"Only used if # of Occurrences AND Area of Occupancy are Unknown or Null"]
[null,"   Threats",{"$f":"RULES!$F$17","v":0.30000000000000004}," "]
[null,"Overall Threat Impact",{"$f":"RULES!$B$125","v":1}," "]
[null,"*Intrinsic Vulnerability",{"$f":"RULES!$B$133","v":1},"Only used if Overall Threat Impact is Unknown or Null "]
[null,"   Trends",{"$f":"RULES!$F$16","v":0}," "]
[null,"Short-term Trend",{"$f":"RULES!$B$116","v":2}," "]
[null,"Long-term Trend",{"$f":"RULES!$B$108","v":1}," "]
[]
[null," Thresholds:"," "]
[null,"Range Rank Upper",{"$f":"RULES!F149","v":0.95}]
[null,"Range Rank Lower",{"$f":"RULES!G149","v":0.8}]

{"sheet":"Factors Reference","index":3,"n_rows":87,"n_cols":5,"rows_kept":87,"cut":false,"hidden":false,"merged":[[0,0,0,4],[1,0,1,4]]}
["NatureServe Conservation Status Ranking Factors: Summary"]
["These summaries are for a quick reminder; they do not contain all the information necessary for ranking. Please carefully review  \"NatureServe Conservation Status Assessment: Factors for Evaluating Species and Ecosystem Risk\" (Master et al. 2012)."]
[]
[null,"RARITY - Range/Distribution FACTOR GROUP"]
["Pts","Range Extent  (weight = 1)",null,"Pts","Environmental Specificity"]
[0,"Z = Zero (no occurrences believed extant; presumed extinct)",null,null,"Only used if # of Occurrrences & Area of Occupancy are Unknown or Null. (weight = 1)"]
[0,"A = <100 square km (< about 40 square mi)",null,0,"A = Very narrow.  Specialist or ecosystem with key requirements scarce"]
[0.7857142857142857,"B = 100-250 square km (about 40-100 square mi)",null,1.8333333333333333,"B = Narrow.  Specialist or ecosystem with key requirements common"]
[1.5714285714285714,"C = 250-1,000 square km (about 100-400 square mi)",null,3.6666666666666665,"C = Moderate.  Generalist or ecosystem with some key requirements scarce"]
[2.3571428571428572,"D = 1,000-5,000 square km (about 400-2,000 square mi)",null,5.5,"D = Broad.  Generalist or ecosystem with all key requirements common"]
[3.1428571428571428,"E = 5,000-20,000 square km (about 2,000-8,000 square mi)",null,null,"U = Unknown"]
[3.9285714285714284,"F = 20,000-200,000 square km (about 8,000-80,000 square mi)"]
[4.7142857142857144,"G = 200,000-2,500,000 square km (about 80,000-1,000,000 sqare mi)"]
[5.5,"H = >2,500,000 square km (> 1,000,000 square mi)"]
[null,"U = Unknown"]
[null,"U = Unknown"]
[null,"Area of Occupancy (AOO)  (weight = 2)"]
[]
[]
[null,"RARITY - Abundance/Condition FACTOR GROUP"]
["Pts","Number of Occurrences  (weight = 1)",null,"Pts","Population Size  (weight = 2)"]
[0,"Z = 0 (zero; presumed extinct)",null,0,"Z = Zero, no individuals believed extant (presumed extinct)"]
[0,"A = 1 - 5",null,0,"A = 1 - 50 individuals"]
[1.375,"B = 6 - 20",null,0.7857142857142857,"B = 50 - 250 individuals"]
[2.75,"C = 21 - 80",null,1.5714285714285714,"C = 250 - 1,000 individuals"]
[4.125,"D = 81 - 300",null,2.3571428571428572,"D = 1,000 - 2,500 individuals"]
[5.5,"E = >300",null,3.1428571428571428,"E = 2,500 - 10,000 individuals"]
[null,"U = Unknown",null,3.9285714285714284,"F = 10,000 - 100,000 individuals"]
[null,null,null,4.7142857142857144,"G = 100,000 - 1,000,000 individuals"]
[null,null,null,5.5,"H = >1,000,000 individuals"]
[null,null,null,null,"U = Unknown"]
[null,null,null,null,"U = Unknown"]
[null,"Number of Occurrences with Good Viability/Ecological Integrity  (weight = 2)",null,null,"Percent Area Occupied with Good Viability/Ecological Integrity  (weight = 2)"]
[null,"Enter this OR Percent Area Occupied with Good Viability/Ecological Integrity; ",null,null,"Must also fill out Area of Occupancy."]
["Pts","if both filled out, the more restrictive of the two values will be used.",null,"Pts"]
[0,"A = No occurrences with excellent or good (A or B) viability or ecological integrity",null,0,"A  = No area with excellent or good (A or B) viability or ecological integrity         "]
[1.1000000000000001,"B = Very few (1-3) occurrences with excellent or good viability or ecological integrity",null,1.1000000000000001,"B  = Very small percentage (<5%) of area with excellent or good viability/integrity "]
[2.2000000000000002,"C = Few (4-12) occurrences with excellent or good viability or ecological integrity",null,2.2000000000000002,"C  = Small percentage (5-10%) of area with excellent or good viability/integrity "]
[3.3000000000000003,"D = Some (13-40) occurrences with excellent or good viability or ecological integrity",null,3.3000000000000003,"D  = Moderate percentage (11-20%) of area with excellent or good viability/integrity "]
[4.4000000000000004,"E = Many (41-125) occurrences with excellent or good viability or ecological integrity",null,4.4000000000000004,"E  = Good percentage (21-40%) of area with excellent or good viability/integrity "]
[5.5,"F = Very many (>125) occurrences with excellent or good viability or ecological integrity",null,5.5,"F  = Excellent percentage (>40%) of area with excellent or good viability/integrity "]
[null,"U = Unknown",null,null,"U = Unknown"]
[null,"U = Unknown",null,null,"U = Unknown"]
[null,"THREATS and TRENDS FACTOR GROUP"]
["Pts","Overall Threat Impact  (weight = 1)",null,null,"Threat Scope  (Typically assessed within a 10-year timeframe for taxa"]
[0,"A = Very High",null,null,"or 20-year timeframe for ecosystems)"]
[1.8333333333333333,"B = High",null,null,"Pervasive =  Affects all or most (71-100%) of the total population or occurrences"]
[3.6666666666666665,"C = Medium",null,null,"Large =         Affects much (31-70%) of the total population or occurrences"]
[5.5,"D = Low",null,null,"Restricted = Affects some (11-30%) of the total population or occurrences"]
[null,"U = Unknown",null,null,"Small =         Affects a small proportion (1-10%) of the total population or occurrences"]
[null,null,null,null,"Negligible = Affects a negligible proportion (<1%) of total population or occurrences"]
[null,null,null,null,"Unknown"]
[null,"U = Unknown"]
[null,"Threat Impact Calculation",null,null,"Threat Severity (Assessed within 10 years or 3 generations (up to 100 years) for taxa"]
[null,null,null,null,"  or 20 years for ecosystems)"]
[null,null,null,null,"Within the scope, the threat is: "]
[null,null,null,null,"Extreme =  Likely to destroy or eliminate occurrences or reduce the population 71-100%"]
[null,null,null,null,"Serious =   Likely to seriously degrade/reduce affected occurrences or habitat or"]
[null,null,null,null,"                    reduce the population 31-70%"]
[null,null,null,null,"Moderate = Likely to moderately degrade/reduce affected occurrences or habitat or"]
[null,null,null,null,"                    reduce the population 11-30%"]
[null,null,null,null,"Slight =       Likely to only slightly degrade/reduce affected occurrences or habitat, or"]
[null,null,null,null,"                    reduce the population 1-10%"]
[null,null,null,null,"Negligible = Likely to have only negligible negative affects on occurrences or habitat, "]
[null,null,null,null,"                      or reduce the population <1%"]
[null,null,null,null,"Neutral or Benefit Potential = Not a threat"]
[null,null,null,null,"Unknown"]
[]
[null,"Intrinsic Vulnerability",null,null,"Threat Timing"]
["Pts","Only used if Overall Threat is Unknown or Null. (weight = 1)",null,null,"Not used in calculating Threat Impact, except Insig./Negligible results in no impact."]
[0,"A = Highly vulnerable",null,null,"High =        Continuing"]
[2.75,"B = Moderately vulnerable",null,null,"Moderate = In the short-term future, or now suspended but could return in short term"]
[5.5,"C = Not intrinsically vulnerable",null,null,"Low =          In the long-term future, or now suspended but could return in long term"]
[null,null,null,null,"Insignificant/Negligible = Only in past & unlikely to return, or no direct affect but limiting"]
[]
["Pts","Short-term Trend (10 years or 3 generations (up to 100 yrs.) for taxa",null,"Pts","Long-term Trend   (over the past ca. 200 years)"]
[null,"   or 50 years for ecosystems"]
[-0.50000000000000089,"A = Decline of >90%",null,-0.50000000000000089,"A = Decline of >90%"]
[-0.4019828977761013,"B = Decline of 80 - 90%",null,-0.4019828977761013,"B = Decline of 80 - 90%"]
[-0.31037069710444887,"C = Decline of 70 - 80%",null,-0.31037069710444887,"C = Decline of 70 - 80%"]
[-0.22474487139158938,"D = Decline of 50 - 70%",null,-0.22474487139158938,"D = Decline of 50 - 70%"]
[-0.1447142425533321,"E = Decline of 30 - 50%",null,-0.1447142425533321,"E = Decline of 30 - 50%"]
[-6.991319393366302E-2,"F = Decline of 10 - 30%",null,-6.991319393366302E-2,"F = Decline of 10 - 30%"]
[0,"G = Relatively Stable (<=10% change)",null,0,"G = Relatively Stable (<=10% change)"]
[6.991319393366302E-2,"H = Increase of 10 - 25%",null,6.991319393366302E-2,"H = Increase of 10 - 25%"]
[0.1447142425533321,"I = Increase of >25%",null,0.1447142425533321,"I = Increase of >25%"]
[null,"U = Unknown",null,null,"U = Unknown"]

{"sheet":"Calculator Form","index":4,"n_rows":59,"n_cols":9,"rows_kept":59,"cut":false,"hidden":false,"merged":[[15,4,15,5],[16,4,16,5],[17,2,21,2],[14,4,14,5],[17,1,27,1],[45,4,45,6],[46,4,46,6],[58,4,58,6],[31,0,32,0],[41,5,41,6],[43,5,43,7],[38,5,38,7],[37,5,37,7],[57,4,57,6],[51,4,51,6],[52,4,52,6],[55,4,55,6],[56,4,56,6],[31,1,32,1],[28,1,30,1],[28,0,30,0],[0,0,0,7],[18,7,21,7],[39,5,39,6],[24,7,26,7],[11,4,11,5],[5,0,16,1],[5,2,16,2],[5,3,16,3],[22,2,26,2],[9,4,9,5],[10,4,10,5],[12,4,12,5],[17,0,27,0],[13,4,13,5]]}
["Rank Calculator Form"]
[null,null,null,"Remember to adopt a moderate attitude, taking care to identify the most likely plausible range of values, excluding extreme or unlikely values.  "]
[]
[null,null,null,null,"Change to return GRanks, NRanks, or Sranks:","S","  change using dropdown; also affects Calculator Table"]
[]
["Factor Groups with Weights",null,"Minimum factors categories","individual factor weights"]
[null,null,null,null,null,null,"Enter values below, text in off-white and light-green cells and dropdowns in yellow and blue cells."]
[null,null,null,null,null,null,"Scroll down in dropdowns for additional choices."]
[null,null,null,null,null,null,"To clear an individual value, put your cursor in the drop-down cell and press Delete."]
[null,null,null,null,"Species or Ecosystem Scientific Name"]
[null,null,null,null,"Type  (enter \"infraspecies\" for a T-Rank)"]
[null,null,null,null,"Spatial Pattern (for ecosystems only)"]
[null,null,null,null,"Optional Information:            Element ID",null,null,"global, national, or subnational"]
[null,null,null,null,"Elcode"]
[null,null,null,null,"Common Name",null,"small mammal"]
[null,null,null,null,"Classification"]
[null,null,null,null,"Nation or Subnation (for N- or S-Ranks)",null,null,"COMMENTS (Place cursor in cell to see full text.)"]
["Rarity",{"$f":"\"weight: \" & RULES!$F$15","v":"weight: 0.7"},"Range/Distr.",{"$f":"RULES!$B$46","v":1},"Range Extent",{"$f":"IF(G18>\"\",LEFT(G18,FIND(\"=\",G18)-2),\"\")","v":"B"},"B = 100-250 sq km (~40-100 sq mi)"]
[null,null,null,{"$f":"RULES!$B$55","v":2},"Area of Occupancy:",{"$f":"F20&F21&F22","v":""},"FILL OUT ONLY 1 OF FOLLOWING 3 FIELDS",null,{"$f":"AND(F19<>\"U\",F19>\"\")","v":false}]
[null,null,null,null,"Direct estimate (ecosystems)  OR",""]
[null,null,null,null,"4 km2 grid cells (species)           OR",""]
[null,null,null,null,"1 km2 grid cells (linear species)",""]
[null,null,"Abund./Cond.",{"$f":"RULES!$B$66","v":1},"Number of Occurrences","",null,null,{"$f":"AND(F23<>\"U\",F23>\"\")","v":false}]
[null,null,null,{"$f":"RULES!$B$38","v":2},"Population Size*",{"$f":"IF(G24>\"\",LEFT(G24,FIND(\"=\",G24)-2),\"\")","v":""}]
[null,null,null,2,"Good Viability/Ecological Integrity:",{"$f":"IF(AND(F26=\"\",I27=\"\"),\"\",IF(F26=\"\",I27,IF(I27=\"\",F26,IF(F26<I27,F26,I27))))","v":""},"FILL OUT ONLY 1 OF FOLLOWING 2 FIELDS"]
[null,null,null,{"$f":"F26","v":""},"Number of Occurrences            OR",""]
[null,null,null,{"$f":"IF(AND(F19>\"\",F19<>\"U\"),F27,\"\")","v":""},"Percent of Area Occupied",{"$f":"IF(G27>\"\",LEFT(G27,FIND(\"=\",G27)-2),\"\")","v":""},null,null,{"$f":"IF(AND(I19,G27>\"\"),LEFT(G27,FIND(\"=\",G27)-2),\"\")","v":""}]
[null,null,"X",{"$f":"RULES!$B$96","v":1},"Environmental Specificity (opt.)","",null,null,{"$f":"IF(AND(NOT(I19),NOT(I23),G28>\"\"),LEFT(G28,FIND(\"=\",G28)-2),\"\")","v":""}]
["Threats",{"$f":"RULES!$F$17","v":0.30000000000000004},null,{"$f":"RULES!$B$133","v":1},"Assigned Overall Threat Impact",{"$f":"IF(G29>\"\",LEFT(G29,FIND(\"=\",G29)-2),\"\")","v":""},null,null,{"$f":"AND(F29<>\"U\",F29>\"\")","v":false}]
[null,null,null,null,"Calculated Overall Threat Impact (FYI)",{"$f":"IF(G30>\"\",LEFT(G30,FIND(\"=\",G30)-2),\"\")","v":""}]
[null,null,"X",{"$f":"RULES!$B$125","v":1},"Intrinsic Vulnerability (opt.)",{"$f":"IF(G31>\"\",LEFT(G31,FIND(\"=\",G31)-2),\"\")","v":""},null,null,{"$f":"IF(AND(NOT(I29),G31>\"\"),LEFT(G31,FIND(\"=\",G31)-2),\"\")","v":""}]
["Trends",null,null,{"$f":"RULES!$B$116","v":2},"Short-term Trend",{"$f":"IF(G32>\"\",LEFT(G32,FIND(\"=\",G32)-2),\"\")","v":""}]
[null,null,null,{"$f":"RULES!$B$108","v":1},"Long-term Trend",{"$f":"IF(G33>\"\",LEFT(G33,FIND(\"=\",G33)-2),\"\")","v":""}]
[null,null,null,null,"Minimum factors requirement met?",{"$f":"'Calculator Table'!BN5","v":false}]
[]
[null,null,null,null,"Calculated Rank",{"$f":"'Calculator Table'!A5","v":"SU"},{"$f":"IF('Calculator Table'!BW5=\"Z-ERROR\",\"You entered an exact Z for one factor and a non-Z value for another rarity factor.\",IF('Calculator Table'!BU5>0,\"The calculated rank = 'Extinct/Extirpated' because you entered an exact Z for a factor.\",IF('Calculator Table'!BV5>0,\"The calculated rank = 'Historic' because you entered a Z-range value for a factor.\",\"Always review the calculated rank.\")))","v":"Always review the calculated rank."}]
[null,null,null,null,"Assigned Rank**",null,{"$f":"IF(ISBLANK(F37),\"ALWAYS MANUALLY ASSIGN THE RANK HERE. (Verify or adjust the calculated rank.)\",IF(F37<>F36,IF(ISBLANK(F38),\"Please enter an explanation for your rank adjustment in the 'Rank Adjustment Reasons' field.\",\"Adjusted Rank\"),IF(ISBLANK(F38),\"Verified Rank\",\"Calculated rank was verified; do not fill out the 'Rank Adjustment Reasons' field.\")))","v":"ALWAYS MANUALLY ASSIGN THE RANK HERE. (Verify or adjust the calculated rank.)"}]
[null,null,null,null,"Rank Adjustment Reasons"]
[null,null,null,null,"Assigned Rank Reasons"]
[null,null,null,null,"Rank Factor Ratings Author"]
[null,null,null,null,"Rank Factor Ratings Date",null,"Enter Ctrl-semicolon (;) for today's date."]
[null,null,null,null,"Rank Assignment Author"]
[null,null,null,null,"Rank Review Date",null,"Enter Ctrl-semicolon (;) for today's date."]
[null,null,null,null,"Rank Calculator Internal Notes"]
[]
[null,null,null,null,"*Do not enter a coded value for Population Size if it is not meaningful in calculating a conservation status.  Instead, leave the coded value blank and enter a reason in the Population Size Comments field.  If desired, the \"Population Size Estimate\" field can be used to record a numerical estimate of the population size.  "]
[null,null,null,null,"The coded value for Population Size should be left blank for species where a large number of individuals indicate a sense of security that is not warranted.  Examples include invertebrates for which thousands to millions of individuals occur in a very small area, and annual plants dependent on seed banking.  See Master et al. (2012) for more information"]
[]
[null,null,null,null,"**In this field, accept the calculated rank by entering it, OR assign a qualified rank, or rarely, an adjusted rank."]
[null,null,null,null,"   If you qualify or adjust the Calculated Rank, be sure to document the details in the 'Rank Adjustment Reasons' field."]
[null,null,null,null,"Qualifying a Calculated Rank:"]
[null,null,null,null,"• Q (Questionable taxonomy) qualifier (Global ranks only):  If distinctiveness of this entity as a taxon or ecosystem type at the current level is questionable, and resolution of this uncertainty may result in a lower-priority (numerically higher) conservation status, the calculated rank can be qualified by adding a Q after the G# ."]
[null,null,null,null,"• C (Captive or Cultivated only) qualifier (Global ranks only):  If the species at present is extinct in the wild across its entire native range but is extant in cultivation, in captivity, as one or more naturalized populations outside its native range, or as a reintroduced population not yet established, qualify the calculated rank by adding a Q after the G#. Similarly, if an ecosystem at present is eliminated in the wild across its entire native range, but is extant, but not full established, in restorations within that native range, qualify the calculated rank by adding a Q after the G#."]
[null,null,null,null,"Adjusting the Calculated Rank:"]
[null,null,null,null,"CALCULATED RANKS SHOULD ONLY RARELY BE ADJUSTED, AND ONLY WITH SUFFICIENT DOCUMENTATION AND PEER REVIEW "]
[null,null,null,null,"• Rescue Effect (Subnational or National ranks only): If the jurisdictional population being assessed experiences significant immigration of propagules capable of reproducing in the jurisdiction, resulting in a lower extinction risk, the calculated rank may be raised to indicate lower priority by a half step or more (most commonly one step, e.g., from S2 to S3). In exceptional cases, lowering the rank may be appropriate, if the population within the jurisdiction is a demographic sink that is unable to sustain itself without immigration, AND if the immigration is expected to decrease."]
[null,null,null,null,"• Comparison to Global and National/Subnational Rank information is useful when assigning conservation status, especially when the national/subnational information is more current or detailed than the global information or vice versa. Global and national/subnational ranks are designed to be used together (e.g., G4S2) in national/subnational reports so as to provide a more complete picture of the conservation status of a species or ecosystem in the geographic area (nation, state, province) of interest. Historically, a national/subnational rank that implied that a species/ecosystem was more imperiled at a global level than it was at a local level was not acceptable. For example, G1S3 was invalid, since in principle a species or ecosystem could not be ‘vulnerable’ to elimination at a global level but at the same time ‘apparently secure’ at a subnational level. This rule is under review because current status assessment methods provide a more explicit role for Threats and Trends, which may indicate low levels of risk at national/subnational scales as compared to global scales, and a one rank difference may be permissible (e.g., G1S2)."]
[null,null,null,null,"• Other reasons which might rarely indicate that a calculated rank needs adjustment include ecological considerations or specific life history traits (e.g., extreme r- or k-selected species), or additional information useful for assessing conservation status. You must enter reasons for adjusting a calculated rank in the 'Rank Adjustment Reasons' field."]
[null,null,null,null,"For more information on reviewing and assigning ranks see \"Conservation Status Assessments: Methodology for Assigning Ranks\" \n(Faber-Langendoen et al 2012)."]

{"sheet":"Calculator Table","index":5,"n_rows":2202,"n_cols":86,"rows_kept":562,"cut":true,"hidden":false,"merged":[[0,82,0,84],[0,0,0,9],[0,10,0,19],[0,20,0,29],[0,30,0,39],[0,76,0,78],[0,79,0,81],[0,40,0,49],[0,50,0,59],[0,60,0,69],[0,70,0,75]],"bounds":{"rows_first":250,"rows_last":62,"rows_between":250,"halvings":3}}
["Calculator Table",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Subnational (ESR) import",null,null,"Global (EGR) import",null,null,"National (ENR) import"]
["Calc Rank","Assigned Rank","Species or Community \nScientific Name*","Type (infrasp for TRank)*","Spatial Pattern (ecosystems only)*","Element ID","Elcode*","Common Name*","Classification*","Nation or Subnation (for N- or S-Ranks)*","Range Extent","Area of Occup Direct","Area of Occup 4-km2 grid cells","Area of Occup 1-km2 grid cells","# Occur","Pop Size","# Occur Good Viab","% Area with Good Viab","Environm Specif       (opt.)","Overall Threat Impact","Calculated Overall Threat Impact","Intrinsic Vulner    (opt.)","Short-term Trend","Long-term Trend","Rank Adjustment Reasons","Assigned Rank Reasons","Rank Factors Author","Rank Factors Date","Rank Assign Author","Rank Review Date","Internal Notes","Range Extent Comments","Area of Occupancy Comments","# of Occurrences Comments","Population Size Comments","Good Viability/ Integrity Comments","Environmental Specificity Comments","Threat Impact Comments","Threat Impact Adjustment Reasons","Intrinsic Vulnerability    Comments","Short-term Trend Comments","Long-term Trend Comments","Range Extent_1","Range Extent_2","Area of Occup_1","Area of Occup_2","# EOs_1","# EOs_2","# Good EOs_1","# Good EOs_2","% Good Area if AOO filled out_1 ","% Good Area if AOO filled out_2 ","Pop Size_1","Pop Size_2","Environm Specif_1","Environm Specif_2","Short Trm Trend_1","Short Trm Trend_2","Long Trm Trend_1","Long Trm Trend_2","Intrinsic Vulner_1","Intrinsic Vulner_2","Overall Threat_1","Overall Threat_2","# factors used in calculation","Meets minimum?","Rarity1 count","Rarity2 count","Trends/ Threats count","#factor groups with at least 1 value","Total# factors filled out (including \"U\"s)","# Z-Fctrs with Data (inc. U) but <> exact Z","# of Rank Factors = exact Z","# of Rank Factors = Z range OR exact Z","Z-Errors (exact Z + other value for any other factor)"," ","SQL for EST update","More EST SQL","SQL for ESR insert + update","SQL for EGT update","More EGT SQL","SQL for EGR insert + update","SQL for ENT update","More ENT SQL","SQL for ENR insert + update"]
["Rank",null,"Delete data, not rows.","G vs. T",null,null,"Optional Information",null,null,null,"Rarity - Range/Distribution",null,null,null,"Rarity - Abundance/Condition",null,null,null,"Rarity","Threats",null,"Threats","Trends",null,"Rank Comments",null,null,null,null,null,null,"Rank Factor Comments",null,null,null,null,null,null,null,null,null,null,1,null,1,null,1,null,null,null,null,null,1,null,null,null,null,null,null,null,null,null,null,null,"  FYI",null,null,null,null,null,null,"GX override data",null,null,null," ",null,"insert into element_srank_change (element_subnational_id, rank_change_entry_date, previous_rank, rank_change_com, rec_create_user, new_rank) select es.element_subnational_id, al.audit_date, alc.old_value, 'Rank calculator upload', 'rank_calc_upload', es.s_rank new_rank from  audit_log al, audit_log_column alc, element_subnational es where al.audit_log_id = alc.audit_log_id and al.primary_key_id = es.element_subnational_id and alc.column_name='S_RANK' and al.table_name='ELEMENT_SUBNATIONAL' and al.user_name='rank_calc_upload' and trunc(al.audit_date) = trunc(sysdate);"," "," ","insert into element_Grank_change (element_global_id, rank_change_entry_date, previous_rank, rank_change_com, rec_create_user, new_rank) select eg.element_global_id, al.audit_date, alc.old_value, 'Rank calculator upload', 'rank_calc_upload', eg.g_rank new_rank  from  audit_log al, audit_log_column alc, element_global eg where al.audit_log_id = alc.audit_log_id and al.primary_key_id = eg.element_global_id and alc.column_name='G_RANK' and al.table_name='ELEMENT_GLOBAL' and al.user_name='rank_calc_upload' and trunc(al.audit_date) = trunc(sysdate);"," "," ","insert into element_Nrank_change (element_national_id, rank_change_entry_date, previous_rank, rank_change_com, rec_create_user, new_rank) select en.element_national_id, al.audit_date, alc.old_value, 'Rank calculator upload', 'rank_calc_upload', en.n_rank new_rank from  audit_log al, audit_log_column alc, element_national en where al.audit_log_id = alc.audit_log_id and al.primary_key_id = en.element_national_id and alc.column_name='N_RANK' and al.table_name='ELEMENT_NATIONAL' and al.user_name='rank_calc_upload' and trunc(al.audit_date) = trunc(sysdate);"," "]
[null,null,"Do not edit in grey columns.",null,null,null,null,null,null,null,"Z",null,null,"Z","Z","Z","A","A","other",null,null,"other",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"R1",null,"R1",null,"R2",null,"R2",null,"R2",null,"R2",null,null,null,"T",null,"T",null,null,null,"T",null,null,null,null,null,null,null,null,null,null,null,null," ","set define off;","update element_subnational set s_rank_change_date=sysdate, rec_last_mod_user='rank_calc_upload' where element_subnational_id in(select al.primary_key_id from audit_log al, audit_log_column alc where al.audit_log_id = alc.audit_log_id and alc.column_name='S_RANK' and al.table_name='ELEMENT_SUBNATIONAL' and al.user_name='rank_calc_upload' and trunc(al.audit_date) = trunc(sysdate));","insert into element_subnatl_rank(element_subnational_id,rec_create_user) select es.element_subnational_id, 'rank_calc_upload' from element_subnational es, element_subnatl_rank esr where es.element_subnational_id=esr.element_subnational_id(+) and esr.element_subnational_id is null and es.element_subnational_id in();","set define off;","update element_global set g_rank_change_date=sysdate, rec_last_mod_user='rank_calc_upload' where element_global_id in(select al.primary_key_id from audit_log al, audit_log_column alc where al.audit_log_id = alc.audit_log_id and alc.column_name='G_RANK' and al.table_name='ELEMENT_GLOBAL' and al.user_name='rank_calc_upload' and trunc(al.audit_date) = trunc(sysdate));","insert into element_global_rank(element_global_id,rec_create_user) select eg.element_global_id, 'rank_calc_upload' from element_global eg, element_global_rank egr where eg.element_global_id=egr.element_global_id(+) and egr.element_global_id is null and eg.element_global_id in();","set define off;","update element_national set n_rank_change_date=sysdate, rec_last_mod_user='rank_calc_upload' where element_national_id in(select al.primary_key_id from audit_log al, audit_log_column alc where al.audit_log_id = alc.audit_log_id and alc.column_name='N_RANK' and al.table_name='ELEMENT_NATIONAL' and al.user_name='rank_calc_upload' and trunc(al.audit_date) = trunc(sysdate));","insert into element_national_rank(element_national_id,rec_create_user) select en.element_national_id, 'rank_calc_upload' from element_national en, element_national_rank enr where en.element_national_id=enr.element_national_id(+) and enr.element_national_id is null and en.element_national_id in();"," "]
[{"$f":"IF(BS5>0,'Rk Assign'!D5,\"\")","v":"SU"},{"$f":"IF(ISBLANK('Calculator Form'!F37),\"\",'Calculator Form'!F37)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!G10),\"\",'Calculator Form'!G10)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!G11),\"\",'Calculator Form'!G11)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!G12),\"\",'Calculator Form'!G12)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!G13),\"\",'Calculator Form'!G13)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!G14),\"\",'Calculator Form'!G14)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!G15),\"\",'Calculator Form'!G15)","v":"small mammal"},{"$f":"IF(ISBLANK('Calculator Form'!G16),\"\",'Calculator Form'!G16)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!G17),\"\",'Calculator Form'!G17)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F18),\"\",'Calculator Form'!F18)","v":"B"},{"$f":"IF(ISBLANK('Calculator Form'!F20),\"\",'Calculator Form'!F20)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F21),\"\",'Calculator Form'!F21)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F22),\"\",'Calculator Form'!F22)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F23),\"\",'Calculator Form'!F23)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F24),\"\",'Calculator Form'!F24)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F26),\"\",'Calculator Form'!F26)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F27),\"\",'Calculator Form'!F27)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F28),\"\",'Calculator Form'!F28)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F29),\"\",'Calculator Form'!F29)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F30),\"\",'Calculator Form'!F30)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F31),\"\",'Calculator Form'!F31)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F32),\"\",'Calculator Form'!F32)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F33),\"\",'Calculator Form'!F33)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F38),\"\",'Calculator Form'!F38)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F39),\"\",'Calculator Form'!F39)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F40),\"\",'Calculator Form'!F40)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F41),\"\",'Calculator Form'!F41)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F42),\"\",'Calculator Form'!F42)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F43),\"\",'Calculator Form'!F43)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!F44),\"\",'Calculator Form'!F44)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!H18),\"\",'Calculator Form'!H18)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!H19),\"\",'Calculator Form'!H19)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!H23),\"\",'Calculator Form'!H23)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!H24),\"\",'Calculator Form'!H24)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!H25),\"\",'Calculator Form'!H25)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!H28),\"\",'Calculator Form'!H28)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!H29),\"\",'Calculator Form'!H29)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!H30),\"\",'Calculator Form'!H30)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!H31),\"\",'Calculator Form'!H31)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!H32),\"\",'Calculator Form'!H32)","v":""},{"$f":"IF(ISBLANK('Calculator Form'!H33),\"\",'Calculator Form'!H33)","v":""},{"$f":"LEFT(K5,1)","v":"B"},{"$f":"RIGHT(K5,1)","v":"B"},{"$f":"LEFT(L5&M5&N5,1)","v":""},{"$f":"RIGHT(L5&M5&N5,1)","v":""},{"$f":"LEFT(O5,1)","v":""},{"$f":"RIGHT(O5,1)","v":""},{"$f":"LEFT(Q5,1)","v":""},{"$f":"RIGHT(Q5,1)","v":""},{"$f":"IF(AND(AS5>\"\",AS5<>\"U\",AS5<>\"0\"),LEFT(R5,1),\"\")","v":""},{"$f":"IF(AND(AS5>\"\",AS5<>\"U\",AS5<>\"0\"),RIGHT(R5,1),\"\")","v":""},{"$f":"LEFT(P5,1)","v":""},{"$f":"RIGHT(P5,1)","v":""},{"$f":"LEFT(S5,1)","v":""},{"$f":"RIGHT(S5,1)","v":""},{"$f":"LEFT(W5,1)","v":""},{"$f":"RIGHT(W5,1)","v":""},{"$f":"LEFT(X5,1)","v":""},{"$f":"RIGHT(X5,1)","v":""},{"$f":"LEFT(V5,1)","v":""},{"$f":"RIGHT(V5,1)","v":""},{"$f":"LEFT(T5,1)","v":""},{"$f":"RIGHT(T5,1)","v":""},{"$f":"IF(BS5>0,Calculate!$AV5,\"\")","v":3},{"$f":"IF(BS5>0,BR5>1,\"\")","v":false},{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ5:$BL5<>\"U\")*($AQ5:$BL5>\"\"))","v":1},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ5:$BL5<>\"U\")*($AQ5:$BL5>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ5:$BL5<>\"U\")*($AQ5:$BL5>\"\"))","v":0},{"$f":"COUNTIF(BO5:BQ5,\">0\")","v":1},{"$f":"COUNTIF(K5:V5,\">''\")","v":1},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K5:$R5<>\"Z\")*($K5:$R5>\"\")*NOT(ISERROR($K5:$R5)))+SUM(($K$4:$R$4=\"A\")*($K5:$R5<>\"A\")*($K5:$R5>\"\")*NOT(ISERROR($K5:$R5)))","v":1},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K5:$R5=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ5:$BL5=\"Z\"))","v":0},{"$f":"IF(AND(BU5>0,BT5>0),\"Z-ERROR\",\"\")","v":""}," "]
[{"$f":"IF(BS6>0,'Rk Assign'!D6,\"\")","v":"S2"},"","Perennial Herb","","","","","","","","D","","E","","A","C","A","","","C","","","","","","","","","","","","","","","","","","","","","","","D","D",{"$f":"LEFT(L6&M6&N6,1)","v":"E"},{"$f":"RIGHT(L6&M6&N6,1)","v":"E"},"A","A","A","A","","","C","C","","","","","","","","",{"$f":"LEFT(T6,1)","v":"C"},{"$f":"RIGHT(T6,1)","v":"C"},{"$f":"IF(BS6>0,Calculate!$AV6,\"\")","v":8},{"$f":"IF(BS6>0,BR6>1,\"\")","v":true},{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ6:$BL6<>\"U\")*($AQ6:$BL6>\"\"))","v":2},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ6:$BL6<>\"U\")*($AQ6:$BL6>\"\"))","v":3},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ6:$BL6<>\"U\")*($AQ6:$BL6>\"\"))","v":1},3,6,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K6:$R6<>\"Z\")*($K6:$R6>\"\")*NOT(ISERROR($K6:$R6)))+SUM(($K$4:$R$4=\"A\")*($K6:$R6<>\"A\")*($K6:$R6>\"\")*NOT(ISERROR($K6:$R6)))","v":3},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K6:$R6=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ6:$BL6=\"Z\"))","v":0},{"$f":"IF(AND(BU6>0,BT6>0),\"Z-ERROR\",\"\")","v":""}," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B6)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B6)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD6,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F6&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A6)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E6)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K6&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E6=\"Small Patch\",E6=\"Matrix\")),'Calculator Table'!$L6,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E6=\"Small Patch\",'Calculator Table'!$L6,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E6=\"Matrix\",'Calculator Table'!$L6,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M6&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N6&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O6&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P6&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q6&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R6&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S6&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T6&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U6&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V6&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W6&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X6&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y6)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z6)&\", version_author=\"&AddQuotes('Calculator Table'!$AA6)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB6,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC6)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE6)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF6)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG6)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH6)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI6)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ6)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK6)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL6)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM6)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN6)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO6)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP6)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F6&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank='S2', s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''D'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''E'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''A'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''C'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''A'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''C'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B6)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B6)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD6,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F6&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A6)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E6)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K6&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H6=\"Small Patch\",H6=\"Matrix\")),'Calculator Table'!$L6,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H6=\"Small Patch\",'Calculator Table'!$L6,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H6=\"Matrix\",'Calculator Table'!$L6,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M6&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N6&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O6&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P6&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q6&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R6&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S6&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T6&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U6&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V6&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W6&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X6&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y6)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z6)&\", version_author=\"&AddQuotes('Calculator Table'!$AA6)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB6,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC6)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE6)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF6)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG6)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH6)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI6)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ6)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK6)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL6)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM6)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN6)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO6)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP6)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F6&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank='S2', g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''D'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''E'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''A'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''C'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''A'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''C'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B6)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B6)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD6,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F6&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A6)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E6)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K6&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K6=\"Small Patch\",K6=\"Matrix\")),'Calculator Table'!$L6,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K6=\"Small Patch\",'Calculator Table'!$L6,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K6=\"Matrix\",'Calculator Table'!$L6,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M6&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N6&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O6&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P6&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q6&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R6&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S6&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T6&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U6&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V6&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W6&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X6&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y6)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z6)&\", version_author=\"&AddQuotes('Calculator Table'!$AA6)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB6,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC6)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE6)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF6)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG6)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH6)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI6)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ6)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK6)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL6)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM6)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN6)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO6)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP6)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F6&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank='S2', n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''D'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''E'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''A'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''C'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''A'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''C'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS7>0,'Rk Assign'!D7,\"\")","v":"S3S4"},"","Bird","Species","","","","","","","H","","","","","F","","","","BC","","","D","U","","","","","","","","","","","","","","","","","","","H","H","","","","","","","","","F","F","","","D","D","U","U","","",{"$f":"LEFT(T7,1)","v":"B"},{"$f":"RIGHT(T7,1)","v":"C"},{"$f":"IF(BS7>0,Calculate!$AV7,\"\")","v":5},true,{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ7:$BL7<>\"U\")*($AQ7:$BL7>\"\"))","v":1},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ7:$BL7<>\"U\")*($AQ7:$BL7>\"\"))","v":1},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ7:$BL7<>\"U\")*($AQ7:$BL7>\"\"))","v":2},3,3,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K7:$R7<>\"Z\")*($K7:$R7>\"\")*NOT(ISERROR($K7:$R7)))+SUM(($K$4:$R$4=\"A\")*($K7:$R7<>\"A\")*($K7:$R7>\"\")*NOT(ISERROR($K7:$R7)))","v":2},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K7:$R7=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ7:$BL7=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B7)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B7)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD7,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F7&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A7)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E7)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K7&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E7=\"Small Patch\",E7=\"Matrix\")),'Calculator Table'!$L7,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E7=\"Small Patch\",'Calculator Table'!$L7,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E7=\"Matrix\",'Calculator Table'!$L7,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M7&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N7&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O7&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P7&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q7&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R7&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S7&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T7&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U7&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V7&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W7&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X7&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y7)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z7)&\", version_author=\"&AddQuotes('Calculator Table'!$AA7)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB7,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC7)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE7)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF7)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG7)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH7)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI7)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ7)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK7)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL7)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM7)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN7)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO7)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP7)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F7&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank='S3S4', s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''H'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''F'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''BC'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''D'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''U'''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B7)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B7)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD7,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F7&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A7)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E7)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K7&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H7=\"Small Patch\",H7=\"Matrix\")),'Calculator Table'!$L7,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H7=\"Small Patch\",'Calculator Table'!$L7,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H7=\"Matrix\",'Calculator Table'!$L7,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M7&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N7&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O7&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P7&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q7&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R7&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S7&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T7&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U7&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V7&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W7&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X7&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y7)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z7)&\", version_author=\"&AddQuotes('Calculator Table'!$AA7)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB7,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC7)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE7)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF7)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG7)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH7)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI7)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ7)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK7)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL7)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM7)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN7)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO7)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP7)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F7&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank='S3S4', g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''H'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''F'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''BC'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''D'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''U'''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B7)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B7)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD7,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F7&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A7)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E7)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K7&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K7=\"Small Patch\",K7=\"Matrix\")),'Calculator Table'!$L7,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K7=\"Small Patch\",'Calculator Table'!$L7,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K7=\"Matrix\",'Calculator Table'!$L7,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M7&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N7&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O7&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P7&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q7&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R7&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S7&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T7&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U7&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V7&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W7&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X7&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y7)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z7)&\", version_author=\"&AddQuotes('Calculator Table'!$AA7)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB7,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC7)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE7)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF7)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG7)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH7)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI7)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ7)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK7)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL7)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM7)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN7)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO7)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP7)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F7&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank='S3S4', n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''H'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''F'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''BC'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''D'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''U'''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS8>0,'Rk Assign'!D8,\"\")","v":"S2"},"S2","skipper","","","","","","","Manitoba","D","","D","","B","","","","","B","","","","","","","","","","","","","","","","","","","","","","","D","D","D","D","B","B","","","","","","","","","","","","","","","B","B",{"$f":"IF(BS8>0,Calculate!$AV8,\"\")","v":6},true,{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ8:$BL8<>\"U\")*($AQ8:$BL8>\"\"))","v":2},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ8:$BL8<>\"U\")*($AQ8:$BL8>\"\"))","v":1},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ8:$BL8<>\"U\")*($AQ8:$BL8>\"\"))","v":1},3,4,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K8:$R8<>\"Z\")*($K8:$R8>\"\")*NOT(ISERROR($K8:$R8)))+SUM(($K$4:$R$4=\"A\")*($K8:$R8<>\"A\")*($K8:$R8>\"\")*NOT(ISERROR($K8:$R8)))","v":2},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K8:$R8=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ8:$BL8=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B8)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B8)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD8,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F8&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank='S2', rounded_s_rank=round_srank('S2'), s_rank_review_date=to_date('','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A8)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E8)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K8&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E8=\"Small Patch\",E8=\"Matrix\")),'Calculator Table'!$L8,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E8=\"Small Patch\",'Calculator Table'!$L8,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E8=\"Matrix\",'Calculator Table'!$L8,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M8&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N8&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O8&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P8&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q8&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R8&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S8&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T8&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U8&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V8&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W8&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X8&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y8)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z8)&\", version_author=\"&AddQuotes('Calculator Table'!$AA8)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB8,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC8)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE8)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF8)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG8)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH8)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI8)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ8)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK8)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL8)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM8)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN8)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO8)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP8)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F8&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank='S2', s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''D'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''D'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''B'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''B'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B8)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B8)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD8,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F8&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank='S2', rounded_g_rank=round_grank('S2'), g_rank_review_date=to_date('','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A8)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E8)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K8&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H8=\"Small Patch\",H8=\"Matrix\")),'Calculator Table'!$L8,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H8=\"Small Patch\",'Calculator Table'!$L8,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H8=\"Matrix\",'Calculator Table'!$L8,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M8&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N8&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O8&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P8&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q8&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R8&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S8&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T8&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U8&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V8&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W8&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X8&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y8)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z8)&\", version_author=\"&AddQuotes('Calculator Table'!$AA8)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB8,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC8)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE8)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF8)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG8)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH8)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI8)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ8)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK8)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL8)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM8)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN8)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO8)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP8)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F8&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank='S2', g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''D'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''D'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''B'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''B'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B8)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B8)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD8,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F8&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank='S2', rounded_n_rank=round_nrank('S2'), n_rank_review_date=to_date('','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A8)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E8)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K8&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K8=\"Small Patch\",K8=\"Matrix\")),'Calculator Table'!$L8,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K8=\"Small Patch\",'Calculator Table'!$L8,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K8=\"Matrix\",'Calculator Table'!$L8,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M8&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N8&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O8&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P8&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q8&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R8&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S8&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T8&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U8&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V8&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W8&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X8&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y8)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z8)&\", version_author=\"&AddQuotes('Calculator Table'!$AA8)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB8,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC8)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE8)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF8)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG8)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH8)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI8)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ8)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK8)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL8)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM8)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN8)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO8)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP8)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F8&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank='S2', n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''D'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''D'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''B'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''B'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS9>0,'Rk Assign'!D9,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS9>0,Calculate!$AV9,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ9:$BL9<>\"U\")*($AQ9:$BL9>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ9:$BL9<>\"U\")*($AQ9:$BL9>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ9:$BL9<>\"U\")*($AQ9:$BL9>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K9:$R9<>\"Z\")*($K9:$R9>\"\")*NOT(ISERROR($K9:$R9)))+SUM(($K$4:$R$4=\"A\")*($K9:$R9<>\"A\")*($K9:$R9>\"\")*NOT(ISERROR($K9:$R9)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K9:$R9=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ9:$BL9=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B9)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B9)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD9,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F9&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A9)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E9)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K9&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E9=\"Small Patch\",E9=\"Matrix\")),'Calculator Table'!$L9,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E9=\"Small Patch\",'Calculator Table'!$L9,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E9=\"Matrix\",'Calculator Table'!$L9,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M9&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N9&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O9&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P9&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q9&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R9&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S9&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T9&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U9&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V9&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W9&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X9&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y9)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z9)&\", version_author=\"&AddQuotes('Calculator Table'!$AA9)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB9,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC9)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE9)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF9)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG9)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH9)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI9)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ9)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK9)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL9)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM9)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN9)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO9)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP9)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F9&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B9)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B9)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD9,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F9&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A9)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E9)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K9&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H9=\"Small Patch\",H9=\"Matrix\")),'Calculator Table'!$L9,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H9=\"Small Patch\",'Calculator Table'!$L9,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H9=\"Matrix\",'Calculator Table'!$L9,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M9&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N9&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O9&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P9&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q9&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R9&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S9&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T9&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U9&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V9&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W9&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X9&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y9)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z9)&\", version_author=\"&AddQuotes('Calculator Table'!$AA9)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB9,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC9)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE9)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF9)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG9)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH9)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI9)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ9)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK9)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL9)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM9)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN9)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO9)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP9)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F9&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B9)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B9)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD9,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F9&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A9)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E9)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K9&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K9=\"Small Patch\",K9=\"Matrix\")),'Calculator Table'!$L9,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K9=\"Small Patch\",'Calculator Table'!$L9,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K9=\"Matrix\",'Calculator Table'!$L9,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M9&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N9&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O9&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P9&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q9&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R9&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S9&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T9&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U9&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V9&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W9&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X9&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y9)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z9)&\", version_author=\"&AddQuotes('Calculator Table'!$AA9)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB9,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC9)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE9)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF9)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG9)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH9)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI9)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ9)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK9)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL9)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM9)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN9)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO9)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP9)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F9&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS10>0,'Rk Assign'!D10,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS10>0,Calculate!$AV10,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ10:$BL10<>\"U\")*($AQ10:$BL10>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ10:$BL10<>\"U\")*($AQ10:$BL10>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ10:$BL10<>\"U\")*($AQ10:$BL10>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K10:$R10<>\"Z\")*($K10:$R10>\"\")*NOT(ISERROR($K10:$R10)))+SUM(($K$4:$R$4=\"A\")*($K10:$R10<>\"A\")*($K10:$R10>\"\")*NOT(ISERROR($K10:$R10)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K10:$R10=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ10:$BL10=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B10)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B10)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD10,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F10&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A10)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E10)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K10&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E10=\"Small Patch\",E10=\"Matrix\")),'Calculator Table'!$L10,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E10=\"Small Patch\",'Calculator Table'!$L10,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E10=\"Matrix\",'Calculator Table'!$L10,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M10&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N10&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O10&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P10&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q10&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R10&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S10&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T10&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U10&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V10&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W10&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X10&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y10)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z10)&\", version_author=\"&AddQuotes('Calculator Table'!$AA10)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB10,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC10)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE10)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF10)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG10)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH10)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI10)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ10)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK10)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL10)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM10)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN10)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO10)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP10)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F10&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B10)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B10)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD10,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F10&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A10)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E10)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K10&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H10=\"Small Patch\",H10=\"Matrix\")),'Calculator Table'!$L10,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H10=\"Small Patch\",'Calculator Table'!$L10,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H10=\"Matrix\",'Calculator Table'!$L10,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M10&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N10&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O10&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P10&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q10&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R10&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S10&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T10&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U10&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V10&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W10&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X10&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y10)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z10)&\", version_author=\"&AddQuotes('Calculator Table'!$AA10)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB10,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC10)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE10)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF10)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG10)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH10)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI10)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ10)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK10)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL10)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM10)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN10)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO10)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP10)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F10&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B10)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B10)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD10,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F10&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A10)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E10)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K10&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K10=\"Small Patch\",K10=\"Matrix\")),'Calculator Table'!$L10,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K10=\"Small Patch\",'Calculator Table'!$L10,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K10=\"Matrix\",'Calculator Table'!$L10,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M10&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N10&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O10&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P10&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q10&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R10&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S10&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T10&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U10&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V10&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W10&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X10&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y10)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z10)&\", version_author=\"&AddQuotes('Calculator Table'!$AA10)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB10,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC10)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE10)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF10)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG10)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH10)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI10)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ10)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK10)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL10)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM10)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN10)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO10)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP10)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F10&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS11>0,'Rk Assign'!D11,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS11>0,Calculate!$AV11,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ11:$BL11<>\"U\")*($AQ11:$BL11>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ11:$BL11<>\"U\")*($AQ11:$BL11>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ11:$BL11<>\"U\")*($AQ11:$BL11>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K11:$R11<>\"Z\")*($K11:$R11>\"\")*NOT(ISERROR($K11:$R11)))+SUM(($K$4:$R$4=\"A\")*($K11:$R11<>\"A\")*($K11:$R11>\"\")*NOT(ISERROR($K11:$R11)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K11:$R11=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ11:$BL11=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B11)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B11)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD11,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F11&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A11)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E11)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K11&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E11=\"Small Patch\",E11=\"Matrix\")),'Calculator Table'!$L11,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E11=\"Small Patch\",'Calculator Table'!$L11,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E11=\"Matrix\",'Calculator Table'!$L11,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M11&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N11&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O11&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P11&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q11&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R11&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S11&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T11&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U11&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V11&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W11&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X11&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y11)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z11)&\", version_author=\"&AddQuotes('Calculator Table'!$AA11)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB11,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC11)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE11)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF11)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG11)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH11)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI11)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ11)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK11)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL11)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM11)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN11)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO11)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP11)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F11&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B11)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B11)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD11,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F11&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A11)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E11)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K11&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H11=\"Small Patch\",H11=\"Matrix\")),'Calculator Table'!$L11,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H11=\"Small Patch\",'Calculator Table'!$L11,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H11=\"Matrix\",'Calculator Table'!$L11,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M11&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N11&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O11&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P11&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q11&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R11&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S11&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T11&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U11&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V11&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W11&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X11&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y11)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z11)&\", version_author=\"&AddQuotes('Calculator Table'!$AA11)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB11,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC11)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE11)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF11)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG11)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH11)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI11)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ11)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK11)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL11)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM11)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN11)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO11)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP11)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F11&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B11)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B11)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD11,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F11&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A11)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E11)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K11&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K11=\"Small Patch\",K11=\"Matrix\")),'Calculator Table'!$L11,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K11=\"Small Patch\",'Calculator Table'!$L11,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K11=\"Matrix\",'Calculator Table'!$L11,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M11&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N11&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O11&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P11&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q11&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R11&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S11&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T11&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U11&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V11&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W11&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X11&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y11)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z11)&\", version_author=\"&AddQuotes('Calculator Table'!$AA11)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB11,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC11)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE11)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF11)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG11)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH11)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI11)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ11)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK11)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL11)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM11)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN11)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO11)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP11)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F11&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS12>0,'Rk Assign'!D12,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS12>0,Calculate!$AV12,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ12:$BL12<>\"U\")*($AQ12:$BL12>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ12:$BL12<>\"U\")*($AQ12:$BL12>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ12:$BL12<>\"U\")*($AQ12:$BL12>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K12:$R12<>\"Z\")*($K12:$R12>\"\")*NOT(ISERROR($K12:$R12)))+SUM(($K$4:$R$4=\"A\")*($K12:$R12<>\"A\")*($K12:$R12>\"\")*NOT(ISERROR($K12:$R12)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K12:$R12=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ12:$BL12=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B12)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B12)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD12,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F12&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A12)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E12)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K12&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E12=\"Small Patch\",E12=\"Matrix\")),'Calculator Table'!$L12,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E12=\"Small Patch\",'Calculator Table'!$L12,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E12=\"Matrix\",'Calculator Table'!$L12,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M12&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N12&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O12&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P12&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q12&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R12&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S12&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T12&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U12&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V12&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W12&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X12&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y12)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z12)&\", version_author=\"&AddQuotes('Calculator Table'!$AA12)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB12,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC12)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE12)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF12)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG12)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH12)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI12)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ12)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK12)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL12)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM12)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN12)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO12)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP12)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F12&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B12)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B12)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD12,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F12&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A12)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E12)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K12&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H12=\"Small Patch\",H12=\"Matrix\")),'Calculator Table'!$L12,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H12=\"Small Patch\",'Calculator Table'!$L12,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H12=\"Matrix\",'Calculator Table'!$L12,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M12&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N12&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O12&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P12&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q12&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R12&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S12&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T12&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U12&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V12&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W12&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X12&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y12)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z12)&\", version_author=\"&AddQuotes('Calculator Table'!$AA12)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB12,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC12)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE12)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF12)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG12)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH12)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI12)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ12)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK12)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL12)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM12)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN12)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO12)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP12)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F12&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B12)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B12)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD12,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F12&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A12)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E12)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K12&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K12=\"Small Patch\",K12=\"Matrix\")),'Calculator Table'!$L12,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K12=\"Small Patch\",'Calculator Table'!$L12,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K12=\"Matrix\",'Calculator Table'!$L12,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M12&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N12&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O12&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P12&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q12&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R12&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S12&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T12&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U12&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V12&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W12&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X12&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y12)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z12)&\", version_author=\"&AddQuotes('Calculator Table'!$AA12)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB12,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC12)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE12)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF12)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG12)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH12)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI12)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ12)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK12)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL12)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM12)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN12)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO12)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP12)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F12&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS13>0,'Rk Assign'!D13,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS13>0,Calculate!$AV13,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ13:$BL13<>\"U\")*($AQ13:$BL13>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ13:$BL13<>\"U\")*($AQ13:$BL13>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ13:$BL13<>\"U\")*($AQ13:$BL13>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K13:$R13<>\"Z\")*($K13:$R13>\"\")*NOT(ISERROR($K13:$R13)))+SUM(($K$4:$R$4=\"A\")*($K13:$R13<>\"A\")*($K13:$R13>\"\")*NOT(ISERROR($K13:$R13)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K13:$R13=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ13:$BL13=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B13)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B13)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD13,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F13&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A13)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E13)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K13&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E13=\"Small Patch\",E13=\"Matrix\")),'Calculator Table'!$L13,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E13=\"Small Patch\",'Calculator Table'!$L13,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E13=\"Matrix\",'Calculator Table'!$L13,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M13&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N13&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O13&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P13&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q13&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R13&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S13&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T13&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U13&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V13&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W13&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X13&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y13)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z13)&\", version_author=\"&AddQuotes('Calculator Table'!$AA13)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB13,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC13)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE13)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF13)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG13)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH13)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI13)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ13)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK13)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL13)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM13)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN13)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO13)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP13)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F13&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B13)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B13)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD13,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F13&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A13)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E13)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K13&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H13=\"Small Patch\",H13=\"Matrix\")),'Calculator Table'!$L13,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H13=\"Small Patch\",'Calculator Table'!$L13,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H13=\"Matrix\",'Calculator Table'!$L13,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M13&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N13&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O13&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P13&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q13&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R13&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S13&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T13&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U13&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V13&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W13&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X13&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y13)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z13)&\", version_author=\"&AddQuotes('Calculator Table'!$AA13)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB13,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC13)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE13)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF13)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG13)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH13)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI13)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ13)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK13)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL13)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM13)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN13)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO13)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP13)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F13&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B13)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B13)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD13,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F13&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A13)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E13)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K13&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K13=\"Small Patch\",K13=\"Matrix\")),'Calculator Table'!$L13,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K13=\"Small Patch\",'Calculator Table'!$L13,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K13=\"Matrix\",'Calculator Table'!$L13,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M13&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N13&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O13&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P13&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q13&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R13&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S13&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T13&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U13&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V13&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W13&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X13&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y13)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z13)&\", version_author=\"&AddQuotes('Calculator Table'!$AA13)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB13,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC13)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE13)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF13)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG13)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH13)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI13)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ13)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK13)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL13)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM13)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN13)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO13)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP13)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F13&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS14>0,'Rk Assign'!D14,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS14>0,Calculate!$AV14,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ14:$BL14<>\"U\")*($AQ14:$BL14>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ14:$BL14<>\"U\")*($AQ14:$BL14>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ14:$BL14<>\"U\")*($AQ14:$BL14>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K14:$R14<>\"Z\")*($K14:$R14>\"\")*NOT(ISERROR($K14:$R14)))+SUM(($K$4:$R$4=\"A\")*($K14:$R14<>\"A\")*($K14:$R14>\"\")*NOT(ISERROR($K14:$R14)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K14:$R14=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ14:$BL14=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B14)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B14)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD14,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F14&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A14)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E14)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K14&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E14=\"Small Patch\",E14=\"Matrix\")),'Calculator Table'!$L14,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E14=\"Small Patch\",'Calculator Table'!$L14,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E14=\"Matrix\",'Calculator Table'!$L14,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M14&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N14&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O14&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P14&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q14&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R14&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S14&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T14&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U14&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V14&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W14&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X14&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y14)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z14)&\", version_author=\"&AddQuotes('Calculator Table'!$AA14)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB14,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC14)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE14)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF14)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG14)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH14)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI14)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ14)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK14)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL14)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM14)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN14)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO14)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP14)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F14&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B14)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B14)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD14,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F14&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A14)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E14)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K14&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H14=\"Small Patch\",H14=\"Matrix\")),'Calculator Table'!$L14,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H14=\"Small Patch\",'Calculator Table'!$L14,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H14=\"Matrix\",'Calculator Table'!$L14,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M14&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N14&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O14&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P14&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q14&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R14&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S14&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T14&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U14&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V14&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W14&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X14&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y14)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z14)&\", version_author=\"&AddQuotes('Calculator Table'!$AA14)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB14,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC14)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE14)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF14)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG14)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH14)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI14)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ14)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK14)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL14)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM14)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN14)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO14)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP14)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F14&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B14)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B14)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD14,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F14&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A14)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E14)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K14&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K14=\"Small Patch\",K14=\"Matrix\")),'Calculator Table'!$L14,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K14=\"Small Patch\",'Calculator Table'!$L14,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K14=\"Matrix\",'Calculator Table'!$L14,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M14&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N14&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O14&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P14&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q14&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R14&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S14&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T14&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U14&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V14&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W14&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X14&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y14)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z14)&\", version_author=\"&AddQuotes('Calculator Table'!$AA14)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB14,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC14)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE14)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF14)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG14)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH14)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI14)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ14)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK14)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL14)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM14)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN14)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO14)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP14)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F14&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS15>0,'Rk Assign'!D15,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS15>0,Calculate!$AV15,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ15:$BL15<>\"U\")*($AQ15:$BL15>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ15:$BL15<>\"U\")*($AQ15:$BL15>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ15:$BL15<>\"U\")*($AQ15:$BL15>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K15:$R15<>\"Z\")*($K15:$R15>\"\")*NOT(ISERROR($K15:$R15)))+SUM(($K$4:$R$4=\"A\")*($K15:$R15<>\"A\")*($K15:$R15>\"\")*NOT(ISERROR($K15:$R15)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K15:$R15=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ15:$BL15=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B15)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B15)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD15,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F15&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A15)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E15)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K15&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E15=\"Small Patch\",E15=\"Matrix\")),'Calculator Table'!$L15,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E15=\"Small Patch\",'Calculator Table'!$L15,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E15=\"Matrix\",'Calculator Table'!$L15,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M15&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N15&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O15&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P15&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q15&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R15&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S15&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T15&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U15&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V15&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W15&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X15&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y15)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z15)&\", version_author=\"&AddQuotes('Calculator Table'!$AA15)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB15,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC15)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE15)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF15)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG15)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH15)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI15)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ15)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK15)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL15)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM15)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN15)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO15)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP15)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F15&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B15)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B15)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD15,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F15&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A15)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E15)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K15&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H15=\"Small Patch\",H15=\"Matrix\")),'Calculator Table'!$L15,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H15=\"Small Patch\",'Calculator Table'!$L15,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H15=\"Matrix\",'Calculator Table'!$L15,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M15&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N15&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O15&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P15&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q15&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R15&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S15&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T15&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U15&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V15&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W15&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X15&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y15)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z15)&\", version_author=\"&AddQuotes('Calculator Table'!$AA15)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB15,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC15)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE15)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF15)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG15)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH15)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI15)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ15)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK15)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL15)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM15)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN15)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO15)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP15)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F15&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B15)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B15)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD15,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F15&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A15)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E15)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K15&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K15=\"Small Patch\",K15=\"Matrix\")),'Calculator Table'!$L15,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K15=\"Small Patch\",'Calculator Table'!$L15,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K15=\"Matrix\",'Calculator Table'!$L15,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M15&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N15&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O15&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P15&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q15&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R15&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S15&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T15&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U15&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V15&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W15&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X15&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y15)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z15)&\", version_author=\"&AddQuotes('Calculator Table'!$AA15)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB15,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC15)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE15)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF15)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG15)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH15)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI15)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ15)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK15)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL15)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM15)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN15)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO15)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP15)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F15&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS16>0,'Rk Assign'!D16,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS16>0,Calculate!$AV16,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ16:$BL16<>\"U\")*($AQ16:$BL16>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ16:$BL16<>\"U\")*($AQ16:$BL16>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ16:$BL16<>\"U\")*($AQ16:$BL16>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K16:$R16<>\"Z\")*($K16:$R16>\"\")*NOT(ISERROR($K16:$R16)))+SUM(($K$4:$R$4=\"A\")*($K16:$R16<>\"A\")*($K16:$R16>\"\")*NOT(ISERROR($K16:$R16)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K16:$R16=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ16:$BL16=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B16)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B16)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD16,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F16&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A16)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E16)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K16&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E16=\"Small Patch\",E16=\"Matrix\")),'Calculator Table'!$L16,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E16=\"Small Patch\",'Calculator Table'!$L16,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E16=\"Matrix\",'Calculator Table'!$L16,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M16&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N16&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O16&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P16&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q16&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R16&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S16&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T16&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U16&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V16&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W16&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X16&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y16)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z16)&\", version_author=\"&AddQuotes('Calculator Table'!$AA16)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB16,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC16)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE16)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF16)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG16)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH16)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI16)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ16)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK16)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL16)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM16)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN16)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO16)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP16)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F16&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B16)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B16)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD16,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F16&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A16)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E16)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K16&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H16=\"Small Patch\",H16=\"Matrix\")),'Calculator Table'!$L16,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H16=\"Small Patch\",'Calculator Table'!$L16,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H16=\"Matrix\",'Calculator Table'!$L16,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M16&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N16&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O16&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P16&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q16&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R16&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S16&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T16&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U16&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V16&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W16&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X16&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y16)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z16)&\", version_author=\"&AddQuotes('Calculator Table'!$AA16)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB16,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC16)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE16)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF16)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG16)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH16)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI16)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ16)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK16)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL16)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM16)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN16)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO16)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP16)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F16&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B16)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B16)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD16,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F16&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A16)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E16)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K16&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K16=\"Small Patch\",K16=\"Matrix\")),'Calculator Table'!$L16,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K16=\"Small Patch\",'Calculator Table'!$L16,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K16=\"Matrix\",'Calculator Table'!$L16,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M16&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N16&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O16&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P16&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q16&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R16&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S16&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T16&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U16&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V16&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W16&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X16&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y16)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z16)&\", version_author=\"&AddQuotes('Calculator Table'!$AA16)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB16,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC16)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE16)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF16)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG16)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH16)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI16)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ16)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK16)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL16)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM16)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN16)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO16)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP16)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F16&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS17>0,'Rk Assign'!D17,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS17>0,Calculate!$AV17,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ17:$BL17<>\"U\")*($AQ17:$BL17>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ17:$BL17<>\"U\")*($AQ17:$BL17>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ17:$BL17<>\"U\")*($AQ17:$BL17>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K17:$R17<>\"Z\")*($K17:$R17>\"\")*NOT(ISERROR($K17:$R17)))+SUM(($K$4:$R$4=\"A\")*($K17:$R17<>\"A\")*($K17:$R17>\"\")*NOT(ISERROR($K17:$R17)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K17:$R17=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ17:$BL17=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B17)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B17)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD17,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F17&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A17)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E17)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K17&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E17=\"Small Patch\",E17=\"Matrix\")),'Calculator Table'!$L17,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E17=\"Small Patch\",'Calculator Table'!$L17,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E17=\"Matrix\",'Calculator Table'!$L17,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M17&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N17&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O17&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P17&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q17&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R17&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S17&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T17&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U17&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V17&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W17&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X17&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y17)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z17)&\", version_author=\"&AddQuotes('Calculator Table'!$AA17)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB17,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC17)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE17)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF17)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG17)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH17)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI17)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ17)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK17)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL17)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM17)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN17)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO17)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP17)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F17&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B17)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B17)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD17,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F17&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A17)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E17)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K17&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H17=\"Small Patch\",H17=\"Matrix\")),'Calculator Table'!$L17,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H17=\"Small Patch\",'Calculator Table'!$L17,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H17=\"Matrix\",'Calculator Table'!$L17,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M17&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N17&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O17&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P17&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q17&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R17&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S17&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T17&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U17&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V17&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W17&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X17&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y17)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z17)&\", version_author=\"&AddQuotes('Calculator Table'!$AA17)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB17,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC17)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE17)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF17)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG17)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH17)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI17)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ17)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK17)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL17)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM17)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN17)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO17)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP17)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F17&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B17)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B17)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD17,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F17&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A17)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E17)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K17&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K17=\"Small Patch\",K17=\"Matrix\")),'Calculator Table'!$L17,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K17=\"Small Patch\",'Calculator Table'!$L17,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K17=\"Matrix\",'Calculator Table'!$L17,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M17&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N17&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O17&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P17&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q17&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R17&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S17&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T17&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U17&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V17&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W17&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X17&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y17)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z17)&\", version_author=\"&AddQuotes('Calculator Table'!$AA17)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB17,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC17)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE17)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF17)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG17)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH17)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI17)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ17)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK17)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL17)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM17)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN17)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO17)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP17)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F17&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS18>0,'Rk Assign'!D18,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS18>0,Calculate!$AV18,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ18:$BL18<>\"U\")*($AQ18:$BL18>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ18:$BL18<>\"U\")*($AQ18:$BL18>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ18:$BL18<>\"U\")*($AQ18:$BL18>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K18:$R18<>\"Z\")*($K18:$R18>\"\")*NOT(ISERROR($K18:$R18)))+SUM(($K$4:$R$4=\"A\")*($K18:$R18<>\"A\")*($K18:$R18>\"\")*NOT(ISERROR($K18:$R18)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K18:$R18=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ18:$BL18=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B18)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B18)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD18,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F18&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A18)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E18)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K18&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E18=\"Small Patch\",E18=\"Matrix\")),'Calculator Table'!$L18,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E18=\"Small Patch\",'Calculator Table'!$L18,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E18=\"Matrix\",'Calculator Table'!$L18,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M18&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N18&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O18&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P18&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q18&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R18&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S18&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T18&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U18&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V18&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W18&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X18&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y18)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z18)&\", version_author=\"&AddQuotes('Calculator Table'!$AA18)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB18,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC18)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE18)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF18)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG18)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH18)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI18)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ18)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK18)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL18)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM18)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN18)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO18)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP18)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F18&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B18)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B18)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD18,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F18&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A18)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E18)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K18&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H18=\"Small Patch\",H18=\"Matrix\")),'Calculator Table'!$L18,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H18=\"Small Patch\",'Calculator Table'!$L18,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H18=\"Matrix\",'Calculator Table'!$L18,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M18&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N18&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O18&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P18&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q18&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R18&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S18&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T18&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U18&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V18&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W18&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X18&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y18)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z18)&\", version_author=\"&AddQuotes('Calculator Table'!$AA18)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB18,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC18)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE18)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF18)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG18)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH18)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI18)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ18)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK18)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL18)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM18)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN18)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO18)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP18)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F18&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B18)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B18)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD18,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F18&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A18)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E18)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K18&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K18=\"Small Patch\",K18=\"Matrix\")),'Calculator Table'!$L18,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K18=\"Small Patch\",'Calculator Table'!$L18,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K18=\"Matrix\",'Calculator Table'!$L18,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M18&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N18&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O18&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P18&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q18&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R18&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S18&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T18&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U18&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V18&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W18&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X18&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y18)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z18)&\", version_author=\"&AddQuotes('Calculator Table'!$AA18)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB18,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC18)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE18)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF18)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG18)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH18)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI18)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ18)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK18)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL18)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM18)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN18)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO18)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP18)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F18&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS19>0,'Rk Assign'!D19,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS19>0,Calculate!$AV19,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ19:$BL19<>\"U\")*($AQ19:$BL19>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ19:$BL19<>\"U\")*($AQ19:$BL19>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ19:$BL19<>\"U\")*($AQ19:$BL19>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K19:$R19<>\"Z\")*($K19:$R19>\"\")*NOT(ISERROR($K19:$R19)))+SUM(($K$4:$R$4=\"A\")*($K19:$R19<>\"A\")*($K19:$R19>\"\")*NOT(ISERROR($K19:$R19)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K19:$R19=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ19:$BL19=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B19)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B19)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD19,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F19&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A19)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E19)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K19&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E19=\"Small Patch\",E19=\"Matrix\")),'Calculator Table'!$L19,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E19=\"Small Patch\",'Calculator Table'!$L19,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E19=\"Matrix\",'Calculator Table'!$L19,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M19&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N19&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O19&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P19&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q19&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R19&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S19&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T19&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U19&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V19&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W19&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X19&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y19)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z19)&\", version_author=\"&AddQuotes('Calculator Table'!$AA19)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB19,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC19)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE19)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF19)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG19)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH19)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI19)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ19)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK19)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL19)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM19)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN19)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO19)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP19)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F19&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B19)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B19)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD19,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F19&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A19)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E19)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K19&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H19=\"Small Patch\",H19=\"Matrix\")),'Calculator Table'!$L19,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H19=\"Small Patch\",'Calculator Table'!$L19,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H19=\"Matrix\",'Calculator Table'!$L19,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M19&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N19&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O19&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P19&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q19&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R19&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S19&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T19&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U19&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V19&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W19&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X19&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y19)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z19)&\", version_author=\"&AddQuotes('Calculator Table'!$AA19)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB19,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC19)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE19)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF19)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG19)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH19)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI19)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ19)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK19)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL19)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM19)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN19)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO19)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP19)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F19&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B19)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B19)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD19,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F19&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A19)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E19)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K19&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K19=\"Small Patch\",K19=\"Matrix\")),'Calculator Table'!$L19,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K19=\"Small Patch\",'Calculator Table'!$L19,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K19=\"Matrix\",'Calculator Table'!$L19,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M19&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N19&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O19&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P19&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q19&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R19&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S19&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T19&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U19&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V19&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W19&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X19&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y19)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z19)&\", version_author=\"&AddQuotes('Calculator Table'!$AA19)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB19,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC19)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE19)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF19)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG19)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH19)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI19)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ19)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK19)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL19)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM19)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN19)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO19)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP19)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F19&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS20>0,'Rk Assign'!D20,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS20>0,Calculate!$AV20,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ20:$BL20<>\"U\")*($AQ20:$BL20>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ20:$BL20<>\"U\")*($AQ20:$BL20>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ20:$BL20<>\"U\")*($AQ20:$BL20>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K20:$R20<>\"Z\")*($K20:$R20>\"\")*NOT(ISERROR($K20:$R20)))+SUM(($K$4:$R$4=\"A\")*($K20:$R20<>\"A\")*($K20:$R20>\"\")*NOT(ISERROR($K20:$R20)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K20:$R20=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ20:$BL20=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B20)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B20)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD20,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F20&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A20)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E20)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K20&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E20=\"Small Patch\",E20=\"Matrix\")),'Calculator Table'!$L20,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E20=\"Small Patch\",'Calculator Table'!$L20,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E20=\"Matrix\",'Calculator Table'!$L20,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M20&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N20&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O20&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P20&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q20&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R20&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S20&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T20&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U20&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V20&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W20&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X20&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y20)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z20)&\", version_author=\"&AddQuotes('Calculator Table'!$AA20)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB20,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC20)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE20)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF20)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG20)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH20)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI20)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ20)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK20)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL20)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM20)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN20)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO20)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP20)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F20&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B20)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B20)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD20,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F20&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A20)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E20)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K20&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H20=\"Small Patch\",H20=\"Matrix\")),'Calculator Table'!$L20,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H20=\"Small Patch\",'Calculator Table'!$L20,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H20=\"Matrix\",'Calculator Table'!$L20,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M20&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N20&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O20&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P20&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q20&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R20&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S20&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T20&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U20&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V20&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W20&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X20&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y20)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z20)&\", version_author=\"&AddQuotes('Calculator Table'!$AA20)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB20,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC20)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE20)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF20)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG20)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH20)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI20)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ20)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK20)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL20)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM20)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN20)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO20)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP20)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F20&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B20)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B20)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD20,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F20&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A20)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E20)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K20&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K20=\"Small Patch\",K20=\"Matrix\")),'Calculator Table'!$L20,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K20=\"Small Patch\",'Calculator Table'!$L20,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K20=\"Matrix\",'Calculator Table'!$L20,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M20&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N20&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O20&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P20&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q20&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R20&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S20&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T20&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U20&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V20&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W20&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X20&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y20)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z20)&\", version_author=\"&AddQuotes('Calculator Table'!$AA20)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB20,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC20)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE20)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF20)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG20)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH20)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI20)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ20)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK20)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL20)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM20)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN20)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO20)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP20)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F20&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS21>0,'Rk Assign'!D21,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS21>0,Calculate!$AV21,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ21:$BL21<>\"U\")*($AQ21:$BL21>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ21:$BL21<>\"U\")*($AQ21:$BL21>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ21:$BL21<>\"U\")*($AQ21:$BL21>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K21:$R21<>\"Z\")*($K21:$R21>\"\")*NOT(ISERROR($K21:$R21)))+SUM(($K$4:$R$4=\"A\")*($K21:$R21<>\"A\")*($K21:$R21>\"\")*NOT(ISERROR($K21:$R21)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K21:$R21=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ21:$BL21=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B21)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B21)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD21,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F21&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A21)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E21)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K21&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E21=\"Small Patch\",E21=\"Matrix\")),'Calculator Table'!$L21,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E21=\"Small Patch\",'Calculator Table'!$L21,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E21=\"Matrix\",'Calculator Table'!$L21,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M21&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N21&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O21&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P21&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q21&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R21&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S21&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T21&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U21&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V21&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W21&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X21&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y21)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z21)&\", version_author=\"&AddQuotes('Calculator Table'!$AA21)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB21,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC21)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE21)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF21)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG21)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH21)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI21)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ21)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK21)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL21)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM21)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN21)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO21)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP21)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F21&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B21)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B21)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD21,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F21&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A21)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E21)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K21&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H21=\"Small Patch\",H21=\"Matrix\")),'Calculator Table'!$L21,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H21=\"Small Patch\",'Calculator Table'!$L21,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H21=\"Matrix\",'Calculator Table'!$L21,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M21&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N21&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O21&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P21&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q21&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R21&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S21&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T21&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U21&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V21&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W21&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X21&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y21)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z21)&\", version_author=\"&AddQuotes('Calculator Table'!$AA21)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB21,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC21)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE21)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF21)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG21)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH21)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI21)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ21)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK21)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL21)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM21)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN21)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO21)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP21)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F21&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B21)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B21)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD21,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F21&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A21)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E21)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K21&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K21=\"Small Patch\",K21=\"Matrix\")),'Calculator Table'!$L21,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K21=\"Small Patch\",'Calculator Table'!$L21,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K21=\"Matrix\",'Calculator Table'!$L21,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M21&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N21&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O21&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P21&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q21&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R21&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S21&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T21&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U21&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V21&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W21&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X21&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y21)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z21)&\", version_author=\"&AddQuotes('Calculator Table'!$AA21)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB21,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC21)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE21)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF21)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG21)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH21)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI21)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ21)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK21)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL21)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM21)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN21)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO21)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP21)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F21&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS22>0,'Rk Assign'!D22,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS22>0,Calculate!$AV22,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ22:$BL22<>\"U\")*($AQ22:$BL22>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ22:$BL22<>\"U\")*($AQ22:$BL22>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ22:$BL22<>\"U\")*($AQ22:$BL22>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K22:$R22<>\"Z\")*($K22:$R22>\"\")*NOT(ISERROR($K22:$R22)))+SUM(($K$4:$R$4=\"A\")*($K22:$R22<>\"A\")*($K22:$R22>\"\")*NOT(ISERROR($K22:$R22)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K22:$R22=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ22:$BL22=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B22)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B22)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD22,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F22&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A22)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E22)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K22&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E22=\"Small Patch\",E22=\"Matrix\")),'Calculator Table'!$L22,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E22=\"Small Patch\",'Calculator Table'!$L22,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E22=\"Matrix\",'Calculator Table'!$L22,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M22&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N22&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O22&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P22&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q22&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R22&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S22&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T22&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U22&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V22&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W22&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X22&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y22)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z22)&\", version_author=\"&AddQuotes('Calculator Table'!$AA22)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB22,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC22)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE22)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF22)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG22)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH22)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI22)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ22)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK22)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL22)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM22)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN22)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO22)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP22)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F22&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B22)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B22)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD22,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F22&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A22)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E22)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K22&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H22=\"Small Patch\",H22=\"Matrix\")),'Calculator Table'!$L22,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H22=\"Small Patch\",'Calculator Table'!$L22,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H22=\"Matrix\",'Calculator Table'!$L22,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M22&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N22&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O22&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P22&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q22&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R22&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S22&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T22&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U22&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V22&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W22&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X22&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y22)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z22)&\", version_author=\"&AddQuotes('Calculator Table'!$AA22)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB22,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC22)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE22)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF22)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG22)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH22)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI22)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ22)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK22)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL22)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM22)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN22)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO22)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP22)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F22&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B22)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B22)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD22,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F22&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A22)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E22)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K22&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K22=\"Small Patch\",K22=\"Matrix\")),'Calculator Table'!$L22,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K22=\"Small Patch\",'Calculator Table'!$L22,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K22=\"Matrix\",'Calculator Table'!$L22,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M22&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N22&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O22&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P22&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q22&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R22&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S22&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T22&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U22&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V22&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W22&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X22&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y22)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z22)&\", version_author=\"&AddQuotes('Calculator Table'!$AA22)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB22,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC22)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE22)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF22)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG22)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH22)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI22)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ22)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK22)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL22)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM22)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN22)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO22)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP22)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F22&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS23>0,'Rk Assign'!D23,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS23>0,Calculate!$AV23,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ23:$BL23<>\"U\")*($AQ23:$BL23>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ23:$BL23<>\"U\")*($AQ23:$BL23>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ23:$BL23<>\"U\")*($AQ23:$BL23>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K23:$R23<>\"Z\")*($K23:$R23>\"\")*NOT(ISERROR($K23:$R23)))+SUM(($K$4:$R$4=\"A\")*($K23:$R23<>\"A\")*($K23:$R23>\"\")*NOT(ISERROR($K23:$R23)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K23:$R23=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ23:$BL23=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B23)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B23)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD23,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F23&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A23)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E23)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K23&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E23=\"Small Patch\",E23=\"Matrix\")),'Calculator Table'!$L23,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E23=\"Small Patch\",'Calculator Table'!$L23,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E23=\"Matrix\",'Calculator Table'!$L23,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M23&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N23&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O23&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P23&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q23&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R23&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S23&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T23&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U23&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V23&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W23&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X23&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y23)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z23)&\", version_author=\"&AddQuotes('Calculator Table'!$AA23)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB23,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC23)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE23)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF23)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG23)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH23)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI23)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ23)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK23)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL23)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM23)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN23)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO23)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP23)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F23&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B23)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B23)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD23,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F23&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A23)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E23)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K23&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H23=\"Small Patch\",H23=\"Matrix\")),'Calculator Table'!$L23,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H23=\"Small Patch\",'Calculator Table'!$L23,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H23=\"Matrix\",'Calculator Table'!$L23,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M23&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N23&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O23&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P23&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q23&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R23&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S23&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T23&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U23&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V23&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W23&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X23&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y23)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z23)&\", version_author=\"&AddQuotes('Calculator Table'!$AA23)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB23,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC23)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE23)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF23)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG23)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH23)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI23)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ23)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK23)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL23)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM23)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN23)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO23)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP23)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F23&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B23)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B23)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD23,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F23&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A23)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E23)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K23&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K23=\"Small Patch\",K23=\"Matrix\")),'Calculator Table'!$L23,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K23=\"Small Patch\",'Calculator Table'!$L23,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K23=\"Matrix\",'Calculator Table'!$L23,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M23&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N23&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O23&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P23&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q23&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R23&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S23&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T23&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U23&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V23&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W23&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X23&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y23)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z23)&\", version_author=\"&AddQuotes('Calculator Table'!$AA23)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB23,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC23)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE23)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF23)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG23)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH23)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI23)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ23)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK23)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL23)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM23)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN23)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO23)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP23)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F23&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS24>0,'Rk Assign'!D24,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS24>0,Calculate!$AV24,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ24:$BL24<>\"U\")*($AQ24:$BL24>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ24:$BL24<>\"U\")*($AQ24:$BL24>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ24:$BL24<>\"U\")*($AQ24:$BL24>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K24:$R24<>\"Z\")*($K24:$R24>\"\")*NOT(ISERROR($K24:$R24)))+SUM(($K$4:$R$4=\"A\")*($K24:$R24<>\"A\")*($K24:$R24>\"\")*NOT(ISERROR($K24:$R24)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K24:$R24=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ24:$BL24=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B24)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B24)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD24,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F24&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A24)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E24)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K24&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E24=\"Small Patch\",E24=\"Matrix\")),'Calculator Table'!$L24,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E24=\"Small Patch\",'Calculator Table'!$L24,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E24=\"Matrix\",'Calculator Table'!$L24,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M24&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N24&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O24&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P24&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q24&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R24&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S24&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T24&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U24&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V24&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W24&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X24&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y24)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z24)&\", version_author=\"&AddQuotes('Calculator Table'!$AA24)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB24,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC24)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE24)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF24)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG24)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH24)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI24)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ24)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK24)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL24)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM24)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN24)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO24)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP24)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F24&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B24)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B24)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD24,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F24&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A24)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E24)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K24&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H24=\"Small Patch\",H24=\"Matrix\")),'Calculator Table'!$L24,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H24=\"Small Patch\",'Calculator Table'!$L24,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H24=\"Matrix\",'Calculator Table'!$L24,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M24&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N24&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O24&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P24&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q24&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R24&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S24&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T24&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U24&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V24&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W24&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X24&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y24)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z24)&\", version_author=\"&AddQuotes('Calculator Table'!$AA24)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB24,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC24)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE24)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF24)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG24)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH24)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI24)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ24)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK24)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL24)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM24)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN24)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO24)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP24)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F24&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B24)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B24)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD24,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F24&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A24)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E24)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K24&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K24=\"Small Patch\",K24=\"Matrix\")),'Calculator Table'!$L24,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K24=\"Small Patch\",'Calculator Table'!$L24,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K24=\"Matrix\",'Calculator Table'!$L24,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M24&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N24&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O24&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P24&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q24&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R24&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S24&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T24&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U24&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V24&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W24&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X24&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y24)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z24)&\", version_author=\"&AddQuotes('Calculator Table'!$AA24)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB24,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC24)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE24)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF24)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG24)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH24)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI24)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ24)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK24)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL24)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM24)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN24)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO24)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP24)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F24&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS25>0,'Rk Assign'!D25,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS25>0,Calculate!$AV25,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ25:$BL25<>\"U\")*($AQ25:$BL25>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ25:$BL25<>\"U\")*($AQ25:$BL25>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ25:$BL25<>\"U\")*($AQ25:$BL25>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K25:$R25<>\"Z\")*($K25:$R25>\"\")*NOT(ISERROR($K25:$R25)))+SUM(($K$4:$R$4=\"A\")*($K25:$R25<>\"A\")*($K25:$R25>\"\")*NOT(ISERROR($K25:$R25)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K25:$R25=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ25:$BL25=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B25)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B25)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD25,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F25&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A25)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E25)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K25&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E25=\"Small Patch\",E25=\"Matrix\")),'Calculator Table'!$L25,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E25=\"Small Patch\",'Calculator Table'!$L25,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E25=\"Matrix\",'Calculator Table'!$L25,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M25&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N25&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O25&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P25&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q25&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R25&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S25&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T25&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U25&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V25&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W25&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X25&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y25)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z25)&\", version_author=\"&AddQuotes('Calculator Table'!$AA25)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB25,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC25)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE25)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF25)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG25)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH25)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI25)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ25)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK25)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL25)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM25)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN25)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO25)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP25)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F25&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B25)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B25)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD25,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F25&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A25)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E25)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K25&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H25=\"Small Patch\",H25=\"Matrix\")),'Calculator Table'!$L25,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H25=\"Small Patch\",'Calculator Table'!$L25,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H25=\"Matrix\",'Calculator Table'!$L25,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M25&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N25&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O25&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P25&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q25&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R25&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S25&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T25&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U25&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V25&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W25&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X25&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y25)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z25)&\", version_author=\"&AddQuotes('Calculator Table'!$AA25)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB25,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC25)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE25)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF25)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG25)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH25)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI25)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ25)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK25)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL25)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM25)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN25)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO25)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP25)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F25&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B25)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B25)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD25,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F25&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A25)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E25)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K25&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K25=\"Small Patch\",K25=\"Matrix\")),'Calculator Table'!$L25,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K25=\"Small Patch\",'Calculator Table'!$L25,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K25=\"Matrix\",'Calculator Table'!$L25,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M25&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N25&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O25&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P25&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q25&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R25&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S25&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T25&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U25&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V25&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W25&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X25&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y25)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z25)&\", version_author=\"&AddQuotes('Calculator Table'!$AA25)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB25,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC25)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE25)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF25)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG25)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH25)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI25)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ25)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK25)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL25)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM25)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN25)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO25)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP25)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F25&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS26>0,'Rk Assign'!D26,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS26>0,Calculate!$AV26,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ26:$BL26<>\"U\")*($AQ26:$BL26>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ26:$BL26<>\"U\")*($AQ26:$BL26>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ26:$BL26<>\"U\")*($AQ26:$BL26>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K26:$R26<>\"Z\")*($K26:$R26>\"\")*NOT(ISERROR($K26:$R26)))+SUM(($K$4:$R$4=\"A\")*($K26:$R26<>\"A\")*($K26:$R26>\"\")*NOT(ISERROR($K26:$R26)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K26:$R26=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ26:$BL26=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B26)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B26)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD26,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F26&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A26)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E26)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K26&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E26=\"Small Patch\",E26=\"Matrix\")),'Calculator Table'!$L26,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E26=\"Small Patch\",'Calculator Table'!$L26,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E26=\"Matrix\",'Calculator Table'!$L26,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M26&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N26&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O26&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P26&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q26&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R26&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S26&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T26&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U26&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V26&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W26&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X26&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y26)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z26)&\", version_author=\"&AddQuotes('Calculator Table'!$AA26)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB26,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC26)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE26)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF26)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG26)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH26)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI26)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ26)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK26)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL26)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM26)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN26)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO26)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP26)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F26&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B26)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B26)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD26,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F26&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A26)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E26)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K26&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H26=\"Small Patch\",H26=\"Matrix\")),'Calculator Table'!$L26,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H26=\"Small Patch\",'Calculator Table'!$L26,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H26=\"Matrix\",'Calculator Table'!$L26,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M26&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N26&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O26&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P26&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q26&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R26&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S26&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T26&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U26&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V26&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W26&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X26&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y26)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z26)&\", version_author=\"&AddQuotes('Calculator Table'!$AA26)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB26,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC26)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE26)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF26)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG26)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH26)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI26)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ26)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK26)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL26)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM26)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN26)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO26)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP26)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F26&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B26)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B26)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD26,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F26&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A26)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E26)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K26&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K26=\"Small Patch\",K26=\"Matrix\")),'Calculator Table'!$L26,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K26=\"Small Patch\",'Calculator Table'!$L26,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K26=\"Matrix\",'Calculator Table'!$L26,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M26&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N26&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O26&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P26&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q26&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R26&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S26&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T26&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U26&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V26&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W26&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X26&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y26)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z26)&\", version_author=\"&AddQuotes('Calculator Table'!$AA26)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB26,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC26)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE26)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF26)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG26)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH26)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI26)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ26)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK26)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL26)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM26)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN26)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO26)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP26)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F26&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS27>0,'Rk Assign'!D27,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS27>0,Calculate!$AV27,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ27:$BL27<>\"U\")*($AQ27:$BL27>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ27:$BL27<>\"U\")*($AQ27:$BL27>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ27:$BL27<>\"U\")*($AQ27:$BL27>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K27:$R27<>\"Z\")*($K27:$R27>\"\")*NOT(ISERROR($K27:$R27)))+SUM(($K$4:$R$4=\"A\")*($K27:$R27<>\"A\")*($K27:$R27>\"\")*NOT(ISERROR($K27:$R27)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K27:$R27=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ27:$BL27=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B27)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B27)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD27,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F27&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A27)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E27)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K27&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E27=\"Small Patch\",E27=\"Matrix\")),'Calculator Table'!$L27,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E27=\"Small Patch\",'Calculator Table'!$L27,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E27=\"Matrix\",'Calculator Table'!$L27,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M27&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N27&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O27&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P27&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q27&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R27&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S27&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T27&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U27&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V27&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W27&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X27&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y27)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z27)&\", version_author=\"&AddQuotes('Calculator Table'!$AA27)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB27,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC27)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE27)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF27)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG27)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH27)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI27)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ27)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK27)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL27)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM27)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN27)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO27)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP27)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F27&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B27)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B27)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD27,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F27&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A27)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E27)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K27&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H27=\"Small Patch\",H27=\"Matrix\")),'Calculator Table'!$L27,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H27=\"Small Patch\",'Calculator Table'!$L27,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H27=\"Matrix\",'Calculator Table'!$L27,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M27&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N27&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O27&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P27&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q27&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R27&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S27&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T27&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U27&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V27&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W27&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X27&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y27)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z27)&\", version_author=\"&AddQuotes('Calculator Table'!$AA27)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB27,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC27)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE27)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF27)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG27)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH27)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI27)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ27)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK27)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL27)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM27)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN27)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO27)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP27)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F27&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B27)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B27)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD27,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F27&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A27)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E27)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K27&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K27=\"Small Patch\",K27=\"Matrix\")),'Calculator Table'!$L27,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K27=\"Small Patch\",'Calculator Table'!$L27,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K27=\"Matrix\",'Calculator Table'!$L27,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M27&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N27&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O27&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P27&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q27&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R27&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S27&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T27&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U27&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V27&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W27&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X27&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y27)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z27)&\", version_author=\"&AddQuotes('Calculator Table'!$AA27)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB27,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC27)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE27)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF27)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG27)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH27)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI27)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ27)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK27)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL27)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM27)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN27)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO27)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP27)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F27&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS28>0,'Rk Assign'!D28,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS28>0,Calculate!$AV28,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ28:$BL28<>\"U\")*($AQ28:$BL28>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ28:$BL28<>\"U\")*($AQ28:$BL28>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ28:$BL28<>\"U\")*($AQ28:$BL28>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K28:$R28<>\"Z\")*($K28:$R28>\"\")*NOT(ISERROR($K28:$R28)))+SUM(($K$4:$R$4=\"A\")*($K28:$R28<>\"A\")*($K28:$R28>\"\")*NOT(ISERROR($K28:$R28)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K28:$R28=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ28:$BL28=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B28)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B28)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD28,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F28&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A28)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E28)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K28&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E28=\"Small Patch\",E28=\"Matrix\")),'Calculator Table'!$L28,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E28=\"Small Patch\",'Calculator Table'!$L28,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E28=\"Matrix\",'Calculator Table'!$L28,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M28&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N28&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O28&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P28&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q28&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R28&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S28&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T28&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U28&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V28&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W28&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X28&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y28)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z28)&\", version_author=\"&AddQuotes('Calculator Table'!$AA28)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB28,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC28)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE28)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF28)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG28)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH28)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI28)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ28)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK28)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL28)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM28)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN28)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO28)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP28)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F28&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B28)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B28)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD28,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F28&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A28)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E28)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K28&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H28=\"Small Patch\",H28=\"Matrix\")),'Calculator Table'!$L28,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H28=\"Small Patch\",'Calculator Table'!$L28,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H28=\"Matrix\",'Calculator Table'!$L28,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M28&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N28&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O28&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P28&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q28&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R28&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S28&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T28&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U28&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V28&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W28&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X28&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y28)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z28)&\", version_author=\"&AddQuotes('Calculator Table'!$AA28)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB28,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC28)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE28)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF28)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG28)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH28)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI28)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ28)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK28)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL28)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM28)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN28)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO28)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP28)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F28&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B28)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B28)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD28,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F28&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A28)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E28)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K28&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K28=\"Small Patch\",K28=\"Matrix\")),'Calculator Table'!$L28,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K28=\"Small Patch\",'Calculator Table'!$L28,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K28=\"Matrix\",'Calculator Table'!$L28,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M28&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N28&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O28&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P28&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q28&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R28&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S28&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T28&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U28&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V28&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W28&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X28&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y28)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z28)&\", version_author=\"&AddQuotes('Calculator Table'!$AA28)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB28,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC28)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE28)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF28)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG28)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH28)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI28)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ28)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK28)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL28)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM28)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN28)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO28)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP28)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F28&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS29>0,'Rk Assign'!D29,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS29>0,Calculate!$AV29,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ29:$BL29<>\"U\")*($AQ29:$BL29>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ29:$BL29<>\"U\")*($AQ29:$BL29>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ29:$BL29<>\"U\")*($AQ29:$BL29>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K29:$R29<>\"Z\")*($K29:$R29>\"\")*NOT(ISERROR($K29:$R29)))+SUM(($K$4:$R$4=\"A\")*($K29:$R29<>\"A\")*($K29:$R29>\"\")*NOT(ISERROR($K29:$R29)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K29:$R29=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ29:$BL29=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B29)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B29)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD29,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F29&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A29)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E29)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K29&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E29=\"Small Patch\",E29=\"Matrix\")),'Calculator Table'!$L29,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E29=\"Small Patch\",'Calculator Table'!$L29,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E29=\"Matrix\",'Calculator Table'!$L29,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M29&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N29&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O29&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P29&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q29&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R29&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S29&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T29&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U29&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V29&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W29&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X29&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y29)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z29)&\", version_author=\"&AddQuotes('Calculator Table'!$AA29)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB29,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC29)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE29)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF29)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG29)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH29)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI29)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ29)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK29)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL29)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM29)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN29)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO29)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP29)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F29&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B29)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B29)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD29,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F29&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A29)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E29)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K29&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H29=\"Small Patch\",H29=\"Matrix\")),'Calculator Table'!$L29,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H29=\"Small Patch\",'Calculator Table'!$L29,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H29=\"Matrix\",'Calculator Table'!$L29,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M29&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N29&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O29&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P29&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q29&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R29&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S29&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T29&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U29&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V29&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W29&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X29&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y29)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z29)&\", version_author=\"&AddQuotes('Calculator Table'!$AA29)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB29,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC29)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE29)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF29)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG29)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH29)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI29)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ29)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK29)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL29)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM29)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN29)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO29)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP29)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F29&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B29)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B29)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD29,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F29&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A29)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E29)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K29&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K29=\"Small Patch\",K29=\"Matrix\")),'Calculator Table'!$L29,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K29=\"Small Patch\",'Calculator Table'!$L29,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K29=\"Matrix\",'Calculator Table'!$L29,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M29&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N29&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O29&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P29&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q29&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R29&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S29&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T29&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U29&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V29&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W29&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X29&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y29)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z29)&\", version_author=\"&AddQuotes('Calculator Table'!$AA29)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB29,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC29)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE29)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF29)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG29)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH29)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI29)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ29)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK29)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL29)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM29)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN29)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO29)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP29)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F29&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS30>0,'Rk Assign'!D30,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS30>0,Calculate!$AV30,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ30:$BL30<>\"U\")*($AQ30:$BL30>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ30:$BL30<>\"U\")*($AQ30:$BL30>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ30:$BL30<>\"U\")*($AQ30:$BL30>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K30:$R30<>\"Z\")*($K30:$R30>\"\")*NOT(ISERROR($K30:$R30)))+SUM(($K$4:$R$4=\"A\")*($K30:$R30<>\"A\")*($K30:$R30>\"\")*NOT(ISERROR($K30:$R30)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K30:$R30=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ30:$BL30=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B30)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B30)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD30,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F30&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A30)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E30)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K30&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E30=\"Small Patch\",E30=\"Matrix\")),'Calculator Table'!$L30,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E30=\"Small Patch\",'Calculator Table'!$L30,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E30=\"Matrix\",'Calculator Table'!$L30,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M30&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N30&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O30&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P30&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q30&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R30&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S30&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T30&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U30&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V30&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W30&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X30&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y30)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z30)&\", version_author=\"&AddQuotes('Calculator Table'!$AA30)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB30,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC30)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE30)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF30)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG30)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH30)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI30)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ30)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK30)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL30)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM30)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN30)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO30)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP30)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F30&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B30)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B30)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD30,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F30&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A30)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E30)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K30&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H30=\"Small Patch\",H30=\"Matrix\")),'Calculator Table'!$L30,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H30=\"Small Patch\",'Calculator Table'!$L30,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H30=\"Matrix\",'Calculator Table'!$L30,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M30&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N30&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O30&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P30&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q30&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R30&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S30&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T30&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U30&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V30&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W30&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X30&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y30)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z30)&\", version_author=\"&AddQuotes('Calculator Table'!$AA30)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB30,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC30)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE30)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF30)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG30)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH30)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI30)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ30)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK30)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL30)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM30)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN30)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO30)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP30)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F30&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B30)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B30)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD30,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F30&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A30)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E30)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K30&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K30=\"Small Patch\",K30=\"Matrix\")),'Calculator Table'!$L30,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K30=\"Small Patch\",'Calculator Table'!$L30,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K30=\"Matrix\",'Calculator Table'!$L30,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M30&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N30&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O30&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P30&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q30&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R30&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S30&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T30&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U30&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V30&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W30&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X30&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y30)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z30)&\", version_author=\"&AddQuotes('Calculator Table'!$AA30)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB30,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC30)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE30)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF30)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG30)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH30)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI30)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ30)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK30)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL30)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM30)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN30)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO30)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP30)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F30&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS31>0,'Rk Assign'!D31,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS31>0,Calculate!$AV31,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ31:$BL31<>\"U\")*($AQ31:$BL31>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ31:$BL31<>\"U\")*($AQ31:$BL31>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ31:$BL31<>\"U\")*($AQ31:$BL31>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K31:$R31<>\"Z\")*($K31:$R31>\"\")*NOT(ISERROR($K31:$R31)))+SUM(($K$4:$R$4=\"A\")*($K31:$R31<>\"A\")*($K31:$R31>\"\")*NOT(ISERROR($K31:$R31)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K31:$R31=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ31:$BL31=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B31)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B31)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD31,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F31&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A31)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E31)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K31&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E31=\"Small Patch\",E31=\"Matrix\")),'Calculator Table'!$L31,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E31=\"Small Patch\",'Calculator Table'!$L31,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E31=\"Matrix\",'Calculator Table'!$L31,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M31&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N31&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O31&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P31&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q31&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R31&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S31&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T31&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U31&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V31&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W31&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X31&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y31)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z31)&\", version_author=\"&AddQuotes('Calculator Table'!$AA31)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB31,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC31)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE31)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF31)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG31)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH31)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI31)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ31)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK31)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL31)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM31)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN31)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO31)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP31)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F31&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B31)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B31)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD31,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F31&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A31)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E31)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K31&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H31=\"Small Patch\",H31=\"Matrix\")),'Calculator Table'!$L31,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H31=\"Small Patch\",'Calculator Table'!$L31,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H31=\"Matrix\",'Calculator Table'!$L31,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M31&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N31&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O31&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P31&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q31&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R31&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S31&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T31&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U31&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V31&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W31&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X31&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y31)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z31)&\", version_author=\"&AddQuotes('Calculator Table'!$AA31)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB31,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC31)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE31)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF31)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG31)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH31)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI31)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ31)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK31)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL31)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM31)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN31)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO31)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP31)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F31&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B31)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B31)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD31,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F31&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A31)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E31)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K31&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K31=\"Small Patch\",K31=\"Matrix\")),'Calculator Table'!$L31,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K31=\"Small Patch\",'Calculator Table'!$L31,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K31=\"Matrix\",'Calculator Table'!$L31,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M31&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N31&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O31&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P31&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q31&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R31&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S31&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T31&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U31&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V31&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W31&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X31&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y31)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z31)&\", version_author=\"&AddQuotes('Calculator Table'!$AA31)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB31,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC31)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE31)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF31)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG31)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH31)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI31)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ31)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK31)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL31)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM31)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN31)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO31)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP31)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F31&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS32>0,'Rk Assign'!D32,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS32>0,Calculate!$AV32,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ32:$BL32<>\"U\")*($AQ32:$BL32>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ32:$BL32<>\"U\")*($AQ32:$BL32>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ32:$BL32<>\"U\")*($AQ32:$BL32>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K32:$R32<>\"Z\")*($K32:$R32>\"\")*NOT(ISERROR($K32:$R32)))+SUM(($K$4:$R$4=\"A\")*($K32:$R32<>\"A\")*($K32:$R32>\"\")*NOT(ISERROR($K32:$R32)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K32:$R32=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ32:$BL32=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B32)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B32)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD32,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F32&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A32)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E32)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K32&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E32=\"Small Patch\",E32=\"Matrix\")),'Calculator Table'!$L32,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E32=\"Small Patch\",'Calculator Table'!$L32,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E32=\"Matrix\",'Calculator Table'!$L32,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M32&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N32&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O32&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P32&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q32&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R32&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S32&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T32&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U32&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V32&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W32&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X32&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y32)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z32)&\", version_author=\"&AddQuotes('Calculator Table'!$AA32)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB32,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC32)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE32)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF32)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG32)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH32)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI32)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ32)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK32)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL32)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM32)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN32)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO32)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP32)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F32&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B32)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B32)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD32,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F32&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A32)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E32)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K32&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H32=\"Small Patch\",H32=\"Matrix\")),'Calculator Table'!$L32,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H32=\"Small Patch\",'Calculator Table'!$L32,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H32=\"Matrix\",'Calculator Table'!$L32,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M32&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N32&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O32&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P32&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q32&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R32&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S32&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T32&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U32&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V32&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W32&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X32&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y32)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z32)&\", version_author=\"&AddQuotes('Calculator Table'!$AA32)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB32,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC32)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE32)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF32)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG32)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH32)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI32)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ32)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK32)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL32)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM32)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN32)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO32)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP32)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F32&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B32)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B32)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD32,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F32&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A32)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E32)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K32&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K32=\"Small Patch\",K32=\"Matrix\")),'Calculator Table'!$L32,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K32=\"Small Patch\",'Calculator Table'!$L32,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K32=\"Matrix\",'Calculator Table'!$L32,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M32&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N32&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O32&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P32&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q32&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R32&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S32&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T32&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U32&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V32&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W32&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X32&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y32)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z32)&\", version_author=\"&AddQuotes('Calculator Table'!$AA32)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB32,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC32)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE32)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF32)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG32)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH32)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI32)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ32)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK32)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL32)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM32)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN32)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO32)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP32)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F32&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS33>0,'Rk Assign'!D33,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS33>0,Calculate!$AV33,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ33:$BL33<>\"U\")*($AQ33:$BL33>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ33:$BL33<>\"U\")*($AQ33:$BL33>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ33:$BL33<>\"U\")*($AQ33:$BL33>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K33:$R33<>\"Z\")*($K33:$R33>\"\")*NOT(ISERROR($K33:$R33)))+SUM(($K$4:$R$4=\"A\")*($K33:$R33<>\"A\")*($K33:$R33>\"\")*NOT(ISERROR($K33:$R33)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K33:$R33=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ33:$BL33=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B33)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B33)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD33,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F33&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A33)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E33)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K33&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E33=\"Small Patch\",E33=\"Matrix\")),'Calculator Table'!$L33,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E33=\"Small Patch\",'Calculator Table'!$L33,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E33=\"Matrix\",'Calculator Table'!$L33,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M33&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N33&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O33&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P33&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q33&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R33&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S33&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T33&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U33&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V33&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W33&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X33&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y33)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z33)&\", version_author=\"&AddQuotes('Calculator Table'!$AA33)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB33,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC33)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE33)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF33)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG33)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH33)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI33)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ33)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK33)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL33)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM33)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN33)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO33)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP33)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F33&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B33)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B33)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD33,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F33&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A33)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E33)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K33&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H33=\"Small Patch\",H33=\"Matrix\")),'Calculator Table'!$L33,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H33=\"Small Patch\",'Calculator Table'!$L33,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H33=\"Matrix\",'Calculator Table'!$L33,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M33&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N33&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O33&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P33&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q33&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R33&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S33&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T33&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U33&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V33&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W33&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X33&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y33)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z33)&\", version_author=\"&AddQuotes('Calculator Table'!$AA33)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB33,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC33)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE33)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF33)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG33)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH33)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI33)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ33)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK33)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL33)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM33)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN33)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO33)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP33)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F33&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B33)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B33)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD33,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F33&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A33)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E33)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K33&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K33=\"Small Patch\",K33=\"Matrix\")),'Calculator Table'!$L33,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K33=\"Small Patch\",'Calculator Table'!$L33,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K33=\"Matrix\",'Calculator Table'!$L33,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M33&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N33&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O33&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P33&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q33&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R33&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S33&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T33&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U33&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V33&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W33&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X33&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y33)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z33)&\", version_author=\"&AddQuotes('Calculator Table'!$AA33)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB33,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC33)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE33)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF33)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG33)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH33)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI33)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ33)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK33)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL33)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM33)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN33)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO33)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP33)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F33&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS34>0,'Rk Assign'!D34,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS34>0,Calculate!$AV34,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ34:$BL34<>\"U\")*($AQ34:$BL34>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ34:$BL34<>\"U\")*($AQ34:$BL34>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ34:$BL34<>\"U\")*($AQ34:$BL34>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K34:$R34<>\"Z\")*($K34:$R34>\"\")*NOT(ISERROR($K34:$R34)))+SUM(($K$4:$R$4=\"A\")*($K34:$R34<>\"A\")*($K34:$R34>\"\")*NOT(ISERROR($K34:$R34)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K34:$R34=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ34:$BL34=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B34)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B34)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD34,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F34&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A34)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E34)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K34&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E34=\"Small Patch\",E34=\"Matrix\")),'Calculator Table'!$L34,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E34=\"Small Patch\",'Calculator Table'!$L34,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E34=\"Matrix\",'Calculator Table'!$L34,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M34&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N34&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O34&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P34&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q34&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R34&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S34&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T34&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U34&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V34&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W34&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X34&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y34)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z34)&\", version_author=\"&AddQuotes('Calculator Table'!$AA34)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB34,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC34)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE34)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF34)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG34)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH34)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI34)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ34)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK34)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL34)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM34)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN34)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO34)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP34)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F34&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B34)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B34)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD34,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F34&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A34)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E34)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K34&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H34=\"Small Patch\",H34=\"Matrix\")),'Calculator Table'!$L34,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H34=\"Small Patch\",'Calculator Table'!$L34,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H34=\"Matrix\",'Calculator Table'!$L34,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M34&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N34&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O34&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P34&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q34&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R34&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S34&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T34&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U34&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V34&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W34&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X34&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y34)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z34)&\", version_author=\"&AddQuotes('Calculator Table'!$AA34)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB34,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC34)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE34)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF34)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG34)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH34)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI34)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ34)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK34)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL34)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM34)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN34)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO34)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP34)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F34&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B34)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B34)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD34,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F34&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A34)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E34)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K34&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K34=\"Small Patch\",K34=\"Matrix\")),'Calculator Table'!$L34,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K34=\"Small Patch\",'Calculator Table'!$L34,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K34=\"Matrix\",'Calculator Table'!$L34,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M34&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N34&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O34&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P34&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q34&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R34&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S34&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T34&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U34&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V34&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W34&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X34&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y34)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z34)&\", version_author=\"&AddQuotes('Calculator Table'!$AA34)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB34,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC34)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE34)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF34)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG34)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH34)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI34)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ34)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK34)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL34)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM34)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN34)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO34)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP34)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F34&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS35>0,'Rk Assign'!D35,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"",{"$f":"RIGHT(K35,1)","v":""},{"$f":"LEFT(L35&M35&N35,1)","v":""},{"$f":"RIGHT(L35&M35&N35,1)","v":""},{"$f":"LEFT(O35,1)","v":""},{"$f":"RIGHT(O35,1)","v":""},{"$f":"LEFT(Q35,1)","v":""},{"$f":"RIGHT(Q35,1)","v":""},"","",{"$f":"LEFT(P35,1)","v":""},{"$f":"RIGHT(P35,1)","v":""},{"$f":"LEFT(S35,1)","v":""},{"$f":"RIGHT(S35,1)","v":""},"","","","",{"$f":"LEFT(V35,1)","v":""},{"$f":"RIGHT(V35,1)","v":""},{"$f":"LEFT(T35,1)","v":""},{"$f":"RIGHT(T35,1)","v":""},{"$f":"IF(BS35>0,Calculate!$AV35,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ35:$BL35<>\"U\")*($AQ35:$BL35>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ35:$BL35<>\"U\")*($AQ35:$BL35>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ35:$BL35<>\"U\")*($AQ35:$BL35>\"\"))","v":0},0,{"$f":"COUNTIF(K35:V35,\">''\")","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K35:$R35<>\"Z\")*($K35:$R35>\"\")*NOT(ISERROR($K35:$R35)))+SUM(($K$4:$R$4=\"A\")*($K35:$R35<>\"A\")*($K35:$R35>\"\")*NOT(ISERROR($K35:$R35)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K35:$R35=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ35:$BL35=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B35)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B35)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD35,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F35&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A35)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E35)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K35&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E35=\"Small Patch\",E35=\"Matrix\")),'Calculator Table'!$L35,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E35=\"Small Patch\",'Calculator Table'!$L35,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E35=\"Matrix\",'Calculator Table'!$L35,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M35&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N35&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O35&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P35&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q35&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R35&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S35&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T35&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U35&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V35&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W35&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X35&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y35)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z35)&\", version_author=\"&AddQuotes('Calculator Table'!$AA35)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB35,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC35)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE35)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF35)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG35)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH35)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI35)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ35)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK35)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL35)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM35)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN35)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO35)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP35)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F35&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B35)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B35)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD35,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F35&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A35)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E35)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K35&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H35=\"Small Patch\",H35=\"Matrix\")),'Calculator Table'!$L35,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H35=\"Small Patch\",'Calculator Table'!$L35,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H35=\"Matrix\",'Calculator Table'!$L35,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M35&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N35&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O35&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P35&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q35&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R35&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S35&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T35&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U35&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V35&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W35&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X35&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y35)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z35)&\", version_author=\"&AddQuotes('Calculator Table'!$AA35)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB35,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC35)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE35)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF35)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG35)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH35)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI35)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ35)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK35)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL35)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM35)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN35)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO35)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP35)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F35&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B35)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B35)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD35,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F35&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A35)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E35)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K35&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K35=\"Small Patch\",K35=\"Matrix\")),'Calculator Table'!$L35,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K35=\"Small Patch\",'Calculator Table'!$L35,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K35=\"Matrix\",'Calculator Table'!$L35,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M35&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N35&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O35&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P35&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q35&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R35&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S35&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T35&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U35&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V35&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W35&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X35&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y35)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z35)&\", version_author=\"&AddQuotes('Calculator Table'!$AA35)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB35,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC35)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE35)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF35)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG35)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH35)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI35)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ35)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK35)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL35)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM35)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN35)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO35)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP35)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F35&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS36>0,'Rk Assign'!D36,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS36>0,Calculate!$AV36,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ36:$BL36<>\"U\")*($AQ36:$BL36>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ36:$BL36<>\"U\")*($AQ36:$BL36>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ36:$BL36<>\"U\")*($AQ36:$BL36>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K36:$R36<>\"Z\")*($K36:$R36>\"\")*NOT(ISERROR($K36:$R36)))+SUM(($K$4:$R$4=\"A\")*($K36:$R36<>\"A\")*($K36:$R36>\"\")*NOT(ISERROR($K36:$R36)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K36:$R36=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ36:$BL36=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B36)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B36)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD36,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F36&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A36)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E36)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K36&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E36=\"Small Patch\",E36=\"Matrix\")),'Calculator Table'!$L36,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E36=\"Small Patch\",'Calculator Table'!$L36,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E36=\"Matrix\",'Calculator Table'!$L36,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M36&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N36&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O36&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P36&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q36&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R36&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S36&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T36&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U36&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V36&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W36&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X36&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y36)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z36)&\", version_author=\"&AddQuotes('Calculator Table'!$AA36)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB36,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC36)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE36)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF36)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG36)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH36)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI36)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ36)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK36)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL36)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM36)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN36)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO36)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP36)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F36&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B36)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B36)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD36,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F36&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A36)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E36)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K36&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H36=\"Small Patch\",H36=\"Matrix\")),'Calculator Table'!$L36,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H36=\"Small Patch\",'Calculator Table'!$L36,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H36=\"Matrix\",'Calculator Table'!$L36,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M36&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N36&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O36&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P36&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q36&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R36&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S36&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T36&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U36&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V36&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W36&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X36&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y36)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z36)&\", version_author=\"&AddQuotes('Calculator Table'!$AA36)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB36,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC36)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE36)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF36)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG36)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH36)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI36)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ36)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK36)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL36)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM36)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN36)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO36)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP36)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F36&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B36)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B36)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD36,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F36&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A36)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E36)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K36&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K36=\"Small Patch\",K36=\"Matrix\")),'Calculator Table'!$L36,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K36=\"Small Patch\",'Calculator Table'!$L36,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K36=\"Matrix\",'Calculator Table'!$L36,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M36&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N36&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O36&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P36&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q36&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R36&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S36&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T36&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U36&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V36&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W36&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X36&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y36)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z36)&\", version_author=\"&AddQuotes('Calculator Table'!$AA36)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB36,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC36)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE36)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF36)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG36)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH36)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI36)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ36)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK36)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL36)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM36)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN36)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO36)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP36)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F36&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS37>0,'Rk Assign'!D37,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS37>0,Calculate!$AV37,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ37:$BL37<>\"U\")*($AQ37:$BL37>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ37:$BL37<>\"U\")*($AQ37:$BL37>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ37:$BL37<>\"U\")*($AQ37:$BL37>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K37:$R37<>\"Z\")*($K37:$R37>\"\")*NOT(ISERROR($K37:$R37)))+SUM(($K$4:$R$4=\"A\")*($K37:$R37<>\"A\")*($K37:$R37>\"\")*NOT(ISERROR($K37:$R37)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K37:$R37=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ37:$BL37=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B37)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B37)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD37,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F37&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A37)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E37)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K37&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E37=\"Small Patch\",E37=\"Matrix\")),'Calculator Table'!$L37,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E37=\"Small Patch\",'Calculator Table'!$L37,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E37=\"Matrix\",'Calculator Table'!$L37,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M37&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N37&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O37&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P37&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q37&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R37&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S37&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T37&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U37&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V37&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W37&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X37&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y37)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z37)&\", version_author=\"&AddQuotes('Calculator Table'!$AA37)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB37,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC37)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE37)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF37)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG37)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH37)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI37)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ37)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK37)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL37)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM37)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN37)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO37)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP37)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F37&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B37)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B37)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD37,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F37&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A37)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E37)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K37&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H37=\"Small Patch\",H37=\"Matrix\")),'Calculator Table'!$L37,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H37=\"Small Patch\",'Calculator Table'!$L37,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H37=\"Matrix\",'Calculator Table'!$L37,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M37&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N37&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O37&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P37&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q37&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R37&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S37&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T37&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U37&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V37&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W37&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X37&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y37)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z37)&\", version_author=\"&AddQuotes('Calculator Table'!$AA37)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB37,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC37)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE37)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF37)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG37)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH37)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI37)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ37)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK37)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL37)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM37)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN37)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO37)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP37)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F37&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B37)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B37)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD37,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F37&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A37)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E37)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K37&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K37=\"Small Patch\",K37=\"Matrix\")),'Calculator Table'!$L37,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K37=\"Small Patch\",'Calculator Table'!$L37,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K37=\"Matrix\",'Calculator Table'!$L37,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M37&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N37&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O37&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P37&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q37&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R37&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S37&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T37&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U37&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V37&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W37&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X37&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y37)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z37)&\", version_author=\"&AddQuotes('Calculator Table'!$AA37)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB37,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC37)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE37)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF37)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG37)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH37)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI37)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ37)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK37)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL37)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM37)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN37)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO37)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP37)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F37&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS38>0,'Rk Assign'!D38,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS38>0,Calculate!$AV38,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ38:$BL38<>\"U\")*($AQ38:$BL38>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ38:$BL38<>\"U\")*($AQ38:$BL38>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ38:$BL38<>\"U\")*($AQ38:$BL38>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K38:$R38<>\"Z\")*($K38:$R38>\"\")*NOT(ISERROR($K38:$R38)))+SUM(($K$4:$R$4=\"A\")*($K38:$R38<>\"A\")*($K38:$R38>\"\")*NOT(ISERROR($K38:$R38)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K38:$R38=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ38:$BL38=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B38)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B38)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD38,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F38&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A38)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E38)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K38&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E38=\"Small Patch\",E38=\"Matrix\")),'Calculator Table'!$L38,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E38=\"Small Patch\",'Calculator Table'!$L38,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E38=\"Matrix\",'Calculator Table'!$L38,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M38&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N38&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O38&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P38&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q38&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R38&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S38&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T38&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U38&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V38&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W38&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X38&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y38)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z38)&\", version_author=\"&AddQuotes('Calculator Table'!$AA38)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB38,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC38)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE38)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF38)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG38)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH38)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI38)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ38)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK38)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL38)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM38)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN38)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO38)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP38)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F38&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B38)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B38)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD38,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F38&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A38)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E38)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K38&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H38=\"Small Patch\",H38=\"Matrix\")),'Calculator Table'!$L38,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H38=\"Small Patch\",'Calculator Table'!$L38,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H38=\"Matrix\",'Calculator Table'!$L38,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M38&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N38&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O38&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P38&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q38&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R38&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S38&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T38&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U38&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V38&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W38&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X38&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y38)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z38)&\", version_author=\"&AddQuotes('Calculator Table'!$AA38)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB38,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC38)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE38)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF38)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG38)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH38)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI38)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ38)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK38)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL38)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM38)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN38)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO38)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP38)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F38&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B38)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B38)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD38,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F38&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A38)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E38)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K38&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K38=\"Small Patch\",K38=\"Matrix\")),'Calculator Table'!$L38,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K38=\"Small Patch\",'Calculator Table'!$L38,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K38=\"Matrix\",'Calculator Table'!$L38,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M38&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N38&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O38&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P38&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q38&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R38&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S38&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T38&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U38&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V38&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W38&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X38&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y38)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z38)&\", version_author=\"&AddQuotes('Calculator Table'!$AA38)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB38,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC38)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE38)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF38)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG38)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH38)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI38)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ38)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK38)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL38)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM38)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN38)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO38)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP38)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F38&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS39>0,'Rk Assign'!D39,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS39>0,Calculate!$AV39,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ39:$BL39<>\"U\")*($AQ39:$BL39>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ39:$BL39<>\"U\")*($AQ39:$BL39>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ39:$BL39<>\"U\")*($AQ39:$BL39>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K39:$R39<>\"Z\")*($K39:$R39>\"\")*NOT(ISERROR($K39:$R39)))+SUM(($K$4:$R$4=\"A\")*($K39:$R39<>\"A\")*($K39:$R39>\"\")*NOT(ISERROR($K39:$R39)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K39:$R39=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ39:$BL39=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B39)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B39)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD39,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F39&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A39)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E39)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K39&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E39=\"Small Patch\",E39=\"Matrix\")),'Calculator Table'!$L39,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E39=\"Small Patch\",'Calculator Table'!$L39,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E39=\"Matrix\",'Calculator Table'!$L39,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M39&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N39&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O39&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P39&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q39&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R39&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S39&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T39&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U39&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V39&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W39&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X39&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y39)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z39)&\", version_author=\"&AddQuotes('Calculator Table'!$AA39)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB39,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC39)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE39)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF39)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG39)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH39)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI39)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ39)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK39)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL39)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM39)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN39)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO39)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP39)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F39&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B39)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B39)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD39,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F39&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A39)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E39)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K39&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H39=\"Small Patch\",H39=\"Matrix\")),'Calculator Table'!$L39,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H39=\"Small Patch\",'Calculator Table'!$L39,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H39=\"Matrix\",'Calculator Table'!$L39,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M39&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N39&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O39&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P39&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q39&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R39&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S39&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T39&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U39&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V39&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W39&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X39&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y39)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z39)&\", version_author=\"&AddQuotes('Calculator Table'!$AA39)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB39,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC39)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE39)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF39)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG39)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH39)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI39)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ39)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK39)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL39)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM39)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN39)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO39)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP39)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F39&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B39)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B39)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD39,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F39&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A39)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E39)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K39&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K39=\"Small Patch\",K39=\"Matrix\")),'Calculator Table'!$L39,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K39=\"Small Patch\",'Calculator Table'!$L39,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K39=\"Matrix\",'Calculator Table'!$L39,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M39&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N39&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O39&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P39&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q39&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R39&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S39&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T39&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U39&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V39&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W39&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X39&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y39)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z39)&\", version_author=\"&AddQuotes('Calculator Table'!$AA39)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB39,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC39)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE39)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF39)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG39)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH39)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI39)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ39)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK39)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL39)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM39)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN39)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO39)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP39)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F39&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS40>0,'Rk Assign'!D40,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS40>0,Calculate!$AV40,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ40:$BL40<>\"U\")*($AQ40:$BL40>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ40:$BL40<>\"U\")*($AQ40:$BL40>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ40:$BL40<>\"U\")*($AQ40:$BL40>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K40:$R40<>\"Z\")*($K40:$R40>\"\")*NOT(ISERROR($K40:$R40)))+SUM(($K$4:$R$4=\"A\")*($K40:$R40<>\"A\")*($K40:$R40>\"\")*NOT(ISERROR($K40:$R40)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K40:$R40=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ40:$BL40=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B40)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B40)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD40,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F40&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A40)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E40)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K40&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E40=\"Small Patch\",E40=\"Matrix\")),'Calculator Table'!$L40,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E40=\"Small Patch\",'Calculator Table'!$L40,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E40=\"Matrix\",'Calculator Table'!$L40,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M40&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N40&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O40&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P40&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q40&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R40&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S40&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T40&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U40&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V40&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W40&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X40&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y40)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z40)&\", version_author=\"&AddQuotes('Calculator Table'!$AA40)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB40,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC40)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE40)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF40)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG40)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH40)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI40)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ40)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK40)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL40)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM40)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN40)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO40)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP40)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F40&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B40)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B40)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD40,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F40&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A40)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E40)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K40&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H40=\"Small Patch\",H40=\"Matrix\")),'Calculator Table'!$L40,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H40=\"Small Patch\",'Calculator Table'!$L40,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H40=\"Matrix\",'Calculator Table'!$L40,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M40&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N40&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O40&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P40&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q40&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R40&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S40&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T40&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U40&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V40&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W40&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X40&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y40)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z40)&\", version_author=\"&AddQuotes('Calculator Table'!$AA40)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB40,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC40)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE40)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF40)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG40)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH40)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI40)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ40)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK40)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL40)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM40)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN40)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO40)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP40)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F40&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B40)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B40)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD40,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F40&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A40)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E40)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K40&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K40=\"Small Patch\",K40=\"Matrix\")),'Calculator Table'!$L40,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K40=\"Small Patch\",'Calculator Table'!$L40,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K40=\"Matrix\",'Calculator Table'!$L40,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M40&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N40&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O40&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P40&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q40&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R40&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S40&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T40&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U40&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V40&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W40&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X40&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y40)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z40)&\", version_author=\"&AddQuotes('Calculator Table'!$AA40)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB40,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC40)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE40)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF40)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG40)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH40)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI40)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ40)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK40)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL40)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM40)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN40)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO40)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP40)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F40&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS41>0,'Rk Assign'!D41,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS41>0,Calculate!$AV41,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ41:$BL41<>\"U\")*($AQ41:$BL41>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ41:$BL41<>\"U\")*($AQ41:$BL41>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ41:$BL41<>\"U\")*($AQ41:$BL41>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K41:$R41<>\"Z\")*($K41:$R41>\"\")*NOT(ISERROR($K41:$R41)))+SUM(($K$4:$R$4=\"A\")*($K41:$R41<>\"A\")*($K41:$R41>\"\")*NOT(ISERROR($K41:$R41)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K41:$R41=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ41:$BL41=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B41)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B41)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD41,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F41&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A41)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E41)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K41&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E41=\"Small Patch\",E41=\"Matrix\")),'Calculator Table'!$L41,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E41=\"Small Patch\",'Calculator Table'!$L41,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E41=\"Matrix\",'Calculator Table'!$L41,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M41&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N41&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O41&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P41&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q41&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R41&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S41&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T41&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U41&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V41&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W41&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X41&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y41)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z41)&\", version_author=\"&AddQuotes('Calculator Table'!$AA41)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB41,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC41)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE41)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF41)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG41)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH41)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI41)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ41)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK41)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL41)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM41)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN41)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO41)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP41)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F41&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B41)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B41)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD41,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F41&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A41)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E41)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K41&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H41=\"Small Patch\",H41=\"Matrix\")),'Calculator Table'!$L41,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H41=\"Small Patch\",'Calculator Table'!$L41,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H41=\"Matrix\",'Calculator Table'!$L41,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M41&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N41&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O41&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P41&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q41&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R41&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S41&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T41&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U41&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V41&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W41&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X41&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y41)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z41)&\", version_author=\"&AddQuotes('Calculator Table'!$AA41)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB41,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC41)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE41)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF41)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG41)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH41)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI41)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ41)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK41)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL41)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM41)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN41)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO41)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP41)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F41&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B41)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B41)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD41,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F41&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A41)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E41)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K41&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K41=\"Small Patch\",K41=\"Matrix\")),'Calculator Table'!$L41,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K41=\"Small Patch\",'Calculator Table'!$L41,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K41=\"Matrix\",'Calculator Table'!$L41,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M41&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N41&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O41&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P41&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q41&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R41&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S41&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T41&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U41&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V41&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W41&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X41&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y41)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z41)&\", version_author=\"&AddQuotes('Calculator Table'!$AA41)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB41,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC41)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE41)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF41)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG41)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH41)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI41)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ41)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK41)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL41)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM41)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN41)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO41)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP41)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F41&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS42>0,'Rk Assign'!D42,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS42>0,Calculate!$AV42,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ42:$BL42<>\"U\")*($AQ42:$BL42>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ42:$BL42<>\"U\")*($AQ42:$BL42>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ42:$BL42<>\"U\")*($AQ42:$BL42>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K42:$R42<>\"Z\")*($K42:$R42>\"\")*NOT(ISERROR($K42:$R42)))+SUM(($K$4:$R$4=\"A\")*($K42:$R42<>\"A\")*($K42:$R42>\"\")*NOT(ISERROR($K42:$R42)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K42:$R42=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ42:$BL42=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B42)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B42)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD42,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F42&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A42)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E42)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K42&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E42=\"Small Patch\",E42=\"Matrix\")),'Calculator Table'!$L42,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E42=\"Small Patch\",'Calculator Table'!$L42,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E42=\"Matrix\",'Calculator Table'!$L42,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M42&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N42&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O42&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P42&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q42&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R42&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S42&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T42&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U42&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V42&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W42&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X42&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y42)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z42)&\", version_author=\"&AddQuotes('Calculator Table'!$AA42)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB42,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC42)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE42)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF42)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG42)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH42)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI42)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ42)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK42)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL42)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM42)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN42)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO42)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP42)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F42&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B42)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B42)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD42,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F42&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A42)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E42)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K42&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H42=\"Small Patch\",H42=\"Matrix\")),'Calculator Table'!$L42,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H42=\"Small Patch\",'Calculator Table'!$L42,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H42=\"Matrix\",'Calculator Table'!$L42,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M42&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N42&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O42&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P42&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q42&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R42&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S42&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T42&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U42&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V42&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W42&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X42&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y42)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z42)&\", version_author=\"&AddQuotes('Calculator Table'!$AA42)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB42,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC42)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE42)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF42)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG42)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH42)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI42)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ42)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK42)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL42)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM42)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN42)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO42)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP42)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F42&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B42)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B42)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD42,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F42&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A42)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E42)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K42&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K42=\"Small Patch\",K42=\"Matrix\")),'Calculator Table'!$L42,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K42=\"Small Patch\",'Calculator Table'!$L42,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K42=\"Matrix\",'Calculator Table'!$L42,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M42&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N42&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O42&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P42&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q42&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R42&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S42&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T42&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U42&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V42&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W42&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X42&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y42)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z42)&\", version_author=\"&AddQuotes('Calculator Table'!$AA42)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB42,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC42)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE42)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF42)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG42)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH42)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI42)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ42)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK42)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL42)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM42)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN42)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO42)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP42)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F42&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS43>0,'Rk Assign'!D43,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS43>0,Calculate!$AV43,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ43:$BL43<>\"U\")*($AQ43:$BL43>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ43:$BL43<>\"U\")*($AQ43:$BL43>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ43:$BL43<>\"U\")*($AQ43:$BL43>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K43:$R43<>\"Z\")*($K43:$R43>\"\")*NOT(ISERROR($K43:$R43)))+SUM(($K$4:$R$4=\"A\")*($K43:$R43<>\"A\")*($K43:$R43>\"\")*NOT(ISERROR($K43:$R43)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K43:$R43=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ43:$BL43=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B43)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B43)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD43,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F43&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A43)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E43)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K43&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E43=\"Small Patch\",E43=\"Matrix\")),'Calculator Table'!$L43,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E43=\"Small Patch\",'Calculator Table'!$L43,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E43=\"Matrix\",'Calculator Table'!$L43,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M43&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N43&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O43&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P43&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q43&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R43&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S43&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T43&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U43&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V43&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W43&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X43&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y43)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z43)&\", version_author=\"&AddQuotes('Calculator Table'!$AA43)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB43,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC43)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE43)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF43)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG43)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH43)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI43)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ43)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK43)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL43)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM43)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN43)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO43)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP43)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F43&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B43)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B43)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD43,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F43&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A43)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E43)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K43&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H43=\"Small Patch\",H43=\"Matrix\")),'Calculator Table'!$L43,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H43=\"Small Patch\",'Calculator Table'!$L43,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H43=\"Matrix\",'Calculator Table'!$L43,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M43&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N43&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O43&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P43&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q43&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R43&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S43&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T43&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U43&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V43&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W43&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X43&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y43)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z43)&\", version_author=\"&AddQuotes('Calculator Table'!$AA43)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB43,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC43)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE43)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF43)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG43)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH43)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI43)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ43)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK43)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL43)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM43)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN43)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO43)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP43)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F43&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B43)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B43)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD43,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F43&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A43)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E43)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K43&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K43=\"Small Patch\",K43=\"Matrix\")),'Calculator Table'!$L43,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K43=\"Small Patch\",'Calculator Table'!$L43,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K43=\"Matrix\",'Calculator Table'!$L43,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M43&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N43&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O43&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P43&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q43&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R43&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S43&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T43&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U43&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V43&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W43&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X43&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y43)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z43)&\", version_author=\"&AddQuotes('Calculator Table'!$AA43)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB43,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC43)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE43)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF43)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG43)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH43)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI43)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ43)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK43)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL43)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM43)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN43)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO43)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP43)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F43&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS44>0,'Rk Assign'!D44,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS44>0,Calculate!$AV44,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ44:$BL44<>\"U\")*($AQ44:$BL44>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ44:$BL44<>\"U\")*($AQ44:$BL44>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ44:$BL44<>\"U\")*($AQ44:$BL44>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K44:$R44<>\"Z\")*($K44:$R44>\"\")*NOT(ISERROR($K44:$R44)))+SUM(($K$4:$R$4=\"A\")*($K44:$R44<>\"A\")*($K44:$R44>\"\")*NOT(ISERROR($K44:$R44)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K44:$R44=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ44:$BL44=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B44)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B44)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD44,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F44&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A44)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E44)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K44&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E44=\"Small Patch\",E44=\"Matrix\")),'Calculator Table'!$L44,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E44=\"Small Patch\",'Calculator Table'!$L44,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E44=\"Matrix\",'Calculator Table'!$L44,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M44&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N44&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O44&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P44&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q44&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R44&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S44&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T44&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U44&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V44&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W44&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X44&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y44)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z44)&\", version_author=\"&AddQuotes('Calculator Table'!$AA44)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB44,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC44)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE44)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF44)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG44)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH44)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI44)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ44)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK44)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL44)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM44)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN44)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO44)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP44)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F44&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B44)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B44)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD44,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F44&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A44)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E44)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K44&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H44=\"Small Patch\",H44=\"Matrix\")),'Calculator Table'!$L44,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H44=\"Small Patch\",'Calculator Table'!$L44,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H44=\"Matrix\",'Calculator Table'!$L44,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M44&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N44&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O44&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P44&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q44&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R44&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S44&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T44&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U44&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V44&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W44&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X44&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y44)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z44)&\", version_author=\"&AddQuotes('Calculator Table'!$AA44)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB44,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC44)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE44)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF44)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG44)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH44)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI44)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ44)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK44)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL44)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM44)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN44)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO44)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP44)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F44&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B44)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B44)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD44,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F44&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A44)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E44)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K44&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K44=\"Small Patch\",K44=\"Matrix\")),'Calculator Table'!$L44,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K44=\"Small Patch\",'Calculator Table'!$L44,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K44=\"Matrix\",'Calculator Table'!$L44,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M44&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N44&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O44&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P44&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q44&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R44&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S44&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T44&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U44&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V44&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W44&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X44&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y44)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z44)&\", version_author=\"&AddQuotes('Calculator Table'!$AA44)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB44,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC44)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE44)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF44)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG44)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH44)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI44)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ44)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK44)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL44)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM44)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN44)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO44)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP44)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F44&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS45>0,'Rk Assign'!D45,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS45>0,Calculate!$AV45,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ45:$BL45<>\"U\")*($AQ45:$BL45>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ45:$BL45<>\"U\")*($AQ45:$BL45>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ45:$BL45<>\"U\")*($AQ45:$BL45>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K45:$R45<>\"Z\")*($K45:$R45>\"\")*NOT(ISERROR($K45:$R45)))+SUM(($K$4:$R$4=\"A\")*($K45:$R45<>\"A\")*($K45:$R45>\"\")*NOT(ISERROR($K45:$R45)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K45:$R45=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ45:$BL45=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B45)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B45)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD45,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F45&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A45)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E45)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K45&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E45=\"Small Patch\",E45=\"Matrix\")),'Calculator Table'!$L45,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E45=\"Small Patch\",'Calculator Table'!$L45,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E45=\"Matrix\",'Calculator Table'!$L45,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M45&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N45&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O45&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P45&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q45&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R45&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S45&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T45&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U45&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V45&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W45&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X45&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y45)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z45)&\", version_author=\"&AddQuotes('Calculator Table'!$AA45)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB45,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC45)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE45)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF45)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG45)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH45)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI45)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ45)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK45)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL45)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM45)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN45)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO45)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP45)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F45&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B45)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B45)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD45,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F45&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A45)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E45)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K45&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H45=\"Small Patch\",H45=\"Matrix\")),'Calculator Table'!$L45,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H45=\"Small Patch\",'Calculator Table'!$L45,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H45=\"Matrix\",'Calculator Table'!$L45,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M45&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N45&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O45&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P45&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q45&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R45&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S45&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T45&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U45&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V45&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W45&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X45&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y45)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z45)&\", version_author=\"&AddQuotes('Calculator Table'!$AA45)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB45,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC45)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE45)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF45)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG45)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH45)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI45)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ45)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK45)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL45)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM45)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN45)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO45)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP45)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F45&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B45)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B45)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD45,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F45&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A45)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E45)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K45&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K45=\"Small Patch\",K45=\"Matrix\")),'Calculator Table'!$L45,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K45=\"Small Patch\",'Calculator Table'!$L45,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K45=\"Matrix\",'Calculator Table'!$L45,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M45&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N45&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O45&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P45&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q45&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R45&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S45&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T45&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U45&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V45&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W45&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X45&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y45)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z45)&\", version_author=\"&AddQuotes('Calculator Table'!$AA45)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB45,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC45)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE45)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF45)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG45)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH45)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI45)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ45)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK45)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL45)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM45)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN45)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO45)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP45)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F45&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS46>0,'Rk Assign'!D46,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS46>0,Calculate!$AV46,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ46:$BL46<>\"U\")*($AQ46:$BL46>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ46:$BL46<>\"U\")*($AQ46:$BL46>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ46:$BL46<>\"U\")*($AQ46:$BL46>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K46:$R46<>\"Z\")*($K46:$R46>\"\")*NOT(ISERROR($K46:$R46)))+SUM(($K$4:$R$4=\"A\")*($K46:$R46<>\"A\")*($K46:$R46>\"\")*NOT(ISERROR($K46:$R46)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K46:$R46=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ46:$BL46=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B46)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B46)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD46,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F46&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A46)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E46)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K46&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E46=\"Small Patch\",E46=\"Matrix\")),'Calculator Table'!$L46,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E46=\"Small Patch\",'Calculator Table'!$L46,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E46=\"Matrix\",'Calculator Table'!$L46,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M46&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N46&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O46&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P46&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q46&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R46&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S46&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T46&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U46&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V46&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W46&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X46&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y46)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z46)&\", version_author=\"&AddQuotes('Calculator Table'!$AA46)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB46,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC46)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE46)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF46)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG46)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH46)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI46)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ46)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK46)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL46)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM46)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN46)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO46)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP46)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F46&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B46)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B46)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD46,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F46&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A46)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E46)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K46&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H46=\"Small Patch\",H46=\"Matrix\")),'Calculator Table'!$L46,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H46=\"Small Patch\",'Calculator Table'!$L46,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H46=\"Matrix\",'Calculator Table'!$L46,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M46&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N46&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O46&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P46&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q46&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R46&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S46&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T46&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U46&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V46&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W46&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X46&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y46)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z46)&\", version_author=\"&AddQuotes('Calculator Table'!$AA46)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB46,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC46)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE46)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF46)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG46)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH46)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI46)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ46)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK46)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL46)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM46)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN46)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO46)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP46)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F46&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B46)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B46)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD46,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F46&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A46)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E46)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K46&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K46=\"Small Patch\",K46=\"Matrix\")),'Calculator Table'!$L46,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K46=\"Small Patch\",'Calculator Table'!$L46,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K46=\"Matrix\",'Calculator Table'!$L46,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M46&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N46&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O46&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P46&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q46&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R46&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S46&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T46&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U46&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V46&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W46&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X46&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y46)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z46)&\", version_author=\"&AddQuotes('Calculator Table'!$AA46)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB46,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC46)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE46)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF46)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG46)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH46)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI46)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ46)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK46)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL46)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM46)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN46)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO46)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP46)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F46&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS47>0,'Rk Assign'!D47,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS47>0,Calculate!$AV47,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ47:$BL47<>\"U\")*($AQ47:$BL47>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ47:$BL47<>\"U\")*($AQ47:$BL47>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ47:$BL47<>\"U\")*($AQ47:$BL47>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K47:$R47<>\"Z\")*($K47:$R47>\"\")*NOT(ISERROR($K47:$R47)))+SUM(($K$4:$R$4=\"A\")*($K47:$R47<>\"A\")*($K47:$R47>\"\")*NOT(ISERROR($K47:$R47)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K47:$R47=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ47:$BL47=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B47)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B47)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD47,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F47&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A47)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E47)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K47&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E47=\"Small Patch\",E47=\"Matrix\")),'Calculator Table'!$L47,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E47=\"Small Patch\",'Calculator Table'!$L47,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E47=\"Matrix\",'Calculator Table'!$L47,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M47&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N47&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O47&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P47&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q47&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R47&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S47&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T47&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U47&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V47&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W47&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X47&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y47)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z47)&\", version_author=\"&AddQuotes('Calculator Table'!$AA47)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB47,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC47)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE47)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF47)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG47)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH47)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI47)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ47)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK47)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL47)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM47)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN47)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO47)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP47)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F47&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B47)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B47)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD47,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F47&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A47)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E47)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K47&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H47=\"Small Patch\",H47=\"Matrix\")),'Calculator Table'!$L47,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H47=\"Small Patch\",'Calculator Table'!$L47,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H47=\"Matrix\",'Calculator Table'!$L47,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M47&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N47&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O47&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P47&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q47&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R47&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S47&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T47&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U47&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V47&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W47&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X47&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y47)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z47)&\", version_author=\"&AddQuotes('Calculator Table'!$AA47)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB47,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC47)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE47)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF47)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG47)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH47)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI47)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ47)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK47)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL47)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM47)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN47)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO47)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP47)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F47&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B47)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B47)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD47,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F47&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A47)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E47)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K47&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K47=\"Small Patch\",K47=\"Matrix\")),'Calculator Table'!$L47,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K47=\"Small Patch\",'Calculator Table'!$L47,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K47=\"Matrix\",'Calculator Table'!$L47,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M47&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N47&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O47&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P47&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q47&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R47&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S47&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T47&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U47&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V47&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W47&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X47&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y47)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z47)&\", version_author=\"&AddQuotes('Calculator Table'!$AA47)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB47,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC47)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE47)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF47)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG47)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH47)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI47)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ47)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK47)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL47)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM47)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN47)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO47)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP47)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F47&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS48>0,'Rk Assign'!D48,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS48>0,Calculate!$AV48,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ48:$BL48<>\"U\")*($AQ48:$BL48>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ48:$BL48<>\"U\")*($AQ48:$BL48>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ48:$BL48<>\"U\")*($AQ48:$BL48>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K48:$R48<>\"Z\")*($K48:$R48>\"\")*NOT(ISERROR($K48:$R48)))+SUM(($K$4:$R$4=\"A\")*($K48:$R48<>\"A\")*($K48:$R48>\"\")*NOT(ISERROR($K48:$R48)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K48:$R48=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ48:$BL48=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B48)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B48)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD48,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F48&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A48)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E48)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K48&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E48=\"Small Patch\",E48=\"Matrix\")),'Calculator Table'!$L48,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E48=\"Small Patch\",'Calculator Table'!$L48,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E48=\"Matrix\",'Calculator Table'!$L48,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M48&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N48&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O48&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P48&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q48&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R48&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S48&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T48&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U48&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V48&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W48&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X48&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y48)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z48)&\", version_author=\"&AddQuotes('Calculator Table'!$AA48)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB48,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC48)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE48)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF48)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG48)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH48)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI48)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ48)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK48)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL48)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM48)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN48)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO48)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP48)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F48&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B48)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B48)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD48,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F48&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A48)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E48)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K48&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H48=\"Small Patch\",H48=\"Matrix\")),'Calculator Table'!$L48,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H48=\"Small Patch\",'Calculator Table'!$L48,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H48=\"Matrix\",'Calculator Table'!$L48,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M48&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N48&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O48&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P48&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q48&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R48&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S48&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T48&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U48&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V48&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W48&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X48&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y48)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z48)&\", version_author=\"&AddQuotes('Calculator Table'!$AA48)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB48,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC48)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE48)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF48)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG48)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH48)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI48)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ48)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK48)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL48)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM48)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN48)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO48)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP48)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F48&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B48)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B48)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD48,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F48&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A48)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E48)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K48&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K48=\"Small Patch\",K48=\"Matrix\")),'Calculator Table'!$L48,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K48=\"Small Patch\",'Calculator Table'!$L48,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K48=\"Matrix\",'Calculator Table'!$L48,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M48&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N48&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O48&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P48&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q48&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R48&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S48&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T48&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U48&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V48&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W48&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X48&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y48)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z48)&\", version_author=\"&AddQuotes('Calculator Table'!$AA48)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB48,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC48)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE48)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF48)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG48)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH48)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI48)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ48)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK48)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL48)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM48)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN48)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO48)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP48)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F48&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS49>0,'Rk Assign'!D49,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS49>0,Calculate!$AV49,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ49:$BL49<>\"U\")*($AQ49:$BL49>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ49:$BL49<>\"U\")*($AQ49:$BL49>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ49:$BL49<>\"U\")*($AQ49:$BL49>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K49:$R49<>\"Z\")*($K49:$R49>\"\")*NOT(ISERROR($K49:$R49)))+SUM(($K$4:$R$4=\"A\")*($K49:$R49<>\"A\")*($K49:$R49>\"\")*NOT(ISERROR($K49:$R49)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K49:$R49=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ49:$BL49=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B49)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B49)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD49,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F49&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A49)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E49)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K49&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E49=\"Small Patch\",E49=\"Matrix\")),'Calculator Table'!$L49,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E49=\"Small Patch\",'Calculator Table'!$L49,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E49=\"Matrix\",'Calculator Table'!$L49,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M49&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N49&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O49&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P49&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q49&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R49&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S49&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T49&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U49&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V49&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W49&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X49&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y49)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z49)&\", version_author=\"&AddQuotes('Calculator Table'!$AA49)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB49,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC49)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE49)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF49)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG49)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH49)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI49)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ49)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK49)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL49)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM49)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN49)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO49)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP49)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F49&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B49)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B49)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD49,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F49&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A49)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E49)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K49&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H49=\"Small Patch\",H49=\"Matrix\")),'Calculator Table'!$L49,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H49=\"Small Patch\",'Calculator Table'!$L49,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H49=\"Matrix\",'Calculator Table'!$L49,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M49&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N49&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O49&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P49&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q49&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R49&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S49&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T49&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U49&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V49&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W49&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X49&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y49)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z49)&\", version_author=\"&AddQuotes('Calculator Table'!$AA49)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB49,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC49)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE49)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF49)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG49)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH49)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI49)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ49)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK49)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL49)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM49)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN49)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO49)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP49)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F49&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B49)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B49)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD49,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F49&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A49)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E49)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K49&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K49=\"Small Patch\",K49=\"Matrix\")),'Calculator Table'!$L49,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K49=\"Small Patch\",'Calculator Table'!$L49,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K49=\"Matrix\",'Calculator Table'!$L49,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M49&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N49&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O49&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P49&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q49&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R49&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S49&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T49&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U49&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V49&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W49&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X49&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y49)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z49)&\", version_author=\"&AddQuotes('Calculator Table'!$AA49)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB49,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC49)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE49)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF49)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG49)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH49)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI49)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ49)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK49)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL49)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM49)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN49)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO49)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP49)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F49&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS50>0,'Rk Assign'!D50,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS50>0,Calculate!$AV50,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ50:$BL50<>\"U\")*($AQ50:$BL50>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ50:$BL50<>\"U\")*($AQ50:$BL50>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ50:$BL50<>\"U\")*($AQ50:$BL50>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K50:$R50<>\"Z\")*($K50:$R50>\"\")*NOT(ISERROR($K50:$R50)))+SUM(($K$4:$R$4=\"A\")*($K50:$R50<>\"A\")*($K50:$R50>\"\")*NOT(ISERROR($K50:$R50)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K50:$R50=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ50:$BL50=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B50)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B50)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD50,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F50&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A50)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E50)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K50&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E50=\"Small Patch\",E50=\"Matrix\")),'Calculator Table'!$L50,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E50=\"Small Patch\",'Calculator Table'!$L50,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E50=\"Matrix\",'Calculator Table'!$L50,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M50&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N50&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O50&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P50&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q50&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R50&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S50&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T50&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U50&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V50&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W50&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X50&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y50)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z50)&\", version_author=\"&AddQuotes('Calculator Table'!$AA50)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB50,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC50)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE50)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF50)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG50)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH50)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI50)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ50)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK50)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL50)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM50)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN50)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO50)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP50)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F50&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B50)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B50)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD50,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F50&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A50)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E50)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K50&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H50=\"Small Patch\",H50=\"Matrix\")),'Calculator Table'!$L50,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H50=\"Small Patch\",'Calculator Table'!$L50,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H50=\"Matrix\",'Calculator Table'!$L50,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M50&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N50&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O50&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P50&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q50&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R50&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S50&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T50&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U50&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V50&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W50&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X50&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y50)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z50)&\", version_author=\"&AddQuotes('Calculator Table'!$AA50)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB50,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC50)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE50)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF50)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG50)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH50)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI50)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ50)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK50)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL50)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM50)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN50)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO50)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP50)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F50&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B50)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B50)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD50,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F50&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A50)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E50)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K50&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K50=\"Small Patch\",K50=\"Matrix\")),'Calculator Table'!$L50,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K50=\"Small Patch\",'Calculator Table'!$L50,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K50=\"Matrix\",'Calculator Table'!$L50,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M50&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N50&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O50&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P50&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q50&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R50&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S50&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T50&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U50&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V50&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W50&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X50&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y50)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z50)&\", version_author=\"&AddQuotes('Calculator Table'!$AA50)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB50,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC50)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE50)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF50)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG50)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH50)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI50)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ50)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK50)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL50)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM50)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN50)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO50)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP50)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F50&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS51>0,'Rk Assign'!D51,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS51>0,Calculate!$AV51,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ51:$BL51<>\"U\")*($AQ51:$BL51>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ51:$BL51<>\"U\")*($AQ51:$BL51>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ51:$BL51<>\"U\")*($AQ51:$BL51>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K51:$R51<>\"Z\")*($K51:$R51>\"\")*NOT(ISERROR($K51:$R51)))+SUM(($K$4:$R$4=\"A\")*($K51:$R51<>\"A\")*($K51:$R51>\"\")*NOT(ISERROR($K51:$R51)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K51:$R51=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ51:$BL51=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B51)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B51)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD51,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F51&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A51)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E51)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K51&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E51=\"Small Patch\",E51=\"Matrix\")),'Calculator Table'!$L51,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E51=\"Small Patch\",'Calculator Table'!$L51,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E51=\"Matrix\",'Calculator Table'!$L51,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M51&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N51&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O51&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P51&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q51&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R51&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S51&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T51&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U51&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V51&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W51&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X51&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y51)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z51)&\", version_author=\"&AddQuotes('Calculator Table'!$AA51)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB51,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC51)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE51)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF51)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG51)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH51)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI51)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ51)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK51)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL51)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM51)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN51)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO51)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP51)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F51&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B51)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B51)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD51,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F51&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A51)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E51)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K51&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H51=\"Small Patch\",H51=\"Matrix\")),'Calculator Table'!$L51,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H51=\"Small Patch\",'Calculator Table'!$L51,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H51=\"Matrix\",'Calculator Table'!$L51,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M51&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N51&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O51&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P51&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q51&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R51&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S51&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T51&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U51&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V51&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W51&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X51&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y51)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z51)&\", version_author=\"&AddQuotes('Calculator Table'!$AA51)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB51,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC51)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE51)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF51)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG51)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH51)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI51)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ51)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK51)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL51)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM51)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN51)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO51)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP51)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F51&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B51)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B51)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD51,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F51&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A51)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E51)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K51&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K51=\"Small Patch\",K51=\"Matrix\")),'Calculator Table'!$L51,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K51=\"Small Patch\",'Calculator Table'!$L51,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K51=\"Matrix\",'Calculator Table'!$L51,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M51&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N51&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O51&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P51&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q51&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R51&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S51&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T51&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U51&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V51&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W51&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X51&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y51)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z51)&\", version_author=\"&AddQuotes('Calculator Table'!$AA51)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB51,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC51)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE51)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF51)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG51)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH51)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI51)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ51)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK51)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL51)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM51)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN51)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO51)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP51)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F51&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS52>0,'Rk Assign'!D52,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS52>0,Calculate!$AV52,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ52:$BL52<>\"U\")*($AQ52:$BL52>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ52:$BL52<>\"U\")*($AQ52:$BL52>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ52:$BL52<>\"U\")*($AQ52:$BL52>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K52:$R52<>\"Z\")*($K52:$R52>\"\")*NOT(ISERROR($K52:$R52)))+SUM(($K$4:$R$4=\"A\")*($K52:$R52<>\"A\")*($K52:$R52>\"\")*NOT(ISERROR($K52:$R52)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K52:$R52=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ52:$BL52=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B52)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B52)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD52,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F52&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A52)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E52)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K52&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E52=\"Small Patch\",E52=\"Matrix\")),'Calculator Table'!$L52,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E52=\"Small Patch\",'Calculator Table'!$L52,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E52=\"Matrix\",'Calculator Table'!$L52,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M52&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N52&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O52&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P52&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q52&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R52&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S52&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T52&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U52&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V52&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W52&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X52&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y52)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z52)&\", version_author=\"&AddQuotes('Calculator Table'!$AA52)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB52,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC52)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE52)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF52)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG52)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH52)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI52)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ52)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK52)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL52)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM52)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN52)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO52)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP52)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F52&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B52)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B52)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD52,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F52&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A52)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E52)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K52&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H52=\"Small Patch\",H52=\"Matrix\")),'Calculator Table'!$L52,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H52=\"Small Patch\",'Calculator Table'!$L52,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H52=\"Matrix\",'Calculator Table'!$L52,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M52&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N52&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O52&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P52&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q52&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R52&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S52&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T52&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U52&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V52&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W52&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X52&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y52)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z52)&\", version_author=\"&AddQuotes('Calculator Table'!$AA52)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB52,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC52)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE52)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF52)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG52)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH52)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI52)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ52)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK52)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL52)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM52)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN52)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO52)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP52)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F52&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B52)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B52)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD52,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F52&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A52)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E52)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K52&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K52=\"Small Patch\",K52=\"Matrix\")),'Calculator Table'!$L52,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K52=\"Small Patch\",'Calculator Table'!$L52,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K52=\"Matrix\",'Calculator Table'!$L52,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M52&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N52&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O52&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P52&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q52&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R52&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S52&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T52&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U52&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V52&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W52&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X52&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y52)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z52)&\", version_author=\"&AddQuotes('Calculator Table'!$AA52)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB52,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC52)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE52)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF52)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG52)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH52)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI52)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ52)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK52)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL52)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM52)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN52)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO52)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP52)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F52&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS53>0,'Rk Assign'!D53,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS53>0,Calculate!$AV53,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ53:$BL53<>\"U\")*($AQ53:$BL53>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ53:$BL53<>\"U\")*($AQ53:$BL53>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ53:$BL53<>\"U\")*($AQ53:$BL53>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K53:$R53<>\"Z\")*($K53:$R53>\"\")*NOT(ISERROR($K53:$R53)))+SUM(($K$4:$R$4=\"A\")*($K53:$R53<>\"A\")*($K53:$R53>\"\")*NOT(ISERROR($K53:$R53)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K53:$R53=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ53:$BL53=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B53)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B53)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD53,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F53&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A53)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E53)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K53&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E53=\"Small Patch\",E53=\"Matrix\")),'Calculator Table'!$L53,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E53=\"Small Patch\",'Calculator Table'!$L53,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E53=\"Matrix\",'Calculator Table'!$L53,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M53&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N53&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O53&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P53&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q53&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R53&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S53&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T53&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U53&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V53&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W53&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X53&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y53)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z53)&\", version_author=\"&AddQuotes('Calculator Table'!$AA53)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB53,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC53)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE53)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF53)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG53)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH53)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI53)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ53)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK53)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL53)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM53)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN53)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO53)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP53)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F53&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B53)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B53)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD53,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F53&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A53)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E53)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K53&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H53=\"Small Patch\",H53=\"Matrix\")),'Calculator Table'!$L53,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H53=\"Small Patch\",'Calculator Table'!$L53,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H53=\"Matrix\",'Calculator Table'!$L53,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M53&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N53&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O53&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P53&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q53&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R53&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S53&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T53&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U53&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V53&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W53&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X53&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y53)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z53)&\", version_author=\"&AddQuotes('Calculator Table'!$AA53)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB53,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC53)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE53)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF53)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG53)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH53)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI53)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ53)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK53)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL53)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM53)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN53)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO53)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP53)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F53&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B53)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B53)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD53,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F53&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A53)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E53)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K53&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K53=\"Small Patch\",K53=\"Matrix\")),'Calculator Table'!$L53,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K53=\"Small Patch\",'Calculator Table'!$L53,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K53=\"Matrix\",'Calculator Table'!$L53,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M53&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N53&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O53&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P53&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q53&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R53&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S53&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T53&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U53&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V53&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W53&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X53&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y53)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z53)&\", version_author=\"&AddQuotes('Calculator Table'!$AA53)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB53,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC53)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE53)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF53)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG53)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH53)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI53)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ53)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK53)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL53)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM53)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN53)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO53)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP53)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F53&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS54>0,'Rk Assign'!D54,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS54>0,Calculate!$AV54,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ54:$BL54<>\"U\")*($AQ54:$BL54>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ54:$BL54<>\"U\")*($AQ54:$BL54>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ54:$BL54<>\"U\")*($AQ54:$BL54>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K54:$R54<>\"Z\")*($K54:$R54>\"\")*NOT(ISERROR($K54:$R54)))+SUM(($K$4:$R$4=\"A\")*($K54:$R54<>\"A\")*($K54:$R54>\"\")*NOT(ISERROR($K54:$R54)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K54:$R54=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ54:$BL54=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B54)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B54)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD54,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F54&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A54)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E54)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K54&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E54=\"Small Patch\",E54=\"Matrix\")),'Calculator Table'!$L54,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E54=\"Small Patch\",'Calculator Table'!$L54,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E54=\"Matrix\",'Calculator Table'!$L54,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M54&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N54&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O54&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P54&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q54&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R54&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S54&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T54&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U54&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V54&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W54&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X54&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y54)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z54)&\", version_author=\"&AddQuotes('Calculator Table'!$AA54)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB54,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC54)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE54)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF54)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG54)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH54)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI54)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ54)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK54)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL54)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM54)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN54)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO54)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP54)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F54&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B54)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B54)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD54,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F54&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A54)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E54)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K54&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H54=\"Small Patch\",H54=\"Matrix\")),'Calculator Table'!$L54,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H54=\"Small Patch\",'Calculator Table'!$L54,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H54=\"Matrix\",'Calculator Table'!$L54,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M54&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N54&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O54&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P54&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q54&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R54&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S54&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T54&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U54&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V54&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W54&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X54&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y54)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z54)&\", version_author=\"&AddQuotes('Calculator Table'!$AA54)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB54,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC54)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE54)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF54)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG54)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH54)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI54)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ54)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK54)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL54)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM54)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN54)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO54)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP54)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F54&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B54)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B54)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD54,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F54&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A54)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E54)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K54&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K54=\"Small Patch\",K54=\"Matrix\")),'Calculator Table'!$L54,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K54=\"Small Patch\",'Calculator Table'!$L54,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K54=\"Matrix\",'Calculator Table'!$L54,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M54&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N54&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O54&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P54&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q54&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R54&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S54&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T54&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U54&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V54&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W54&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X54&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y54)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z54)&\", version_author=\"&AddQuotes('Calculator Table'!$AA54)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB54,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC54)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE54)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF54)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG54)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH54)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI54)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ54)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK54)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL54)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM54)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN54)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO54)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP54)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F54&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS55>0,'Rk Assign'!D55,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS55>0,Calculate!$AV55,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ55:$BL55<>\"U\")*($AQ55:$BL55>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ55:$BL55<>\"U\")*($AQ55:$BL55>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ55:$BL55<>\"U\")*($AQ55:$BL55>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K55:$R55<>\"Z\")*($K55:$R55>\"\")*NOT(ISERROR($K55:$R55)))+SUM(($K$4:$R$4=\"A\")*($K55:$R55<>\"A\")*($K55:$R55>\"\")*NOT(ISERROR($K55:$R55)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K55:$R55=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ55:$BL55=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B55)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B55)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD55,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F55&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A55)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E55)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K55&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E55=\"Small Patch\",E55=\"Matrix\")),'Calculator Table'!$L55,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E55=\"Small Patch\",'Calculator Table'!$L55,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E55=\"Matrix\",'Calculator Table'!$L55,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M55&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N55&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O55&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P55&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q55&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R55&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S55&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T55&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U55&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V55&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W55&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X55&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y55)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z55)&\", version_author=\"&AddQuotes('Calculator Table'!$AA55)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB55,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC55)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE55)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF55)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG55)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH55)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI55)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ55)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK55)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL55)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM55)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN55)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO55)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP55)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F55&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B55)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B55)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD55,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F55&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A55)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E55)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K55&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H55=\"Small Patch\",H55=\"Matrix\")),'Calculator Table'!$L55,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H55=\"Small Patch\",'Calculator Table'!$L55,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H55=\"Matrix\",'Calculator Table'!$L55,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M55&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N55&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O55&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P55&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q55&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R55&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S55&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T55&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U55&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V55&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W55&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X55&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y55)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z55)&\", version_author=\"&AddQuotes('Calculator Table'!$AA55)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB55,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC55)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE55)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF55)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG55)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH55)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI55)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ55)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK55)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL55)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM55)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN55)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO55)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP55)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F55&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B55)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B55)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD55,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F55&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A55)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E55)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K55&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K55=\"Small Patch\",K55=\"Matrix\")),'Calculator Table'!$L55,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K55=\"Small Patch\",'Calculator Table'!$L55,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K55=\"Matrix\",'Calculator Table'!$L55,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M55&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N55&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O55&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P55&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q55&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R55&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S55&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T55&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U55&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V55&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W55&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X55&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y55)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z55)&\", version_author=\"&AddQuotes('Calculator Table'!$AA55)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB55,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC55)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE55)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF55)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG55)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH55)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI55)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ55)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK55)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL55)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM55)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN55)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO55)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP55)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F55&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS56>0,'Rk Assign'!D56,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS56>0,Calculate!$AV56,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ56:$BL56<>\"U\")*($AQ56:$BL56>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ56:$BL56<>\"U\")*($AQ56:$BL56>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ56:$BL56<>\"U\")*($AQ56:$BL56>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K56:$R56<>\"Z\")*($K56:$R56>\"\")*NOT(ISERROR($K56:$R56)))+SUM(($K$4:$R$4=\"A\")*($K56:$R56<>\"A\")*($K56:$R56>\"\")*NOT(ISERROR($K56:$R56)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K56:$R56=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ56:$BL56=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B56)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B56)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD56,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F56&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A56)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E56)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K56&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E56=\"Small Patch\",E56=\"Matrix\")),'Calculator Table'!$L56,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E56=\"Small Patch\",'Calculator Table'!$L56,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E56=\"Matrix\",'Calculator Table'!$L56,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M56&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N56&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O56&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P56&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q56&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R56&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S56&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T56&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U56&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V56&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W56&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X56&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y56)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z56)&\", version_author=\"&AddQuotes('Calculator Table'!$AA56)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB56,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC56)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE56)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF56)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG56)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH56)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI56)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ56)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK56)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL56)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM56)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN56)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO56)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP56)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F56&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B56)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B56)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD56,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F56&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A56)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E56)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K56&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H56=\"Small Patch\",H56=\"Matrix\")),'Calculator Table'!$L56,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H56=\"Small Patch\",'Calculator Table'!$L56,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H56=\"Matrix\",'Calculator Table'!$L56,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M56&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N56&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O56&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P56&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q56&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R56&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S56&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T56&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U56&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V56&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W56&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X56&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y56)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z56)&\", version_author=\"&AddQuotes('Calculator Table'!$AA56)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB56,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC56)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE56)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF56)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG56)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH56)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI56)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ56)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK56)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL56)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM56)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN56)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO56)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP56)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F56&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B56)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B56)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD56,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F56&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A56)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E56)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K56&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K56=\"Small Patch\",K56=\"Matrix\")),'Calculator Table'!$L56,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K56=\"Small Patch\",'Calculator Table'!$L56,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K56=\"Matrix\",'Calculator Table'!$L56,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M56&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N56&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O56&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P56&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q56&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R56&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S56&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T56&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U56&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V56&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W56&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X56&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y56)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z56)&\", version_author=\"&AddQuotes('Calculator Table'!$AA56)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB56,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC56)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE56)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF56)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG56)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH56)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI56)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ56)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK56)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL56)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM56)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN56)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO56)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP56)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F56&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS57>0,'Rk Assign'!D57,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS57>0,Calculate!$AV57,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ57:$BL57<>\"U\")*($AQ57:$BL57>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ57:$BL57<>\"U\")*($AQ57:$BL57>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ57:$BL57<>\"U\")*($AQ57:$BL57>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K57:$R57<>\"Z\")*($K57:$R57>\"\")*NOT(ISERROR($K57:$R57)))+SUM(($K$4:$R$4=\"A\")*($K57:$R57<>\"A\")*($K57:$R57>\"\")*NOT(ISERROR($K57:$R57)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K57:$R57=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ57:$BL57=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B57)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B57)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD57,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F57&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A57)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E57)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K57&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E57=\"Small Patch\",E57=\"Matrix\")),'Calculator Table'!$L57,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E57=\"Small Patch\",'Calculator Table'!$L57,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E57=\"Matrix\",'Calculator Table'!$L57,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M57&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N57&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O57&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P57&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q57&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R57&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S57&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T57&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U57&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V57&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W57&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X57&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y57)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z57)&\", version_author=\"&AddQuotes('Calculator Table'!$AA57)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB57,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC57)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE57)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF57)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG57)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH57)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI57)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ57)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK57)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL57)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM57)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN57)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO57)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP57)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F57&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B57)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B57)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD57,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F57&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A57)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E57)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K57&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H57=\"Small Patch\",H57=\"Matrix\")),'Calculator Table'!$L57,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H57=\"Small Patch\",'Calculator Table'!$L57,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H57=\"Matrix\",'Calculator Table'!$L57,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M57&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N57&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O57&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P57&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q57&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R57&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S57&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T57&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U57&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V57&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W57&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X57&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y57)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z57)&\", version_author=\"&AddQuotes('Calculator Table'!$AA57)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB57,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC57)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE57)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF57)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG57)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH57)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI57)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ57)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK57)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL57)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM57)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN57)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO57)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP57)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F57&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B57)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B57)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD57,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F57&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A57)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E57)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K57&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K57=\"Small Patch\",K57=\"Matrix\")),'Calculator Table'!$L57,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K57=\"Small Patch\",'Calculator Table'!$L57,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K57=\"Matrix\",'Calculator Table'!$L57,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M57&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N57&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O57&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P57&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q57&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R57&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S57&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T57&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U57&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V57&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W57&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X57&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y57)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z57)&\", version_author=\"&AddQuotes('Calculator Table'!$AA57)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB57,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC57)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE57)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF57)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG57)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH57)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI57)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ57)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK57)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL57)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM57)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN57)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO57)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP57)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F57&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS58>0,'Rk Assign'!D58,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS58>0,Calculate!$AV58,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ58:$BL58<>\"U\")*($AQ58:$BL58>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ58:$BL58<>\"U\")*($AQ58:$BL58>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ58:$BL58<>\"U\")*($AQ58:$BL58>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K58:$R58<>\"Z\")*($K58:$R58>\"\")*NOT(ISERROR($K58:$R58)))+SUM(($K$4:$R$4=\"A\")*($K58:$R58<>\"A\")*($K58:$R58>\"\")*NOT(ISERROR($K58:$R58)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K58:$R58=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ58:$BL58=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B58)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B58)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD58,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F58&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A58)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E58)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K58&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E58=\"Small Patch\",E58=\"Matrix\")),'Calculator Table'!$L58,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E58=\"Small Patch\",'Calculator Table'!$L58,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E58=\"Matrix\",'Calculator Table'!$L58,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M58&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N58&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O58&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P58&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q58&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R58&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S58&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T58&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U58&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V58&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W58&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X58&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y58)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z58)&\", version_author=\"&AddQuotes('Calculator Table'!$AA58)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB58,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC58)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE58)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF58)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG58)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH58)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI58)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ58)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK58)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL58)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM58)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN58)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO58)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP58)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F58&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B58)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B58)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD58,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F58&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A58)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E58)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K58&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H58=\"Small Patch\",H58=\"Matrix\")),'Calculator Table'!$L58,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H58=\"Small Patch\",'Calculator Table'!$L58,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H58=\"Matrix\",'Calculator Table'!$L58,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M58&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N58&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O58&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P58&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q58&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R58&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S58&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T58&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U58&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V58&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W58&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X58&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y58)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z58)&\", version_author=\"&AddQuotes('Calculator Table'!$AA58)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB58,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC58)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE58)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF58)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG58)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH58)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI58)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ58)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK58)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL58)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM58)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN58)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO58)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP58)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F58&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B58)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B58)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD58,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F58&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A58)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E58)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K58&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K58=\"Small Patch\",K58=\"Matrix\")),'Calculator Table'!$L58,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K58=\"Small Patch\",'Calculator Table'!$L58,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K58=\"Matrix\",'Calculator Table'!$L58,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M58&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N58&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O58&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P58&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q58&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R58&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S58&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T58&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U58&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V58&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W58&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X58&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y58)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z58)&\", version_author=\"&AddQuotes('Calculator Table'!$AA58)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB58,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC58)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE58)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF58)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG58)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH58)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI58)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ58)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK58)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL58)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM58)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN58)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO58)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP58)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F58&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS59>0,'Rk Assign'!D59,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS59>0,Calculate!$AV59,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ59:$BL59<>\"U\")*($AQ59:$BL59>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ59:$BL59<>\"U\")*($AQ59:$BL59>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ59:$BL59<>\"U\")*($AQ59:$BL59>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K59:$R59<>\"Z\")*($K59:$R59>\"\")*NOT(ISERROR($K59:$R59)))+SUM(($K$4:$R$4=\"A\")*($K59:$R59<>\"A\")*($K59:$R59>\"\")*NOT(ISERROR($K59:$R59)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K59:$R59=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ59:$BL59=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B59)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B59)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD59,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F59&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A59)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E59)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K59&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E59=\"Small Patch\",E59=\"Matrix\")),'Calculator Table'!$L59,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E59=\"Small Patch\",'Calculator Table'!$L59,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E59=\"Matrix\",'Calculator Table'!$L59,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M59&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N59&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O59&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P59&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q59&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R59&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S59&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T59&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U59&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V59&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W59&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X59&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y59)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z59)&\", version_author=\"&AddQuotes('Calculator Table'!$AA59)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB59,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC59)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE59)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF59)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG59)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH59)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI59)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ59)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK59)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL59)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM59)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN59)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO59)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP59)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F59&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B59)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B59)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD59,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F59&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A59)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E59)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K59&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H59=\"Small Patch\",H59=\"Matrix\")),'Calculator Table'!$L59,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H59=\"Small Patch\",'Calculator Table'!$L59,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H59=\"Matrix\",'Calculator Table'!$L59,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M59&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N59&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O59&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P59&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q59&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R59&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S59&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T59&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U59&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V59&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W59&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X59&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y59)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z59)&\", version_author=\"&AddQuotes('Calculator Table'!$AA59)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB59,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC59)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE59)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF59)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG59)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH59)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI59)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ59)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK59)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL59)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM59)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN59)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO59)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP59)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F59&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B59)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B59)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD59,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F59&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A59)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E59)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K59&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K59=\"Small Patch\",K59=\"Matrix\")),'Calculator Table'!$L59,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K59=\"Small Patch\",'Calculator Table'!$L59,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K59=\"Matrix\",'Calculator Table'!$L59,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M59&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N59&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O59&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P59&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q59&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R59&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S59&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T59&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U59&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V59&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W59&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X59&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y59)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z59)&\", version_author=\"&AddQuotes('Calculator Table'!$AA59)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB59,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC59)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE59)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF59)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG59)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH59)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI59)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ59)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK59)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL59)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM59)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN59)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO59)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP59)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F59&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS60>0,'Rk Assign'!D60,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS60>0,Calculate!$AV60,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ60:$BL60<>\"U\")*($AQ60:$BL60>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ60:$BL60<>\"U\")*($AQ60:$BL60>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ60:$BL60<>\"U\")*($AQ60:$BL60>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K60:$R60<>\"Z\")*($K60:$R60>\"\")*NOT(ISERROR($K60:$R60)))+SUM(($K$4:$R$4=\"A\")*($K60:$R60<>\"A\")*($K60:$R60>\"\")*NOT(ISERROR($K60:$R60)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K60:$R60=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ60:$BL60=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B60)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B60)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD60,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F60&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A60)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E60)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K60&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E60=\"Small Patch\",E60=\"Matrix\")),'Calculator Table'!$L60,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E60=\"Small Patch\",'Calculator Table'!$L60,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E60=\"Matrix\",'Calculator Table'!$L60,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M60&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N60&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O60&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P60&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q60&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R60&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S60&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T60&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U60&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V60&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W60&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X60&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y60)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z60)&\", version_author=\"&AddQuotes('Calculator Table'!$AA60)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB60,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC60)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE60)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF60)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG60)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH60)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI60)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ60)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK60)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL60)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM60)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN60)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO60)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP60)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F60&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B60)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B60)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD60,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F60&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A60)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E60)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K60&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H60=\"Small Patch\",H60=\"Matrix\")),'Calculator Table'!$L60,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H60=\"Small Patch\",'Calculator Table'!$L60,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H60=\"Matrix\",'Calculator Table'!$L60,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M60&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N60&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O60&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P60&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q60&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R60&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S60&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T60&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U60&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V60&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W60&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X60&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y60)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z60)&\", version_author=\"&AddQuotes('Calculator Table'!$AA60)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB60,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC60)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE60)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF60)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG60)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH60)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI60)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ60)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK60)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL60)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM60)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN60)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO60)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP60)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F60&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B60)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B60)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD60,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F60&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A60)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E60)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K60&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K60=\"Small Patch\",K60=\"Matrix\")),'Calculator Table'!$L60,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K60=\"Small Patch\",'Calculator Table'!$L60,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K60=\"Matrix\",'Calculator Table'!$L60,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M60&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N60&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O60&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P60&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q60&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R60&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S60&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T60&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U60&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V60&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W60&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X60&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y60)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z60)&\", version_author=\"&AddQuotes('Calculator Table'!$AA60)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB60,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC60)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE60)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF60)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG60)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH60)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI60)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ60)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK60)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL60)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM60)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN60)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO60)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP60)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F60&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS61>0,'Rk Assign'!D61,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS61>0,Calculate!$AV61,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ61:$BL61<>\"U\")*($AQ61:$BL61>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ61:$BL61<>\"U\")*($AQ61:$BL61>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ61:$BL61<>\"U\")*($AQ61:$BL61>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K61:$R61<>\"Z\")*($K61:$R61>\"\")*NOT(ISERROR($K61:$R61)))+SUM(($K$4:$R$4=\"A\")*($K61:$R61<>\"A\")*($K61:$R61>\"\")*NOT(ISERROR($K61:$R61)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K61:$R61=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ61:$BL61=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B61)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B61)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD61,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F61&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A61)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E61)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K61&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E61=\"Small Patch\",E61=\"Matrix\")),'Calculator Table'!$L61,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E61=\"Small Patch\",'Calculator Table'!$L61,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E61=\"Matrix\",'Calculator Table'!$L61,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M61&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N61&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O61&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P61&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q61&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R61&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S61&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T61&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U61&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V61&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W61&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X61&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y61)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z61)&\", version_author=\"&AddQuotes('Calculator Table'!$AA61)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB61,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC61)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE61)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF61)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG61)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH61)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI61)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ61)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK61)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL61)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM61)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN61)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO61)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP61)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F61&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B61)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B61)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD61,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F61&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A61)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E61)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K61&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H61=\"Small Patch\",H61=\"Matrix\")),'Calculator Table'!$L61,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H61=\"Small Patch\",'Calculator Table'!$L61,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H61=\"Matrix\",'Calculator Table'!$L61,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M61&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N61&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O61&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P61&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q61&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R61&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S61&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T61&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U61&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V61&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W61&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X61&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y61)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z61)&\", version_author=\"&AddQuotes('Calculator Table'!$AA61)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB61,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC61)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE61)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF61)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG61)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH61)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI61)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ61)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK61)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL61)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM61)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN61)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO61)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP61)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F61&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B61)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B61)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD61,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F61&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A61)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E61)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K61&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K61=\"Small Patch\",K61=\"Matrix\")),'Calculator Table'!$L61,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K61=\"Small Patch\",'Calculator Table'!$L61,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K61=\"Matrix\",'Calculator Table'!$L61,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M61&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N61&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O61&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P61&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q61&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R61&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S61&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T61&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U61&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V61&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W61&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X61&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y61)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z61)&\", version_author=\"&AddQuotes('Calculator Table'!$AA61)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB61,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC61)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE61)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF61)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG61)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH61)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI61)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ61)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK61)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL61)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM61)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN61)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO61)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP61)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F61&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS62>0,'Rk Assign'!D62,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS62>0,Calculate!$AV62,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ62:$BL62<>\"U\")*($AQ62:$BL62>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ62:$BL62<>\"U\")*($AQ62:$BL62>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ62:$BL62<>\"U\")*($AQ62:$BL62>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K62:$R62<>\"Z\")*($K62:$R62>\"\")*NOT(ISERROR($K62:$R62)))+SUM(($K$4:$R$4=\"A\")*($K62:$R62<>\"A\")*($K62:$R62>\"\")*NOT(ISERROR($K62:$R62)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K62:$R62=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ62:$BL62=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B62)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B62)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD62,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F62&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A62)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E62)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K62&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E62=\"Small Patch\",E62=\"Matrix\")),'Calculator Table'!$L62,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E62=\"Small Patch\",'Calculator Table'!$L62,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E62=\"Matrix\",'Calculator Table'!$L62,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M62&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N62&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O62&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P62&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q62&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R62&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S62&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T62&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U62&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V62&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W62&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X62&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y62)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z62)&\", version_author=\"&AddQuotes('Calculator Table'!$AA62)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB62,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC62)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE62)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF62)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG62)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH62)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI62)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ62)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK62)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL62)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM62)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN62)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO62)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP62)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F62&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B62)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B62)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD62,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F62&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A62)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E62)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K62&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H62=\"Small Patch\",H62=\"Matrix\")),'Calculator Table'!$L62,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H62=\"Small Patch\",'Calculator Table'!$L62,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H62=\"Matrix\",'Calculator Table'!$L62,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M62&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N62&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O62&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P62&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q62&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R62&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S62&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T62&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U62&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V62&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W62&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X62&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y62)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z62)&\", version_author=\"&AddQuotes('Calculator Table'!$AA62)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB62,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC62)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE62)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF62)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG62)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH62)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI62)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ62)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK62)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL62)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM62)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN62)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO62)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP62)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F62&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B62)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B62)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD62,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F62&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A62)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E62)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K62&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K62=\"Small Patch\",K62=\"Matrix\")),'Calculator Table'!$L62,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K62=\"Small Patch\",'Calculator Table'!$L62,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K62=\"Matrix\",'Calculator Table'!$L62,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M62&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N62&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O62&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P62&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q62&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R62&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S62&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T62&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U62&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V62&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W62&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X62&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y62)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z62)&\", version_author=\"&AddQuotes('Calculator Table'!$AA62)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB62,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC62)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE62)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF62)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG62)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH62)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI62)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ62)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK62)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL62)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM62)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN62)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO62)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP62)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F62&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS63>0,'Rk Assign'!D63,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS63>0,Calculate!$AV63,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ63:$BL63<>\"U\")*($AQ63:$BL63>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ63:$BL63<>\"U\")*($AQ63:$BL63>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ63:$BL63<>\"U\")*($AQ63:$BL63>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K63:$R63<>\"Z\")*($K63:$R63>\"\")*NOT(ISERROR($K63:$R63)))+SUM(($K$4:$R$4=\"A\")*($K63:$R63<>\"A\")*($K63:$R63>\"\")*NOT(ISERROR($K63:$R63)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K63:$R63=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ63:$BL63=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B63)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B63)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD63,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F63&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A63)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E63)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K63&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E63=\"Small Patch\",E63=\"Matrix\")),'Calculator Table'!$L63,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E63=\"Small Patch\",'Calculator Table'!$L63,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E63=\"Matrix\",'Calculator Table'!$L63,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M63&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N63&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O63&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P63&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q63&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R63&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S63&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T63&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U63&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V63&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W63&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X63&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y63)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z63)&\", version_author=\"&AddQuotes('Calculator Table'!$AA63)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB63,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC63)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE63)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF63)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG63)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH63)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI63)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ63)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK63)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL63)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM63)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN63)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO63)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP63)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F63&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B63)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B63)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD63,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F63&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A63)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E63)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K63&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H63=\"Small Patch\",H63=\"Matrix\")),'Calculator Table'!$L63,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H63=\"Small Patch\",'Calculator Table'!$L63,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H63=\"Matrix\",'Calculator Table'!$L63,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M63&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N63&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O63&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P63&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q63&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R63&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S63&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T63&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U63&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V63&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W63&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X63&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y63)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z63)&\", version_author=\"&AddQuotes('Calculator Table'!$AA63)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB63,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC63)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE63)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF63)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG63)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH63)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI63)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ63)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK63)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL63)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM63)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN63)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO63)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP63)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F63&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B63)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B63)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD63,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F63&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A63)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E63)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K63&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K63=\"Small Patch\",K63=\"Matrix\")),'Calculator Table'!$L63,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K63=\"Small Patch\",'Calculator Table'!$L63,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K63=\"Matrix\",'Calculator Table'!$L63,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M63&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N63&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O63&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P63&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q63&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R63&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S63&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T63&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U63&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V63&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W63&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X63&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y63)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z63)&\", version_author=\"&AddQuotes('Calculator Table'!$AA63)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB63,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC63)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE63)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF63)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG63)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH63)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI63)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ63)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK63)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL63)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM63)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN63)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO63)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP63)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F63&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS64>0,'Rk Assign'!D64,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS64>0,Calculate!$AV64,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ64:$BL64<>\"U\")*($AQ64:$BL64>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ64:$BL64<>\"U\")*($AQ64:$BL64>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ64:$BL64<>\"U\")*($AQ64:$BL64>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K64:$R64<>\"Z\")*($K64:$R64>\"\")*NOT(ISERROR($K64:$R64)))+SUM(($K$4:$R$4=\"A\")*($K64:$R64<>\"A\")*($K64:$R64>\"\")*NOT(ISERROR($K64:$R64)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K64:$R64=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ64:$BL64=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B64)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B64)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD64,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F64&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A64)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E64)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K64&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E64=\"Small Patch\",E64=\"Matrix\")),'Calculator Table'!$L64,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E64=\"Small Patch\",'Calculator Table'!$L64,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E64=\"Matrix\",'Calculator Table'!$L64,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M64&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N64&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O64&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P64&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q64&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R64&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S64&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T64&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U64&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V64&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W64&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X64&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y64)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z64)&\", version_author=\"&AddQuotes('Calculator Table'!$AA64)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB64,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC64)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE64)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF64)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG64)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH64)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI64)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ64)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK64)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL64)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM64)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN64)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO64)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP64)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F64&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B64)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B64)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD64,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F64&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A64)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E64)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K64&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H64=\"Small Patch\",H64=\"Matrix\")),'Calculator Table'!$L64,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H64=\"Small Patch\",'Calculator Table'!$L64,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H64=\"Matrix\",'Calculator Table'!$L64,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M64&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N64&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O64&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P64&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q64&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R64&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S64&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T64&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U64&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V64&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W64&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X64&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y64)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z64)&\", version_author=\"&AddQuotes('Calculator Table'!$AA64)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB64,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC64)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE64)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF64)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG64)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH64)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI64)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ64)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK64)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL64)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM64)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN64)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO64)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP64)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F64&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B64)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B64)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD64,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F64&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A64)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E64)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K64&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K64=\"Small Patch\",K64=\"Matrix\")),'Calculator Table'!$L64,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K64=\"Small Patch\",'Calculator Table'!$L64,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K64=\"Matrix\",'Calculator Table'!$L64,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M64&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N64&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O64&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P64&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q64&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R64&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S64&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T64&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U64&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V64&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W64&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X64&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y64)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z64)&\", version_author=\"&AddQuotes('Calculator Table'!$AA64)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB64,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC64)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE64)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF64)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG64)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH64)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI64)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ64)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK64)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL64)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM64)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN64)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO64)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP64)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F64&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS65>0,'Rk Assign'!D65,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS65>0,Calculate!$AV65,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ65:$BL65<>\"U\")*($AQ65:$BL65>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ65:$BL65<>\"U\")*($AQ65:$BL65>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ65:$BL65<>\"U\")*($AQ65:$BL65>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K65:$R65<>\"Z\")*($K65:$R65>\"\")*NOT(ISERROR($K65:$R65)))+SUM(($K$4:$R$4=\"A\")*($K65:$R65<>\"A\")*($K65:$R65>\"\")*NOT(ISERROR($K65:$R65)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K65:$R65=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ65:$BL65=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B65)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B65)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD65,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F65&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A65)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E65)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K65&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E65=\"Small Patch\",E65=\"Matrix\")),'Calculator Table'!$L65,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E65=\"Small Patch\",'Calculator Table'!$L65,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E65=\"Matrix\",'Calculator Table'!$L65,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M65&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N65&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O65&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P65&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q65&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R65&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S65&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T65&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U65&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V65&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W65&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X65&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y65)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z65)&\", version_author=\"&AddQuotes('Calculator Table'!$AA65)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB65,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC65)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE65)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF65)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG65)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH65)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI65)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ65)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK65)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL65)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM65)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN65)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO65)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP65)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F65&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B65)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B65)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD65,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F65&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A65)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E65)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K65&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H65=\"Small Patch\",H65=\"Matrix\")),'Calculator Table'!$L65,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H65=\"Small Patch\",'Calculator Table'!$L65,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H65=\"Matrix\",'Calculator Table'!$L65,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M65&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N65&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O65&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P65&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q65&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R65&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S65&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T65&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U65&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V65&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W65&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X65&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y65)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z65)&\", version_author=\"&AddQuotes('Calculator Table'!$AA65)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB65,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC65)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE65)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF65)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG65)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH65)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI65)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ65)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK65)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL65)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM65)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN65)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO65)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP65)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F65&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B65)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B65)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD65,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F65&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A65)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E65)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K65&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K65=\"Small Patch\",K65=\"Matrix\")),'Calculator Table'!$L65,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K65=\"Small Patch\",'Calculator Table'!$L65,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K65=\"Matrix\",'Calculator Table'!$L65,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M65&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N65&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O65&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P65&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q65&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R65&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S65&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T65&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U65&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V65&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W65&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X65&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y65)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z65)&\", version_author=\"&AddQuotes('Calculator Table'!$AA65)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB65,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC65)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE65)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF65)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG65)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH65)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI65)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ65)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK65)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL65)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM65)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN65)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO65)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP65)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F65&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS66>0,'Rk Assign'!D66,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS66>0,Calculate!$AV66,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ66:$BL66<>\"U\")*($AQ66:$BL66>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ66:$BL66<>\"U\")*($AQ66:$BL66>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ66:$BL66<>\"U\")*($AQ66:$BL66>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K66:$R66<>\"Z\")*($K66:$R66>\"\")*NOT(ISERROR($K66:$R66)))+SUM(($K$4:$R$4=\"A\")*($K66:$R66<>\"A\")*($K66:$R66>\"\")*NOT(ISERROR($K66:$R66)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K66:$R66=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ66:$BL66=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B66)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B66)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD66,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F66&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A66)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E66)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K66&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E66=\"Small Patch\",E66=\"Matrix\")),'Calculator Table'!$L66,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E66=\"Small Patch\",'Calculator Table'!$L66,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E66=\"Matrix\",'Calculator Table'!$L66,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M66&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N66&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O66&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P66&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q66&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R66&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S66&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T66&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U66&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V66&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W66&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X66&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y66)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z66)&\", version_author=\"&AddQuotes('Calculator Table'!$AA66)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB66,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC66)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE66)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF66)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG66)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH66)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI66)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ66)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK66)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL66)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM66)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN66)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO66)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP66)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F66&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B66)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B66)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD66,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F66&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A66)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E66)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K66&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H66=\"Small Patch\",H66=\"Matrix\")),'Calculator Table'!$L66,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H66=\"Small Patch\",'Calculator Table'!$L66,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H66=\"Matrix\",'Calculator Table'!$L66,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M66&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N66&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O66&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P66&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q66&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R66&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S66&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T66&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U66&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V66&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W66&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X66&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y66)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z66)&\", version_author=\"&AddQuotes('Calculator Table'!$AA66)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB66,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC66)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE66)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF66)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG66)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH66)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI66)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ66)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK66)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL66)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM66)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN66)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO66)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP66)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F66&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B66)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B66)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD66,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F66&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A66)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E66)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K66&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K66=\"Small Patch\",K66=\"Matrix\")),'Calculator Table'!$L66,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K66=\"Small Patch\",'Calculator Table'!$L66,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K66=\"Matrix\",'Calculator Table'!$L66,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M66&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N66&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O66&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P66&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q66&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R66&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S66&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T66&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U66&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V66&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W66&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X66&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y66)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z66)&\", version_author=\"&AddQuotes('Calculator Table'!$AA66)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB66,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC66)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE66)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF66)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG66)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH66)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI66)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ66)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK66)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL66)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM66)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN66)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO66)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP66)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F66&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS67>0,'Rk Assign'!D67,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS67>0,Calculate!$AV67,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ67:$BL67<>\"U\")*($AQ67:$BL67>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ67:$BL67<>\"U\")*($AQ67:$BL67>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ67:$BL67<>\"U\")*($AQ67:$BL67>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K67:$R67<>\"Z\")*($K67:$R67>\"\")*NOT(ISERROR($K67:$R67)))+SUM(($K$4:$R$4=\"A\")*($K67:$R67<>\"A\")*($K67:$R67>\"\")*NOT(ISERROR($K67:$R67)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K67:$R67=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ67:$BL67=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B67)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B67)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD67,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F67&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A67)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E67)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K67&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E67=\"Small Patch\",E67=\"Matrix\")),'Calculator Table'!$L67,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E67=\"Small Patch\",'Calculator Table'!$L67,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E67=\"Matrix\",'Calculator Table'!$L67,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M67&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N67&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O67&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P67&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q67&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R67&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S67&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T67&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U67&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V67&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W67&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X67&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y67)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z67)&\", version_author=\"&AddQuotes('Calculator Table'!$AA67)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB67,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC67)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE67)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF67)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG67)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH67)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI67)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ67)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK67)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL67)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM67)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN67)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO67)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP67)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F67&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B67)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B67)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD67,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F67&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A67)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E67)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K67&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H67=\"Small Patch\",H67=\"Matrix\")),'Calculator Table'!$L67,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H67=\"Small Patch\",'Calculator Table'!$L67,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H67=\"Matrix\",'Calculator Table'!$L67,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M67&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N67&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O67&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P67&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q67&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R67&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S67&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T67&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U67&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V67&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W67&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X67&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y67)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z67)&\", version_author=\"&AddQuotes('Calculator Table'!$AA67)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB67,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC67)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE67)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF67)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG67)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH67)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI67)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ67)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK67)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL67)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM67)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN67)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO67)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP67)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F67&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B67)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B67)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD67,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F67&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A67)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E67)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K67&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K67=\"Small Patch\",K67=\"Matrix\")),'Calculator Table'!$L67,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K67=\"Small Patch\",'Calculator Table'!$L67,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K67=\"Matrix\",'Calculator Table'!$L67,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M67&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N67&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O67&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P67&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q67&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R67&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S67&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T67&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U67&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V67&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W67&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X67&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y67)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z67)&\", version_author=\"&AddQuotes('Calculator Table'!$AA67)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB67,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC67)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE67)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF67)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG67)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH67)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI67)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ67)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK67)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL67)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM67)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN67)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO67)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP67)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F67&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS68>0,'Rk Assign'!D68,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS68>0,Calculate!$AV68,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ68:$BL68<>\"U\")*($AQ68:$BL68>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ68:$BL68<>\"U\")*($AQ68:$BL68>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ68:$BL68<>\"U\")*($AQ68:$BL68>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K68:$R68<>\"Z\")*($K68:$R68>\"\")*NOT(ISERROR($K68:$R68)))+SUM(($K$4:$R$4=\"A\")*($K68:$R68<>\"A\")*($K68:$R68>\"\")*NOT(ISERROR($K68:$R68)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K68:$R68=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ68:$BL68=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B68)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B68)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD68,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F68&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A68)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E68)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K68&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E68=\"Small Patch\",E68=\"Matrix\")),'Calculator Table'!$L68,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E68=\"Small Patch\",'Calculator Table'!$L68,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E68=\"Matrix\",'Calculator Table'!$L68,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M68&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N68&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O68&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P68&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q68&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R68&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S68&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T68&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U68&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V68&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W68&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X68&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y68)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z68)&\", version_author=\"&AddQuotes('Calculator Table'!$AA68)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB68,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC68)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE68)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF68)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG68)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH68)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI68)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ68)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK68)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL68)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM68)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN68)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO68)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP68)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F68&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B68)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B68)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD68,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F68&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A68)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E68)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K68&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H68=\"Small Patch\",H68=\"Matrix\")),'Calculator Table'!$L68,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H68=\"Small Patch\",'Calculator Table'!$L68,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H68=\"Matrix\",'Calculator Table'!$L68,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M68&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N68&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O68&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P68&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q68&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R68&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S68&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T68&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U68&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V68&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W68&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X68&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y68)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z68)&\", version_author=\"&AddQuotes('Calculator Table'!$AA68)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB68,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC68)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE68)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF68)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG68)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH68)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI68)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ68)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK68)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL68)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM68)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN68)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO68)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP68)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F68&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B68)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B68)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD68,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F68&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A68)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E68)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K68&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K68=\"Small Patch\",K68=\"Matrix\")),'Calculator Table'!$L68,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K68=\"Small Patch\",'Calculator Table'!$L68,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K68=\"Matrix\",'Calculator Table'!$L68,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M68&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N68&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O68&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P68&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q68&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R68&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S68&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T68&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U68&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V68&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W68&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X68&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y68)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z68)&\", version_author=\"&AddQuotes('Calculator Table'!$AA68)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB68,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC68)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE68)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF68)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG68)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH68)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI68)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ68)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK68)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL68)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM68)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN68)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO68)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP68)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F68&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS69>0,'Rk Assign'!D69,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,{"$f":"LEFT(K69,1)","v":""},{"$f":"RIGHT(K69,1)","v":""},"","",{"$f":"LEFT(O69,1)","v":""},{"$f":"RIGHT(O69,1)","v":""},{"$f":"LEFT(Q69,1)","v":""},{"$f":"RIGHT(Q69,1)","v":""},{"$f":"IF(AND(AS69>\"\",AS69<>\"U\",AS69<>\"0\"),LEFT(R69,1),\"\")","v":""},{"$f":"IF(AND(AS69>\"\",AS69<>\"U\",AS69<>\"0\"),RIGHT(R69,1),\"\")","v":""},{"$f":"LEFT(P69,1)","v":""},{"$f":"RIGHT(P69,1)","v":""},{"$f":"LEFT(S69,1)","v":""},{"$f":"RIGHT(S69,1)","v":""},{"$f":"LEFT(W69,1)","v":""},{"$f":"RIGHT(W69,1)","v":""},{"$f":"LEFT(X69,1)","v":""},{"$f":"RIGHT(X69,1)","v":""},{"$f":"LEFT(V69,1)","v":""},{"$f":"RIGHT(V69,1)","v":""},"","",{"$f":"IF(BS69>0,Calculate!$AV69,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ69:$BL69<>\"U\")*($AQ69:$BL69>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ69:$BL69<>\"U\")*($AQ69:$BL69>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ69:$BL69<>\"U\")*($AQ69:$BL69>\"\"))","v":0},{"$f":"COUNTIF(BO69:BQ69,\">0\")","v":0},{"$f":"COUNTIF(K69:V69,\">''\")","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K69:$R69<>\"Z\")*($K69:$R69>\"\")*NOT(ISERROR($K69:$R69)))+SUM(($K$4:$R$4=\"A\")*($K69:$R69<>\"A\")*($K69:$R69>\"\")*NOT(ISERROR($K69:$R69)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K69:$R69=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ69:$BL69=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B69)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B69)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD69,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F69&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A69)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E69)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K69&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E69=\"Small Patch\",E69=\"Matrix\")),'Calculator Table'!$L69,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E69=\"Small Patch\",'Calculator Table'!$L69,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E69=\"Matrix\",'Calculator Table'!$L69,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M69&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N69&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O69&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P69&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q69&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R69&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S69&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T69&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U69&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V69&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W69&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X69&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y69)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z69)&\", version_author=\"&AddQuotes('Calculator Table'!$AA69)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB69,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC69)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE69)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF69)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG69)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH69)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI69)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ69)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK69)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL69)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM69)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN69)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO69)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP69)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F69&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B69)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B69)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD69,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F69&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A69)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E69)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K69&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H69=\"Small Patch\",H69=\"Matrix\")),'Calculator Table'!$L69,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H69=\"Small Patch\",'Calculator Table'!$L69,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H69=\"Matrix\",'Calculator Table'!$L69,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M69&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N69&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O69&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P69&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q69&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R69&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S69&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T69&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U69&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V69&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W69&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X69&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y69)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z69)&\", version_author=\"&AddQuotes('Calculator Table'!$AA69)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB69,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC69)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE69)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF69)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG69)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH69)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI69)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ69)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK69)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL69)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM69)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN69)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO69)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP69)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F69&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B69)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B69)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD69,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F69&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A69)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E69)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K69&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K69=\"Small Patch\",K69=\"Matrix\")),'Calculator Table'!$L69,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K69=\"Small Patch\",'Calculator Table'!$L69,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K69=\"Matrix\",'Calculator Table'!$L69,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M69&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N69&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O69&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P69&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q69&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R69&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S69&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T69&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U69&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V69&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W69&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X69&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y69)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z69)&\", version_author=\"&AddQuotes('Calculator Table'!$AA69)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB69,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC69)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE69)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF69)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG69)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH69)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI69)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ69)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK69)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL69)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM69)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN69)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO69)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP69)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F69&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS70>0,'Rk Assign'!D70,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","",{"$f":"LEFT(L70&M70&N70,1)","v":""},{"$f":"RIGHT(L70&M70&N70,1)","v":""},"","","","","","","","","","","","","","","","","","",{"$f":"IF(BS70>0,Calculate!$AV70,\"\")","v":""},{"$f":"IF(BS70>0,BR70>1,\"\")","v":""},{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ70:$BL70<>\"U\")*($AQ70:$BL70>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ70:$BL70<>\"U\")*($AQ70:$BL70>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ70:$BL70<>\"U\")*($AQ70:$BL70>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K70:$R70<>\"Z\")*($K70:$R70>\"\")*NOT(ISERROR($K70:$R70)))+SUM(($K$4:$R$4=\"A\")*($K70:$R70<>\"A\")*($K70:$R70>\"\")*NOT(ISERROR($K70:$R70)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K70:$R70=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ70:$BL70=\"Z\"))","v":0},{"$f":"IF(AND(BU70>0,BT70>0),\"Z-ERROR\",\"\")","v":""}," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B70)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B70)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD70,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F70&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A70)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E70)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K70&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E70=\"Small Patch\",E70=\"Matrix\")),'Calculator Table'!$L70,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E70=\"Small Patch\",'Calculator Table'!$L70,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E70=\"Matrix\",'Calculator Table'!$L70,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M70&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N70&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O70&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P70&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q70&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R70&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S70&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T70&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U70&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V70&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W70&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X70&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y70)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z70)&\", version_author=\"&AddQuotes('Calculator Table'!$AA70)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB70,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC70)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE70)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF70)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG70)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH70)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI70)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ70)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK70)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL70)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM70)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN70)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO70)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP70)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F70&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B70)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B70)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD70,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F70&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A70)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E70)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K70&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H70=\"Small Patch\",H70=\"Matrix\")),'Calculator Table'!$L70,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H70=\"Small Patch\",'Calculator Table'!$L70,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H70=\"Matrix\",'Calculator Table'!$L70,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M70&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N70&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O70&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P70&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q70&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R70&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S70&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T70&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U70&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V70&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W70&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X70&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y70)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z70)&\", version_author=\"&AddQuotes('Calculator Table'!$AA70)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB70,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC70)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE70)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF70)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG70)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH70)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI70)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ70)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK70)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL70)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM70)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN70)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO70)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP70)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F70&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B70)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B70)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD70,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F70&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A70)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E70)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K70&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K70=\"Small Patch\",K70=\"Matrix\")),'Calculator Table'!$L70,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K70=\"Small Patch\",'Calculator Table'!$L70,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K70=\"Matrix\",'Calculator Table'!$L70,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M70&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N70&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O70&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P70&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q70&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R70&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S70&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T70&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U70&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V70&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W70&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X70&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y70)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z70)&\", version_author=\"&AddQuotes('Calculator Table'!$AA70)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB70,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC70)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE70)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF70)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG70)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH70)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI70)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ70)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK70)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL70)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM70)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN70)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO70)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP70)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F70&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS71>0,'Rk Assign'!D71,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","",{"$f":"LEFT(T71,1)","v":""},{"$f":"RIGHT(T71,1)","v":""},{"$f":"IF(BS71>0,Calculate!$AV71,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ71:$BL71<>\"U\")*($AQ71:$BL71>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ71:$BL71<>\"U\")*($AQ71:$BL71>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ71:$BL71<>\"U\")*($AQ71:$BL71>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K71:$R71<>\"Z\")*($K71:$R71>\"\")*NOT(ISERROR($K71:$R71)))+SUM(($K$4:$R$4=\"A\")*($K71:$R71<>\"A\")*($K71:$R71>\"\")*NOT(ISERROR($K71:$R71)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K71:$R71=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ71:$BL71=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B71)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B71)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD71,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F71&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A71)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E71)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K71&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E71=\"Small Patch\",E71=\"Matrix\")),'Calculator Table'!$L71,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E71=\"Small Patch\",'Calculator Table'!$L71,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E71=\"Matrix\",'Calculator Table'!$L71,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M71&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N71&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O71&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P71&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q71&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R71&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S71&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T71&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U71&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V71&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W71&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X71&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y71)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z71)&\", version_author=\"&AddQuotes('Calculator Table'!$AA71)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB71,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC71)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE71)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF71)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG71)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH71)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI71)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ71)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK71)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL71)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM71)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN71)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO71)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP71)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F71&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B71)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B71)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD71,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F71&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A71)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E71)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K71&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H71=\"Small Patch\",H71=\"Matrix\")),'Calculator Table'!$L71,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H71=\"Small Patch\",'Calculator Table'!$L71,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H71=\"Matrix\",'Calculator Table'!$L71,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M71&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N71&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O71&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P71&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q71&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R71&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S71&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T71&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U71&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V71&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W71&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X71&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y71)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z71)&\", version_author=\"&AddQuotes('Calculator Table'!$AA71)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB71,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC71)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE71)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF71)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG71)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH71)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI71)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ71)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK71)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL71)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM71)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN71)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO71)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP71)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F71&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B71)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B71)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD71,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F71&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A71)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E71)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K71&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K71=\"Small Patch\",K71=\"Matrix\")),'Calculator Table'!$L71,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K71=\"Small Patch\",'Calculator Table'!$L71,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K71=\"Matrix\",'Calculator Table'!$L71,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M71&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N71&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O71&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P71&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q71&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R71&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S71&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T71&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U71&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V71&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W71&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X71&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y71)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z71)&\", version_author=\"&AddQuotes('Calculator Table'!$AA71)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB71,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC71)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE71)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF71)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG71)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH71)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI71)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ71)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK71)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL71)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM71)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN71)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO71)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP71)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F71&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS72>0,'Rk Assign'!D72,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS72>0,Calculate!$AV72,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ72:$BL72<>\"U\")*($AQ72:$BL72>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ72:$BL72<>\"U\")*($AQ72:$BL72>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ72:$BL72<>\"U\")*($AQ72:$BL72>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K72:$R72<>\"Z\")*($K72:$R72>\"\")*NOT(ISERROR($K72:$R72)))+SUM(($K$4:$R$4=\"A\")*($K72:$R72<>\"A\")*($K72:$R72>\"\")*NOT(ISERROR($K72:$R72)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K72:$R72=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ72:$BL72=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B72)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B72)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD72,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F72&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A72)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E72)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K72&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E72=\"Small Patch\",E72=\"Matrix\")),'Calculator Table'!$L72,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E72=\"Small Patch\",'Calculator Table'!$L72,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E72=\"Matrix\",'Calculator Table'!$L72,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M72&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N72&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O72&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P72&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q72&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R72&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S72&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T72&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U72&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V72&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W72&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X72&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y72)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z72)&\", version_author=\"&AddQuotes('Calculator Table'!$AA72)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB72,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC72)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE72)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF72)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG72)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH72)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI72)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ72)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK72)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL72)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM72)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN72)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO72)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP72)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F72&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B72)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B72)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD72,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F72&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A72)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E72)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K72&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H72=\"Small Patch\",H72=\"Matrix\")),'Calculator Table'!$L72,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H72=\"Small Patch\",'Calculator Table'!$L72,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H72=\"Matrix\",'Calculator Table'!$L72,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M72&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N72&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O72&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P72&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q72&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R72&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S72&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T72&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U72&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V72&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W72&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X72&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y72)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z72)&\", version_author=\"&AddQuotes('Calculator Table'!$AA72)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB72,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC72)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE72)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF72)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG72)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH72)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI72)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ72)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK72)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL72)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM72)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN72)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO72)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP72)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F72&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B72)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B72)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD72,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F72&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A72)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E72)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K72&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K72=\"Small Patch\",K72=\"Matrix\")),'Calculator Table'!$L72,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K72=\"Small Patch\",'Calculator Table'!$L72,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K72=\"Matrix\",'Calculator Table'!$L72,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M72&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N72&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O72&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P72&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q72&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R72&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S72&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T72&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U72&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V72&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W72&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X72&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y72)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z72)&\", version_author=\"&AddQuotes('Calculator Table'!$AA72)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB72,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC72)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE72)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF72)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG72)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH72)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI72)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ72)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK72)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL72)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM72)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN72)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO72)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP72)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F72&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS73>0,'Rk Assign'!D73,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS73>0,Calculate!$AV73,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ73:$BL73<>\"U\")*($AQ73:$BL73>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ73:$BL73<>\"U\")*($AQ73:$BL73>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ73:$BL73<>\"U\")*($AQ73:$BL73>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K73:$R73<>\"Z\")*($K73:$R73>\"\")*NOT(ISERROR($K73:$R73)))+SUM(($K$4:$R$4=\"A\")*($K73:$R73<>\"A\")*($K73:$R73>\"\")*NOT(ISERROR($K73:$R73)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K73:$R73=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ73:$BL73=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B73)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B73)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD73,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F73&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A73)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E73)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K73&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E73=\"Small Patch\",E73=\"Matrix\")),'Calculator Table'!$L73,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E73=\"Small Patch\",'Calculator Table'!$L73,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E73=\"Matrix\",'Calculator Table'!$L73,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M73&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N73&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O73&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P73&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q73&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R73&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S73&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T73&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U73&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V73&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W73&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X73&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y73)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z73)&\", version_author=\"&AddQuotes('Calculator Table'!$AA73)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB73,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC73)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE73)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF73)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG73)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH73)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI73)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ73)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK73)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL73)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM73)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN73)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO73)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP73)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F73&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B73)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B73)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD73,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F73&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A73)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E73)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K73&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H73=\"Small Patch\",H73=\"Matrix\")),'Calculator Table'!$L73,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H73=\"Small Patch\",'Calculator Table'!$L73,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H73=\"Matrix\",'Calculator Table'!$L73,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M73&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N73&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O73&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P73&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q73&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R73&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S73&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T73&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U73&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V73&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W73&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X73&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y73)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z73)&\", version_author=\"&AddQuotes('Calculator Table'!$AA73)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB73,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC73)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE73)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF73)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG73)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH73)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI73)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ73)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK73)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL73)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM73)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN73)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO73)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP73)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F73&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B73)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B73)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD73,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F73&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A73)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E73)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K73&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K73=\"Small Patch\",K73=\"Matrix\")),'Calculator Table'!$L73,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K73=\"Small Patch\",'Calculator Table'!$L73,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K73=\"Matrix\",'Calculator Table'!$L73,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M73&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N73&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O73&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P73&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q73&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R73&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S73&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T73&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U73&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V73&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W73&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X73&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y73)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z73)&\", version_author=\"&AddQuotes('Calculator Table'!$AA73)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB73,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC73)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE73)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF73)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG73)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH73)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI73)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ73)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK73)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL73)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM73)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN73)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO73)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP73)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F73&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS74>0,'Rk Assign'!D74,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS74>0,Calculate!$AV74,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ74:$BL74<>\"U\")*($AQ74:$BL74>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ74:$BL74<>\"U\")*($AQ74:$BL74>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ74:$BL74<>\"U\")*($AQ74:$BL74>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K74:$R74<>\"Z\")*($K74:$R74>\"\")*NOT(ISERROR($K74:$R74)))+SUM(($K$4:$R$4=\"A\")*($K74:$R74<>\"A\")*($K74:$R74>\"\")*NOT(ISERROR($K74:$R74)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K74:$R74=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ74:$BL74=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B74)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B74)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD74,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F74&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A74)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E74)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K74&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E74=\"Small Patch\",E74=\"Matrix\")),'Calculator Table'!$L74,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E74=\"Small Patch\",'Calculator Table'!$L74,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E74=\"Matrix\",'Calculator Table'!$L74,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M74&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N74&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O74&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P74&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q74&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R74&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S74&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T74&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U74&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V74&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W74&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X74&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y74)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z74)&\", version_author=\"&AddQuotes('Calculator Table'!$AA74)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB74,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC74)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE74)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF74)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG74)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH74)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI74)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ74)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK74)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL74)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM74)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN74)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO74)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP74)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F74&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B74)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B74)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD74,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F74&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A74)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E74)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K74&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H74=\"Small Patch\",H74=\"Matrix\")),'Calculator Table'!$L74,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H74=\"Small Patch\",'Calculator Table'!$L74,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H74=\"Matrix\",'Calculator Table'!$L74,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M74&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N74&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O74&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P74&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q74&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R74&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S74&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T74&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U74&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V74&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W74&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X74&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y74)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z74)&\", version_author=\"&AddQuotes('Calculator Table'!$AA74)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB74,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC74)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE74)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF74)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG74)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH74)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI74)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ74)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK74)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL74)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM74)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN74)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO74)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP74)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F74&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B74)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B74)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD74,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F74&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A74)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E74)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K74&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K74=\"Small Patch\",K74=\"Matrix\")),'Calculator Table'!$L74,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K74=\"Small Patch\",'Calculator Table'!$L74,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K74=\"Matrix\",'Calculator Table'!$L74,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M74&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N74&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O74&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P74&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q74&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R74&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S74&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T74&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U74&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V74&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W74&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X74&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y74)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z74)&\", version_author=\"&AddQuotes('Calculator Table'!$AA74)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB74,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC74)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE74)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF74)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG74)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH74)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI74)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ74)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK74)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL74)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM74)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN74)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO74)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP74)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F74&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS75>0,'Rk Assign'!D75,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS75>0,Calculate!$AV75,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ75:$BL75<>\"U\")*($AQ75:$BL75>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ75:$BL75<>\"U\")*($AQ75:$BL75>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ75:$BL75<>\"U\")*($AQ75:$BL75>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K75:$R75<>\"Z\")*($K75:$R75>\"\")*NOT(ISERROR($K75:$R75)))+SUM(($K$4:$R$4=\"A\")*($K75:$R75<>\"A\")*($K75:$R75>\"\")*NOT(ISERROR($K75:$R75)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K75:$R75=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ75:$BL75=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B75)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B75)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD75,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F75&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A75)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E75)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K75&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E75=\"Small Patch\",E75=\"Matrix\")),'Calculator Table'!$L75,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E75=\"Small Patch\",'Calculator Table'!$L75,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E75=\"Matrix\",'Calculator Table'!$L75,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M75&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N75&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O75&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P75&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q75&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R75&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S75&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T75&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U75&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V75&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W75&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X75&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y75)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z75)&\", version_author=\"&AddQuotes('Calculator Table'!$AA75)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB75,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC75)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE75)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF75)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG75)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH75)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI75)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ75)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK75)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL75)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM75)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN75)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO75)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP75)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F75&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B75)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B75)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD75,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F75&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A75)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E75)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K75&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H75=\"Small Patch\",H75=\"Matrix\")),'Calculator Table'!$L75,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H75=\"Small Patch\",'Calculator Table'!$L75,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H75=\"Matrix\",'Calculator Table'!$L75,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M75&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N75&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O75&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P75&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q75&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R75&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S75&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T75&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U75&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V75&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W75&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X75&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y75)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z75)&\", version_author=\"&AddQuotes('Calculator Table'!$AA75)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB75,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC75)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE75)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF75)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG75)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH75)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI75)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ75)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK75)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL75)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM75)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN75)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO75)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP75)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F75&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B75)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B75)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD75,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F75&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A75)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E75)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K75&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K75=\"Small Patch\",K75=\"Matrix\")),'Calculator Table'!$L75,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K75=\"Small Patch\",'Calculator Table'!$L75,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K75=\"Matrix\",'Calculator Table'!$L75,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M75&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N75&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O75&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P75&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q75&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R75&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S75&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T75&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U75&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V75&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W75&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X75&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y75)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z75)&\", version_author=\"&AddQuotes('Calculator Table'!$AA75)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB75,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC75)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE75)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF75)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG75)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH75)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI75)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ75)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK75)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL75)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM75)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN75)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO75)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP75)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F75&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS76>0,'Rk Assign'!D76,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS76>0,Calculate!$AV76,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ76:$BL76<>\"U\")*($AQ76:$BL76>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ76:$BL76<>\"U\")*($AQ76:$BL76>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ76:$BL76<>\"U\")*($AQ76:$BL76>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K76:$R76<>\"Z\")*($K76:$R76>\"\")*NOT(ISERROR($K76:$R76)))+SUM(($K$4:$R$4=\"A\")*($K76:$R76<>\"A\")*($K76:$R76>\"\")*NOT(ISERROR($K76:$R76)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K76:$R76=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ76:$BL76=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B76)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B76)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD76,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F76&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A76)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E76)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K76&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E76=\"Small Patch\",E76=\"Matrix\")),'Calculator Table'!$L76,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E76=\"Small Patch\",'Calculator Table'!$L76,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E76=\"Matrix\",'Calculator Table'!$L76,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M76&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N76&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O76&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P76&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q76&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R76&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S76&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T76&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U76&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V76&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W76&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X76&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y76)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z76)&\", version_author=\"&AddQuotes('Calculator Table'!$AA76)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB76,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC76)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE76)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF76)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG76)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH76)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI76)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ76)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK76)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL76)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM76)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN76)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO76)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP76)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F76&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B76)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B76)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD76,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F76&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A76)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E76)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K76&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H76=\"Small Patch\",H76=\"Matrix\")),'Calculator Table'!$L76,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H76=\"Small Patch\",'Calculator Table'!$L76,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H76=\"Matrix\",'Calculator Table'!$L76,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M76&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N76&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O76&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P76&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q76&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R76&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S76&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T76&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U76&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V76&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W76&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X76&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y76)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z76)&\", version_author=\"&AddQuotes('Calculator Table'!$AA76)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB76,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC76)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE76)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF76)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG76)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH76)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI76)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ76)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK76)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL76)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM76)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN76)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO76)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP76)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F76&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B76)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B76)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD76,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F76&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A76)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E76)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K76&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K76=\"Small Patch\",K76=\"Matrix\")),'Calculator Table'!$L76,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K76=\"Small Patch\",'Calculator Table'!$L76,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K76=\"Matrix\",'Calculator Table'!$L76,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M76&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N76&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O76&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P76&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q76&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R76&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S76&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T76&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U76&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V76&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W76&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X76&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y76)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z76)&\", version_author=\"&AddQuotes('Calculator Table'!$AA76)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB76,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC76)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE76)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF76)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG76)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH76)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI76)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ76)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK76)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL76)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM76)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN76)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO76)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP76)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F76&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS77>0,'Rk Assign'!D77,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS77>0,Calculate!$AV77,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ77:$BL77<>\"U\")*($AQ77:$BL77>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ77:$BL77<>\"U\")*($AQ77:$BL77>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ77:$BL77<>\"U\")*($AQ77:$BL77>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K77:$R77<>\"Z\")*($K77:$R77>\"\")*NOT(ISERROR($K77:$R77)))+SUM(($K$4:$R$4=\"A\")*($K77:$R77<>\"A\")*($K77:$R77>\"\")*NOT(ISERROR($K77:$R77)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K77:$R77=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ77:$BL77=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B77)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B77)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD77,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F77&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A77)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E77)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K77&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E77=\"Small Patch\",E77=\"Matrix\")),'Calculator Table'!$L77,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E77=\"Small Patch\",'Calculator Table'!$L77,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E77=\"Matrix\",'Calculator Table'!$L77,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M77&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N77&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O77&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P77&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q77&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R77&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S77&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T77&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U77&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V77&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W77&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X77&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y77)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z77)&\", version_author=\"&AddQuotes('Calculator Table'!$AA77)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB77,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC77)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE77)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF77)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG77)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH77)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI77)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ77)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK77)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL77)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM77)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN77)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO77)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP77)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F77&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B77)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B77)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD77,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F77&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A77)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E77)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K77&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H77=\"Small Patch\",H77=\"Matrix\")),'Calculator Table'!$L77,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H77=\"Small Patch\",'Calculator Table'!$L77,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H77=\"Matrix\",'Calculator Table'!$L77,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M77&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N77&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O77&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P77&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q77&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R77&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S77&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T77&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U77&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V77&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W77&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X77&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y77)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z77)&\", version_author=\"&AddQuotes('Calculator Table'!$AA77)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB77,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC77)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE77)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF77)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG77)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH77)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI77)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ77)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK77)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL77)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM77)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN77)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO77)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP77)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F77&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B77)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B77)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD77,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F77&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A77)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E77)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K77&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K77=\"Small Patch\",K77=\"Matrix\")),'Calculator Table'!$L77,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K77=\"Small Patch\",'Calculator Table'!$L77,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K77=\"Matrix\",'Calculator Table'!$L77,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M77&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N77&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O77&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P77&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q77&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R77&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S77&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T77&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U77&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V77&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W77&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X77&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y77)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z77)&\", version_author=\"&AddQuotes('Calculator Table'!$AA77)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB77,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC77)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE77)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF77)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG77)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH77)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI77)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ77)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK77)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL77)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM77)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN77)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO77)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP77)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F77&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS78>0,'Rk Assign'!D78,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS78>0,Calculate!$AV78,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ78:$BL78<>\"U\")*($AQ78:$BL78>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ78:$BL78<>\"U\")*($AQ78:$BL78>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ78:$BL78<>\"U\")*($AQ78:$BL78>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K78:$R78<>\"Z\")*($K78:$R78>\"\")*NOT(ISERROR($K78:$R78)))+SUM(($K$4:$R$4=\"A\")*($K78:$R78<>\"A\")*($K78:$R78>\"\")*NOT(ISERROR($K78:$R78)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K78:$R78=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ78:$BL78=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B78)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B78)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD78,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F78&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A78)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E78)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K78&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E78=\"Small Patch\",E78=\"Matrix\")),'Calculator Table'!$L78,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E78=\"Small Patch\",'Calculator Table'!$L78,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E78=\"Matrix\",'Calculator Table'!$L78,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M78&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N78&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O78&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P78&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q78&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R78&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S78&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T78&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U78&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V78&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W78&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X78&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y78)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z78)&\", version_author=\"&AddQuotes('Calculator Table'!$AA78)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB78,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC78)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE78)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF78)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG78)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH78)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI78)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ78)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK78)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL78)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM78)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN78)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO78)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP78)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F78&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B78)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B78)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD78,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F78&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A78)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E78)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K78&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H78=\"Small Patch\",H78=\"Matrix\")),'Calculator Table'!$L78,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H78=\"Small Patch\",'Calculator Table'!$L78,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H78=\"Matrix\",'Calculator Table'!$L78,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M78&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N78&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O78&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P78&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q78&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R78&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S78&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T78&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U78&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V78&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W78&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X78&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y78)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z78)&\", version_author=\"&AddQuotes('Calculator Table'!$AA78)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB78,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC78)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE78)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF78)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG78)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH78)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI78)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ78)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK78)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL78)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM78)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN78)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO78)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP78)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F78&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B78)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B78)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD78,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F78&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A78)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E78)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K78&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K78=\"Small Patch\",K78=\"Matrix\")),'Calculator Table'!$L78,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K78=\"Small Patch\",'Calculator Table'!$L78,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K78=\"Matrix\",'Calculator Table'!$L78,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M78&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N78&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O78&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P78&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q78&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R78&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S78&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T78&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U78&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V78&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W78&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X78&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y78)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z78)&\", version_author=\"&AddQuotes('Calculator Table'!$AA78)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB78,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC78)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE78)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF78)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG78)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH78)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI78)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ78)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK78)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL78)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM78)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN78)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO78)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP78)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F78&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS79>0,'Rk Assign'!D79,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS79>0,Calculate!$AV79,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ79:$BL79<>\"U\")*($AQ79:$BL79>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ79:$BL79<>\"U\")*($AQ79:$BL79>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ79:$BL79<>\"U\")*($AQ79:$BL79>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K79:$R79<>\"Z\")*($K79:$R79>\"\")*NOT(ISERROR($K79:$R79)))+SUM(($K$4:$R$4=\"A\")*($K79:$R79<>\"A\")*($K79:$R79>\"\")*NOT(ISERROR($K79:$R79)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K79:$R79=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ79:$BL79=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B79)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B79)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD79,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F79&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A79)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E79)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K79&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E79=\"Small Patch\",E79=\"Matrix\")),'Calculator Table'!$L79,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E79=\"Small Patch\",'Calculator Table'!$L79,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E79=\"Matrix\",'Calculator Table'!$L79,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M79&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N79&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O79&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P79&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q79&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R79&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S79&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T79&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U79&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V79&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W79&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X79&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y79)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z79)&\", version_author=\"&AddQuotes('Calculator Table'!$AA79)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB79,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC79)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE79)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF79)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG79)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH79)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI79)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ79)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK79)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL79)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM79)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN79)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO79)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP79)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F79&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B79)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B79)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD79,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F79&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A79)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E79)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K79&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H79=\"Small Patch\",H79=\"Matrix\")),'Calculator Table'!$L79,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H79=\"Small Patch\",'Calculator Table'!$L79,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H79=\"Matrix\",'Calculator Table'!$L79,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M79&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N79&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O79&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P79&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q79&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R79&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S79&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T79&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U79&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V79&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W79&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X79&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y79)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z79)&\", version_author=\"&AddQuotes('Calculator Table'!$AA79)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB79,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC79)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE79)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF79)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG79)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH79)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI79)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ79)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK79)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL79)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM79)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN79)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO79)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP79)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F79&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B79)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B79)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD79,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F79&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A79)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E79)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K79&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K79=\"Small Patch\",K79=\"Matrix\")),'Calculator Table'!$L79,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K79=\"Small Patch\",'Calculator Table'!$L79,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K79=\"Matrix\",'Calculator Table'!$L79,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M79&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N79&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O79&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P79&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q79&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R79&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S79&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T79&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U79&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V79&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W79&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X79&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y79)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z79)&\", version_author=\"&AddQuotes('Calculator Table'!$AA79)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB79,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC79)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE79)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF79)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG79)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH79)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI79)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ79)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK79)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL79)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM79)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN79)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO79)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP79)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F79&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS80>0,'Rk Assign'!D80,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS80>0,Calculate!$AV80,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ80:$BL80<>\"U\")*($AQ80:$BL80>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ80:$BL80<>\"U\")*($AQ80:$BL80>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ80:$BL80<>\"U\")*($AQ80:$BL80>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K80:$R80<>\"Z\")*($K80:$R80>\"\")*NOT(ISERROR($K80:$R80)))+SUM(($K$4:$R$4=\"A\")*($K80:$R80<>\"A\")*($K80:$R80>\"\")*NOT(ISERROR($K80:$R80)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K80:$R80=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ80:$BL80=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B80)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B80)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD80,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F80&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A80)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E80)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K80&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E80=\"Small Patch\",E80=\"Matrix\")),'Calculator Table'!$L80,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E80=\"Small Patch\",'Calculator Table'!$L80,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E80=\"Matrix\",'Calculator Table'!$L80,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M80&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N80&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O80&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P80&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q80&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R80&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S80&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T80&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U80&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V80&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W80&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X80&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y80)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z80)&\", version_author=\"&AddQuotes('Calculator Table'!$AA80)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB80,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC80)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE80)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF80)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG80)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH80)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI80)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ80)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK80)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL80)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM80)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN80)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO80)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP80)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F80&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B80)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B80)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD80,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F80&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A80)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E80)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K80&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H80=\"Small Patch\",H80=\"Matrix\")),'Calculator Table'!$L80,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H80=\"Small Patch\",'Calculator Table'!$L80,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H80=\"Matrix\",'Calculator Table'!$L80,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M80&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N80&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O80&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P80&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q80&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R80&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S80&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T80&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U80&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V80&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W80&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X80&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y80)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z80)&\", version_author=\"&AddQuotes('Calculator Table'!$AA80)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB80,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC80)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE80)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF80)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG80)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH80)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI80)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ80)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK80)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL80)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM80)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN80)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO80)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP80)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F80&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B80)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B80)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD80,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F80&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A80)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E80)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K80&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K80=\"Small Patch\",K80=\"Matrix\")),'Calculator Table'!$L80,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K80=\"Small Patch\",'Calculator Table'!$L80,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K80=\"Matrix\",'Calculator Table'!$L80,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M80&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N80&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O80&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P80&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q80&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R80&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S80&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T80&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U80&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V80&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W80&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X80&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y80)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z80)&\", version_author=\"&AddQuotes('Calculator Table'!$AA80)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB80,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC80)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE80)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF80)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG80)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH80)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI80)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ80)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK80)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL80)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM80)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN80)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO80)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP80)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F80&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS81>0,'Rk Assign'!D81,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS81>0,Calculate!$AV81,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ81:$BL81<>\"U\")*($AQ81:$BL81>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ81:$BL81<>\"U\")*($AQ81:$BL81>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ81:$BL81<>\"U\")*($AQ81:$BL81>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K81:$R81<>\"Z\")*($K81:$R81>\"\")*NOT(ISERROR($K81:$R81)))+SUM(($K$4:$R$4=\"A\")*($K81:$R81<>\"A\")*($K81:$R81>\"\")*NOT(ISERROR($K81:$R81)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K81:$R81=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ81:$BL81=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B81)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B81)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD81,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F81&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A81)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E81)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K81&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E81=\"Small Patch\",E81=\"Matrix\")),'Calculator Table'!$L81,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E81=\"Small Patch\",'Calculator Table'!$L81,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E81=\"Matrix\",'Calculator Table'!$L81,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M81&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N81&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O81&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P81&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q81&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R81&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S81&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T81&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U81&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V81&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W81&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X81&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y81)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z81)&\", version_author=\"&AddQuotes('Calculator Table'!$AA81)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB81,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC81)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE81)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF81)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG81)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH81)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI81)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ81)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK81)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL81)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM81)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN81)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO81)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP81)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F81&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B81)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B81)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD81,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F81&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A81)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E81)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K81&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H81=\"Small Patch\",H81=\"Matrix\")),'Calculator Table'!$L81,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H81=\"Small Patch\",'Calculator Table'!$L81,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H81=\"Matrix\",'Calculator Table'!$L81,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M81&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N81&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O81&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P81&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q81&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R81&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S81&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T81&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U81&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V81&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W81&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X81&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y81)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z81)&\", version_author=\"&AddQuotes('Calculator Table'!$AA81)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB81,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC81)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE81)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF81)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG81)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH81)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI81)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ81)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK81)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL81)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM81)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN81)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO81)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP81)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F81&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B81)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B81)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD81,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F81&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A81)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E81)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K81&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K81=\"Small Patch\",K81=\"Matrix\")),'Calculator Table'!$L81,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K81=\"Small Patch\",'Calculator Table'!$L81,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K81=\"Matrix\",'Calculator Table'!$L81,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M81&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N81&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O81&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P81&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q81&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R81&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S81&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T81&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U81&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V81&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W81&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X81&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y81)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z81)&\", version_author=\"&AddQuotes('Calculator Table'!$AA81)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB81,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC81)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE81)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF81)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG81)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH81)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI81)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ81)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK81)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL81)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM81)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN81)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO81)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP81)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F81&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS82>0,'Rk Assign'!D82,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS82>0,Calculate!$AV82,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ82:$BL82<>\"U\")*($AQ82:$BL82>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ82:$BL82<>\"U\")*($AQ82:$BL82>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ82:$BL82<>\"U\")*($AQ82:$BL82>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K82:$R82<>\"Z\")*($K82:$R82>\"\")*NOT(ISERROR($K82:$R82)))+SUM(($K$4:$R$4=\"A\")*($K82:$R82<>\"A\")*($K82:$R82>\"\")*NOT(ISERROR($K82:$R82)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K82:$R82=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ82:$BL82=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B82)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B82)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD82,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F82&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A82)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E82)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K82&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E82=\"Small Patch\",E82=\"Matrix\")),'Calculator Table'!$L82,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E82=\"Small Patch\",'Calculator Table'!$L82,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E82=\"Matrix\",'Calculator Table'!$L82,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M82&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N82&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O82&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P82&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q82&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R82&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S82&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T82&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U82&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V82&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W82&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X82&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y82)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z82)&\", version_author=\"&AddQuotes('Calculator Table'!$AA82)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB82,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC82)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE82)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF82)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG82)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH82)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI82)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ82)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK82)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL82)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM82)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN82)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO82)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP82)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F82&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B82)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B82)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD82,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F82&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A82)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E82)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K82&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H82=\"Small Patch\",H82=\"Matrix\")),'Calculator Table'!$L82,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H82=\"Small Patch\",'Calculator Table'!$L82,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H82=\"Matrix\",'Calculator Table'!$L82,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M82&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N82&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O82&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P82&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q82&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R82&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S82&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T82&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U82&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V82&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W82&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X82&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y82)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z82)&\", version_author=\"&AddQuotes('Calculator Table'!$AA82)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB82,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC82)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE82)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF82)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG82)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH82)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI82)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ82)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK82)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL82)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM82)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN82)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO82)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP82)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F82&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B82)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B82)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD82,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F82&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A82)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E82)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K82&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K82=\"Small Patch\",K82=\"Matrix\")),'Calculator Table'!$L82,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K82=\"Small Patch\",'Calculator Table'!$L82,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K82=\"Matrix\",'Calculator Table'!$L82,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M82&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N82&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O82&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P82&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q82&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R82&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S82&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T82&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U82&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V82&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W82&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X82&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y82)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z82)&\", version_author=\"&AddQuotes('Calculator Table'!$AA82)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB82,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC82)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE82)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF82)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG82)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH82)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI82)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ82)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK82)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL82)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM82)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN82)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO82)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP82)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F82&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS83>0,'Rk Assign'!D83,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS83>0,Calculate!$AV83,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ83:$BL83<>\"U\")*($AQ83:$BL83>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ83:$BL83<>\"U\")*($AQ83:$BL83>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ83:$BL83<>\"U\")*($AQ83:$BL83>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K83:$R83<>\"Z\")*($K83:$R83>\"\")*NOT(ISERROR($K83:$R83)))+SUM(($K$4:$R$4=\"A\")*($K83:$R83<>\"A\")*($K83:$R83>\"\")*NOT(ISERROR($K83:$R83)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K83:$R83=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ83:$BL83=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B83)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B83)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD83,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F83&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A83)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E83)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K83&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E83=\"Small Patch\",E83=\"Matrix\")),'Calculator Table'!$L83,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E83=\"Small Patch\",'Calculator Table'!$L83,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E83=\"Matrix\",'Calculator Table'!$L83,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M83&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N83&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O83&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P83&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q83&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R83&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S83&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T83&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U83&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V83&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W83&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X83&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y83)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z83)&\", version_author=\"&AddQuotes('Calculator Table'!$AA83)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB83,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC83)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE83)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF83)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG83)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH83)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI83)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ83)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK83)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL83)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM83)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN83)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO83)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP83)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F83&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B83)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B83)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD83,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F83&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A83)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E83)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K83&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H83=\"Small Patch\",H83=\"Matrix\")),'Calculator Table'!$L83,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H83=\"Small Patch\",'Calculator Table'!$L83,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H83=\"Matrix\",'Calculator Table'!$L83,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M83&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N83&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O83&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P83&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q83&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R83&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S83&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T83&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U83&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V83&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W83&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X83&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y83)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z83)&\", version_author=\"&AddQuotes('Calculator Table'!$AA83)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB83,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC83)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE83)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF83)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG83)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH83)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI83)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ83)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK83)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL83)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM83)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN83)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO83)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP83)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F83&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B83)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B83)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD83,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F83&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A83)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E83)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K83&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K83=\"Small Patch\",K83=\"Matrix\")),'Calculator Table'!$L83,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K83=\"Small Patch\",'Calculator Table'!$L83,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K83=\"Matrix\",'Calculator Table'!$L83,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M83&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N83&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O83&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P83&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q83&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R83&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S83&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T83&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U83&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V83&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W83&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X83&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y83)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z83)&\", version_author=\"&AddQuotes('Calculator Table'!$AA83)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB83,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC83)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE83)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF83)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG83)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH83)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI83)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ83)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK83)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL83)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM83)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN83)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO83)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP83)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F83&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS84>0,'Rk Assign'!D84,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS84>0,Calculate!$AV84,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ84:$BL84<>\"U\")*($AQ84:$BL84>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ84:$BL84<>\"U\")*($AQ84:$BL84>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ84:$BL84<>\"U\")*($AQ84:$BL84>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K84:$R84<>\"Z\")*($K84:$R84>\"\")*NOT(ISERROR($K84:$R84)))+SUM(($K$4:$R$4=\"A\")*($K84:$R84<>\"A\")*($K84:$R84>\"\")*NOT(ISERROR($K84:$R84)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K84:$R84=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ84:$BL84=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B84)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B84)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD84,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F84&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A84)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E84)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K84&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E84=\"Small Patch\",E84=\"Matrix\")),'Calculator Table'!$L84,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E84=\"Small Patch\",'Calculator Table'!$L84,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E84=\"Matrix\",'Calculator Table'!$L84,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M84&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N84&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O84&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P84&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q84&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R84&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S84&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T84&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U84&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V84&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W84&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X84&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y84)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z84)&\", version_author=\"&AddQuotes('Calculator Table'!$AA84)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB84,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC84)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE84)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF84)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG84)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH84)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI84)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ84)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK84)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL84)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM84)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN84)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO84)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP84)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F84&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B84)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B84)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD84,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F84&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A84)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E84)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K84&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H84=\"Small Patch\",H84=\"Matrix\")),'Calculator Table'!$L84,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H84=\"Small Patch\",'Calculator Table'!$L84,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H84=\"Matrix\",'Calculator Table'!$L84,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M84&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N84&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O84&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P84&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q84&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R84&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S84&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T84&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U84&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V84&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W84&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X84&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y84)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z84)&\", version_author=\"&AddQuotes('Calculator Table'!$AA84)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB84,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC84)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE84)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF84)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG84)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH84)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI84)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ84)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK84)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL84)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM84)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN84)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO84)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP84)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F84&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B84)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B84)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD84,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F84&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A84)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E84)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K84&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K84=\"Small Patch\",K84=\"Matrix\")),'Calculator Table'!$L84,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K84=\"Small Patch\",'Calculator Table'!$L84,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K84=\"Matrix\",'Calculator Table'!$L84,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M84&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N84&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O84&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P84&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q84&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R84&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S84&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T84&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U84&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V84&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W84&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X84&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y84)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z84)&\", version_author=\"&AddQuotes('Calculator Table'!$AA84)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB84,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC84)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE84)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF84)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG84)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH84)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI84)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ84)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK84)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL84)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM84)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN84)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO84)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP84)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F84&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS85>0,'Rk Assign'!D85,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS85>0,Calculate!$AV85,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ85:$BL85<>\"U\")*($AQ85:$BL85>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ85:$BL85<>\"U\")*($AQ85:$BL85>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ85:$BL85<>\"U\")*($AQ85:$BL85>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K85:$R85<>\"Z\")*($K85:$R85>\"\")*NOT(ISERROR($K85:$R85)))+SUM(($K$4:$R$4=\"A\")*($K85:$R85<>\"A\")*($K85:$R85>\"\")*NOT(ISERROR($K85:$R85)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K85:$R85=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ85:$BL85=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B85)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B85)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD85,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F85&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A85)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E85)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K85&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E85=\"Small Patch\",E85=\"Matrix\")),'Calculator Table'!$L85,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E85=\"Small Patch\",'Calculator Table'!$L85,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E85=\"Matrix\",'Calculator Table'!$L85,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M85&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N85&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O85&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P85&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q85&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R85&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S85&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T85&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U85&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V85&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W85&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X85&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y85)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z85)&\", version_author=\"&AddQuotes('Calculator Table'!$AA85)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB85,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC85)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE85)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF85)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG85)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH85)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI85)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ85)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK85)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL85)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM85)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN85)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO85)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP85)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F85&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B85)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B85)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD85,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F85&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A85)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E85)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K85&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H85=\"Small Patch\",H85=\"Matrix\")),'Calculator Table'!$L85,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H85=\"Small Patch\",'Calculator Table'!$L85,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H85=\"Matrix\",'Calculator Table'!$L85,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M85&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N85&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O85&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P85&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q85&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R85&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S85&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T85&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U85&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V85&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W85&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X85&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y85)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z85)&\", version_author=\"&AddQuotes('Calculator Table'!$AA85)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB85,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC85)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE85)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF85)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG85)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH85)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI85)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ85)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK85)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL85)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM85)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN85)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO85)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP85)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F85&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B85)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B85)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD85,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F85&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A85)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E85)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K85&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K85=\"Small Patch\",K85=\"Matrix\")),'Calculator Table'!$L85,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K85=\"Small Patch\",'Calculator Table'!$L85,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K85=\"Matrix\",'Calculator Table'!$L85,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M85&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N85&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O85&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P85&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q85&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R85&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S85&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T85&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U85&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V85&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W85&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X85&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y85)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z85)&\", version_author=\"&AddQuotes('Calculator Table'!$AA85)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB85,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC85)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE85)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF85)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG85)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH85)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI85)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ85)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK85)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL85)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM85)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN85)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO85)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP85)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F85&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS86>0,'Rk Assign'!D86,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS86>0,Calculate!$AV86,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ86:$BL86<>\"U\")*($AQ86:$BL86>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ86:$BL86<>\"U\")*($AQ86:$BL86>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ86:$BL86<>\"U\")*($AQ86:$BL86>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K86:$R86<>\"Z\")*($K86:$R86>\"\")*NOT(ISERROR($K86:$R86)))+SUM(($K$4:$R$4=\"A\")*($K86:$R86<>\"A\")*($K86:$R86>\"\")*NOT(ISERROR($K86:$R86)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K86:$R86=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ86:$BL86=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B86)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B86)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD86,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F86&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A86)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E86)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K86&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E86=\"Small Patch\",E86=\"Matrix\")),'Calculator Table'!$L86,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E86=\"Small Patch\",'Calculator Table'!$L86,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E86=\"Matrix\",'Calculator Table'!$L86,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M86&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N86&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O86&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P86&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q86&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R86&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S86&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T86&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U86&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V86&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W86&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X86&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y86)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z86)&\", version_author=\"&AddQuotes('Calculator Table'!$AA86)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB86,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC86)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE86)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF86)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG86)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH86)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI86)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ86)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK86)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL86)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM86)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN86)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO86)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP86)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F86&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B86)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B86)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD86,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F86&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A86)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E86)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K86&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H86=\"Small Patch\",H86=\"Matrix\")),'Calculator Table'!$L86,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H86=\"Small Patch\",'Calculator Table'!$L86,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H86=\"Matrix\",'Calculator Table'!$L86,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M86&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N86&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O86&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P86&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q86&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R86&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S86&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T86&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U86&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V86&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W86&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X86&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y86)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z86)&\", version_author=\"&AddQuotes('Calculator Table'!$AA86)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB86,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC86)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE86)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF86)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG86)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH86)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI86)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ86)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK86)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL86)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM86)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN86)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO86)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP86)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F86&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B86)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B86)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD86,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F86&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A86)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E86)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K86&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K86=\"Small Patch\",K86=\"Matrix\")),'Calculator Table'!$L86,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K86=\"Small Patch\",'Calculator Table'!$L86,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K86=\"Matrix\",'Calculator Table'!$L86,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M86&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N86&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O86&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P86&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q86&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R86&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S86&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T86&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U86&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V86&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W86&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X86&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y86)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z86)&\", version_author=\"&AddQuotes('Calculator Table'!$AA86)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB86,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC86)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE86)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF86)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG86)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH86)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI86)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ86)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK86)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL86)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM86)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN86)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO86)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP86)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F86&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS87>0,'Rk Assign'!D87,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS87>0,Calculate!$AV87,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ87:$BL87<>\"U\")*($AQ87:$BL87>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ87:$BL87<>\"U\")*($AQ87:$BL87>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ87:$BL87<>\"U\")*($AQ87:$BL87>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K87:$R87<>\"Z\")*($K87:$R87>\"\")*NOT(ISERROR($K87:$R87)))+SUM(($K$4:$R$4=\"A\")*($K87:$R87<>\"A\")*($K87:$R87>\"\")*NOT(ISERROR($K87:$R87)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K87:$R87=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ87:$BL87=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B87)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B87)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD87,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F87&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A87)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E87)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K87&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E87=\"Small Patch\",E87=\"Matrix\")),'Calculator Table'!$L87,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E87=\"Small Patch\",'Calculator Table'!$L87,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E87=\"Matrix\",'Calculator Table'!$L87,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M87&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N87&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O87&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P87&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q87&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R87&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S87&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T87&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U87&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V87&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W87&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X87&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y87)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z87)&\", version_author=\"&AddQuotes('Calculator Table'!$AA87)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB87,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC87)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE87)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF87)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG87)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH87)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI87)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ87)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK87)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL87)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM87)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN87)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO87)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP87)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F87&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B87)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B87)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD87,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F87&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A87)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E87)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K87&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H87=\"Small Patch\",H87=\"Matrix\")),'Calculator Table'!$L87,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H87=\"Small Patch\",'Calculator Table'!$L87,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H87=\"Matrix\",'Calculator Table'!$L87,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M87&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N87&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O87&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P87&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q87&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R87&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S87&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T87&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U87&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V87&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W87&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X87&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y87)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z87)&\", version_author=\"&AddQuotes('Calculator Table'!$AA87)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB87,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC87)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE87)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF87)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG87)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH87)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI87)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ87)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK87)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL87)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM87)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN87)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO87)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP87)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F87&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B87)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B87)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD87,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F87&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A87)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E87)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K87&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K87=\"Small Patch\",K87=\"Matrix\")),'Calculator Table'!$L87,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K87=\"Small Patch\",'Calculator Table'!$L87,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K87=\"Matrix\",'Calculator Table'!$L87,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M87&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N87&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O87&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P87&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q87&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R87&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S87&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T87&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U87&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V87&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W87&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X87&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y87)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z87)&\", version_author=\"&AddQuotes('Calculator Table'!$AA87)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB87,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC87)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE87)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF87)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG87)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH87)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI87)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ87)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK87)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL87)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM87)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN87)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO87)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP87)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F87&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS88>0,'Rk Assign'!D88,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS88>0,Calculate!$AV88,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ88:$BL88<>\"U\")*($AQ88:$BL88>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ88:$BL88<>\"U\")*($AQ88:$BL88>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ88:$BL88<>\"U\")*($AQ88:$BL88>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K88:$R88<>\"Z\")*($K88:$R88>\"\")*NOT(ISERROR($K88:$R88)))+SUM(($K$4:$R$4=\"A\")*($K88:$R88<>\"A\")*($K88:$R88>\"\")*NOT(ISERROR($K88:$R88)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K88:$R88=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ88:$BL88=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B88)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B88)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD88,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F88&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A88)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E88)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K88&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E88=\"Small Patch\",E88=\"Matrix\")),'Calculator Table'!$L88,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E88=\"Small Patch\",'Calculator Table'!$L88,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E88=\"Matrix\",'Calculator Table'!$L88,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M88&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N88&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O88&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P88&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q88&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R88&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S88&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T88&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U88&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V88&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W88&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X88&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y88)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z88)&\", version_author=\"&AddQuotes('Calculator Table'!$AA88)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB88,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC88)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE88)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF88)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG88)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH88)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI88)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ88)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK88)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL88)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM88)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN88)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO88)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP88)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F88&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B88)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B88)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD88,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F88&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A88)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E88)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K88&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H88=\"Small Patch\",H88=\"Matrix\")),'Calculator Table'!$L88,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H88=\"Small Patch\",'Calculator Table'!$L88,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H88=\"Matrix\",'Calculator Table'!$L88,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M88&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N88&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O88&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P88&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q88&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R88&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S88&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T88&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U88&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V88&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W88&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X88&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y88)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z88)&\", version_author=\"&AddQuotes('Calculator Table'!$AA88)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB88,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC88)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE88)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF88)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG88)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH88)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI88)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ88)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK88)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL88)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM88)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN88)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO88)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP88)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F88&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B88)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B88)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD88,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F88&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A88)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E88)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K88&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K88=\"Small Patch\",K88=\"Matrix\")),'Calculator Table'!$L88,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K88=\"Small Patch\",'Calculator Table'!$L88,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K88=\"Matrix\",'Calculator Table'!$L88,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M88&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N88&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O88&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P88&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q88&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R88&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S88&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T88&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U88&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V88&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W88&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X88&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y88)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z88)&\", version_author=\"&AddQuotes('Calculator Table'!$AA88)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB88,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC88)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE88)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF88)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG88)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH88)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI88)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ88)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK88)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL88)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM88)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN88)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO88)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP88)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F88&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS89>0,'Rk Assign'!D89,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS89>0,Calculate!$AV89,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ89:$BL89<>\"U\")*($AQ89:$BL89>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ89:$BL89<>\"U\")*($AQ89:$BL89>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ89:$BL89<>\"U\")*($AQ89:$BL89>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K89:$R89<>\"Z\")*($K89:$R89>\"\")*NOT(ISERROR($K89:$R89)))+SUM(($K$4:$R$4=\"A\")*($K89:$R89<>\"A\")*($K89:$R89>\"\")*NOT(ISERROR($K89:$R89)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K89:$R89=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ89:$BL89=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B89)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B89)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD89,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F89&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A89)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E89)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K89&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E89=\"Small Patch\",E89=\"Matrix\")),'Calculator Table'!$L89,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E89=\"Small Patch\",'Calculator Table'!$L89,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E89=\"Matrix\",'Calculator Table'!$L89,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M89&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N89&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O89&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P89&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q89&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R89&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S89&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T89&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U89&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V89&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W89&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X89&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y89)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z89)&\", version_author=\"&AddQuotes('Calculator Table'!$AA89)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB89,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC89)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE89)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF89)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG89)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH89)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI89)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ89)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK89)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL89)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM89)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN89)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO89)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP89)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F89&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B89)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B89)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD89,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F89&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A89)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E89)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K89&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H89=\"Small Patch\",H89=\"Matrix\")),'Calculator Table'!$L89,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H89=\"Small Patch\",'Calculator Table'!$L89,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H89=\"Matrix\",'Calculator Table'!$L89,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M89&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N89&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O89&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P89&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q89&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R89&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S89&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T89&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U89&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V89&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W89&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X89&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y89)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z89)&\", version_author=\"&AddQuotes('Calculator Table'!$AA89)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB89,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC89)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE89)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF89)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG89)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH89)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI89)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ89)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK89)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL89)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM89)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN89)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO89)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP89)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F89&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B89)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B89)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD89,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F89&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A89)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E89)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K89&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K89=\"Small Patch\",K89=\"Matrix\")),'Calculator Table'!$L89,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K89=\"Small Patch\",'Calculator Table'!$L89,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K89=\"Matrix\",'Calculator Table'!$L89,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M89&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N89&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O89&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P89&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q89&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R89&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S89&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T89&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U89&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V89&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W89&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X89&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y89)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z89)&\", version_author=\"&AddQuotes('Calculator Table'!$AA89)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB89,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC89)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE89)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF89)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG89)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH89)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI89)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ89)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK89)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL89)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM89)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN89)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO89)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP89)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F89&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS90>0,'Rk Assign'!D90,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS90>0,Calculate!$AV90,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ90:$BL90<>\"U\")*($AQ90:$BL90>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ90:$BL90<>\"U\")*($AQ90:$BL90>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ90:$BL90<>\"U\")*($AQ90:$BL90>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K90:$R90<>\"Z\")*($K90:$R90>\"\")*NOT(ISERROR($K90:$R90)))+SUM(($K$4:$R$4=\"A\")*($K90:$R90<>\"A\")*($K90:$R90>\"\")*NOT(ISERROR($K90:$R90)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K90:$R90=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ90:$BL90=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B90)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B90)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD90,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F90&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A90)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E90)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K90&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E90=\"Small Patch\",E90=\"Matrix\")),'Calculator Table'!$L90,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E90=\"Small Patch\",'Calculator Table'!$L90,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E90=\"Matrix\",'Calculator Table'!$L90,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M90&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N90&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O90&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P90&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q90&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R90&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S90&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T90&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U90&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V90&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W90&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X90&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y90)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z90)&\", version_author=\"&AddQuotes('Calculator Table'!$AA90)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB90,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC90)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE90)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF90)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG90)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH90)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI90)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ90)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK90)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL90)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM90)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN90)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO90)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP90)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F90&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B90)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B90)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD90,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F90&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A90)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E90)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K90&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H90=\"Small Patch\",H90=\"Matrix\")),'Calculator Table'!$L90,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H90=\"Small Patch\",'Calculator Table'!$L90,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H90=\"Matrix\",'Calculator Table'!$L90,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M90&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N90&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O90&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P90&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q90&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R90&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S90&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T90&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U90&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V90&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W90&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X90&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y90)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z90)&\", version_author=\"&AddQuotes('Calculator Table'!$AA90)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB90,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC90)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE90)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF90)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG90)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH90)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI90)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ90)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK90)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL90)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM90)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN90)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO90)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP90)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F90&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B90)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B90)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD90,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F90&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A90)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E90)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K90&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K90=\"Small Patch\",K90=\"Matrix\")),'Calculator Table'!$L90,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K90=\"Small Patch\",'Calculator Table'!$L90,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K90=\"Matrix\",'Calculator Table'!$L90,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M90&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N90&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O90&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P90&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q90&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R90&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S90&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T90&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U90&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V90&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W90&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X90&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y90)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z90)&\", version_author=\"&AddQuotes('Calculator Table'!$AA90)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB90,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC90)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE90)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF90)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG90)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH90)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI90)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ90)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK90)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL90)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM90)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN90)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO90)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP90)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F90&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS91>0,'Rk Assign'!D91,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS91>0,Calculate!$AV91,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ91:$BL91<>\"U\")*($AQ91:$BL91>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ91:$BL91<>\"U\")*($AQ91:$BL91>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ91:$BL91<>\"U\")*($AQ91:$BL91>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K91:$R91<>\"Z\")*($K91:$R91>\"\")*NOT(ISERROR($K91:$R91)))+SUM(($K$4:$R$4=\"A\")*($K91:$R91<>\"A\")*($K91:$R91>\"\")*NOT(ISERROR($K91:$R91)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K91:$R91=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ91:$BL91=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B91)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B91)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD91,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F91&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A91)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E91)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K91&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E91=\"Small Patch\",E91=\"Matrix\")),'Calculator Table'!$L91,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E91=\"Small Patch\",'Calculator Table'!$L91,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E91=\"Matrix\",'Calculator Table'!$L91,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M91&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N91&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O91&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P91&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q91&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R91&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S91&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T91&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U91&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V91&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W91&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X91&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y91)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z91)&\", version_author=\"&AddQuotes('Calculator Table'!$AA91)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB91,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC91)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE91)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF91)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG91)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH91)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI91)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ91)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK91)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL91)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM91)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN91)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO91)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP91)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F91&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B91)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B91)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD91,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F91&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A91)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E91)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K91&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H91=\"Small Patch\",H91=\"Matrix\")),'Calculator Table'!$L91,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H91=\"Small Patch\",'Calculator Table'!$L91,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H91=\"Matrix\",'Calculator Table'!$L91,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M91&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N91&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O91&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P91&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q91&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R91&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S91&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T91&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U91&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V91&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W91&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X91&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y91)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z91)&\", version_author=\"&AddQuotes('Calculator Table'!$AA91)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB91,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC91)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE91)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF91)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG91)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH91)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI91)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ91)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK91)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL91)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM91)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN91)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO91)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP91)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F91&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B91)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B91)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD91,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F91&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A91)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E91)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K91&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K91=\"Small Patch\",K91=\"Matrix\")),'Calculator Table'!$L91,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K91=\"Small Patch\",'Calculator Table'!$L91,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K91=\"Matrix\",'Calculator Table'!$L91,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M91&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N91&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O91&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P91&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q91&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R91&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S91&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T91&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U91&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V91&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W91&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X91&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y91)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z91)&\", version_author=\"&AddQuotes('Calculator Table'!$AA91)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB91,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC91)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE91)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF91)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG91)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH91)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI91)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ91)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK91)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL91)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM91)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN91)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO91)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP91)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F91&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS92>0,'Rk Assign'!D92,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS92>0,Calculate!$AV92,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ92:$BL92<>\"U\")*($AQ92:$BL92>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ92:$BL92<>\"U\")*($AQ92:$BL92>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ92:$BL92<>\"U\")*($AQ92:$BL92>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K92:$R92<>\"Z\")*($K92:$R92>\"\")*NOT(ISERROR($K92:$R92)))+SUM(($K$4:$R$4=\"A\")*($K92:$R92<>\"A\")*($K92:$R92>\"\")*NOT(ISERROR($K92:$R92)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K92:$R92=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ92:$BL92=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B92)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B92)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD92,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F92&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A92)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E92)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K92&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E92=\"Small Patch\",E92=\"Matrix\")),'Calculator Table'!$L92,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E92=\"Small Patch\",'Calculator Table'!$L92,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E92=\"Matrix\",'Calculator Table'!$L92,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M92&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N92&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O92&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P92&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q92&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R92&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S92&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T92&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U92&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V92&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W92&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X92&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y92)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z92)&\", version_author=\"&AddQuotes('Calculator Table'!$AA92)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB92,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC92)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE92)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF92)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG92)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH92)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI92)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ92)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK92)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL92)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM92)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN92)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO92)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP92)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F92&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B92)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B92)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD92,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F92&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A92)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E92)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K92&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H92=\"Small Patch\",H92=\"Matrix\")),'Calculator Table'!$L92,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H92=\"Small Patch\",'Calculator Table'!$L92,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H92=\"Matrix\",'Calculator Table'!$L92,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M92&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N92&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O92&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P92&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q92&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R92&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S92&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T92&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U92&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V92&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W92&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X92&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y92)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z92)&\", version_author=\"&AddQuotes('Calculator Table'!$AA92)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB92,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC92)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE92)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF92)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG92)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH92)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI92)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ92)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK92)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL92)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM92)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN92)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO92)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP92)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F92&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B92)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B92)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD92,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F92&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A92)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E92)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K92&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K92=\"Small Patch\",K92=\"Matrix\")),'Calculator Table'!$L92,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K92=\"Small Patch\",'Calculator Table'!$L92,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K92=\"Matrix\",'Calculator Table'!$L92,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M92&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N92&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O92&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P92&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q92&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R92&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S92&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T92&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U92&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V92&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W92&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X92&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y92)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z92)&\", version_author=\"&AddQuotes('Calculator Table'!$AA92)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB92,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC92)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE92)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF92)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG92)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH92)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI92)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ92)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK92)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL92)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM92)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN92)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO92)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP92)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F92&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS93>0,'Rk Assign'!D93,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS93>0,Calculate!$AV93,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ93:$BL93<>\"U\")*($AQ93:$BL93>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ93:$BL93<>\"U\")*($AQ93:$BL93>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ93:$BL93<>\"U\")*($AQ93:$BL93>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K93:$R93<>\"Z\")*($K93:$R93>\"\")*NOT(ISERROR($K93:$R93)))+SUM(($K$4:$R$4=\"A\")*($K93:$R93<>\"A\")*($K93:$R93>\"\")*NOT(ISERROR($K93:$R93)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K93:$R93=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ93:$BL93=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B93)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B93)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD93,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F93&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A93)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E93)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K93&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E93=\"Small Patch\",E93=\"Matrix\")),'Calculator Table'!$L93,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E93=\"Small Patch\",'Calculator Table'!$L93,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E93=\"Matrix\",'Calculator Table'!$L93,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M93&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N93&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O93&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P93&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q93&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R93&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S93&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T93&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U93&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V93&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W93&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X93&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y93)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z93)&\", version_author=\"&AddQuotes('Calculator Table'!$AA93)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB93,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC93)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE93)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF93)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG93)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH93)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI93)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ93)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK93)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL93)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM93)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN93)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO93)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP93)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F93&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B93)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B93)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD93,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F93&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A93)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E93)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K93&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H93=\"Small Patch\",H93=\"Matrix\")),'Calculator Table'!$L93,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H93=\"Small Patch\",'Calculator Table'!$L93,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H93=\"Matrix\",'Calculator Table'!$L93,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M93&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N93&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O93&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P93&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q93&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R93&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S93&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T93&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U93&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V93&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W93&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X93&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y93)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z93)&\", version_author=\"&AddQuotes('Calculator Table'!$AA93)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB93,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC93)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE93)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF93)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG93)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH93)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI93)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ93)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK93)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL93)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM93)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN93)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO93)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP93)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F93&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B93)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B93)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD93,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F93&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A93)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E93)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K93&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K93=\"Small Patch\",K93=\"Matrix\")),'Calculator Table'!$L93,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K93=\"Small Patch\",'Calculator Table'!$L93,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K93=\"Matrix\",'Calculator Table'!$L93,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M93&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N93&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O93&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P93&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q93&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R93&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S93&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T93&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U93&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V93&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W93&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X93&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y93)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z93)&\", version_author=\"&AddQuotes('Calculator Table'!$AA93)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB93,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC93)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE93)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF93)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG93)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH93)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI93)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ93)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK93)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL93)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM93)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN93)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO93)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP93)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F93&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS94>0,'Rk Assign'!D94,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS94>0,Calculate!$AV94,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ94:$BL94<>\"U\")*($AQ94:$BL94>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ94:$BL94<>\"U\")*($AQ94:$BL94>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ94:$BL94<>\"U\")*($AQ94:$BL94>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K94:$R94<>\"Z\")*($K94:$R94>\"\")*NOT(ISERROR($K94:$R94)))+SUM(($K$4:$R$4=\"A\")*($K94:$R94<>\"A\")*($K94:$R94>\"\")*NOT(ISERROR($K94:$R94)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K94:$R94=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ94:$BL94=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B94)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B94)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD94,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F94&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A94)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E94)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K94&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E94=\"Small Patch\",E94=\"Matrix\")),'Calculator Table'!$L94,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E94=\"Small Patch\",'Calculator Table'!$L94,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E94=\"Matrix\",'Calculator Table'!$L94,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M94&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N94&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O94&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P94&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q94&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R94&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S94&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T94&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U94&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V94&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W94&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X94&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y94)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z94)&\", version_author=\"&AddQuotes('Calculator Table'!$AA94)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB94,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC94)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE94)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF94)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG94)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH94)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI94)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ94)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK94)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL94)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM94)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN94)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO94)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP94)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F94&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B94)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B94)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD94,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F94&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A94)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E94)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K94&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H94=\"Small Patch\",H94=\"Matrix\")),'Calculator Table'!$L94,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H94=\"Small Patch\",'Calculator Table'!$L94,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H94=\"Matrix\",'Calculator Table'!$L94,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M94&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N94&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O94&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P94&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q94&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R94&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S94&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T94&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U94&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V94&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W94&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X94&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y94)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z94)&\", version_author=\"&AddQuotes('Calculator Table'!$AA94)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB94,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC94)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE94)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF94)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG94)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH94)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI94)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ94)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK94)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL94)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM94)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN94)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO94)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP94)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F94&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B94)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B94)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD94,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F94&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A94)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E94)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K94&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K94=\"Small Patch\",K94=\"Matrix\")),'Calculator Table'!$L94,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K94=\"Small Patch\",'Calculator Table'!$L94,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K94=\"Matrix\",'Calculator Table'!$L94,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M94&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N94&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O94&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P94&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q94&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R94&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S94&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T94&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U94&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V94&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W94&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X94&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y94)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z94)&\", version_author=\"&AddQuotes('Calculator Table'!$AA94)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB94,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC94)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE94)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF94)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG94)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH94)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI94)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ94)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK94)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL94)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM94)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN94)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO94)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP94)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F94&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS95>0,'Rk Assign'!D95,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS95>0,Calculate!$AV95,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ95:$BL95<>\"U\")*($AQ95:$BL95>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ95:$BL95<>\"U\")*($AQ95:$BL95>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ95:$BL95<>\"U\")*($AQ95:$BL95>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K95:$R95<>\"Z\")*($K95:$R95>\"\")*NOT(ISERROR($K95:$R95)))+SUM(($K$4:$R$4=\"A\")*($K95:$R95<>\"A\")*($K95:$R95>\"\")*NOT(ISERROR($K95:$R95)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K95:$R95=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ95:$BL95=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B95)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B95)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD95,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F95&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A95)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E95)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K95&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E95=\"Small Patch\",E95=\"Matrix\")),'Calculator Table'!$L95,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E95=\"Small Patch\",'Calculator Table'!$L95,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E95=\"Matrix\",'Calculator Table'!$L95,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M95&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N95&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O95&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P95&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q95&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R95&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S95&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T95&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U95&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V95&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W95&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X95&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y95)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z95)&\", version_author=\"&AddQuotes('Calculator Table'!$AA95)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB95,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC95)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE95)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF95)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG95)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH95)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI95)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ95)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK95)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL95)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM95)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN95)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO95)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP95)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F95&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B95)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B95)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD95,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F95&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A95)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E95)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K95&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H95=\"Small Patch\",H95=\"Matrix\")),'Calculator Table'!$L95,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H95=\"Small Patch\",'Calculator Table'!$L95,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H95=\"Matrix\",'Calculator Table'!$L95,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M95&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N95&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O95&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P95&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q95&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R95&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S95&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T95&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U95&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V95&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W95&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X95&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y95)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z95)&\", version_author=\"&AddQuotes('Calculator Table'!$AA95)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB95,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC95)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE95)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF95)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG95)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH95)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI95)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ95)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK95)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL95)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM95)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN95)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO95)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP95)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F95&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B95)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B95)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD95,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F95&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A95)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E95)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K95&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K95=\"Small Patch\",K95=\"Matrix\")),'Calculator Table'!$L95,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K95=\"Small Patch\",'Calculator Table'!$L95,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K95=\"Matrix\",'Calculator Table'!$L95,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M95&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N95&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O95&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P95&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q95&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R95&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S95&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T95&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U95&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V95&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W95&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X95&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y95)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z95)&\", version_author=\"&AddQuotes('Calculator Table'!$AA95)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB95,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC95)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE95)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF95)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG95)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH95)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI95)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ95)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK95)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL95)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM95)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN95)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO95)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP95)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F95&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS96>0,'Rk Assign'!D96,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS96>0,Calculate!$AV96,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ96:$BL96<>\"U\")*($AQ96:$BL96>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ96:$BL96<>\"U\")*($AQ96:$BL96>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ96:$BL96<>\"U\")*($AQ96:$BL96>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K96:$R96<>\"Z\")*($K96:$R96>\"\")*NOT(ISERROR($K96:$R96)))+SUM(($K$4:$R$4=\"A\")*($K96:$R96<>\"A\")*($K96:$R96>\"\")*NOT(ISERROR($K96:$R96)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K96:$R96=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ96:$BL96=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B96)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B96)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD96,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F96&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A96)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E96)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K96&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E96=\"Small Patch\",E96=\"Matrix\")),'Calculator Table'!$L96,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E96=\"Small Patch\",'Calculator Table'!$L96,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E96=\"Matrix\",'Calculator Table'!$L96,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M96&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N96&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O96&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P96&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q96&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R96&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S96&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T96&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U96&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V96&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W96&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X96&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y96)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z96)&\", version_author=\"&AddQuotes('Calculator Table'!$AA96)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB96,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC96)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE96)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF96)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG96)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH96)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI96)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ96)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK96)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL96)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM96)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN96)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO96)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP96)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F96&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B96)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B96)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD96,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F96&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A96)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E96)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K96&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H96=\"Small Patch\",H96=\"Matrix\")),'Calculator Table'!$L96,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H96=\"Small Patch\",'Calculator Table'!$L96,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H96=\"Matrix\",'Calculator Table'!$L96,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M96&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N96&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O96&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P96&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q96&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R96&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S96&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T96&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U96&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V96&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W96&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X96&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y96)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z96)&\", version_author=\"&AddQuotes('Calculator Table'!$AA96)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB96,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC96)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE96)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF96)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG96)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH96)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI96)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ96)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK96)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL96)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM96)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN96)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO96)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP96)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F96&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B96)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B96)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD96,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F96&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A96)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E96)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K96&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K96=\"Small Patch\",K96=\"Matrix\")),'Calculator Table'!$L96,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K96=\"Small Patch\",'Calculator Table'!$L96,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K96=\"Matrix\",'Calculator Table'!$L96,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M96&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N96&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O96&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P96&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q96&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R96&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S96&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T96&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U96&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V96&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W96&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X96&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y96)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z96)&\", version_author=\"&AddQuotes('Calculator Table'!$AA96)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB96,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC96)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE96)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF96)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG96)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH96)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI96)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ96)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK96)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL96)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM96)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN96)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO96)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP96)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F96&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS97>0,'Rk Assign'!D97,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS97>0,Calculate!$AV97,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ97:$BL97<>\"U\")*($AQ97:$BL97>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ97:$BL97<>\"U\")*($AQ97:$BL97>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ97:$BL97<>\"U\")*($AQ97:$BL97>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K97:$R97<>\"Z\")*($K97:$R97>\"\")*NOT(ISERROR($K97:$R97)))+SUM(($K$4:$R$4=\"A\")*($K97:$R97<>\"A\")*($K97:$R97>\"\")*NOT(ISERROR($K97:$R97)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K97:$R97=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ97:$BL97=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B97)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B97)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD97,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F97&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A97)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E97)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K97&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E97=\"Small Patch\",E97=\"Matrix\")),'Calculator Table'!$L97,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E97=\"Small Patch\",'Calculator Table'!$L97,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E97=\"Matrix\",'Calculator Table'!$L97,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M97&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N97&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O97&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P97&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q97&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R97&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S97&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T97&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U97&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V97&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W97&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X97&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y97)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z97)&\", version_author=\"&AddQuotes('Calculator Table'!$AA97)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB97,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC97)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE97)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF97)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG97)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH97)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI97)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ97)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK97)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL97)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM97)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN97)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO97)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP97)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F97&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B97)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B97)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD97,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F97&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A97)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E97)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K97&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H97=\"Small Patch\",H97=\"Matrix\")),'Calculator Table'!$L97,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H97=\"Small Patch\",'Calculator Table'!$L97,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H97=\"Matrix\",'Calculator Table'!$L97,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M97&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N97&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O97&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P97&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q97&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R97&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S97&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T97&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U97&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V97&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W97&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X97&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y97)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z97)&\", version_author=\"&AddQuotes('Calculator Table'!$AA97)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB97,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC97)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE97)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF97)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG97)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH97)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI97)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ97)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK97)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL97)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM97)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN97)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO97)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP97)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F97&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B97)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B97)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD97,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F97&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A97)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E97)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K97&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K97=\"Small Patch\",K97=\"Matrix\")),'Calculator Table'!$L97,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K97=\"Small Patch\",'Calculator Table'!$L97,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K97=\"Matrix\",'Calculator Table'!$L97,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M97&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N97&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O97&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P97&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q97&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R97&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S97&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T97&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U97&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V97&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W97&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X97&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y97)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z97)&\", version_author=\"&AddQuotes('Calculator Table'!$AA97)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB97,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC97)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE97)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF97)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG97)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH97)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI97)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ97)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK97)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL97)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM97)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN97)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO97)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP97)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F97&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS98>0,'Rk Assign'!D98,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS98>0,Calculate!$AV98,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ98:$BL98<>\"U\")*($AQ98:$BL98>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ98:$BL98<>\"U\")*($AQ98:$BL98>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ98:$BL98<>\"U\")*($AQ98:$BL98>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K98:$R98<>\"Z\")*($K98:$R98>\"\")*NOT(ISERROR($K98:$R98)))+SUM(($K$4:$R$4=\"A\")*($K98:$R98<>\"A\")*($K98:$R98>\"\")*NOT(ISERROR($K98:$R98)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K98:$R98=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ98:$BL98=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B98)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B98)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD98,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F98&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A98)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E98)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K98&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E98=\"Small Patch\",E98=\"Matrix\")),'Calculator Table'!$L98,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E98=\"Small Patch\",'Calculator Table'!$L98,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E98=\"Matrix\",'Calculator Table'!$L98,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M98&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N98&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O98&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P98&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q98&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R98&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S98&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T98&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U98&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V98&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W98&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X98&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y98)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z98)&\", version_author=\"&AddQuotes('Calculator Table'!$AA98)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB98,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC98)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE98)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF98)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG98)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH98)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI98)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ98)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK98)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL98)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM98)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN98)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO98)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP98)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F98&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B98)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B98)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD98,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F98&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A98)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E98)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K98&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H98=\"Small Patch\",H98=\"Matrix\")),'Calculator Table'!$L98,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H98=\"Small Patch\",'Calculator Table'!$L98,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H98=\"Matrix\",'Calculator Table'!$L98,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M98&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N98&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O98&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P98&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q98&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R98&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S98&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T98&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U98&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V98&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W98&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X98&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y98)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z98)&\", version_author=\"&AddQuotes('Calculator Table'!$AA98)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB98,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC98)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE98)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF98)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG98)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH98)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI98)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ98)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK98)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL98)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM98)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN98)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO98)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP98)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F98&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B98)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B98)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD98,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F98&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A98)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E98)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K98&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K98=\"Small Patch\",K98=\"Matrix\")),'Calculator Table'!$L98,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K98=\"Small Patch\",'Calculator Table'!$L98,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K98=\"Matrix\",'Calculator Table'!$L98,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M98&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N98&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O98&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P98&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q98&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R98&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S98&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T98&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U98&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V98&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W98&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X98&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y98)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z98)&\", version_author=\"&AddQuotes('Calculator Table'!$AA98)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB98,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC98)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE98)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF98)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG98)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH98)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI98)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ98)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK98)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL98)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM98)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN98)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO98)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP98)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F98&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS99>0,'Rk Assign'!D99,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS99>0,Calculate!$AV99,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ99:$BL99<>\"U\")*($AQ99:$BL99>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ99:$BL99<>\"U\")*($AQ99:$BL99>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ99:$BL99<>\"U\")*($AQ99:$BL99>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K99:$R99<>\"Z\")*($K99:$R99>\"\")*NOT(ISERROR($K99:$R99)))+SUM(($K$4:$R$4=\"A\")*($K99:$R99<>\"A\")*($K99:$R99>\"\")*NOT(ISERROR($K99:$R99)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K99:$R99=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ99:$BL99=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B99)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B99)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD99,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F99&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A99)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E99)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K99&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E99=\"Small Patch\",E99=\"Matrix\")),'Calculator Table'!$L99,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E99=\"Small Patch\",'Calculator Table'!$L99,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E99=\"Matrix\",'Calculator Table'!$L99,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M99&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N99&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O99&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P99&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q99&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R99&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S99&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T99&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U99&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V99&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W99&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X99&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y99)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z99)&\", version_author=\"&AddQuotes('Calculator Table'!$AA99)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB99,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC99)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE99)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF99)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG99)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH99)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI99)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ99)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK99)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL99)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM99)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN99)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO99)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP99)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F99&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B99)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B99)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD99,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F99&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A99)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E99)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K99&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H99=\"Small Patch\",H99=\"Matrix\")),'Calculator Table'!$L99,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H99=\"Small Patch\",'Calculator Table'!$L99,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H99=\"Matrix\",'Calculator Table'!$L99,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M99&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N99&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O99&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P99&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q99&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R99&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S99&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T99&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U99&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V99&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W99&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X99&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y99)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z99)&\", version_author=\"&AddQuotes('Calculator Table'!$AA99)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB99,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC99)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE99)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF99)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG99)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH99)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI99)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ99)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK99)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL99)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM99)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN99)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO99)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP99)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F99&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B99)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B99)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD99,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F99&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A99)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E99)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K99&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K99=\"Small Patch\",K99=\"Matrix\")),'Calculator Table'!$L99,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K99=\"Small Patch\",'Calculator Table'!$L99,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K99=\"Matrix\",'Calculator Table'!$L99,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M99&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N99&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O99&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P99&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q99&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R99&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S99&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T99&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U99&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V99&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W99&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X99&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y99)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z99)&\", version_author=\"&AddQuotes('Calculator Table'!$AA99)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB99,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC99)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE99)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF99)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG99)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH99)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI99)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ99)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK99)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL99)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM99)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN99)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO99)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP99)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F99&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS100>0,'Rk Assign'!D100,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS100>0,Calculate!$AV100,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ100:$BL100<>\"U\")*($AQ100:$BL100>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ100:$BL100<>\"U\")*($AQ100:$BL100>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ100:$BL100<>\"U\")*($AQ100:$BL100>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K100:$R100<>\"Z\")*($K100:$R100>\"\")*NOT(ISERROR($K100:$R100)))+SUM(($K$4:$R$4=\"A\")*($K100:$R100<>\"A\")*($K100:$R100>\"\")*NOT(ISERROR($K100:$R100)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K100:$R100=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ100:$BL100=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B100)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B100)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD100,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F100&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A100)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E100)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K100&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E100=\"Small Patch\",E100=\"Matrix\")),'Calculator Table'!$L100,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E100=\"Small Patch\",'Calculator Table'!$L100,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E100=\"Matrix\",'Calculator Table'!$L100,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M100&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N100&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O100&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P100&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q100&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R100&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S100&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T100&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U100&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V100&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W100&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X100&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y100)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z100)&\", version_author=\"&AddQuotes('Calculator Table'!$AA100)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB100,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC100)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE100)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF100)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG100)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH100)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI100)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ100)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK100)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL100)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM100)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN100)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO100)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP100)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F100&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B100)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B100)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD100,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F100&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A100)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E100)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K100&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H100=\"Small Patch\",H100=\"Matrix\")),'Calculator Table'!$L100,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H100=\"Small Patch\",'Calculator Table'!$L100,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H100=\"Matrix\",'Calculator Table'!$L100,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M100&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N100&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O100&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P100&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q100&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R100&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S100&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T100&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U100&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V100&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W100&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X100&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y100)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z100)&\", version_author=\"&AddQuotes('Calculator Table'!$AA100)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB100,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC100)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE100)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF100)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG100)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH100)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI100)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ100)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK100)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL100)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM100)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN100)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO100)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP100)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F100&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B100)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B100)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD100,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F100&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A100)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E100)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K100&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K100=\"Small Patch\",K100=\"Matrix\")),'Calculator Table'!$L100,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K100=\"Small Patch\",'Calculator Table'!$L100,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K100=\"Matrix\",'Calculator Table'!$L100,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M100&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N100&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O100&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P100&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q100&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R100&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S100&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T100&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U100&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V100&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W100&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X100&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y100)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z100)&\", version_author=\"&AddQuotes('Calculator Table'!$AA100)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB100,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC100)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE100)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF100)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG100)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH100)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI100)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ100)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK100)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL100)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM100)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN100)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO100)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP100)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F100&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS101>0,'Rk Assign'!D101,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS101>0,Calculate!$AV101,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ101:$BL101<>\"U\")*($AQ101:$BL101>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ101:$BL101<>\"U\")*($AQ101:$BL101>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ101:$BL101<>\"U\")*($AQ101:$BL101>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K101:$R101<>\"Z\")*($K101:$R101>\"\")*NOT(ISERROR($K101:$R101)))+SUM(($K$4:$R$4=\"A\")*($K101:$R101<>\"A\")*($K101:$R101>\"\")*NOT(ISERROR($K101:$R101)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K101:$R101=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ101:$BL101=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B101)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B101)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD101,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F101&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A101)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E101)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K101&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E101=\"Small Patch\",E101=\"Matrix\")),'Calculator Table'!$L101,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E101=\"Small Patch\",'Calculator Table'!$L101,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E101=\"Matrix\",'Calculator Table'!$L101,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M101&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N101&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O101&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P101&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q101&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R101&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S101&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T101&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U101&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V101&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W101&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X101&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y101)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z101)&\", version_author=\"&AddQuotes('Calculator Table'!$AA101)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB101,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC101)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE101)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF101)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG101)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH101)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI101)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ101)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK101)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL101)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM101)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN101)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO101)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP101)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F101&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B101)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B101)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD101,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F101&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A101)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E101)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K101&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H101=\"Small Patch\",H101=\"Matrix\")),'Calculator Table'!$L101,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H101=\"Small Patch\",'Calculator Table'!$L101,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H101=\"Matrix\",'Calculator Table'!$L101,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M101&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N101&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O101&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P101&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q101&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R101&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S101&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T101&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U101&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V101&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W101&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X101&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y101)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z101)&\", version_author=\"&AddQuotes('Calculator Table'!$AA101)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB101,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC101)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE101)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF101)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG101)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH101)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI101)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ101)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK101)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL101)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM101)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN101)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO101)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP101)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F101&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B101)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B101)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD101,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F101&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A101)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E101)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K101&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K101=\"Small Patch\",K101=\"Matrix\")),'Calculator Table'!$L101,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K101=\"Small Patch\",'Calculator Table'!$L101,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K101=\"Matrix\",'Calculator Table'!$L101,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M101&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N101&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O101&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P101&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q101&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R101&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S101&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T101&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U101&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V101&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W101&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X101&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y101)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z101)&\", version_author=\"&AddQuotes('Calculator Table'!$AA101)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB101,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC101)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE101)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF101)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG101)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH101)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI101)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ101)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK101)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL101)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM101)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN101)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO101)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP101)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F101&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS102>0,'Rk Assign'!D102,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS102>0,Calculate!$AV102,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ102:$BL102<>\"U\")*($AQ102:$BL102>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ102:$BL102<>\"U\")*($AQ102:$BL102>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ102:$BL102<>\"U\")*($AQ102:$BL102>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K102:$R102<>\"Z\")*($K102:$R102>\"\")*NOT(ISERROR($K102:$R102)))+SUM(($K$4:$R$4=\"A\")*($K102:$R102<>\"A\")*($K102:$R102>\"\")*NOT(ISERROR($K102:$R102)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K102:$R102=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ102:$BL102=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B102)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B102)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD102,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F102&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A102)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E102)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K102&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E102=\"Small Patch\",E102=\"Matrix\")),'Calculator Table'!$L102,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E102=\"Small Patch\",'Calculator Table'!$L102,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E102=\"Matrix\",'Calculator Table'!$L102,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M102&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N102&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O102&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P102&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q102&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R102&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S102&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T102&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U102&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V102&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W102&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X102&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y102)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z102)&\", version_author=\"&AddQuotes('Calculator Table'!$AA102)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB102,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC102)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE102)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF102)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG102)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH102)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI102)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ102)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK102)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL102)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM102)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN102)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO102)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP102)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F102&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B102)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B102)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD102,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F102&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A102)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E102)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K102&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H102=\"Small Patch\",H102=\"Matrix\")),'Calculator Table'!$L102,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H102=\"Small Patch\",'Calculator Table'!$L102,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H102=\"Matrix\",'Calculator Table'!$L102,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M102&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N102&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O102&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P102&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q102&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R102&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S102&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T102&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U102&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V102&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W102&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X102&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y102)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z102)&\", version_author=\"&AddQuotes('Calculator Table'!$AA102)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB102,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC102)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE102)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF102)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG102)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH102)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI102)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ102)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK102)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL102)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM102)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN102)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO102)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP102)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F102&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B102)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B102)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD102,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F102&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A102)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E102)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K102&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K102=\"Small Patch\",K102=\"Matrix\")),'Calculator Table'!$L102,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K102=\"Small Patch\",'Calculator Table'!$L102,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K102=\"Matrix\",'Calculator Table'!$L102,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M102&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N102&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O102&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P102&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q102&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R102&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S102&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T102&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U102&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V102&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W102&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X102&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y102)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z102)&\", version_author=\"&AddQuotes('Calculator Table'!$AA102)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB102,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC102)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE102)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF102)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG102)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH102)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI102)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ102)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK102)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL102)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM102)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN102)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO102)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP102)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F102&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS103>0,'Rk Assign'!D103,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS103>0,Calculate!$AV103,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ103:$BL103<>\"U\")*($AQ103:$BL103>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ103:$BL103<>\"U\")*($AQ103:$BL103>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ103:$BL103<>\"U\")*($AQ103:$BL103>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K103:$R103<>\"Z\")*($K103:$R103>\"\")*NOT(ISERROR($K103:$R103)))+SUM(($K$4:$R$4=\"A\")*($K103:$R103<>\"A\")*($K103:$R103>\"\")*NOT(ISERROR($K103:$R103)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K103:$R103=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ103:$BL103=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B103)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B103)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD103,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F103&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A103)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E103)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K103&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E103=\"Small Patch\",E103=\"Matrix\")),'Calculator Table'!$L103,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E103=\"Small Patch\",'Calculator Table'!$L103,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E103=\"Matrix\",'Calculator Table'!$L103,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M103&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N103&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O103&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P103&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q103&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R103&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S103&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T103&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U103&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V103&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W103&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X103&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y103)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z103)&\", version_author=\"&AddQuotes('Calculator Table'!$AA103)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB103,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC103)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE103)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF103)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG103)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH103)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI103)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ103)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK103)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL103)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM103)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN103)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO103)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP103)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F103&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B103)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B103)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD103,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F103&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A103)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E103)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K103&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H103=\"Small Patch\",H103=\"Matrix\")),'Calculator Table'!$L103,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H103=\"Small Patch\",'Calculator Table'!$L103,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H103=\"Matrix\",'Calculator Table'!$L103,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M103&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N103&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O103&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P103&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q103&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R103&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S103&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T103&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U103&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V103&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W103&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X103&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y103)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z103)&\", version_author=\"&AddQuotes('Calculator Table'!$AA103)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB103,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC103)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE103)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF103)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG103)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH103)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI103)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ103)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK103)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL103)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM103)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN103)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO103)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP103)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F103&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B103)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B103)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD103,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F103&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A103)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E103)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K103&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K103=\"Small Patch\",K103=\"Matrix\")),'Calculator Table'!$L103,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K103=\"Small Patch\",'Calculator Table'!$L103,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K103=\"Matrix\",'Calculator Table'!$L103,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M103&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N103&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O103&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P103&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q103&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R103&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S103&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T103&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U103&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V103&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W103&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X103&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y103)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z103)&\", version_author=\"&AddQuotes('Calculator Table'!$AA103)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB103,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC103)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE103)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF103)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG103)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH103)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI103)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ103)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK103)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL103)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM103)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN103)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO103)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP103)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F103&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS104>0,'Rk Assign'!D104,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS104>0,Calculate!$AV104,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ104:$BL104<>\"U\")*($AQ104:$BL104>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ104:$BL104<>\"U\")*($AQ104:$BL104>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ104:$BL104<>\"U\")*($AQ104:$BL104>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K104:$R104<>\"Z\")*($K104:$R104>\"\")*NOT(ISERROR($K104:$R104)))+SUM(($K$4:$R$4=\"A\")*($K104:$R104<>\"A\")*($K104:$R104>\"\")*NOT(ISERROR($K104:$R104)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K104:$R104=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ104:$BL104=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B104)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B104)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD104,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F104&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A104)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E104)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K104&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E104=\"Small Patch\",E104=\"Matrix\")),'Calculator Table'!$L104,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E104=\"Small Patch\",'Calculator Table'!$L104,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E104=\"Matrix\",'Calculator Table'!$L104,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M104&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N104&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O104&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P104&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q104&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R104&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S104&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T104&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U104&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V104&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W104&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X104&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y104)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z104)&\", version_author=\"&AddQuotes('Calculator Table'!$AA104)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB104,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC104)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE104)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF104)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG104)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH104)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI104)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ104)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK104)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL104)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM104)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN104)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO104)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP104)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F104&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B104)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B104)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD104,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F104&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A104)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E104)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K104&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H104=\"Small Patch\",H104=\"Matrix\")),'Calculator Table'!$L104,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H104=\"Small Patch\",'Calculator Table'!$L104,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H104=\"Matrix\",'Calculator Table'!$L104,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M104&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N104&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O104&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P104&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q104&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R104&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S104&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T104&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U104&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V104&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W104&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X104&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y104)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z104)&\", version_author=\"&AddQuotes('Calculator Table'!$AA104)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB104,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC104)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE104)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF104)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG104)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH104)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI104)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ104)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK104)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL104)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM104)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN104)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO104)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP104)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F104&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B104)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B104)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD104,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F104&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A104)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E104)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K104&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K104=\"Small Patch\",K104=\"Matrix\")),'Calculator Table'!$L104,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K104=\"Small Patch\",'Calculator Table'!$L104,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K104=\"Matrix\",'Calculator Table'!$L104,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M104&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N104&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O104&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P104&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q104&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R104&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S104&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T104&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U104&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V104&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W104&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X104&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y104)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z104)&\", version_author=\"&AddQuotes('Calculator Table'!$AA104)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB104,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC104)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE104)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF104)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG104)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH104)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI104)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ104)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK104)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL104)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM104)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN104)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO104)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP104)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F104&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS105>0,'Rk Assign'!D105,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS105>0,Calculate!$AV105,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ105:$BL105<>\"U\")*($AQ105:$BL105>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ105:$BL105<>\"U\")*($AQ105:$BL105>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ105:$BL105<>\"U\")*($AQ105:$BL105>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K105:$R105<>\"Z\")*($K105:$R105>\"\")*NOT(ISERROR($K105:$R105)))+SUM(($K$4:$R$4=\"A\")*($K105:$R105<>\"A\")*($K105:$R105>\"\")*NOT(ISERROR($K105:$R105)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K105:$R105=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ105:$BL105=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B105)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B105)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD105,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F105&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A105)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E105)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K105&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E105=\"Small Patch\",E105=\"Matrix\")),'Calculator Table'!$L105,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E105=\"Small Patch\",'Calculator Table'!$L105,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E105=\"Matrix\",'Calculator Table'!$L105,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M105&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N105&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O105&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P105&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q105&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R105&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S105&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T105&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U105&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V105&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W105&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X105&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y105)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z105)&\", version_author=\"&AddQuotes('Calculator Table'!$AA105)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB105,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC105)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE105)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF105)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG105)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH105)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI105)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ105)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK105)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL105)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM105)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN105)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO105)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP105)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F105&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B105)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B105)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD105,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F105&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A105)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E105)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K105&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H105=\"Small Patch\",H105=\"Matrix\")),'Calculator Table'!$L105,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H105=\"Small Patch\",'Calculator Table'!$L105,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H105=\"Matrix\",'Calculator Table'!$L105,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M105&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N105&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O105&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P105&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q105&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R105&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S105&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T105&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U105&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V105&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W105&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X105&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y105)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z105)&\", version_author=\"&AddQuotes('Calculator Table'!$AA105)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB105,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC105)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE105)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF105)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG105)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH105)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI105)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ105)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK105)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL105)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM105)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN105)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO105)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP105)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F105&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B105)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B105)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD105,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F105&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A105)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E105)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K105&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K105=\"Small Patch\",K105=\"Matrix\")),'Calculator Table'!$L105,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K105=\"Small Patch\",'Calculator Table'!$L105,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K105=\"Matrix\",'Calculator Table'!$L105,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M105&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N105&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O105&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P105&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q105&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R105&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S105&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T105&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U105&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V105&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W105&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X105&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y105)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z105)&\", version_author=\"&AddQuotes('Calculator Table'!$AA105)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB105,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC105)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE105)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF105)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG105)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH105)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI105)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ105)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK105)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL105)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM105)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN105)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO105)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP105)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F105&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS106>0,'Rk Assign'!D106,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS106>0,Calculate!$AV106,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ106:$BL106<>\"U\")*($AQ106:$BL106>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ106:$BL106<>\"U\")*($AQ106:$BL106>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ106:$BL106<>\"U\")*($AQ106:$BL106>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K106:$R106<>\"Z\")*($K106:$R106>\"\")*NOT(ISERROR($K106:$R106)))+SUM(($K$4:$R$4=\"A\")*($K106:$R106<>\"A\")*($K106:$R106>\"\")*NOT(ISERROR($K106:$R106)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K106:$R106=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ106:$BL106=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B106)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B106)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD106,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F106&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A106)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E106)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K106&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E106=\"Small Patch\",E106=\"Matrix\")),'Calculator Table'!$L106,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E106=\"Small Patch\",'Calculator Table'!$L106,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E106=\"Matrix\",'Calculator Table'!$L106,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M106&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N106&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O106&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P106&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q106&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R106&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S106&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T106&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U106&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V106&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W106&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X106&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y106)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z106)&\", version_author=\"&AddQuotes('Calculator Table'!$AA106)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB106,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC106)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE106)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF106)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG106)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH106)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI106)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ106)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK106)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL106)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM106)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN106)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO106)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP106)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F106&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B106)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B106)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD106,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F106&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A106)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E106)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K106&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H106=\"Small Patch\",H106=\"Matrix\")),'Calculator Table'!$L106,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H106=\"Small Patch\",'Calculator Table'!$L106,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H106=\"Matrix\",'Calculator Table'!$L106,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M106&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N106&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O106&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P106&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q106&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R106&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S106&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T106&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U106&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V106&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W106&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X106&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y106)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z106)&\", version_author=\"&AddQuotes('Calculator Table'!$AA106)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB106,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC106)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE106)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF106)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG106)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH106)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI106)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ106)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK106)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL106)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM106)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN106)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO106)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP106)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F106&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B106)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B106)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD106,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F106&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A106)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E106)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K106&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K106=\"Small Patch\",K106=\"Matrix\")),'Calculator Table'!$L106,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K106=\"Small Patch\",'Calculator Table'!$L106,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K106=\"Matrix\",'Calculator Table'!$L106,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M106&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N106&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O106&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P106&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q106&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R106&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S106&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T106&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U106&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V106&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W106&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X106&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y106)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z106)&\", version_author=\"&AddQuotes('Calculator Table'!$AA106)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB106,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC106)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE106)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF106)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG106)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH106)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI106)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ106)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK106)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL106)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM106)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN106)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO106)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP106)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F106&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS107>0,'Rk Assign'!D107,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS107>0,Calculate!$AV107,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ107:$BL107<>\"U\")*($AQ107:$BL107>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ107:$BL107<>\"U\")*($AQ107:$BL107>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ107:$BL107<>\"U\")*($AQ107:$BL107>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K107:$R107<>\"Z\")*($K107:$R107>\"\")*NOT(ISERROR($K107:$R107)))+SUM(($K$4:$R$4=\"A\")*($K107:$R107<>\"A\")*($K107:$R107>\"\")*NOT(ISERROR($K107:$R107)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K107:$R107=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ107:$BL107=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B107)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B107)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD107,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F107&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A107)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E107)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K107&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E107=\"Small Patch\",E107=\"Matrix\")),'Calculator Table'!$L107,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E107=\"Small Patch\",'Calculator Table'!$L107,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E107=\"Matrix\",'Calculator Table'!$L107,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M107&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N107&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O107&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P107&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q107&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R107&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S107&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T107&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U107&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V107&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W107&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X107&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y107)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z107)&\", version_author=\"&AddQuotes('Calculator Table'!$AA107)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB107,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC107)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE107)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF107)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG107)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH107)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI107)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ107)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK107)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL107)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM107)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN107)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO107)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP107)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F107&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B107)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B107)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD107,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F107&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A107)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E107)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K107&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H107=\"Small Patch\",H107=\"Matrix\")),'Calculator Table'!$L107,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H107=\"Small Patch\",'Calculator Table'!$L107,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H107=\"Matrix\",'Calculator Table'!$L107,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M107&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N107&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O107&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P107&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q107&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R107&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S107&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T107&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U107&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V107&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W107&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X107&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y107)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z107)&\", version_author=\"&AddQuotes('Calculator Table'!$AA107)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB107,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC107)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE107)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF107)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG107)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH107)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI107)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ107)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK107)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL107)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM107)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN107)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO107)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP107)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F107&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B107)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B107)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD107,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F107&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A107)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E107)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K107&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K107=\"Small Patch\",K107=\"Matrix\")),'Calculator Table'!$L107,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K107=\"Small Patch\",'Calculator Table'!$L107,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K107=\"Matrix\",'Calculator Table'!$L107,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M107&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N107&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O107&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P107&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q107&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R107&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S107&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T107&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U107&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V107&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W107&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X107&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y107)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z107)&\", version_author=\"&AddQuotes('Calculator Table'!$AA107)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB107,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC107)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE107)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF107)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG107)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH107)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI107)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ107)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK107)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL107)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM107)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN107)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO107)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP107)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F107&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS108>0,'Rk Assign'!D108,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS108>0,Calculate!$AV108,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ108:$BL108<>\"U\")*($AQ108:$BL108>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ108:$BL108<>\"U\")*($AQ108:$BL108>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ108:$BL108<>\"U\")*($AQ108:$BL108>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K108:$R108<>\"Z\")*($K108:$R108>\"\")*NOT(ISERROR($K108:$R108)))+SUM(($K$4:$R$4=\"A\")*($K108:$R108<>\"A\")*($K108:$R108>\"\")*NOT(ISERROR($K108:$R108)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K108:$R108=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ108:$BL108=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B108)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B108)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD108,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F108&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A108)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E108)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K108&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E108=\"Small Patch\",E108=\"Matrix\")),'Calculator Table'!$L108,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E108=\"Small Patch\",'Calculator Table'!$L108,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E108=\"Matrix\",'Calculator Table'!$L108,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M108&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N108&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O108&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P108&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q108&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R108&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S108&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T108&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U108&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V108&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W108&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X108&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y108)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z108)&\", version_author=\"&AddQuotes('Calculator Table'!$AA108)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB108,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC108)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE108)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF108)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG108)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH108)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI108)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ108)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK108)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL108)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM108)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN108)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO108)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP108)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F108&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B108)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B108)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD108,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F108&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A108)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E108)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K108&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H108=\"Small Patch\",H108=\"Matrix\")),'Calculator Table'!$L108,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H108=\"Small Patch\",'Calculator Table'!$L108,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H108=\"Matrix\",'Calculator Table'!$L108,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M108&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N108&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O108&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P108&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q108&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R108&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S108&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T108&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U108&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V108&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W108&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X108&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y108)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z108)&\", version_author=\"&AddQuotes('Calculator Table'!$AA108)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB108,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC108)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE108)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF108)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG108)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH108)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI108)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ108)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK108)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL108)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM108)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN108)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO108)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP108)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F108&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B108)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B108)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD108,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F108&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A108)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E108)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K108&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K108=\"Small Patch\",K108=\"Matrix\")),'Calculator Table'!$L108,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K108=\"Small Patch\",'Calculator Table'!$L108,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K108=\"Matrix\",'Calculator Table'!$L108,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M108&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N108&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O108&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P108&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q108&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R108&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S108&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T108&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U108&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V108&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W108&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X108&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y108)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z108)&\", version_author=\"&AddQuotes('Calculator Table'!$AA108)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB108,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC108)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE108)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF108)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG108)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH108)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI108)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ108)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK108)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL108)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM108)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN108)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO108)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP108)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F108&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS109>0,'Rk Assign'!D109,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS109>0,Calculate!$AV109,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ109:$BL109<>\"U\")*($AQ109:$BL109>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ109:$BL109<>\"U\")*($AQ109:$BL109>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ109:$BL109<>\"U\")*($AQ109:$BL109>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K109:$R109<>\"Z\")*($K109:$R109>\"\")*NOT(ISERROR($K109:$R109)))+SUM(($K$4:$R$4=\"A\")*($K109:$R109<>\"A\")*($K109:$R109>\"\")*NOT(ISERROR($K109:$R109)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K109:$R109=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ109:$BL109=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B109)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B109)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD109,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F109&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A109)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E109)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K109&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E109=\"Small Patch\",E109=\"Matrix\")),'Calculator Table'!$L109,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E109=\"Small Patch\",'Calculator Table'!$L109,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E109=\"Matrix\",'Calculator Table'!$L109,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M109&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N109&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O109&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P109&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q109&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R109&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S109&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T109&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U109&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V109&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W109&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X109&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y109)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z109)&\", version_author=\"&AddQuotes('Calculator Table'!$AA109)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB109,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC109)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE109)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF109)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG109)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH109)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI109)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ109)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK109)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL109)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM109)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN109)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO109)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP109)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F109&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B109)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B109)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD109,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F109&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A109)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E109)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K109&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H109=\"Small Patch\",H109=\"Matrix\")),'Calculator Table'!$L109,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H109=\"Small Patch\",'Calculator Table'!$L109,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H109=\"Matrix\",'Calculator Table'!$L109,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M109&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N109&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O109&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P109&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q109&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R109&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S109&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T109&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U109&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V109&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W109&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X109&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y109)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z109)&\", version_author=\"&AddQuotes('Calculator Table'!$AA109)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB109,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC109)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE109)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF109)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG109)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH109)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI109)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ109)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK109)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL109)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM109)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN109)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO109)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP109)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F109&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B109)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B109)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD109,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F109&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A109)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E109)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K109&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K109=\"Small Patch\",K109=\"Matrix\")),'Calculator Table'!$L109,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K109=\"Small Patch\",'Calculator Table'!$L109,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K109=\"Matrix\",'Calculator Table'!$L109,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M109&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N109&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O109&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P109&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q109&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R109&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S109&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T109&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U109&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V109&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W109&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X109&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y109)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z109)&\", version_author=\"&AddQuotes('Calculator Table'!$AA109)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB109,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC109)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE109)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF109)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG109)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH109)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI109)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ109)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK109)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL109)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM109)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN109)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO109)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP109)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F109&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS110>0,'Rk Assign'!D110,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS110>0,Calculate!$AV110,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ110:$BL110<>\"U\")*($AQ110:$BL110>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ110:$BL110<>\"U\")*($AQ110:$BL110>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ110:$BL110<>\"U\")*($AQ110:$BL110>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K110:$R110<>\"Z\")*($K110:$R110>\"\")*NOT(ISERROR($K110:$R110)))+SUM(($K$4:$R$4=\"A\")*($K110:$R110<>\"A\")*($K110:$R110>\"\")*NOT(ISERROR($K110:$R110)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K110:$R110=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ110:$BL110=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B110)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B110)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD110,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F110&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A110)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E110)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K110&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E110=\"Small Patch\",E110=\"Matrix\")),'Calculator Table'!$L110,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E110=\"Small Patch\",'Calculator Table'!$L110,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E110=\"Matrix\",'Calculator Table'!$L110,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M110&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N110&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O110&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P110&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q110&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R110&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S110&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T110&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U110&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V110&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W110&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X110&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y110)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z110)&\", version_author=\"&AddQuotes('Calculator Table'!$AA110)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB110,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC110)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE110)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF110)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG110)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH110)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI110)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ110)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK110)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL110)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM110)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN110)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO110)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP110)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F110&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B110)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B110)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD110,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F110&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A110)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E110)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K110&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H110=\"Small Patch\",H110=\"Matrix\")),'Calculator Table'!$L110,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H110=\"Small Patch\",'Calculator Table'!$L110,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H110=\"Matrix\",'Calculator Table'!$L110,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M110&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N110&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O110&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P110&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q110&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R110&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S110&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T110&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U110&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V110&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W110&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X110&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y110)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z110)&\", version_author=\"&AddQuotes('Calculator Table'!$AA110)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB110,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC110)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE110)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF110)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG110)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH110)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI110)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ110)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK110)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL110)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM110)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN110)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO110)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP110)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F110&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B110)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B110)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD110,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F110&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A110)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E110)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K110&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K110=\"Small Patch\",K110=\"Matrix\")),'Calculator Table'!$L110,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K110=\"Small Patch\",'Calculator Table'!$L110,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K110=\"Matrix\",'Calculator Table'!$L110,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M110&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N110&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O110&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P110&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q110&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R110&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S110&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T110&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U110&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V110&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W110&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X110&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y110)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z110)&\", version_author=\"&AddQuotes('Calculator Table'!$AA110)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB110,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC110)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE110)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF110)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG110)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH110)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI110)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ110)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK110)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL110)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM110)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN110)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO110)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP110)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F110&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS111>0,'Rk Assign'!D111,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS111>0,Calculate!$AV111,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ111:$BL111<>\"U\")*($AQ111:$BL111>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ111:$BL111<>\"U\")*($AQ111:$BL111>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ111:$BL111<>\"U\")*($AQ111:$BL111>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K111:$R111<>\"Z\")*($K111:$R111>\"\")*NOT(ISERROR($K111:$R111)))+SUM(($K$4:$R$4=\"A\")*($K111:$R111<>\"A\")*($K111:$R111>\"\")*NOT(ISERROR($K111:$R111)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K111:$R111=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ111:$BL111=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B111)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B111)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD111,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F111&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A111)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E111)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K111&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E111=\"Small Patch\",E111=\"Matrix\")),'Calculator Table'!$L111,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E111=\"Small Patch\",'Calculator Table'!$L111,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E111=\"Matrix\",'Calculator Table'!$L111,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M111&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N111&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O111&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P111&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q111&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R111&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S111&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T111&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U111&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V111&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W111&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X111&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y111)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z111)&\", version_author=\"&AddQuotes('Calculator Table'!$AA111)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB111,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC111)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE111)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF111)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG111)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH111)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI111)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ111)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK111)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL111)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM111)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN111)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO111)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP111)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F111&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B111)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B111)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD111,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F111&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A111)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E111)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K111&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H111=\"Small Patch\",H111=\"Matrix\")),'Calculator Table'!$L111,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H111=\"Small Patch\",'Calculator Table'!$L111,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H111=\"Matrix\",'Calculator Table'!$L111,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M111&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N111&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O111&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P111&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q111&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R111&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S111&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T111&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U111&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V111&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W111&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X111&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y111)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z111)&\", version_author=\"&AddQuotes('Calculator Table'!$AA111)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB111,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC111)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE111)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF111)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG111)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH111)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI111)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ111)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK111)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL111)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM111)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN111)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO111)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP111)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F111&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B111)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B111)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD111,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F111&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A111)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E111)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K111&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K111=\"Small Patch\",K111=\"Matrix\")),'Calculator Table'!$L111,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K111=\"Small Patch\",'Calculator Table'!$L111,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K111=\"Matrix\",'Calculator Table'!$L111,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M111&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N111&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O111&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P111&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q111&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R111&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S111&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T111&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U111&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V111&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W111&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X111&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y111)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z111)&\", version_author=\"&AddQuotes('Calculator Table'!$AA111)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB111,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC111)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE111)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF111)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG111)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH111)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI111)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ111)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK111)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL111)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM111)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN111)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO111)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP111)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F111&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS112>0,'Rk Assign'!D112,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS112>0,Calculate!$AV112,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ112:$BL112<>\"U\")*($AQ112:$BL112>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ112:$BL112<>\"U\")*($AQ112:$BL112>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ112:$BL112<>\"U\")*($AQ112:$BL112>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K112:$R112<>\"Z\")*($K112:$R112>\"\")*NOT(ISERROR($K112:$R112)))+SUM(($K$4:$R$4=\"A\")*($K112:$R112<>\"A\")*($K112:$R112>\"\")*NOT(ISERROR($K112:$R112)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K112:$R112=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ112:$BL112=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B112)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B112)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD112,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F112&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A112)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E112)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K112&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E112=\"Small Patch\",E112=\"Matrix\")),'Calculator Table'!$L112,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E112=\"Small Patch\",'Calculator Table'!$L112,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E112=\"Matrix\",'Calculator Table'!$L112,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M112&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N112&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O112&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P112&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q112&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R112&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S112&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T112&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U112&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V112&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W112&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X112&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y112)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z112)&\", version_author=\"&AddQuotes('Calculator Table'!$AA112)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB112,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC112)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE112)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF112)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG112)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH112)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI112)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ112)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK112)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL112)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM112)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN112)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO112)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP112)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F112&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B112)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B112)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD112,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F112&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A112)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E112)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K112&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H112=\"Small Patch\",H112=\"Matrix\")),'Calculator Table'!$L112,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H112=\"Small Patch\",'Calculator Table'!$L112,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H112=\"Matrix\",'Calculator Table'!$L112,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M112&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N112&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O112&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P112&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q112&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R112&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S112&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T112&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U112&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V112&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W112&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X112&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y112)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z112)&\", version_author=\"&AddQuotes('Calculator Table'!$AA112)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB112,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC112)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE112)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF112)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG112)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH112)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI112)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ112)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK112)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL112)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM112)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN112)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO112)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP112)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F112&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B112)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B112)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD112,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F112&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A112)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E112)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K112&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K112=\"Small Patch\",K112=\"Matrix\")),'Calculator Table'!$L112,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K112=\"Small Patch\",'Calculator Table'!$L112,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K112=\"Matrix\",'Calculator Table'!$L112,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M112&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N112&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O112&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P112&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q112&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R112&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S112&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T112&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U112&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V112&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W112&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X112&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y112)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z112)&\", version_author=\"&AddQuotes('Calculator Table'!$AA112)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB112,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC112)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE112)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF112)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG112)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH112)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI112)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ112)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK112)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL112)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM112)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN112)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO112)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP112)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F112&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS113>0,'Rk Assign'!D113,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS113>0,Calculate!$AV113,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ113:$BL113<>\"U\")*($AQ113:$BL113>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ113:$BL113<>\"U\")*($AQ113:$BL113>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ113:$BL113<>\"U\")*($AQ113:$BL113>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K113:$R113<>\"Z\")*($K113:$R113>\"\")*NOT(ISERROR($K113:$R113)))+SUM(($K$4:$R$4=\"A\")*($K113:$R113<>\"A\")*($K113:$R113>\"\")*NOT(ISERROR($K113:$R113)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K113:$R113=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ113:$BL113=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B113)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B113)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD113,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F113&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A113)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E113)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K113&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E113=\"Small Patch\",E113=\"Matrix\")),'Calculator Table'!$L113,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E113=\"Small Patch\",'Calculator Table'!$L113,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E113=\"Matrix\",'Calculator Table'!$L113,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M113&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N113&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O113&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P113&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q113&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R113&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S113&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T113&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U113&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V113&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W113&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X113&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y113)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z113)&\", version_author=\"&AddQuotes('Calculator Table'!$AA113)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB113,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC113)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE113)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF113)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG113)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH113)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI113)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ113)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK113)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL113)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM113)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN113)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO113)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP113)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F113&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B113)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B113)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD113,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F113&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A113)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E113)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K113&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H113=\"Small Patch\",H113=\"Matrix\")),'Calculator Table'!$L113,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H113=\"Small Patch\",'Calculator Table'!$L113,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H113=\"Matrix\",'Calculator Table'!$L113,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M113&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N113&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O113&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P113&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q113&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R113&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S113&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T113&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U113&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V113&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W113&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X113&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y113)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z113)&\", version_author=\"&AddQuotes('Calculator Table'!$AA113)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB113,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC113)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE113)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF113)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG113)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH113)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI113)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ113)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK113)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL113)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM113)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN113)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO113)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP113)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F113&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B113)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B113)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD113,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F113&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A113)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E113)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K113&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K113=\"Small Patch\",K113=\"Matrix\")),'Calculator Table'!$L113,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K113=\"Small Patch\",'Calculator Table'!$L113,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K113=\"Matrix\",'Calculator Table'!$L113,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M113&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N113&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O113&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P113&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q113&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R113&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S113&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T113&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U113&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V113&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W113&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X113&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y113)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z113)&\", version_author=\"&AddQuotes('Calculator Table'!$AA113)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB113,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC113)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE113)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF113)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG113)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH113)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI113)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ113)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK113)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL113)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM113)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN113)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO113)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP113)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F113&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS114>0,'Rk Assign'!D114,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS114>0,Calculate!$AV114,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ114:$BL114<>\"U\")*($AQ114:$BL114>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ114:$BL114<>\"U\")*($AQ114:$BL114>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ114:$BL114<>\"U\")*($AQ114:$BL114>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K114:$R114<>\"Z\")*($K114:$R114>\"\")*NOT(ISERROR($K114:$R114)))+SUM(($K$4:$R$4=\"A\")*($K114:$R114<>\"A\")*($K114:$R114>\"\")*NOT(ISERROR($K114:$R114)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K114:$R114=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ114:$BL114=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B114)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B114)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD114,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F114&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A114)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E114)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K114&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E114=\"Small Patch\",E114=\"Matrix\")),'Calculator Table'!$L114,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E114=\"Small Patch\",'Calculator Table'!$L114,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E114=\"Matrix\",'Calculator Table'!$L114,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M114&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N114&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O114&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P114&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q114&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R114&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S114&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T114&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U114&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V114&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W114&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X114&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y114)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z114)&\", version_author=\"&AddQuotes('Calculator Table'!$AA114)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB114,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC114)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE114)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF114)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG114)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH114)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI114)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ114)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK114)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL114)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM114)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN114)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO114)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP114)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F114&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B114)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B114)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD114,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F114&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A114)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E114)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K114&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H114=\"Small Patch\",H114=\"Matrix\")),'Calculator Table'!$L114,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H114=\"Small Patch\",'Calculator Table'!$L114,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H114=\"Matrix\",'Calculator Table'!$L114,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M114&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N114&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O114&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P114&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q114&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R114&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S114&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T114&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U114&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V114&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W114&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X114&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y114)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z114)&\", version_author=\"&AddQuotes('Calculator Table'!$AA114)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB114,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC114)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE114)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF114)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG114)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH114)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI114)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ114)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK114)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL114)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM114)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN114)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO114)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP114)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F114&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B114)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B114)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD114,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F114&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A114)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E114)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K114&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K114=\"Small Patch\",K114=\"Matrix\")),'Calculator Table'!$L114,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K114=\"Small Patch\",'Calculator Table'!$L114,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K114=\"Matrix\",'Calculator Table'!$L114,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M114&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N114&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O114&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P114&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q114&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R114&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S114&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T114&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U114&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V114&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W114&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X114&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y114)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z114)&\", version_author=\"&AddQuotes('Calculator Table'!$AA114)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB114,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC114)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE114)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF114)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG114)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH114)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI114)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ114)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK114)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL114)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM114)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN114)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO114)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP114)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F114&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS115>0,'Rk Assign'!D115,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS115>0,Calculate!$AV115,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ115:$BL115<>\"U\")*($AQ115:$BL115>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ115:$BL115<>\"U\")*($AQ115:$BL115>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ115:$BL115<>\"U\")*($AQ115:$BL115>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K115:$R115<>\"Z\")*($K115:$R115>\"\")*NOT(ISERROR($K115:$R115)))+SUM(($K$4:$R$4=\"A\")*($K115:$R115<>\"A\")*($K115:$R115>\"\")*NOT(ISERROR($K115:$R115)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K115:$R115=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ115:$BL115=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B115)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B115)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD115,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F115&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A115)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E115)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K115&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E115=\"Small Patch\",E115=\"Matrix\")),'Calculator Table'!$L115,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E115=\"Small Patch\",'Calculator Table'!$L115,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E115=\"Matrix\",'Calculator Table'!$L115,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M115&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N115&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O115&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P115&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q115&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R115&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S115&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T115&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U115&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V115&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W115&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X115&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y115)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z115)&\", version_author=\"&AddQuotes('Calculator Table'!$AA115)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB115,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC115)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE115)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF115)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG115)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH115)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI115)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ115)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK115)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL115)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM115)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN115)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO115)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP115)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F115&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B115)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B115)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD115,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F115&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A115)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E115)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K115&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H115=\"Small Patch\",H115=\"Matrix\")),'Calculator Table'!$L115,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H115=\"Small Patch\",'Calculator Table'!$L115,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H115=\"Matrix\",'Calculator Table'!$L115,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M115&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N115&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O115&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P115&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q115&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R115&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S115&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T115&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U115&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V115&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W115&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X115&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y115)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z115)&\", version_author=\"&AddQuotes('Calculator Table'!$AA115)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB115,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC115)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE115)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF115)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG115)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH115)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI115)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ115)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK115)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL115)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM115)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN115)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO115)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP115)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F115&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B115)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B115)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD115,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F115&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A115)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E115)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K115&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K115=\"Small Patch\",K115=\"Matrix\")),'Calculator Table'!$L115,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K115=\"Small Patch\",'Calculator Table'!$L115,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K115=\"Matrix\",'Calculator Table'!$L115,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M115&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N115&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O115&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P115&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q115&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R115&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S115&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T115&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U115&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V115&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W115&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X115&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y115)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z115)&\", version_author=\"&AddQuotes('Calculator Table'!$AA115)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB115,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC115)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE115)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF115)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG115)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH115)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI115)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ115)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK115)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL115)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM115)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN115)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO115)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP115)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F115&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS116>0,'Rk Assign'!D116,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS116>0,Calculate!$AV116,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ116:$BL116<>\"U\")*($AQ116:$BL116>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ116:$BL116<>\"U\")*($AQ116:$BL116>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ116:$BL116<>\"U\")*($AQ116:$BL116>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K116:$R116<>\"Z\")*($K116:$R116>\"\")*NOT(ISERROR($K116:$R116)))+SUM(($K$4:$R$4=\"A\")*($K116:$R116<>\"A\")*($K116:$R116>\"\")*NOT(ISERROR($K116:$R116)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K116:$R116=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ116:$BL116=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B116)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B116)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD116,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F116&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A116)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E116)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K116&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E116=\"Small Patch\",E116=\"Matrix\")),'Calculator Table'!$L116,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E116=\"Small Patch\",'Calculator Table'!$L116,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E116=\"Matrix\",'Calculator Table'!$L116,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M116&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N116&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O116&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P116&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q116&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R116&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S116&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T116&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U116&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V116&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W116&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X116&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y116)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z116)&\", version_author=\"&AddQuotes('Calculator Table'!$AA116)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB116,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC116)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE116)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF116)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG116)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH116)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI116)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ116)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK116)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL116)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM116)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN116)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO116)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP116)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F116&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B116)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B116)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD116,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F116&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A116)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E116)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K116&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H116=\"Small Patch\",H116=\"Matrix\")),'Calculator Table'!$L116,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H116=\"Small Patch\",'Calculator Table'!$L116,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H116=\"Matrix\",'Calculator Table'!$L116,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M116&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N116&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O116&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P116&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q116&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R116&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S116&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T116&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U116&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V116&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W116&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X116&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y116)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z116)&\", version_author=\"&AddQuotes('Calculator Table'!$AA116)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB116,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC116)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE116)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF116)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG116)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH116)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI116)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ116)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK116)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL116)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM116)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN116)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO116)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP116)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F116&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B116)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B116)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD116,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F116&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A116)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E116)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K116&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K116=\"Small Patch\",K116=\"Matrix\")),'Calculator Table'!$L116,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K116=\"Small Patch\",'Calculator Table'!$L116,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K116=\"Matrix\",'Calculator Table'!$L116,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M116&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N116&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O116&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P116&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q116&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R116&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S116&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T116&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U116&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V116&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W116&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X116&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y116)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z116)&\", version_author=\"&AddQuotes('Calculator Table'!$AA116)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB116,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC116)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE116)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF116)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG116)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH116)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI116)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ116)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK116)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL116)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM116)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN116)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO116)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP116)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F116&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS117>0,'Rk Assign'!D117,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS117>0,Calculate!$AV117,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ117:$BL117<>\"U\")*($AQ117:$BL117>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ117:$BL117<>\"U\")*($AQ117:$BL117>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ117:$BL117<>\"U\")*($AQ117:$BL117>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K117:$R117<>\"Z\")*($K117:$R117>\"\")*NOT(ISERROR($K117:$R117)))+SUM(($K$4:$R$4=\"A\")*($K117:$R117<>\"A\")*($K117:$R117>\"\")*NOT(ISERROR($K117:$R117)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K117:$R117=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ117:$BL117=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B117)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B117)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD117,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F117&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A117)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E117)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K117&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E117=\"Small Patch\",E117=\"Matrix\")),'Calculator Table'!$L117,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E117=\"Small Patch\",'Calculator Table'!$L117,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E117=\"Matrix\",'Calculator Table'!$L117,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M117&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N117&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O117&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P117&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q117&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R117&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S117&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T117&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U117&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V117&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W117&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X117&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y117)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z117)&\", version_author=\"&AddQuotes('Calculator Table'!$AA117)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB117,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC117)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE117)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF117)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG117)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH117)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI117)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ117)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK117)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL117)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM117)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN117)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO117)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP117)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F117&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B117)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B117)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD117,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F117&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A117)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E117)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K117&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H117=\"Small Patch\",H117=\"Matrix\")),'Calculator Table'!$L117,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H117=\"Small Patch\",'Calculator Table'!$L117,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H117=\"Matrix\",'Calculator Table'!$L117,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M117&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N117&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O117&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P117&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q117&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R117&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S117&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T117&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U117&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V117&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W117&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X117&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y117)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z117)&\", version_author=\"&AddQuotes('Calculator Table'!$AA117)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB117,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC117)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE117)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF117)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG117)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH117)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI117)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ117)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK117)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL117)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM117)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN117)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO117)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP117)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F117&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B117)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B117)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD117,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F117&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A117)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E117)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K117&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K117=\"Small Patch\",K117=\"Matrix\")),'Calculator Table'!$L117,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K117=\"Small Patch\",'Calculator Table'!$L117,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K117=\"Matrix\",'Calculator Table'!$L117,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M117&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N117&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O117&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P117&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q117&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R117&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S117&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T117&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U117&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V117&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W117&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X117&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y117)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z117)&\", version_author=\"&AddQuotes('Calculator Table'!$AA117)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB117,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC117)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE117)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF117)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG117)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH117)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI117)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ117)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK117)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL117)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM117)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN117)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO117)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP117)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F117&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS118>0,'Rk Assign'!D118,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS118>0,Calculate!$AV118,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ118:$BL118<>\"U\")*($AQ118:$BL118>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ118:$BL118<>\"U\")*($AQ118:$BL118>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ118:$BL118<>\"U\")*($AQ118:$BL118>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K118:$R118<>\"Z\")*($K118:$R118>\"\")*NOT(ISERROR($K118:$R118)))+SUM(($K$4:$R$4=\"A\")*($K118:$R118<>\"A\")*($K118:$R118>\"\")*NOT(ISERROR($K118:$R118)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K118:$R118=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ118:$BL118=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B118)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B118)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD118,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F118&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A118)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E118)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K118&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E118=\"Small Patch\",E118=\"Matrix\")),'Calculator Table'!$L118,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E118=\"Small Patch\",'Calculator Table'!$L118,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E118=\"Matrix\",'Calculator Table'!$L118,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M118&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N118&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O118&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P118&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q118&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R118&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S118&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T118&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U118&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V118&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W118&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X118&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y118)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z118)&\", version_author=\"&AddQuotes('Calculator Table'!$AA118)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB118,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC118)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE118)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF118)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG118)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH118)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI118)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ118)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK118)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL118)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM118)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN118)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO118)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP118)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F118&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B118)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B118)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD118,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F118&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A118)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E118)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K118&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H118=\"Small Patch\",H118=\"Matrix\")),'Calculator Table'!$L118,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H118=\"Small Patch\",'Calculator Table'!$L118,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H118=\"Matrix\",'Calculator Table'!$L118,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M118&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N118&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O118&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P118&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q118&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R118&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S118&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T118&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U118&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V118&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W118&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X118&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y118)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z118)&\", version_author=\"&AddQuotes('Calculator Table'!$AA118)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB118,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC118)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE118)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF118)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG118)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH118)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI118)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ118)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK118)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL118)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM118)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN118)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO118)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP118)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F118&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B118)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B118)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD118,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F118&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A118)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E118)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K118&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K118=\"Small Patch\",K118=\"Matrix\")),'Calculator Table'!$L118,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K118=\"Small Patch\",'Calculator Table'!$L118,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K118=\"Matrix\",'Calculator Table'!$L118,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M118&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N118&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O118&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P118&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q118&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R118&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S118&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T118&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U118&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V118&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W118&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X118&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y118)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z118)&\", version_author=\"&AddQuotes('Calculator Table'!$AA118)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB118,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC118)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE118)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF118)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG118)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH118)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI118)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ118)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK118)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL118)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM118)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN118)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO118)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP118)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F118&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS119>0,'Rk Assign'!D119,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS119>0,Calculate!$AV119,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ119:$BL119<>\"U\")*($AQ119:$BL119>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ119:$BL119<>\"U\")*($AQ119:$BL119>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ119:$BL119<>\"U\")*($AQ119:$BL119>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K119:$R119<>\"Z\")*($K119:$R119>\"\")*NOT(ISERROR($K119:$R119)))+SUM(($K$4:$R$4=\"A\")*($K119:$R119<>\"A\")*($K119:$R119>\"\")*NOT(ISERROR($K119:$R119)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K119:$R119=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ119:$BL119=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B119)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B119)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD119,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F119&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A119)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E119)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K119&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E119=\"Small Patch\",E119=\"Matrix\")),'Calculator Table'!$L119,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E119=\"Small Patch\",'Calculator Table'!$L119,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E119=\"Matrix\",'Calculator Table'!$L119,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M119&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N119&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O119&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P119&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q119&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R119&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S119&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T119&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U119&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V119&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W119&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X119&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y119)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z119)&\", version_author=\"&AddQuotes('Calculator Table'!$AA119)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB119,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC119)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE119)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF119)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG119)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH119)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI119)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ119)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK119)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL119)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM119)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN119)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO119)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP119)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F119&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B119)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B119)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD119,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F119&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A119)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E119)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K119&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H119=\"Small Patch\",H119=\"Matrix\")),'Calculator Table'!$L119,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H119=\"Small Patch\",'Calculator Table'!$L119,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H119=\"Matrix\",'Calculator Table'!$L119,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M119&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N119&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O119&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P119&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q119&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R119&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S119&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T119&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U119&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V119&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W119&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X119&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y119)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z119)&\", version_author=\"&AddQuotes('Calculator Table'!$AA119)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB119,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC119)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE119)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF119)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG119)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH119)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI119)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ119)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK119)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL119)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM119)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN119)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO119)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP119)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F119&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B119)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B119)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD119,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F119&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A119)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E119)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K119&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K119=\"Small Patch\",K119=\"Matrix\")),'Calculator Table'!$L119,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K119=\"Small Patch\",'Calculator Table'!$L119,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K119=\"Matrix\",'Calculator Table'!$L119,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M119&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N119&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O119&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P119&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q119&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R119&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S119&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T119&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U119&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V119&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W119&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X119&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y119)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z119)&\", version_author=\"&AddQuotes('Calculator Table'!$AA119)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB119,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC119)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE119)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF119)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG119)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH119)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI119)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ119)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK119)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL119)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM119)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN119)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO119)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP119)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F119&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS120>0,'Rk Assign'!D120,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS120>0,Calculate!$AV120,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ120:$BL120<>\"U\")*($AQ120:$BL120>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ120:$BL120<>\"U\")*($AQ120:$BL120>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ120:$BL120<>\"U\")*($AQ120:$BL120>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K120:$R120<>\"Z\")*($K120:$R120>\"\")*NOT(ISERROR($K120:$R120)))+SUM(($K$4:$R$4=\"A\")*($K120:$R120<>\"A\")*($K120:$R120>\"\")*NOT(ISERROR($K120:$R120)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K120:$R120=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ120:$BL120=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B120)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B120)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD120,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F120&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A120)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E120)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K120&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E120=\"Small Patch\",E120=\"Matrix\")),'Calculator Table'!$L120,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E120=\"Small Patch\",'Calculator Table'!$L120,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E120=\"Matrix\",'Calculator Table'!$L120,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M120&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N120&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O120&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P120&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q120&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R120&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S120&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T120&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U120&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V120&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W120&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X120&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y120)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z120)&\", version_author=\"&AddQuotes('Calculator Table'!$AA120)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB120,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC120)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE120)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF120)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG120)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH120)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI120)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ120)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK120)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL120)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM120)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN120)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO120)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP120)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F120&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B120)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B120)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD120,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F120&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A120)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E120)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K120&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H120=\"Small Patch\",H120=\"Matrix\")),'Calculator Table'!$L120,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H120=\"Small Patch\",'Calculator Table'!$L120,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H120=\"Matrix\",'Calculator Table'!$L120,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M120&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N120&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O120&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P120&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q120&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R120&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S120&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T120&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U120&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V120&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W120&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X120&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y120)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z120)&\", version_author=\"&AddQuotes('Calculator Table'!$AA120)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB120,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC120)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE120)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF120)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG120)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH120)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI120)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ120)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK120)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL120)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM120)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN120)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO120)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP120)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F120&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B120)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B120)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD120,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F120&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A120)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E120)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K120&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K120=\"Small Patch\",K120=\"Matrix\")),'Calculator Table'!$L120,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K120=\"Small Patch\",'Calculator Table'!$L120,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K120=\"Matrix\",'Calculator Table'!$L120,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M120&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N120&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O120&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P120&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q120&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R120&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S120&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T120&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U120&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V120&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W120&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X120&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y120)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z120)&\", version_author=\"&AddQuotes('Calculator Table'!$AA120)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB120,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC120)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE120)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF120)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG120)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH120)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI120)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ120)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK120)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL120)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM120)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN120)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO120)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP120)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F120&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS121>0,'Rk Assign'!D121,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS121>0,Calculate!$AV121,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ121:$BL121<>\"U\")*($AQ121:$BL121>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ121:$BL121<>\"U\")*($AQ121:$BL121>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ121:$BL121<>\"U\")*($AQ121:$BL121>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K121:$R121<>\"Z\")*($K121:$R121>\"\")*NOT(ISERROR($K121:$R121)))+SUM(($K$4:$R$4=\"A\")*($K121:$R121<>\"A\")*($K121:$R121>\"\")*NOT(ISERROR($K121:$R121)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K121:$R121=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ121:$BL121=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B121)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B121)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD121,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F121&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A121)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E121)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K121&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E121=\"Small Patch\",E121=\"Matrix\")),'Calculator Table'!$L121,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E121=\"Small Patch\",'Calculator Table'!$L121,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E121=\"Matrix\",'Calculator Table'!$L121,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M121&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N121&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O121&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P121&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q121&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R121&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S121&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T121&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U121&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V121&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W121&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X121&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y121)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z121)&\", version_author=\"&AddQuotes('Calculator Table'!$AA121)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB121,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC121)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE121)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF121)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG121)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH121)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI121)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ121)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK121)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL121)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM121)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN121)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO121)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP121)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F121&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B121)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B121)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD121,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F121&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A121)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E121)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K121&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H121=\"Small Patch\",H121=\"Matrix\")),'Calculator Table'!$L121,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H121=\"Small Patch\",'Calculator Table'!$L121,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H121=\"Matrix\",'Calculator Table'!$L121,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M121&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N121&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O121&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P121&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q121&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R121&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S121&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T121&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U121&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V121&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W121&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X121&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y121)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z121)&\", version_author=\"&AddQuotes('Calculator Table'!$AA121)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB121,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC121)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE121)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF121)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG121)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH121)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI121)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ121)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK121)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL121)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM121)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN121)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO121)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP121)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F121&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B121)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B121)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD121,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F121&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A121)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E121)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K121&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K121=\"Small Patch\",K121=\"Matrix\")),'Calculator Table'!$L121,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K121=\"Small Patch\",'Calculator Table'!$L121,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K121=\"Matrix\",'Calculator Table'!$L121,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M121&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N121&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O121&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P121&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q121&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R121&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S121&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T121&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U121&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V121&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W121&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X121&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y121)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z121)&\", version_author=\"&AddQuotes('Calculator Table'!$AA121)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB121,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC121)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE121)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF121)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG121)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH121)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI121)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ121)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK121)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL121)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM121)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN121)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO121)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP121)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F121&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS122>0,'Rk Assign'!D122,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS122>0,Calculate!$AV122,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ122:$BL122<>\"U\")*($AQ122:$BL122>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ122:$BL122<>\"U\")*($AQ122:$BL122>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ122:$BL122<>\"U\")*($AQ122:$BL122>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K122:$R122<>\"Z\")*($K122:$R122>\"\")*NOT(ISERROR($K122:$R122)))+SUM(($K$4:$R$4=\"A\")*($K122:$R122<>\"A\")*($K122:$R122>\"\")*NOT(ISERROR($K122:$R122)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K122:$R122=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ122:$BL122=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B122)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B122)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD122,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F122&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A122)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E122)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K122&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E122=\"Small Patch\",E122=\"Matrix\")),'Calculator Table'!$L122,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E122=\"Small Patch\",'Calculator Table'!$L122,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E122=\"Matrix\",'Calculator Table'!$L122,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M122&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N122&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O122&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P122&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q122&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R122&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S122&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T122&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U122&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V122&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W122&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X122&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y122)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z122)&\", version_author=\"&AddQuotes('Calculator Table'!$AA122)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB122,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC122)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE122)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF122)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG122)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH122)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI122)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ122)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK122)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL122)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM122)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN122)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO122)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP122)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F122&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B122)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B122)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD122,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F122&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A122)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E122)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K122&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H122=\"Small Patch\",H122=\"Matrix\")),'Calculator Table'!$L122,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H122=\"Small Patch\",'Calculator Table'!$L122,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H122=\"Matrix\",'Calculator Table'!$L122,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M122&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N122&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O122&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P122&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q122&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R122&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S122&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T122&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U122&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V122&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W122&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X122&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y122)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z122)&\", version_author=\"&AddQuotes('Calculator Table'!$AA122)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB122,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC122)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE122)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF122)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG122)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH122)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI122)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ122)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK122)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL122)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM122)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN122)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO122)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP122)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F122&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B122)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B122)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD122,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F122&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A122)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E122)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K122&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K122=\"Small Patch\",K122=\"Matrix\")),'Calculator Table'!$L122,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K122=\"Small Patch\",'Calculator Table'!$L122,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K122=\"Matrix\",'Calculator Table'!$L122,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M122&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N122&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O122&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P122&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q122&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R122&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S122&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T122&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U122&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V122&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W122&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X122&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y122)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z122)&\", version_author=\"&AddQuotes('Calculator Table'!$AA122)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB122,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC122)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE122)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF122)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG122)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH122)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI122)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ122)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK122)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL122)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM122)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN122)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO122)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP122)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F122&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS123>0,'Rk Assign'!D123,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS123>0,Calculate!$AV123,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ123:$BL123<>\"U\")*($AQ123:$BL123>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ123:$BL123<>\"U\")*($AQ123:$BL123>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ123:$BL123<>\"U\")*($AQ123:$BL123>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K123:$R123<>\"Z\")*($K123:$R123>\"\")*NOT(ISERROR($K123:$R123)))+SUM(($K$4:$R$4=\"A\")*($K123:$R123<>\"A\")*($K123:$R123>\"\")*NOT(ISERROR($K123:$R123)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K123:$R123=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ123:$BL123=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B123)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B123)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD123,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F123&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A123)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E123)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K123&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E123=\"Small Patch\",E123=\"Matrix\")),'Calculator Table'!$L123,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E123=\"Small Patch\",'Calculator Table'!$L123,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E123=\"Matrix\",'Calculator Table'!$L123,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M123&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N123&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O123&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P123&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q123&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R123&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S123&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T123&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U123&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V123&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W123&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X123&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y123)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z123)&\", version_author=\"&AddQuotes('Calculator Table'!$AA123)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB123,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC123)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE123)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF123)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG123)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH123)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI123)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ123)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK123)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL123)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM123)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN123)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO123)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP123)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F123&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B123)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B123)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD123,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F123&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A123)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E123)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K123&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H123=\"Small Patch\",H123=\"Matrix\")),'Calculator Table'!$L123,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H123=\"Small Patch\",'Calculator Table'!$L123,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H123=\"Matrix\",'Calculator Table'!$L123,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M123&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N123&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O123&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P123&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q123&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R123&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S123&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T123&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U123&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V123&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W123&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X123&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y123)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z123)&\", version_author=\"&AddQuotes('Calculator Table'!$AA123)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB123,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC123)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE123)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF123)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG123)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH123)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI123)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ123)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK123)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL123)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM123)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN123)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO123)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP123)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F123&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B123)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B123)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD123,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F123&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A123)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E123)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K123&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K123=\"Small Patch\",K123=\"Matrix\")),'Calculator Table'!$L123,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K123=\"Small Patch\",'Calculator Table'!$L123,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K123=\"Matrix\",'Calculator Table'!$L123,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M123&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N123&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O123&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P123&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q123&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R123&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S123&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T123&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U123&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V123&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W123&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X123&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y123)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z123)&\", version_author=\"&AddQuotes('Calculator Table'!$AA123)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB123,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC123)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE123)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF123)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG123)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH123)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI123)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ123)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK123)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL123)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM123)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN123)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO123)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP123)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F123&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS124>0,'Rk Assign'!D124,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS124>0,Calculate!$AV124,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ124:$BL124<>\"U\")*($AQ124:$BL124>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ124:$BL124<>\"U\")*($AQ124:$BL124>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ124:$BL124<>\"U\")*($AQ124:$BL124>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K124:$R124<>\"Z\")*($K124:$R124>\"\")*NOT(ISERROR($K124:$R124)))+SUM(($K$4:$R$4=\"A\")*($K124:$R124<>\"A\")*($K124:$R124>\"\")*NOT(ISERROR($K124:$R124)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K124:$R124=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ124:$BL124=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B124)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B124)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD124,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F124&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A124)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E124)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K124&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E124=\"Small Patch\",E124=\"Matrix\")),'Calculator Table'!$L124,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E124=\"Small Patch\",'Calculator Table'!$L124,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E124=\"Matrix\",'Calculator Table'!$L124,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M124&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N124&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O124&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P124&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q124&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R124&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S124&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T124&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U124&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V124&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W124&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X124&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y124)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z124)&\", version_author=\"&AddQuotes('Calculator Table'!$AA124)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB124,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC124)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE124)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF124)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG124)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH124)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI124)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ124)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK124)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL124)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM124)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN124)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO124)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP124)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F124&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B124)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B124)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD124,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F124&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A124)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E124)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K124&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H124=\"Small Patch\",H124=\"Matrix\")),'Calculator Table'!$L124,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H124=\"Small Patch\",'Calculator Table'!$L124,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H124=\"Matrix\",'Calculator Table'!$L124,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M124&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N124&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O124&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P124&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q124&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R124&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S124&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T124&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U124&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V124&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W124&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X124&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y124)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z124)&\", version_author=\"&AddQuotes('Calculator Table'!$AA124)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB124,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC124)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE124)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF124)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG124)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH124)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI124)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ124)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK124)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL124)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM124)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN124)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO124)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP124)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F124&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B124)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B124)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD124,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F124&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A124)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E124)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K124&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K124=\"Small Patch\",K124=\"Matrix\")),'Calculator Table'!$L124,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K124=\"Small Patch\",'Calculator Table'!$L124,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K124=\"Matrix\",'Calculator Table'!$L124,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M124&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N124&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O124&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P124&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q124&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R124&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S124&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T124&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U124&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V124&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W124&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X124&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y124)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z124)&\", version_author=\"&AddQuotes('Calculator Table'!$AA124)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB124,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC124)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE124)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF124)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG124)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH124)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI124)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ124)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK124)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL124)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM124)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN124)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO124)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP124)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F124&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS125>0,'Rk Assign'!D125,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS125>0,Calculate!$AV125,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ125:$BL125<>\"U\")*($AQ125:$BL125>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ125:$BL125<>\"U\")*($AQ125:$BL125>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ125:$BL125<>\"U\")*($AQ125:$BL125>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K125:$R125<>\"Z\")*($K125:$R125>\"\")*NOT(ISERROR($K125:$R125)))+SUM(($K$4:$R$4=\"A\")*($K125:$R125<>\"A\")*($K125:$R125>\"\")*NOT(ISERROR($K125:$R125)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K125:$R125=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ125:$BL125=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B125)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B125)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD125,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F125&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A125)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E125)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K125&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E125=\"Small Patch\",E125=\"Matrix\")),'Calculator Table'!$L125,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E125=\"Small Patch\",'Calculator Table'!$L125,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E125=\"Matrix\",'Calculator Table'!$L125,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M125&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N125&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O125&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P125&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q125&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R125&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S125&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T125&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U125&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V125&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W125&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X125&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y125)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z125)&\", version_author=\"&AddQuotes('Calculator Table'!$AA125)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB125,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC125)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE125)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF125)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG125)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH125)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI125)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ125)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK125)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL125)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM125)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN125)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO125)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP125)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F125&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B125)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B125)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD125,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F125&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A125)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E125)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K125&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H125=\"Small Patch\",H125=\"Matrix\")),'Calculator Table'!$L125,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H125=\"Small Patch\",'Calculator Table'!$L125,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H125=\"Matrix\",'Calculator Table'!$L125,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M125&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N125&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O125&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P125&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q125&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R125&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S125&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T125&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U125&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V125&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W125&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X125&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y125)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z125)&\", version_author=\"&AddQuotes('Calculator Table'!$AA125)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB125,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC125)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE125)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF125)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG125)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH125)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI125)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ125)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK125)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL125)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM125)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN125)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO125)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP125)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F125&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B125)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B125)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD125,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F125&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A125)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E125)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K125&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K125=\"Small Patch\",K125=\"Matrix\")),'Calculator Table'!$L125,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K125=\"Small Patch\",'Calculator Table'!$L125,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K125=\"Matrix\",'Calculator Table'!$L125,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M125&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N125&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O125&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P125&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q125&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R125&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S125&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T125&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U125&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V125&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W125&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X125&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y125)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z125)&\", version_author=\"&AddQuotes('Calculator Table'!$AA125)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB125,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC125)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE125)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF125)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG125)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH125)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI125)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ125)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK125)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL125)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM125)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN125)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO125)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP125)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F125&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS126>0,'Rk Assign'!D126,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS126>0,Calculate!$AV126,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ126:$BL126<>\"U\")*($AQ126:$BL126>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ126:$BL126<>\"U\")*($AQ126:$BL126>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ126:$BL126<>\"U\")*($AQ126:$BL126>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K126:$R126<>\"Z\")*($K126:$R126>\"\")*NOT(ISERROR($K126:$R126)))+SUM(($K$4:$R$4=\"A\")*($K126:$R126<>\"A\")*($K126:$R126>\"\")*NOT(ISERROR($K126:$R126)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K126:$R126=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ126:$BL126=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B126)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B126)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD126,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F126&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A126)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E126)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K126&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E126=\"Small Patch\",E126=\"Matrix\")),'Calculator Table'!$L126,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E126=\"Small Patch\",'Calculator Table'!$L126,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E126=\"Matrix\",'Calculator Table'!$L126,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M126&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N126&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O126&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P126&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q126&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R126&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S126&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T126&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U126&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V126&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W126&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X126&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y126)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z126)&\", version_author=\"&AddQuotes('Calculator Table'!$AA126)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB126,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC126)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE126)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF126)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG126)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH126)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI126)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ126)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK126)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL126)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM126)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN126)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO126)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP126)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F126&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B126)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B126)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD126,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F126&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A126)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E126)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K126&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H126=\"Small Patch\",H126=\"Matrix\")),'Calculator Table'!$L126,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H126=\"Small Patch\",'Calculator Table'!$L126,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H126=\"Matrix\",'Calculator Table'!$L126,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M126&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N126&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O126&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P126&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q126&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R126&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S126&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T126&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U126&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V126&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W126&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X126&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y126)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z126)&\", version_author=\"&AddQuotes('Calculator Table'!$AA126)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB126,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC126)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE126)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF126)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG126)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH126)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI126)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ126)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK126)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL126)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM126)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN126)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO126)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP126)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F126&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B126)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B126)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD126,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F126&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A126)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E126)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K126&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K126=\"Small Patch\",K126=\"Matrix\")),'Calculator Table'!$L126,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K126=\"Small Patch\",'Calculator Table'!$L126,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K126=\"Matrix\",'Calculator Table'!$L126,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M126&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N126&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O126&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P126&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q126&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R126&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S126&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T126&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U126&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V126&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W126&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X126&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y126)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z126)&\", version_author=\"&AddQuotes('Calculator Table'!$AA126)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB126,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC126)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE126)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF126)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG126)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH126)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI126)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ126)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK126)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL126)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM126)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN126)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO126)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP126)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F126&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS127>0,'Rk Assign'!D127,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS127>0,Calculate!$AV127,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ127:$BL127<>\"U\")*($AQ127:$BL127>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ127:$BL127<>\"U\")*($AQ127:$BL127>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ127:$BL127<>\"U\")*($AQ127:$BL127>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K127:$R127<>\"Z\")*($K127:$R127>\"\")*NOT(ISERROR($K127:$R127)))+SUM(($K$4:$R$4=\"A\")*($K127:$R127<>\"A\")*($K127:$R127>\"\")*NOT(ISERROR($K127:$R127)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K127:$R127=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ127:$BL127=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B127)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B127)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD127,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F127&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A127)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E127)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K127&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E127=\"Small Patch\",E127=\"Matrix\")),'Calculator Table'!$L127,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E127=\"Small Patch\",'Calculator Table'!$L127,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E127=\"Matrix\",'Calculator Table'!$L127,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M127&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N127&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O127&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P127&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q127&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R127&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S127&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T127&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U127&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V127&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W127&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X127&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y127)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z127)&\", version_author=\"&AddQuotes('Calculator Table'!$AA127)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB127,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC127)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE127)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF127)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG127)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH127)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI127)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ127)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK127)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL127)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM127)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN127)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO127)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP127)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F127&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B127)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B127)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD127,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F127&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A127)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E127)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K127&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H127=\"Small Patch\",H127=\"Matrix\")),'Calculator Table'!$L127,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H127=\"Small Patch\",'Calculator Table'!$L127,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H127=\"Matrix\",'Calculator Table'!$L127,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M127&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N127&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O127&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P127&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q127&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R127&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S127&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T127&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U127&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V127&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W127&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X127&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y127)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z127)&\", version_author=\"&AddQuotes('Calculator Table'!$AA127)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB127,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC127)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE127)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF127)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG127)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH127)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI127)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ127)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK127)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL127)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM127)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN127)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO127)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP127)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F127&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B127)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B127)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD127,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F127&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A127)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E127)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K127&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K127=\"Small Patch\",K127=\"Matrix\")),'Calculator Table'!$L127,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K127=\"Small Patch\",'Calculator Table'!$L127,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K127=\"Matrix\",'Calculator Table'!$L127,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M127&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N127&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O127&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P127&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q127&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R127&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S127&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T127&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U127&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V127&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W127&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X127&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y127)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z127)&\", version_author=\"&AddQuotes('Calculator Table'!$AA127)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB127,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC127)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE127)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF127)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG127)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH127)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI127)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ127)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK127)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL127)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM127)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN127)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO127)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP127)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F127&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS128>0,'Rk Assign'!D128,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS128>0,Calculate!$AV128,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ128:$BL128<>\"U\")*($AQ128:$BL128>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ128:$BL128<>\"U\")*($AQ128:$BL128>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ128:$BL128<>\"U\")*($AQ128:$BL128>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K128:$R128<>\"Z\")*($K128:$R128>\"\")*NOT(ISERROR($K128:$R128)))+SUM(($K$4:$R$4=\"A\")*($K128:$R128<>\"A\")*($K128:$R128>\"\")*NOT(ISERROR($K128:$R128)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K128:$R128=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ128:$BL128=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B128)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B128)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD128,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F128&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A128)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E128)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K128&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E128=\"Small Patch\",E128=\"Matrix\")),'Calculator Table'!$L128,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E128=\"Small Patch\",'Calculator Table'!$L128,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E128=\"Matrix\",'Calculator Table'!$L128,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M128&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N128&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O128&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P128&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q128&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R128&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S128&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T128&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U128&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V128&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W128&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X128&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y128)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z128)&\", version_author=\"&AddQuotes('Calculator Table'!$AA128)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB128,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC128)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE128)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF128)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG128)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH128)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI128)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ128)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK128)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL128)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM128)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN128)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO128)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP128)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F128&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B128)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B128)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD128,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F128&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A128)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E128)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K128&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H128=\"Small Patch\",H128=\"Matrix\")),'Calculator Table'!$L128,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H128=\"Small Patch\",'Calculator Table'!$L128,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H128=\"Matrix\",'Calculator Table'!$L128,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M128&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N128&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O128&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P128&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q128&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R128&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S128&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T128&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U128&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V128&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W128&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X128&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y128)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z128)&\", version_author=\"&AddQuotes('Calculator Table'!$AA128)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB128,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC128)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE128)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF128)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG128)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH128)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI128)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ128)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK128)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL128)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM128)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN128)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO128)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP128)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F128&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B128)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B128)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD128,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F128&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A128)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E128)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K128&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K128=\"Small Patch\",K128=\"Matrix\")),'Calculator Table'!$L128,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K128=\"Small Patch\",'Calculator Table'!$L128,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K128=\"Matrix\",'Calculator Table'!$L128,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M128&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N128&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O128&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P128&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q128&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R128&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S128&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T128&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U128&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V128&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W128&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X128&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y128)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z128)&\", version_author=\"&AddQuotes('Calculator Table'!$AA128)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB128,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC128)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE128)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF128)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG128)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH128)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI128)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ128)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK128)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL128)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM128)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN128)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO128)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP128)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F128&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS129>0,'Rk Assign'!D129,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS129>0,Calculate!$AV129,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ129:$BL129<>\"U\")*($AQ129:$BL129>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ129:$BL129<>\"U\")*($AQ129:$BL129>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ129:$BL129<>\"U\")*($AQ129:$BL129>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K129:$R129<>\"Z\")*($K129:$R129>\"\")*NOT(ISERROR($K129:$R129)))+SUM(($K$4:$R$4=\"A\")*($K129:$R129<>\"A\")*($K129:$R129>\"\")*NOT(ISERROR($K129:$R129)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K129:$R129=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ129:$BL129=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B129)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B129)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD129,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F129&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A129)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E129)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K129&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E129=\"Small Patch\",E129=\"Matrix\")),'Calculator Table'!$L129,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E129=\"Small Patch\",'Calculator Table'!$L129,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E129=\"Matrix\",'Calculator Table'!$L129,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M129&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N129&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O129&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P129&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q129&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R129&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S129&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T129&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U129&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V129&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W129&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X129&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y129)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z129)&\", version_author=\"&AddQuotes('Calculator Table'!$AA129)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB129,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC129)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE129)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF129)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG129)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH129)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI129)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ129)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK129)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL129)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM129)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN129)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO129)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP129)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F129&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B129)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B129)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD129,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F129&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A129)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E129)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K129&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H129=\"Small Patch\",H129=\"Matrix\")),'Calculator Table'!$L129,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H129=\"Small Patch\",'Calculator Table'!$L129,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H129=\"Matrix\",'Calculator Table'!$L129,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M129&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N129&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O129&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P129&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q129&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R129&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S129&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T129&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U129&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V129&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W129&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X129&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y129)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z129)&\", version_author=\"&AddQuotes('Calculator Table'!$AA129)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB129,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC129)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE129)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF129)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG129)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH129)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI129)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ129)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK129)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL129)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM129)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN129)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO129)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP129)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F129&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B129)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B129)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD129,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F129&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A129)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E129)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K129&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K129=\"Small Patch\",K129=\"Matrix\")),'Calculator Table'!$L129,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K129=\"Small Patch\",'Calculator Table'!$L129,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K129=\"Matrix\",'Calculator Table'!$L129,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M129&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N129&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O129&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P129&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q129&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R129&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S129&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T129&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U129&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V129&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W129&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X129&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y129)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z129)&\", version_author=\"&AddQuotes('Calculator Table'!$AA129)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB129,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC129)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE129)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF129)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG129)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH129)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI129)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ129)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK129)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL129)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM129)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN129)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO129)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP129)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F129&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS130>0,'Rk Assign'!D130,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS130>0,Calculate!$AV130,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ130:$BL130<>\"U\")*($AQ130:$BL130>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ130:$BL130<>\"U\")*($AQ130:$BL130>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ130:$BL130<>\"U\")*($AQ130:$BL130>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K130:$R130<>\"Z\")*($K130:$R130>\"\")*NOT(ISERROR($K130:$R130)))+SUM(($K$4:$R$4=\"A\")*($K130:$R130<>\"A\")*($K130:$R130>\"\")*NOT(ISERROR($K130:$R130)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K130:$R130=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ130:$BL130=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B130)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B130)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD130,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F130&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A130)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E130)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K130&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E130=\"Small Patch\",E130=\"Matrix\")),'Calculator Table'!$L130,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E130=\"Small Patch\",'Calculator Table'!$L130,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E130=\"Matrix\",'Calculator Table'!$L130,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M130&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N130&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O130&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P130&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q130&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R130&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S130&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T130&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U130&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V130&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W130&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X130&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y130)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z130)&\", version_author=\"&AddQuotes('Calculator Table'!$AA130)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB130,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC130)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE130)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF130)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG130)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH130)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI130)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ130)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK130)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL130)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM130)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN130)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO130)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP130)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F130&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B130)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B130)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD130,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F130&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A130)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E130)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K130&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H130=\"Small Patch\",H130=\"Matrix\")),'Calculator Table'!$L130,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H130=\"Small Patch\",'Calculator Table'!$L130,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H130=\"Matrix\",'Calculator Table'!$L130,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M130&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N130&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O130&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P130&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q130&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R130&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S130&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T130&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U130&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V130&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W130&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X130&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y130)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z130)&\", version_author=\"&AddQuotes('Calculator Table'!$AA130)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB130,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC130)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE130)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF130)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG130)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH130)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI130)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ130)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK130)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL130)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM130)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN130)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO130)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP130)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F130&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B130)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B130)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD130,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F130&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A130)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E130)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K130&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K130=\"Small Patch\",K130=\"Matrix\")),'Calculator Table'!$L130,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K130=\"Small Patch\",'Calculator Table'!$L130,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K130=\"Matrix\",'Calculator Table'!$L130,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M130&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N130&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O130&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P130&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q130&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R130&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S130&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T130&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U130&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V130&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W130&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X130&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y130)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z130)&\", version_author=\"&AddQuotes('Calculator Table'!$AA130)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB130,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC130)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE130)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF130)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG130)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH130)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI130)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ130)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK130)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL130)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM130)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN130)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO130)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP130)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F130&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS131>0,'Rk Assign'!D131,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS131>0,Calculate!$AV131,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ131:$BL131<>\"U\")*($AQ131:$BL131>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ131:$BL131<>\"U\")*($AQ131:$BL131>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ131:$BL131<>\"U\")*($AQ131:$BL131>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K131:$R131<>\"Z\")*($K131:$R131>\"\")*NOT(ISERROR($K131:$R131)))+SUM(($K$4:$R$4=\"A\")*($K131:$R131<>\"A\")*($K131:$R131>\"\")*NOT(ISERROR($K131:$R131)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K131:$R131=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ131:$BL131=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B131)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B131)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD131,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F131&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A131)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E131)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K131&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E131=\"Small Patch\",E131=\"Matrix\")),'Calculator Table'!$L131,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E131=\"Small Patch\",'Calculator Table'!$L131,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E131=\"Matrix\",'Calculator Table'!$L131,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M131&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N131&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O131&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P131&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q131&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R131&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S131&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T131&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U131&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V131&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W131&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X131&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y131)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z131)&\", version_author=\"&AddQuotes('Calculator Table'!$AA131)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB131,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC131)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE131)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF131)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG131)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH131)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI131)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ131)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK131)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL131)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM131)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN131)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO131)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP131)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F131&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B131)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B131)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD131,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F131&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A131)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E131)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K131&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H131=\"Small Patch\",H131=\"Matrix\")),'Calculator Table'!$L131,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H131=\"Small Patch\",'Calculator Table'!$L131,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H131=\"Matrix\",'Calculator Table'!$L131,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M131&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N131&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O131&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P131&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q131&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R131&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S131&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T131&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U131&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V131&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W131&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X131&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y131)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z131)&\", version_author=\"&AddQuotes('Calculator Table'!$AA131)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB131,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC131)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE131)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF131)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG131)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH131)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI131)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ131)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK131)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL131)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM131)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN131)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO131)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP131)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F131&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B131)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B131)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD131,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F131&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A131)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E131)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K131&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K131=\"Small Patch\",K131=\"Matrix\")),'Calculator Table'!$L131,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K131=\"Small Patch\",'Calculator Table'!$L131,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K131=\"Matrix\",'Calculator Table'!$L131,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M131&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N131&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O131&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P131&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q131&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R131&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S131&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T131&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U131&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V131&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W131&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X131&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y131)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z131)&\", version_author=\"&AddQuotes('Calculator Table'!$AA131)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB131,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC131)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE131)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF131)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG131)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH131)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI131)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ131)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK131)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL131)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM131)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN131)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO131)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP131)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F131&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS132>0,'Rk Assign'!D132,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS132>0,Calculate!$AV132,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ132:$BL132<>\"U\")*($AQ132:$BL132>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ132:$BL132<>\"U\")*($AQ132:$BL132>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ132:$BL132<>\"U\")*($AQ132:$BL132>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K132:$R132<>\"Z\")*($K132:$R132>\"\")*NOT(ISERROR($K132:$R132)))+SUM(($K$4:$R$4=\"A\")*($K132:$R132<>\"A\")*($K132:$R132>\"\")*NOT(ISERROR($K132:$R132)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K132:$R132=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ132:$BL132=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B132)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B132)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD132,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F132&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A132)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E132)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K132&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E132=\"Small Patch\",E132=\"Matrix\")),'Calculator Table'!$L132,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E132=\"Small Patch\",'Calculator Table'!$L132,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E132=\"Matrix\",'Calculator Table'!$L132,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M132&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N132&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O132&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P132&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q132&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R132&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S132&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T132&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U132&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V132&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W132&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X132&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y132)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z132)&\", version_author=\"&AddQuotes('Calculator Table'!$AA132)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB132,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC132)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE132)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF132)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG132)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH132)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI132)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ132)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK132)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL132)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM132)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN132)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO132)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP132)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F132&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B132)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B132)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD132,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F132&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A132)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E132)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K132&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H132=\"Small Patch\",H132=\"Matrix\")),'Calculator Table'!$L132,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H132=\"Small Patch\",'Calculator Table'!$L132,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H132=\"Matrix\",'Calculator Table'!$L132,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M132&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N132&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O132&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P132&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q132&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R132&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S132&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T132&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U132&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V132&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W132&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X132&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y132)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z132)&\", version_author=\"&AddQuotes('Calculator Table'!$AA132)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB132,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC132)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE132)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF132)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG132)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH132)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI132)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ132)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK132)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL132)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM132)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN132)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO132)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP132)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F132&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B132)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B132)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD132,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F132&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A132)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E132)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K132&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K132=\"Small Patch\",K132=\"Matrix\")),'Calculator Table'!$L132,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K132=\"Small Patch\",'Calculator Table'!$L132,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K132=\"Matrix\",'Calculator Table'!$L132,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M132&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N132&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O132&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P132&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q132&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R132&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S132&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T132&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U132&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V132&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W132&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X132&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y132)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z132)&\", version_author=\"&AddQuotes('Calculator Table'!$AA132)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB132,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC132)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE132)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF132)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG132)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH132)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI132)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ132)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK132)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL132)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM132)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN132)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO132)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP132)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F132&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS133>0,'Rk Assign'!D133,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,{"$f":"LEFT(K133,1)","v":""},{"$f":"RIGHT(K133,1)","v":""},"","",{"$f":"LEFT(O133,1)","v":""},{"$f":"RIGHT(O133,1)","v":""},{"$f":"LEFT(Q133,1)","v":""},{"$f":"RIGHT(Q133,1)","v":""},{"$f":"IF(AND(AS133>\"\",AS133<>\"U\",AS133<>\"0\"),LEFT(R133,1),\"\")","v":""},{"$f":"IF(AND(AS133>\"\",AS133<>\"U\",AS133<>\"0\"),RIGHT(R133,1),\"\")","v":""},{"$f":"LEFT(P133,1)","v":""},{"$f":"RIGHT(P133,1)","v":""},{"$f":"LEFT(S133,1)","v":""},{"$f":"RIGHT(S133,1)","v":""},{"$f":"LEFT(W133,1)","v":""},{"$f":"RIGHT(W133,1)","v":""},{"$f":"LEFT(X133,1)","v":""},{"$f":"RIGHT(X133,1)","v":""},{"$f":"LEFT(V133,1)","v":""},{"$f":"RIGHT(V133,1)","v":""},"","",{"$f":"IF(BS133>0,Calculate!$AV133,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ133:$BL133<>\"U\")*($AQ133:$BL133>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ133:$BL133<>\"U\")*($AQ133:$BL133>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ133:$BL133<>\"U\")*($AQ133:$BL133>\"\"))","v":0},{"$f":"COUNTIF(BO133:BQ133,\">0\")","v":0},{"$f":"COUNTIF(K133:V133,\">''\")","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K133:$R133<>\"Z\")*($K133:$R133>\"\")*NOT(ISERROR($K133:$R133)))+SUM(($K$4:$R$4=\"A\")*($K133:$R133<>\"A\")*($K133:$R133>\"\")*NOT(ISERROR($K133:$R133)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K133:$R133=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ133:$BL133=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B133)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B133)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD133,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F133&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A133)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E133)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K133&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E133=\"Small Patch\",E133=\"Matrix\")),'Calculator Table'!$L133,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E133=\"Small Patch\",'Calculator Table'!$L133,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E133=\"Matrix\",'Calculator Table'!$L133,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M133&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N133&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O133&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P133&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q133&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R133&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S133&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T133&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U133&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V133&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W133&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X133&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y133)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z133)&\", version_author=\"&AddQuotes('Calculator Table'!$AA133)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB133,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC133)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE133)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF133)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG133)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH133)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI133)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ133)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK133)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL133)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM133)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN133)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO133)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP133)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F133&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B133)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B133)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD133,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F133&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A133)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E133)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K133&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H133=\"Small Patch\",H133=\"Matrix\")),'Calculator Table'!$L133,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H133=\"Small Patch\",'Calculator Table'!$L133,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H133=\"Matrix\",'Calculator Table'!$L133,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M133&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N133&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O133&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P133&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q133&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R133&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S133&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T133&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U133&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V133&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W133&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X133&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y133)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z133)&\", version_author=\"&AddQuotes('Calculator Table'!$AA133)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB133,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC133)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE133)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF133)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG133)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH133)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI133)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ133)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK133)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL133)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM133)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN133)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO133)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP133)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F133&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B133)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B133)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD133,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F133&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A133)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E133)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K133&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K133=\"Small Patch\",K133=\"Matrix\")),'Calculator Table'!$L133,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K133=\"Small Patch\",'Calculator Table'!$L133,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K133=\"Matrix\",'Calculator Table'!$L133,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M133&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N133&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O133&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P133&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q133&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R133&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S133&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T133&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U133&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V133&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W133&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X133&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y133)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z133)&\", version_author=\"&AddQuotes('Calculator Table'!$AA133)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB133,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC133)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE133)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF133)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG133)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH133)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI133)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ133)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK133)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL133)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM133)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN133)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO133)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP133)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F133&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS134>0,'Rk Assign'!D134,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","",{"$f":"LEFT(L134&M134&N134,1)","v":""},{"$f":"RIGHT(L134&M134&N134,1)","v":""},"","","","","","","","","","","","","","","","","","",{"$f":"IF(BS134>0,Calculate!$AV134,\"\")","v":""},{"$f":"IF(BS134>0,BR134>1,\"\")","v":""},{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ134:$BL134<>\"U\")*($AQ134:$BL134>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ134:$BL134<>\"U\")*($AQ134:$BL134>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ134:$BL134<>\"U\")*($AQ134:$BL134>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K134:$R134<>\"Z\")*($K134:$R134>\"\")*NOT(ISERROR($K134:$R134)))+SUM(($K$4:$R$4=\"A\")*($K134:$R134<>\"A\")*($K134:$R134>\"\")*NOT(ISERROR($K134:$R134)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K134:$R134=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ134:$BL134=\"Z\"))","v":0},{"$f":"IF(AND(BU134>0,BT134>0),\"Z-ERROR\",\"\")","v":""}," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B134)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B134)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD134,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F134&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A134)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E134)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K134&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E134=\"Small Patch\",E134=\"Matrix\")),'Calculator Table'!$L134,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E134=\"Small Patch\",'Calculator Table'!$L134,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E134=\"Matrix\",'Calculator Table'!$L134,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M134&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N134&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O134&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P134&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q134&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R134&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S134&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T134&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U134&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V134&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W134&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X134&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y134)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z134)&\", version_author=\"&AddQuotes('Calculator Table'!$AA134)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB134,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC134)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE134)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF134)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG134)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH134)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI134)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ134)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK134)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL134)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM134)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN134)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO134)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP134)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F134&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B134)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B134)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD134,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F134&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A134)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E134)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K134&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H134=\"Small Patch\",H134=\"Matrix\")),'Calculator Table'!$L134,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H134=\"Small Patch\",'Calculator Table'!$L134,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H134=\"Matrix\",'Calculator Table'!$L134,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M134&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N134&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O134&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P134&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q134&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R134&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S134&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T134&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U134&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V134&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W134&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X134&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y134)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z134)&\", version_author=\"&AddQuotes('Calculator Table'!$AA134)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB134,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC134)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE134)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF134)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG134)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH134)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI134)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ134)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK134)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL134)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM134)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN134)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO134)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP134)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F134&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B134)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B134)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD134,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F134&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A134)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E134)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K134&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K134=\"Small Patch\",K134=\"Matrix\")),'Calculator Table'!$L134,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K134=\"Small Patch\",'Calculator Table'!$L134,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K134=\"Matrix\",'Calculator Table'!$L134,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M134&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N134&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O134&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P134&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q134&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R134&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S134&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T134&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U134&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V134&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W134&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X134&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y134)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z134)&\", version_author=\"&AddQuotes('Calculator Table'!$AA134)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB134,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC134)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE134)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF134)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG134)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH134)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI134)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ134)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK134)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL134)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM134)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN134)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO134)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP134)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F134&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS135>0,'Rk Assign'!D135,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","",{"$f":"LEFT(T135,1)","v":""},{"$f":"RIGHT(T135,1)","v":""},{"$f":"IF(BS135>0,Calculate!$AV135,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ135:$BL135<>\"U\")*($AQ135:$BL135>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ135:$BL135<>\"U\")*($AQ135:$BL135>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ135:$BL135<>\"U\")*($AQ135:$BL135>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K135:$R135<>\"Z\")*($K135:$R135>\"\")*NOT(ISERROR($K135:$R135)))+SUM(($K$4:$R$4=\"A\")*($K135:$R135<>\"A\")*($K135:$R135>\"\")*NOT(ISERROR($K135:$R135)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K135:$R135=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ135:$BL135=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B135)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B135)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD135,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F135&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A135)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E135)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K135&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E135=\"Small Patch\",E135=\"Matrix\")),'Calculator Table'!$L135,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E135=\"Small Patch\",'Calculator Table'!$L135,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E135=\"Matrix\",'Calculator Table'!$L135,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M135&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N135&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O135&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P135&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q135&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R135&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S135&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T135&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U135&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V135&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W135&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X135&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y135)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z135)&\", version_author=\"&AddQuotes('Calculator Table'!$AA135)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB135,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC135)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE135)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF135)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG135)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH135)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI135)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ135)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK135)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL135)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM135)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN135)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO135)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP135)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F135&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B135)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B135)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD135,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F135&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A135)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E135)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K135&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H135=\"Small Patch\",H135=\"Matrix\")),'Calculator Table'!$L135,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H135=\"Small Patch\",'Calculator Table'!$L135,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H135=\"Matrix\",'Calculator Table'!$L135,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M135&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N135&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O135&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P135&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q135&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R135&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S135&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T135&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U135&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V135&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W135&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X135&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y135)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z135)&\", version_author=\"&AddQuotes('Calculator Table'!$AA135)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB135,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC135)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE135)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF135)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG135)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH135)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI135)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ135)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK135)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL135)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM135)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN135)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO135)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP135)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F135&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B135)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B135)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD135,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F135&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A135)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E135)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K135&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K135=\"Small Patch\",K135=\"Matrix\")),'Calculator Table'!$L135,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K135=\"Small Patch\",'Calculator Table'!$L135,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K135=\"Matrix\",'Calculator Table'!$L135,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M135&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N135&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O135&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P135&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q135&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R135&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S135&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T135&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U135&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V135&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W135&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X135&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y135)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z135)&\", version_author=\"&AddQuotes('Calculator Table'!$AA135)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB135,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC135)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE135)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF135)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG135)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH135)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI135)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ135)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK135)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL135)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM135)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN135)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO135)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP135)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F135&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS136>0,'Rk Assign'!D136,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS136>0,Calculate!$AV136,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ136:$BL136<>\"U\")*($AQ136:$BL136>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ136:$BL136<>\"U\")*($AQ136:$BL136>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ136:$BL136<>\"U\")*($AQ136:$BL136>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K136:$R136<>\"Z\")*($K136:$R136>\"\")*NOT(ISERROR($K136:$R136)))+SUM(($K$4:$R$4=\"A\")*($K136:$R136<>\"A\")*($K136:$R136>\"\")*NOT(ISERROR($K136:$R136)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K136:$R136=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ136:$BL136=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B136)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B136)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD136,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F136&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A136)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E136)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K136&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E136=\"Small Patch\",E136=\"Matrix\")),'Calculator Table'!$L136,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E136=\"Small Patch\",'Calculator Table'!$L136,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E136=\"Matrix\",'Calculator Table'!$L136,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M136&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N136&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O136&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P136&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q136&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R136&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S136&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T136&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U136&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V136&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W136&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X136&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y136)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z136)&\", version_author=\"&AddQuotes('Calculator Table'!$AA136)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB136,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC136)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE136)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF136)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG136)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH136)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI136)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ136)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK136)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL136)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM136)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN136)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO136)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP136)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F136&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B136)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B136)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD136,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F136&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A136)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E136)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K136&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H136=\"Small Patch\",H136=\"Matrix\")),'Calculator Table'!$L136,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H136=\"Small Patch\",'Calculator Table'!$L136,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H136=\"Matrix\",'Calculator Table'!$L136,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M136&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N136&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O136&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P136&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q136&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R136&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S136&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T136&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U136&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V136&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W136&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X136&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y136)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z136)&\", version_author=\"&AddQuotes('Calculator Table'!$AA136)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB136,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC136)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE136)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF136)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG136)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH136)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI136)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ136)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK136)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL136)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM136)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN136)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO136)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP136)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F136&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B136)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B136)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD136,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F136&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A136)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E136)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K136&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K136=\"Small Patch\",K136=\"Matrix\")),'Calculator Table'!$L136,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K136=\"Small Patch\",'Calculator Table'!$L136,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K136=\"Matrix\",'Calculator Table'!$L136,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M136&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N136&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O136&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P136&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q136&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R136&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S136&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T136&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U136&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V136&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W136&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X136&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y136)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z136)&\", version_author=\"&AddQuotes('Calculator Table'!$AA136)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB136,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC136)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE136)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF136)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG136)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH136)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI136)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ136)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK136)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL136)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM136)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN136)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO136)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP136)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F136&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS137>0,'Rk Assign'!D137,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS137>0,Calculate!$AV137,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ137:$BL137<>\"U\")*($AQ137:$BL137>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ137:$BL137<>\"U\")*($AQ137:$BL137>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ137:$BL137<>\"U\")*($AQ137:$BL137>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K137:$R137<>\"Z\")*($K137:$R137>\"\")*NOT(ISERROR($K137:$R137)))+SUM(($K$4:$R$4=\"A\")*($K137:$R137<>\"A\")*($K137:$R137>\"\")*NOT(ISERROR($K137:$R137)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K137:$R137=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ137:$BL137=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B137)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B137)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD137,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F137&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A137)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E137)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K137&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E137=\"Small Patch\",E137=\"Matrix\")),'Calculator Table'!$L137,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E137=\"Small Patch\",'Calculator Table'!$L137,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E137=\"Matrix\",'Calculator Table'!$L137,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M137&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N137&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O137&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P137&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q137&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R137&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S137&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T137&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U137&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V137&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W137&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X137&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y137)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z137)&\", version_author=\"&AddQuotes('Calculator Table'!$AA137)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB137,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC137)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE137)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF137)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG137)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH137)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI137)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ137)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK137)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL137)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM137)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN137)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO137)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP137)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F137&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B137)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B137)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD137,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F137&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A137)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E137)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K137&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H137=\"Small Patch\",H137=\"Matrix\")),'Calculator Table'!$L137,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H137=\"Small Patch\",'Calculator Table'!$L137,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H137=\"Matrix\",'Calculator Table'!$L137,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M137&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N137&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O137&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P137&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q137&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R137&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S137&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T137&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U137&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V137&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W137&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X137&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y137)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z137)&\", version_author=\"&AddQuotes('Calculator Table'!$AA137)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB137,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC137)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE137)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF137)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG137)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH137)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI137)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ137)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK137)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL137)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM137)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN137)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO137)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP137)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F137&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B137)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B137)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD137,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F137&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A137)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E137)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K137&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K137=\"Small Patch\",K137=\"Matrix\")),'Calculator Table'!$L137,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K137=\"Small Patch\",'Calculator Table'!$L137,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K137=\"Matrix\",'Calculator Table'!$L137,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M137&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N137&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O137&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P137&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q137&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R137&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S137&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T137&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U137&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V137&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W137&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X137&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y137)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z137)&\", version_author=\"&AddQuotes('Calculator Table'!$AA137)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB137,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC137)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE137)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF137)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG137)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH137)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI137)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ137)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK137)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL137)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM137)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN137)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO137)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP137)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F137&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS138>0,'Rk Assign'!D138,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS138>0,Calculate!$AV138,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ138:$BL138<>\"U\")*($AQ138:$BL138>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ138:$BL138<>\"U\")*($AQ138:$BL138>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ138:$BL138<>\"U\")*($AQ138:$BL138>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K138:$R138<>\"Z\")*($K138:$R138>\"\")*NOT(ISERROR($K138:$R138)))+SUM(($K$4:$R$4=\"A\")*($K138:$R138<>\"A\")*($K138:$R138>\"\")*NOT(ISERROR($K138:$R138)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K138:$R138=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ138:$BL138=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B138)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B138)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD138,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F138&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A138)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E138)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K138&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E138=\"Small Patch\",E138=\"Matrix\")),'Calculator Table'!$L138,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E138=\"Small Patch\",'Calculator Table'!$L138,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E138=\"Matrix\",'Calculator Table'!$L138,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M138&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N138&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O138&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P138&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q138&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R138&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S138&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T138&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U138&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V138&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W138&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X138&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y138)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z138)&\", version_author=\"&AddQuotes('Calculator Table'!$AA138)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB138,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC138)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE138)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF138)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG138)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH138)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI138)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ138)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK138)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL138)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM138)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN138)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO138)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP138)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F138&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B138)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B138)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD138,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F138&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A138)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E138)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K138&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H138=\"Small Patch\",H138=\"Matrix\")),'Calculator Table'!$L138,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H138=\"Small Patch\",'Calculator Table'!$L138,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H138=\"Matrix\",'Calculator Table'!$L138,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M138&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N138&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O138&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P138&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q138&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R138&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S138&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T138&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U138&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V138&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W138&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X138&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y138)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z138)&\", version_author=\"&AddQuotes('Calculator Table'!$AA138)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB138,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC138)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE138)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF138)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG138)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH138)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI138)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ138)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK138)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL138)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM138)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN138)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO138)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP138)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F138&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B138)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B138)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD138,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F138&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A138)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E138)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K138&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K138=\"Small Patch\",K138=\"Matrix\")),'Calculator Table'!$L138,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K138=\"Small Patch\",'Calculator Table'!$L138,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K138=\"Matrix\",'Calculator Table'!$L138,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M138&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N138&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O138&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P138&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q138&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R138&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S138&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T138&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U138&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V138&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W138&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X138&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y138)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z138)&\", version_author=\"&AddQuotes('Calculator Table'!$AA138)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB138,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC138)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE138)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF138)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG138)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH138)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI138)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ138)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK138)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL138)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM138)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN138)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO138)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP138)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F138&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS139>0,'Rk Assign'!D139,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS139>0,Calculate!$AV139,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ139:$BL139<>\"U\")*($AQ139:$BL139>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ139:$BL139<>\"U\")*($AQ139:$BL139>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ139:$BL139<>\"U\")*($AQ139:$BL139>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K139:$R139<>\"Z\")*($K139:$R139>\"\")*NOT(ISERROR($K139:$R139)))+SUM(($K$4:$R$4=\"A\")*($K139:$R139<>\"A\")*($K139:$R139>\"\")*NOT(ISERROR($K139:$R139)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K139:$R139=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ139:$BL139=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B139)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B139)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD139,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F139&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A139)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E139)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K139&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E139=\"Small Patch\",E139=\"Matrix\")),'Calculator Table'!$L139,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E139=\"Small Patch\",'Calculator Table'!$L139,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E139=\"Matrix\",'Calculator Table'!$L139,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M139&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N139&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O139&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P139&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q139&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R139&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S139&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T139&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U139&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V139&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W139&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X139&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y139)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z139)&\", version_author=\"&AddQuotes('Calculator Table'!$AA139)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB139,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC139)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE139)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF139)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG139)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH139)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI139)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ139)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK139)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL139)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM139)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN139)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO139)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP139)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F139&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B139)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B139)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD139,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F139&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A139)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E139)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K139&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H139=\"Small Patch\",H139=\"Matrix\")),'Calculator Table'!$L139,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H139=\"Small Patch\",'Calculator Table'!$L139,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H139=\"Matrix\",'Calculator Table'!$L139,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M139&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N139&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O139&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P139&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q139&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R139&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S139&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T139&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U139&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V139&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W139&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X139&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y139)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z139)&\", version_author=\"&AddQuotes('Calculator Table'!$AA139)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB139,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC139)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE139)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF139)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG139)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH139)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI139)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ139)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK139)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL139)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM139)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN139)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO139)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP139)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F139&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B139)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B139)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD139,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F139&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A139)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E139)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K139&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K139=\"Small Patch\",K139=\"Matrix\")),'Calculator Table'!$L139,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K139=\"Small Patch\",'Calculator Table'!$L139,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K139=\"Matrix\",'Calculator Table'!$L139,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M139&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N139&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O139&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P139&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q139&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R139&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S139&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T139&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U139&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V139&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W139&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X139&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y139)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z139)&\", version_author=\"&AddQuotes('Calculator Table'!$AA139)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB139,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC139)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE139)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF139)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG139)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH139)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI139)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ139)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK139)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL139)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM139)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN139)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO139)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP139)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F139&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS140>0,'Rk Assign'!D140,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS140>0,Calculate!$AV140,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ140:$BL140<>\"U\")*($AQ140:$BL140>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ140:$BL140<>\"U\")*($AQ140:$BL140>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ140:$BL140<>\"U\")*($AQ140:$BL140>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K140:$R140<>\"Z\")*($K140:$R140>\"\")*NOT(ISERROR($K140:$R140)))+SUM(($K$4:$R$4=\"A\")*($K140:$R140<>\"A\")*($K140:$R140>\"\")*NOT(ISERROR($K140:$R140)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K140:$R140=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ140:$BL140=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B140)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B140)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD140,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F140&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A140)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E140)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K140&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E140=\"Small Patch\",E140=\"Matrix\")),'Calculator Table'!$L140,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E140=\"Small Patch\",'Calculator Table'!$L140,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E140=\"Matrix\",'Calculator Table'!$L140,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M140&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N140&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O140&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P140&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q140&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R140&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S140&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T140&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U140&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V140&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W140&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X140&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y140)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z140)&\", version_author=\"&AddQuotes('Calculator Table'!$AA140)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB140,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC140)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE140)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF140)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG140)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH140)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI140)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ140)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK140)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL140)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM140)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN140)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO140)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP140)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F140&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B140)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B140)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD140,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F140&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A140)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E140)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K140&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H140=\"Small Patch\",H140=\"Matrix\")),'Calculator Table'!$L140,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H140=\"Small Patch\",'Calculator Table'!$L140,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H140=\"Matrix\",'Calculator Table'!$L140,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M140&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N140&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O140&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P140&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q140&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R140&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S140&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T140&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U140&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V140&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W140&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X140&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y140)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z140)&\", version_author=\"&AddQuotes('Calculator Table'!$AA140)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB140,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC140)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE140)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF140)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG140)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH140)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI140)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ140)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK140)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL140)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM140)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN140)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO140)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP140)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F140&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B140)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B140)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD140,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F140&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A140)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E140)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K140&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K140=\"Small Patch\",K140=\"Matrix\")),'Calculator Table'!$L140,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K140=\"Small Patch\",'Calculator Table'!$L140,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K140=\"Matrix\",'Calculator Table'!$L140,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M140&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N140&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O140&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P140&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q140&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R140&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S140&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T140&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U140&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V140&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W140&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X140&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y140)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z140)&\", version_author=\"&AddQuotes('Calculator Table'!$AA140)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB140,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC140)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE140)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF140)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG140)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH140)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI140)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ140)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK140)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL140)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM140)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN140)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO140)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP140)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F140&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS141>0,'Rk Assign'!D141,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS141>0,Calculate!$AV141,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ141:$BL141<>\"U\")*($AQ141:$BL141>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ141:$BL141<>\"U\")*($AQ141:$BL141>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ141:$BL141<>\"U\")*($AQ141:$BL141>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K141:$R141<>\"Z\")*($K141:$R141>\"\")*NOT(ISERROR($K141:$R141)))+SUM(($K$4:$R$4=\"A\")*($K141:$R141<>\"A\")*($K141:$R141>\"\")*NOT(ISERROR($K141:$R141)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K141:$R141=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ141:$BL141=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B141)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B141)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F141&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A141)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E141)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K141&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E141=\"Small Patch\",E141=\"Matrix\")),'Calculator Table'!$L141,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E141=\"Small Patch\",'Calculator Table'!$L141,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E141=\"Matrix\",'Calculator Table'!$L141,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M141&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N141&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O141&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P141&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q141&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R141&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S141&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T141&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U141&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V141&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W141&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X141&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y141)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z141)&\", version_author=\"&AddQuotes('Calculator Table'!$AA141)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC141)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE141)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF141)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG141)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH141)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI141)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ141)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK141)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL141)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM141)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN141)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO141)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP141)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F141&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B141)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B141)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F141&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A141)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E141)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K141&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H141=\"Small Patch\",H141=\"Matrix\")),'Calculator Table'!$L141,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H141=\"Small Patch\",'Calculator Table'!$L141,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H141=\"Matrix\",'Calculator Table'!$L141,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M141&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N141&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O141&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P141&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q141&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R141&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S141&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T141&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U141&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V141&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W141&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X141&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y141)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z141)&\", version_author=\"&AddQuotes('Calculator Table'!$AA141)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC141)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE141)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF141)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG141)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH141)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI141)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ141)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK141)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL141)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM141)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN141)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO141)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP141)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F141&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B141)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B141)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F141&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A141)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E141)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K141&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K141=\"Small Patch\",K141=\"Matrix\")),'Calculator Table'!$L141,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K141=\"Small Patch\",'Calculator Table'!$L141,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K141=\"Matrix\",'Calculator Table'!$L141,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M141&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N141&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O141&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P141&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q141&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R141&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S141&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T141&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U141&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V141&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W141&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X141&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y141)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z141)&\", version_author=\"&AddQuotes('Calculator Table'!$AA141)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC141)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE141)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF141)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG141)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH141)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI141)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ141)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK141)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL141)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM141)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN141)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO141)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP141)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F141&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS142>0,'Rk Assign'!D142,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS142>0,Calculate!$AV142,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ142:$BL142<>\"U\")*($AQ142:$BL142>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ142:$BL142<>\"U\")*($AQ142:$BL142>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ142:$BL142<>\"U\")*($AQ142:$BL142>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K142:$R142<>\"Z\")*($K142:$R142>\"\")*NOT(ISERROR($K142:$R142)))+SUM(($K$4:$R$4=\"A\")*($K142:$R142<>\"A\")*($K142:$R142>\"\")*NOT(ISERROR($K142:$R142)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K142:$R142=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ142:$BL142=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B142)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B142)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD142,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F142&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A142)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E142)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K142&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E142=\"Small Patch\",E142=\"Matrix\")),'Calculator Table'!$L142,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E142=\"Small Patch\",'Calculator Table'!$L142,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E142=\"Matrix\",'Calculator Table'!$L142,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M142&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N142&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O142&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P142&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q142&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R142&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S142&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T142&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U142&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V142&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W142&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X142&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y142)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z142)&\", version_author=\"&AddQuotes('Calculator Table'!$AA142)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB142,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC142)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE142)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF142)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG142)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH142)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI142)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ142)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK142)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL142)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM142)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN142)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO142)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP142)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F142&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B142)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B142)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD142,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F142&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A142)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E142)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K142&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H142=\"Small Patch\",H142=\"Matrix\")),'Calculator Table'!$L142,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H142=\"Small Patch\",'Calculator Table'!$L142,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H142=\"Matrix\",'Calculator Table'!$L142,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M142&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N142&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O142&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P142&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q142&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R142&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S142&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T142&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U142&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V142&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W142&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X142&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y142)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z142)&\", version_author=\"&AddQuotes('Calculator Table'!$AA142)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB142,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC142)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE142)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF142)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG142)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH142)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI142)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ142)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK142)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL142)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM142)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN142)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO142)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP142)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F142&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B142)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B142)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD142,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F142&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A142)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E142)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K142&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K142=\"Small Patch\",K142=\"Matrix\")),'Calculator Table'!$L142,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K142=\"Small Patch\",'Calculator Table'!$L142,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K142=\"Matrix\",'Calculator Table'!$L142,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M142&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N142&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O142&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P142&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q142&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R142&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S142&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T142&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U142&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V142&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W142&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X142&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y142)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z142)&\", version_author=\"&AddQuotes('Calculator Table'!$AA142)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB142,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC142)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE142)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF142)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG142)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH142)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI142)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ142)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK142)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL142)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM142)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN142)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO142)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP142)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F142&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS143>0,'Rk Assign'!D143,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS143>0,Calculate!$AV143,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ143:$BL143<>\"U\")*($AQ143:$BL143>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ143:$BL143<>\"U\")*($AQ143:$BL143>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ143:$BL143<>\"U\")*($AQ143:$BL143>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K143:$R143<>\"Z\")*($K143:$R143>\"\")*NOT(ISERROR($K143:$R143)))+SUM(($K$4:$R$4=\"A\")*($K143:$R143<>\"A\")*($K143:$R143>\"\")*NOT(ISERROR($K143:$R143)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K143:$R143=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ143:$BL143=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B143)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B143)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD143,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F143&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A143)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E143)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K143&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E143=\"Small Patch\",E143=\"Matrix\")),'Calculator Table'!$L143,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E143=\"Small Patch\",'Calculator Table'!$L143,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E143=\"Matrix\",'Calculator Table'!$L143,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M143&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N143&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O143&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P143&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q143&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R143&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S143&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T143&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U143&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V143&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W143&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X143&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y143)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z143)&\", version_author=\"&AddQuotes('Calculator Table'!$AA143)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB143,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC143)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE143)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF143)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG143)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH143)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI143)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ143)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK143)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL143)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM143)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN143)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO143)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP143)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F143&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B143)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B143)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD143,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F143&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A143)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E143)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K143&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H143=\"Small Patch\",H143=\"Matrix\")),'Calculator Table'!$L143,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H143=\"Small Patch\",'Calculator Table'!$L143,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H143=\"Matrix\",'Calculator Table'!$L143,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M143&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N143&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O143&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P143&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q143&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R143&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S143&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T143&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U143&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V143&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W143&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X143&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y143)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z143)&\", version_author=\"&AddQuotes('Calculator Table'!$AA143)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB143,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC143)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE143)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF143)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG143)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH143)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI143)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ143)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK143)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL143)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM143)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN143)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO143)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP143)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F143&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B143)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B143)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD143,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F143&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A143)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E143)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K143&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K143=\"Small Patch\",K143=\"Matrix\")),'Calculator Table'!$L143,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K143=\"Small Patch\",'Calculator Table'!$L143,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K143=\"Matrix\",'Calculator Table'!$L143,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M143&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N143&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O143&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P143&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q143&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R143&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S143&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T143&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U143&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V143&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W143&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X143&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y143)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z143)&\", version_author=\"&AddQuotes('Calculator Table'!$AA143)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB143,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC143)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE143)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF143)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG143)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH143)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI143)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ143)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK143)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL143)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM143)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN143)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO143)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP143)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F143&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS144>0,'Rk Assign'!D144,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS144>0,Calculate!$AV144,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ144:$BL144<>\"U\")*($AQ144:$BL144>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ144:$BL144<>\"U\")*($AQ144:$BL144>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ144:$BL144<>\"U\")*($AQ144:$BL144>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K144:$R144<>\"Z\")*($K144:$R144>\"\")*NOT(ISERROR($K144:$R144)))+SUM(($K$4:$R$4=\"A\")*($K144:$R144<>\"A\")*($K144:$R144>\"\")*NOT(ISERROR($K144:$R144)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K144:$R144=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ144:$BL144=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B144)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B144)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD144,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F144&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A144)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E144)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K144&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E144=\"Small Patch\",E144=\"Matrix\")),'Calculator Table'!$L144,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E144=\"Small Patch\",'Calculator Table'!$L144,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E144=\"Matrix\",'Calculator Table'!$L144,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M144&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N144&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O144&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P144&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q144&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R144&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S144&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T144&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U144&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V144&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W144&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X144&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y144)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z144)&\", version_author=\"&AddQuotes('Calculator Table'!$AA144)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB144,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC144)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE144)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF144)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG144)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH144)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI144)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ144)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK144)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL144)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM144)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN144)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO144)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP144)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F144&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B144)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B144)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD144,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F144&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A144)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E144)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K144&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H144=\"Small Patch\",H144=\"Matrix\")),'Calculator Table'!$L144,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H144=\"Small Patch\",'Calculator Table'!$L144,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H144=\"Matrix\",'Calculator Table'!$L144,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M144&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N144&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O144&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P144&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q144&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R144&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S144&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T144&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U144&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V144&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W144&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X144&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y144)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z144)&\", version_author=\"&AddQuotes('Calculator Table'!$AA144)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB144,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC144)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE144)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF144)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG144)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH144)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI144)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ144)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK144)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL144)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM144)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN144)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO144)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP144)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F144&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B144)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B144)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD144,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F144&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A144)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E144)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K144&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K144=\"Small Patch\",K144=\"Matrix\")),'Calculator Table'!$L144,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K144=\"Small Patch\",'Calculator Table'!$L144,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K144=\"Matrix\",'Calculator Table'!$L144,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M144&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N144&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O144&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P144&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q144&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R144&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S144&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T144&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U144&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V144&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W144&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X144&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y144)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z144)&\", version_author=\"&AddQuotes('Calculator Table'!$AA144)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB144,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC144)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE144)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF144)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG144)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH144)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI144)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ144)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK144)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL144)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM144)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN144)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO144)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP144)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F144&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS145>0,'Rk Assign'!D145,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS145>0,Calculate!$AV145,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ145:$BL145<>\"U\")*($AQ145:$BL145>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ145:$BL145<>\"U\")*($AQ145:$BL145>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ145:$BL145<>\"U\")*($AQ145:$BL145>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K145:$R145<>\"Z\")*($K145:$R145>\"\")*NOT(ISERROR($K145:$R145)))+SUM(($K$4:$R$4=\"A\")*($K145:$R145<>\"A\")*($K145:$R145>\"\")*NOT(ISERROR($K145:$R145)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K145:$R145=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ145:$BL145=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B145)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B145)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD145,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F145&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A145)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E145)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K145&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E145=\"Small Patch\",E145=\"Matrix\")),'Calculator Table'!$L145,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E145=\"Small Patch\",'Calculator Table'!$L145,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E145=\"Matrix\",'Calculator Table'!$L145,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M145&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N145&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O145&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P145&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q145&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R145&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S145&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T145&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U145&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V145&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W145&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X145&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y145)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z145)&\", version_author=\"&AddQuotes('Calculator Table'!$AA145)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB145,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC145)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE145)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF145)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG145)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH145)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI145)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ145)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK145)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL145)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM145)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN145)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO145)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP145)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F145&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B145)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B145)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD145,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F145&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A145)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E145)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K145&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H145=\"Small Patch\",H145=\"Matrix\")),'Calculator Table'!$L145,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H145=\"Small Patch\",'Calculator Table'!$L145,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H145=\"Matrix\",'Calculator Table'!$L145,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M145&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N145&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O145&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P145&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q145&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R145&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S145&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T145&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U145&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V145&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W145&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X145&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y145)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z145)&\", version_author=\"&AddQuotes('Calculator Table'!$AA145)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB145,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC145)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE145)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF145)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG145)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH145)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI145)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ145)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK145)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL145)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM145)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN145)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO145)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP145)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F145&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B145)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B145)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD145,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F145&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A145)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E145)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K145&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K145=\"Small Patch\",K145=\"Matrix\")),'Calculator Table'!$L145,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K145=\"Small Patch\",'Calculator Table'!$L145,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K145=\"Matrix\",'Calculator Table'!$L145,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M145&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N145&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O145&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P145&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q145&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R145&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S145&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T145&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U145&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V145&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W145&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X145&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y145)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z145)&\", version_author=\"&AddQuotes('Calculator Table'!$AA145)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB145,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC145)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE145)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF145)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG145)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH145)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI145)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ145)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK145)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL145)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM145)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN145)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO145)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP145)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F145&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS146>0,'Rk Assign'!D146,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS146>0,Calculate!$AV146,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ146:$BL146<>\"U\")*($AQ146:$BL146>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ146:$BL146<>\"U\")*($AQ146:$BL146>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ146:$BL146<>\"U\")*($AQ146:$BL146>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K146:$R146<>\"Z\")*($K146:$R146>\"\")*NOT(ISERROR($K146:$R146)))+SUM(($K$4:$R$4=\"A\")*($K146:$R146<>\"A\")*($K146:$R146>\"\")*NOT(ISERROR($K146:$R146)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K146:$R146=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ146:$BL146=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B146)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B146)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD146,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F146&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A146)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E146)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K146&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E146=\"Small Patch\",E146=\"Matrix\")),'Calculator Table'!$L146,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E146=\"Small Patch\",'Calculator Table'!$L146,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E146=\"Matrix\",'Calculator Table'!$L146,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M146&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N146&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O146&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P146&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q146&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R146&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S146&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T146&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U146&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V146&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W146&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X146&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y146)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z146)&\", version_author=\"&AddQuotes('Calculator Table'!$AA146)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB146,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC146)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE146)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF146)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG146)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH146)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI146)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ146)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK146)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL146)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM146)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN146)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO146)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP146)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F146&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B146)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B146)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD146,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F146&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A146)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E146)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K146&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H146=\"Small Patch\",H146=\"Matrix\")),'Calculator Table'!$L146,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H146=\"Small Patch\",'Calculator Table'!$L146,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H146=\"Matrix\",'Calculator Table'!$L146,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M146&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N146&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O146&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P146&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q146&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R146&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S146&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T146&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U146&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V146&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W146&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X146&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y146)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z146)&\", version_author=\"&AddQuotes('Calculator Table'!$AA146)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB146,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC146)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE146)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF146)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG146)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH146)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI146)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ146)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK146)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL146)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM146)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN146)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO146)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP146)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F146&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B146)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B146)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD146,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F146&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A146)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E146)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K146&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K146=\"Small Patch\",K146=\"Matrix\")),'Calculator Table'!$L146,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K146=\"Small Patch\",'Calculator Table'!$L146,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K146=\"Matrix\",'Calculator Table'!$L146,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M146&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N146&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O146&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P146&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q146&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R146&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S146&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T146&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U146&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V146&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W146&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X146&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y146)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z146)&\", version_author=\"&AddQuotes('Calculator Table'!$AA146)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB146,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC146)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE146)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF146)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG146)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH146)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI146)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ146)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK146)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL146)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM146)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN146)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO146)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP146)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F146&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS147>0,'Rk Assign'!D147,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS147>0,Calculate!$AV147,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ147:$BL147<>\"U\")*($AQ147:$BL147>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ147:$BL147<>\"U\")*($AQ147:$BL147>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ147:$BL147<>\"U\")*($AQ147:$BL147>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K147:$R147<>\"Z\")*($K147:$R147>\"\")*NOT(ISERROR($K147:$R147)))+SUM(($K$4:$R$4=\"A\")*($K147:$R147<>\"A\")*($K147:$R147>\"\")*NOT(ISERROR($K147:$R147)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K147:$R147=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ147:$BL147=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B147)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B147)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD147,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F147&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A147)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E147)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K147&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E147=\"Small Patch\",E147=\"Matrix\")),'Calculator Table'!$L147,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E147=\"Small Patch\",'Calculator Table'!$L147,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E147=\"Matrix\",'Calculator Table'!$L147,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M147&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N147&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O147&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P147&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q147&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R147&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S147&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T147&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U147&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V147&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W147&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X147&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y147)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z147)&\", version_author=\"&AddQuotes('Calculator Table'!$AA147)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB147,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC147)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE147)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF147)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG147)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH147)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI147)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ147)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK147)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL147)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM147)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN147)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO147)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP147)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F147&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B147)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B147)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD147,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F147&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A147)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E147)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K147&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H147=\"Small Patch\",H147=\"Matrix\")),'Calculator Table'!$L147,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H147=\"Small Patch\",'Calculator Table'!$L147,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H147=\"Matrix\",'Calculator Table'!$L147,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M147&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N147&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O147&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P147&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q147&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R147&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S147&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T147&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U147&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V147&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W147&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X147&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y147)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z147)&\", version_author=\"&AddQuotes('Calculator Table'!$AA147)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB147,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC147)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE147)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF147)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG147)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH147)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI147)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ147)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK147)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL147)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM147)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN147)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO147)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP147)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F147&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B147)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B147)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD147,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F147&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A147)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E147)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K147&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K147=\"Small Patch\",K147=\"Matrix\")),'Calculator Table'!$L147,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K147=\"Small Patch\",'Calculator Table'!$L147,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K147=\"Matrix\",'Calculator Table'!$L147,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M147&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N147&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O147&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P147&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q147&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R147&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S147&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T147&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U147&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V147&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W147&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X147&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y147)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z147)&\", version_author=\"&AddQuotes('Calculator Table'!$AA147)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB147,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC147)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE147)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF147)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG147)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH147)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI147)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ147)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK147)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL147)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM147)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN147)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO147)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP147)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F147&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS148>0,'Rk Assign'!D148,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS148>0,Calculate!$AV148,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ148:$BL148<>\"U\")*($AQ148:$BL148>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ148:$BL148<>\"U\")*($AQ148:$BL148>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ148:$BL148<>\"U\")*($AQ148:$BL148>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K148:$R148<>\"Z\")*($K148:$R148>\"\")*NOT(ISERROR($K148:$R148)))+SUM(($K$4:$R$4=\"A\")*($K148:$R148<>\"A\")*($K148:$R148>\"\")*NOT(ISERROR($K148:$R148)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K148:$R148=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ148:$BL148=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B148)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B148)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F148&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A148)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E148)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K148&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E148=\"Small Patch\",E148=\"Matrix\")),'Calculator Table'!$L148,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E148=\"Small Patch\",'Calculator Table'!$L148,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E148=\"Matrix\",'Calculator Table'!$L148,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M148&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N148&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O148&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P148&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q148&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R148&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S148&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T148&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U148&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V148&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W148&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X148&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y148)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z148)&\", version_author=\"&AddQuotes('Calculator Table'!$AA148)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC148)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE148)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF148)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG148)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH148)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI148)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ148)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK148)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL148)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM148)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN148)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO148)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP148)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F148&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B148)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B148)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F148&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A148)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E148)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K148&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H148=\"Small Patch\",H148=\"Matrix\")),'Calculator Table'!$L148,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H148=\"Small Patch\",'Calculator Table'!$L148,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H148=\"Matrix\",'Calculator Table'!$L148,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M148&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N148&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O148&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P148&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q148&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R148&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S148&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T148&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U148&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V148&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W148&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X148&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y148)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z148)&\", version_author=\"&AddQuotes('Calculator Table'!$AA148)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC148)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE148)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF148)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG148)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH148)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI148)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ148)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK148)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL148)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM148)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN148)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO148)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP148)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F148&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B148)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B148)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F148&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A148)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E148)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K148&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K148=\"Small Patch\",K148=\"Matrix\")),'Calculator Table'!$L148,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K148=\"Small Patch\",'Calculator Table'!$L148,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K148=\"Matrix\",'Calculator Table'!$L148,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M148&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N148&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O148&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P148&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q148&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R148&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S148&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T148&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U148&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V148&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W148&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X148&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y148)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z148)&\", version_author=\"&AddQuotes('Calculator Table'!$AA148)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC148)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE148)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF148)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG148)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH148)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI148)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ148)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK148)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL148)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM148)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN148)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO148)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP148)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F148&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS149>0,'Rk Assign'!D149,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS149>0,Calculate!$AV149,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ149:$BL149<>\"U\")*($AQ149:$BL149>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ149:$BL149<>\"U\")*($AQ149:$BL149>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ149:$BL149<>\"U\")*($AQ149:$BL149>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K149:$R149<>\"Z\")*($K149:$R149>\"\")*NOT(ISERROR($K149:$R149)))+SUM(($K$4:$R$4=\"A\")*($K149:$R149<>\"A\")*($K149:$R149>\"\")*NOT(ISERROR($K149:$R149)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K149:$R149=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ149:$BL149=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B149)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B149)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD149,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F149&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A149)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E149)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K149&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E149=\"Small Patch\",E149=\"Matrix\")),'Calculator Table'!$L149,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E149=\"Small Patch\",'Calculator Table'!$L149,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E149=\"Matrix\",'Calculator Table'!$L149,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M149&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N149&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O149&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P149&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q149&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R149&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S149&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T149&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U149&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V149&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W149&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X149&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y149)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z149)&\", version_author=\"&AddQuotes('Calculator Table'!$AA149)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB149,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC149)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE149)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF149)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG149)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH149)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI149)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ149)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK149)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL149)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM149)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN149)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO149)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP149)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F149&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B149)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B149)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD149,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F149&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A149)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E149)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K149&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H149=\"Small Patch\",H149=\"Matrix\")),'Calculator Table'!$L149,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H149=\"Small Patch\",'Calculator Table'!$L149,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H149=\"Matrix\",'Calculator Table'!$L149,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M149&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N149&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O149&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P149&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q149&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R149&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S149&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T149&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U149&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V149&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W149&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X149&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y149)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z149)&\", version_author=\"&AddQuotes('Calculator Table'!$AA149)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB149,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC149)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE149)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF149)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG149)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH149)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI149)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ149)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK149)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL149)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM149)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN149)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO149)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP149)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F149&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B149)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B149)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD149,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F149&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A149)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E149)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K149&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K149=\"Small Patch\",K149=\"Matrix\")),'Calculator Table'!$L149,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K149=\"Small Patch\",'Calculator Table'!$L149,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K149=\"Matrix\",'Calculator Table'!$L149,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M149&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N149&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O149&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P149&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q149&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R149&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S149&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T149&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U149&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V149&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W149&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X149&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y149)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z149)&\", version_author=\"&AddQuotes('Calculator Table'!$AA149)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB149,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC149)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE149)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF149)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG149)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH149)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI149)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ149)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK149)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL149)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM149)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN149)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO149)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP149)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F149&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS150>0,'Rk Assign'!D150,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS150>0,Calculate!$AV150,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ150:$BL150<>\"U\")*($AQ150:$BL150>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ150:$BL150<>\"U\")*($AQ150:$BL150>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ150:$BL150<>\"U\")*($AQ150:$BL150>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K150:$R150<>\"Z\")*($K150:$R150>\"\")*NOT(ISERROR($K150:$R150)))+SUM(($K$4:$R$4=\"A\")*($K150:$R150<>\"A\")*($K150:$R150>\"\")*NOT(ISERROR($K150:$R150)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K150:$R150=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ150:$BL150=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B150)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B150)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F150&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A150)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E150)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K150&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E150=\"Small Patch\",E150=\"Matrix\")),'Calculator Table'!$L150,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E150=\"Small Patch\",'Calculator Table'!$L150,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E150=\"Matrix\",'Calculator Table'!$L150,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M150&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N150&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O150&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P150&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q150&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R150&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S150&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T150&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U150&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V150&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W150&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X150&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y150)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z150)&\", version_author=\"&AddQuotes('Calculator Table'!$AA150)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC150)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE150)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF150)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG150)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH150)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI150)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ150)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK150)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL150)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM150)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN150)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO150)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP150)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F150&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B150)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B150)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F150&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A150)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E150)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K150&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H150=\"Small Patch\",H150=\"Matrix\")),'Calculator Table'!$L150,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H150=\"Small Patch\",'Calculator Table'!$L150,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H150=\"Matrix\",'Calculator Table'!$L150,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M150&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N150&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O150&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P150&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q150&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R150&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S150&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T150&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U150&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V150&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W150&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X150&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y150)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z150)&\", version_author=\"&AddQuotes('Calculator Table'!$AA150)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC150)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE150)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF150)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG150)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH150)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI150)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ150)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK150)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL150)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM150)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN150)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO150)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP150)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F150&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B150)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B150)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F150&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A150)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E150)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K150&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K150=\"Small Patch\",K150=\"Matrix\")),'Calculator Table'!$L150,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K150=\"Small Patch\",'Calculator Table'!$L150,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K150=\"Matrix\",'Calculator Table'!$L150,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M150&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N150&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O150&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P150&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q150&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R150&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S150&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T150&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U150&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V150&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W150&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X150&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y150)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z150)&\", version_author=\"&AddQuotes('Calculator Table'!$AA150)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC150)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE150)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF150)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG150)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH150)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI150)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ150)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK150)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL150)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM150)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN150)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO150)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP150)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F150&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS151>0,'Rk Assign'!D151,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS151>0,Calculate!$AV151,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ151:$BL151<>\"U\")*($AQ151:$BL151>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ151:$BL151<>\"U\")*($AQ151:$BL151>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ151:$BL151<>\"U\")*($AQ151:$BL151>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K151:$R151<>\"Z\")*($K151:$R151>\"\")*NOT(ISERROR($K151:$R151)))+SUM(($K$4:$R$4=\"A\")*($K151:$R151<>\"A\")*($K151:$R151>\"\")*NOT(ISERROR($K151:$R151)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K151:$R151=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ151:$BL151=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B151)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B151)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD151,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F151&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A151)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E151)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K151&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E151=\"Small Patch\",E151=\"Matrix\")),'Calculator Table'!$L151,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E151=\"Small Patch\",'Calculator Table'!$L151,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E151=\"Matrix\",'Calculator Table'!$L151,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M151&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N151&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O151&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P151&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q151&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R151&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S151&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T151&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U151&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V151&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W151&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X151&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y151)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z151)&\", version_author=\"&AddQuotes('Calculator Table'!$AA151)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB151,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC151)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE151)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF151)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG151)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH151)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI151)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ151)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK151)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL151)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM151)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN151)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO151)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP151)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F151&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B151)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B151)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD151,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F151&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A151)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E151)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K151&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H151=\"Small Patch\",H151=\"Matrix\")),'Calculator Table'!$L151,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H151=\"Small Patch\",'Calculator Table'!$L151,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H151=\"Matrix\",'Calculator Table'!$L151,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M151&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N151&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O151&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P151&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q151&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R151&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S151&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T151&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U151&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V151&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W151&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X151&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y151)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z151)&\", version_author=\"&AddQuotes('Calculator Table'!$AA151)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB151,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC151)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE151)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF151)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG151)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH151)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI151)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ151)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK151)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL151)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM151)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN151)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO151)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP151)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F151&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B151)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B151)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD151,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F151&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A151)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E151)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K151&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K151=\"Small Patch\",K151=\"Matrix\")),'Calculator Table'!$L151,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K151=\"Small Patch\",'Calculator Table'!$L151,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K151=\"Matrix\",'Calculator Table'!$L151,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M151&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N151&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O151&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P151&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q151&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R151&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S151&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T151&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U151&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V151&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W151&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X151&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y151)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z151)&\", version_author=\"&AddQuotes('Calculator Table'!$AA151)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB151,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC151)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE151)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF151)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG151)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH151)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI151)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ151)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK151)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL151)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM151)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN151)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO151)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP151)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F151&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS152>0,'Rk Assign'!D152,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS152>0,Calculate!$AV152,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ152:$BL152<>\"U\")*($AQ152:$BL152>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ152:$BL152<>\"U\")*($AQ152:$BL152>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ152:$BL152<>\"U\")*($AQ152:$BL152>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K152:$R152<>\"Z\")*($K152:$R152>\"\")*NOT(ISERROR($K152:$R152)))+SUM(($K$4:$R$4=\"A\")*($K152:$R152<>\"A\")*($K152:$R152>\"\")*NOT(ISERROR($K152:$R152)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K152:$R152=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ152:$BL152=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B152)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B152)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD152,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F152&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A152)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E152)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K152&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E152=\"Small Patch\",E152=\"Matrix\")),'Calculator Table'!$L152,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E152=\"Small Patch\",'Calculator Table'!$L152,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E152=\"Matrix\",'Calculator Table'!$L152,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M152&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N152&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O152&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P152&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q152&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R152&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S152&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T152&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U152&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V152&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W152&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X152&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y152)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z152)&\", version_author=\"&AddQuotes('Calculator Table'!$AA152)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB152,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC152)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE152)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF152)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG152)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH152)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI152)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ152)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK152)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL152)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM152)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN152)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO152)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP152)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F152&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B152)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B152)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD152,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F152&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A152)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E152)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K152&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H152=\"Small Patch\",H152=\"Matrix\")),'Calculator Table'!$L152,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H152=\"Small Patch\",'Calculator Table'!$L152,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H152=\"Matrix\",'Calculator Table'!$L152,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M152&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N152&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O152&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P152&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q152&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R152&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S152&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T152&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U152&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V152&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W152&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X152&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y152)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z152)&\", version_author=\"&AddQuotes('Calculator Table'!$AA152)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB152,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC152)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE152)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF152)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG152)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH152)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI152)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ152)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK152)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL152)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM152)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN152)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO152)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP152)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F152&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B152)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B152)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD152,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F152&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A152)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E152)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K152&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K152=\"Small Patch\",K152=\"Matrix\")),'Calculator Table'!$L152,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K152=\"Small Patch\",'Calculator Table'!$L152,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K152=\"Matrix\",'Calculator Table'!$L152,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M152&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N152&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O152&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P152&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q152&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R152&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S152&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T152&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U152&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V152&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W152&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X152&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y152)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z152)&\", version_author=\"&AddQuotes('Calculator Table'!$AA152)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB152,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC152)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE152)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF152)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG152)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH152)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI152)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ152)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK152)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL152)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM152)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN152)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO152)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP152)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F152&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS153>0,'Rk Assign'!D153,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS153>0,Calculate!$AV153,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ153:$BL153<>\"U\")*($AQ153:$BL153>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ153:$BL153<>\"U\")*($AQ153:$BL153>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ153:$BL153<>\"U\")*($AQ153:$BL153>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K153:$R153<>\"Z\")*($K153:$R153>\"\")*NOT(ISERROR($K153:$R153)))+SUM(($K$4:$R$4=\"A\")*($K153:$R153<>\"A\")*($K153:$R153>\"\")*NOT(ISERROR($K153:$R153)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K153:$R153=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ153:$BL153=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B153)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B153)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD153,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F153&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A153)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E153)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K153&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E153=\"Small Patch\",E153=\"Matrix\")),'Calculator Table'!$L153,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E153=\"Small Patch\",'Calculator Table'!$L153,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E153=\"Matrix\",'Calculator Table'!$L153,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M153&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N153&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O153&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P153&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q153&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R153&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S153&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T153&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U153&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V153&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W153&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X153&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y153)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z153)&\", version_author=\"&AddQuotes('Calculator Table'!$AA153)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB153,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC153)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE153)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF153)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG153)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH153)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI153)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ153)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK153)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL153)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM153)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN153)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO153)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP153)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F153&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B153)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B153)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD153,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F153&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A153)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E153)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K153&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H153=\"Small Patch\",H153=\"Matrix\")),'Calculator Table'!$L153,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H153=\"Small Patch\",'Calculator Table'!$L153,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H153=\"Matrix\",'Calculator Table'!$L153,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M153&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N153&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O153&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P153&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q153&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R153&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S153&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T153&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U153&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V153&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W153&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X153&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y153)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z153)&\", version_author=\"&AddQuotes('Calculator Table'!$AA153)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB153,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC153)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE153)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF153)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG153)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH153)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI153)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ153)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK153)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL153)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM153)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN153)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO153)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP153)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F153&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B153)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B153)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD153,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F153&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A153)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E153)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K153&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K153=\"Small Patch\",K153=\"Matrix\")),'Calculator Table'!$L153,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K153=\"Small Patch\",'Calculator Table'!$L153,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K153=\"Matrix\",'Calculator Table'!$L153,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M153&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N153&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O153&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P153&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q153&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R153&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S153&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T153&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U153&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V153&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W153&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X153&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y153)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z153)&\", version_author=\"&AddQuotes('Calculator Table'!$AA153)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB153,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC153)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE153)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF153)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG153)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH153)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI153)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ153)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK153)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL153)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM153)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN153)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO153)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP153)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F153&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS154>0,'Rk Assign'!D154,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS154>0,Calculate!$AV154,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ154:$BL154<>\"U\")*($AQ154:$BL154>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ154:$BL154<>\"U\")*($AQ154:$BL154>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ154:$BL154<>\"U\")*($AQ154:$BL154>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K154:$R154<>\"Z\")*($K154:$R154>\"\")*NOT(ISERROR($K154:$R154)))+SUM(($K$4:$R$4=\"A\")*($K154:$R154<>\"A\")*($K154:$R154>\"\")*NOT(ISERROR($K154:$R154)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K154:$R154=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ154:$BL154=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B154)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B154)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD154,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F154&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A154)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E154)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K154&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E154=\"Small Patch\",E154=\"Matrix\")),'Calculator Table'!$L154,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E154=\"Small Patch\",'Calculator Table'!$L154,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E154=\"Matrix\",'Calculator Table'!$L154,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M154&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N154&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O154&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P154&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q154&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R154&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S154&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T154&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U154&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V154&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W154&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X154&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y154)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z154)&\", version_author=\"&AddQuotes('Calculator Table'!$AA154)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB154,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC154)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE154)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF154)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG154)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH154)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI154)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ154)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK154)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL154)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM154)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN154)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO154)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP154)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F154&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B154)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B154)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD154,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F154&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A154)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E154)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K154&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H154=\"Small Patch\",H154=\"Matrix\")),'Calculator Table'!$L154,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H154=\"Small Patch\",'Calculator Table'!$L154,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H154=\"Matrix\",'Calculator Table'!$L154,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M154&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N154&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O154&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P154&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q154&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R154&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S154&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T154&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U154&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V154&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W154&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X154&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y154)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z154)&\", version_author=\"&AddQuotes('Calculator Table'!$AA154)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB154,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC154)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE154)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF154)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG154)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH154)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI154)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ154)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK154)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL154)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM154)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN154)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO154)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP154)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F154&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B154)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B154)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD154,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F154&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A154)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E154)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K154&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K154=\"Small Patch\",K154=\"Matrix\")),'Calculator Table'!$L154,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K154=\"Small Patch\",'Calculator Table'!$L154,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K154=\"Matrix\",'Calculator Table'!$L154,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M154&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N154&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O154&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P154&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q154&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R154&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S154&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T154&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U154&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V154&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W154&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X154&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y154)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z154)&\", version_author=\"&AddQuotes('Calculator Table'!$AA154)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB154,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC154)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE154)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF154)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG154)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH154)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI154)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ154)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK154)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL154)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM154)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN154)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO154)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP154)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F154&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS155>0,'Rk Assign'!D155,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS155>0,Calculate!$AV155,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ155:$BL155<>\"U\")*($AQ155:$BL155>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ155:$BL155<>\"U\")*($AQ155:$BL155>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ155:$BL155<>\"U\")*($AQ155:$BL155>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K155:$R155<>\"Z\")*($K155:$R155>\"\")*NOT(ISERROR($K155:$R155)))+SUM(($K$4:$R$4=\"A\")*($K155:$R155<>\"A\")*($K155:$R155>\"\")*NOT(ISERROR($K155:$R155)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K155:$R155=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ155:$BL155=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B155)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B155)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD155,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F155&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A155)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E155)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K155&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E155=\"Small Patch\",E155=\"Matrix\")),'Calculator Table'!$L155,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E155=\"Small Patch\",'Calculator Table'!$L155,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E155=\"Matrix\",'Calculator Table'!$L155,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M155&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N155&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O155&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P155&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q155&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R155&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S155&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T155&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U155&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V155&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W155&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X155&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y155)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z155)&\", version_author=\"&AddQuotes('Calculator Table'!$AA155)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB155,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC155)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE155)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF155)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG155)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH155)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI155)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ155)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK155)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL155)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM155)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN155)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO155)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP155)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F155&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B155)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B155)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD155,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F155&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A155)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E155)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K155&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H155=\"Small Patch\",H155=\"Matrix\")),'Calculator Table'!$L155,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H155=\"Small Patch\",'Calculator Table'!$L155,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H155=\"Matrix\",'Calculator Table'!$L155,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M155&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N155&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O155&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P155&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q155&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R155&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S155&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T155&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U155&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V155&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W155&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X155&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y155)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z155)&\", version_author=\"&AddQuotes('Calculator Table'!$AA155)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB155,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC155)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE155)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF155)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG155)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH155)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI155)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ155)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK155)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL155)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM155)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN155)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO155)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP155)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F155&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B155)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B155)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD155,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F155&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A155)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E155)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K155&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K155=\"Small Patch\",K155=\"Matrix\")),'Calculator Table'!$L155,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K155=\"Small Patch\",'Calculator Table'!$L155,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K155=\"Matrix\",'Calculator Table'!$L155,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M155&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N155&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O155&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P155&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q155&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R155&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S155&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T155&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U155&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V155&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W155&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X155&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y155)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z155)&\", version_author=\"&AddQuotes('Calculator Table'!$AA155)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB155,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC155)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE155)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF155)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG155)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH155)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI155)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ155)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK155)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL155)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM155)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN155)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO155)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP155)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F155&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS156>0,'Rk Assign'!D156,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS156>0,Calculate!$AV156,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ156:$BL156<>\"U\")*($AQ156:$BL156>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ156:$BL156<>\"U\")*($AQ156:$BL156>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ156:$BL156<>\"U\")*($AQ156:$BL156>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K156:$R156<>\"Z\")*($K156:$R156>\"\")*NOT(ISERROR($K156:$R156)))+SUM(($K$4:$R$4=\"A\")*($K156:$R156<>\"A\")*($K156:$R156>\"\")*NOT(ISERROR($K156:$R156)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K156:$R156=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ156:$BL156=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B156)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B156)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD156,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F156&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A156)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E156)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K156&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E156=\"Small Patch\",E156=\"Matrix\")),'Calculator Table'!$L156,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E156=\"Small Patch\",'Calculator Table'!$L156,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E156=\"Matrix\",'Calculator Table'!$L156,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M156&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N156&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O156&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P156&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q156&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R156&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S156&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T156&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U156&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V156&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W156&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X156&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y156)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z156)&\", version_author=\"&AddQuotes('Calculator Table'!$AA156)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB156,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC156)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE156)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF156)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG156)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH156)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI156)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ156)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK156)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL156)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM156)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN156)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO156)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP156)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F156&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B156)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B156)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD156,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F156&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A156)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E156)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K156&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H156=\"Small Patch\",H156=\"Matrix\")),'Calculator Table'!$L156,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H156=\"Small Patch\",'Calculator Table'!$L156,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H156=\"Matrix\",'Calculator Table'!$L156,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M156&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N156&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O156&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P156&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q156&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R156&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S156&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T156&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U156&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V156&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W156&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X156&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y156)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z156)&\", version_author=\"&AddQuotes('Calculator Table'!$AA156)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB156,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC156)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE156)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF156)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG156)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH156)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI156)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ156)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK156)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL156)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM156)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN156)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO156)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP156)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F156&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B156)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B156)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD156,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F156&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A156)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E156)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K156&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K156=\"Small Patch\",K156=\"Matrix\")),'Calculator Table'!$L156,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K156=\"Small Patch\",'Calculator Table'!$L156,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K156=\"Matrix\",'Calculator Table'!$L156,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M156&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N156&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O156&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P156&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q156&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R156&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S156&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T156&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U156&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V156&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W156&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X156&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y156)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z156)&\", version_author=\"&AddQuotes('Calculator Table'!$AA156)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB156,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC156)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE156)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF156)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG156)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH156)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI156)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ156)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK156)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL156)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM156)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN156)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO156)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP156)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F156&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS157>0,'Rk Assign'!D157,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS157>0,Calculate!$AV157,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ157:$BL157<>\"U\")*($AQ157:$BL157>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ157:$BL157<>\"U\")*($AQ157:$BL157>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ157:$BL157<>\"U\")*($AQ157:$BL157>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K157:$R157<>\"Z\")*($K157:$R157>\"\")*NOT(ISERROR($K157:$R157)))+SUM(($K$4:$R$4=\"A\")*($K157:$R157<>\"A\")*($K157:$R157>\"\")*NOT(ISERROR($K157:$R157)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K157:$R157=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ157:$BL157=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B157)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B157)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD157,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F157&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A157)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E157)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K157&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E157=\"Small Patch\",E157=\"Matrix\")),'Calculator Table'!$L157,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E157=\"Small Patch\",'Calculator Table'!$L157,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E157=\"Matrix\",'Calculator Table'!$L157,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M157&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N157&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O157&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P157&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q157&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R157&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S157&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T157&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U157&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V157&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W157&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X157&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y157)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z157)&\", version_author=\"&AddQuotes('Calculator Table'!$AA157)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB157,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC157)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE157)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF157)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG157)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH157)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI157)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ157)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK157)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL157)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM157)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN157)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO157)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP157)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F157&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B157)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B157)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD157,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F157&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A157)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E157)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K157&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H157=\"Small Patch\",H157=\"Matrix\")),'Calculator Table'!$L157,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H157=\"Small Patch\",'Calculator Table'!$L157,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H157=\"Matrix\",'Calculator Table'!$L157,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M157&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N157&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O157&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P157&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q157&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R157&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S157&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T157&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U157&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V157&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W157&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X157&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y157)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z157)&\", version_author=\"&AddQuotes('Calculator Table'!$AA157)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB157,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC157)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE157)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF157)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG157)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH157)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI157)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ157)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK157)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL157)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM157)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN157)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO157)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP157)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F157&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B157)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B157)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD157,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F157&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A157)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E157)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K157&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K157=\"Small Patch\",K157=\"Matrix\")),'Calculator Table'!$L157,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K157=\"Small Patch\",'Calculator Table'!$L157,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K157=\"Matrix\",'Calculator Table'!$L157,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M157&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N157&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O157&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P157&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q157&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R157&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S157&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T157&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U157&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V157&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W157&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X157&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y157)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z157)&\", version_author=\"&AddQuotes('Calculator Table'!$AA157)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB157,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC157)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE157)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF157)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG157)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH157)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI157)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ157)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK157)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL157)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM157)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN157)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO157)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP157)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F157&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS158>0,'Rk Assign'!D158,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS158>0,Calculate!$AV158,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ158:$BL158<>\"U\")*($AQ158:$BL158>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ158:$BL158<>\"U\")*($AQ158:$BL158>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ158:$BL158<>\"U\")*($AQ158:$BL158>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K158:$R158<>\"Z\")*($K158:$R158>\"\")*NOT(ISERROR($K158:$R158)))+SUM(($K$4:$R$4=\"A\")*($K158:$R158<>\"A\")*($K158:$R158>\"\")*NOT(ISERROR($K158:$R158)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K158:$R158=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ158:$BL158=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B158)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B158)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F158&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A158)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E158)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K158&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E158=\"Small Patch\",E158=\"Matrix\")),'Calculator Table'!$L158,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E158=\"Small Patch\",'Calculator Table'!$L158,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E158=\"Matrix\",'Calculator Table'!$L158,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M158&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N158&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O158&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P158&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q158&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R158&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S158&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T158&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U158&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V158&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W158&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X158&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y158)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z158)&\", version_author=\"&AddQuotes('Calculator Table'!$AA158)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC158)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE158)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF158)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG158)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH158)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI158)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ158)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK158)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL158)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM158)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN158)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO158)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP158)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F158&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B158)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B158)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F158&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A158)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E158)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K158&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H158=\"Small Patch\",H158=\"Matrix\")),'Calculator Table'!$L158,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H158=\"Small Patch\",'Calculator Table'!$L158,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H158=\"Matrix\",'Calculator Table'!$L158,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M158&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N158&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O158&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P158&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q158&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R158&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S158&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T158&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U158&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V158&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W158&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X158&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y158)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z158)&\", version_author=\"&AddQuotes('Calculator Table'!$AA158)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC158)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE158)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF158)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG158)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH158)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI158)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ158)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK158)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL158)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM158)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN158)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO158)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP158)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F158&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B158)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B158)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F158&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A158)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E158)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K158&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K158=\"Small Patch\",K158=\"Matrix\")),'Calculator Table'!$L158,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K158=\"Small Patch\",'Calculator Table'!$L158,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K158=\"Matrix\",'Calculator Table'!$L158,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M158&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N158&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O158&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P158&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q158&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R158&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S158&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T158&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U158&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V158&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W158&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X158&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y158)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z158)&\", version_author=\"&AddQuotes('Calculator Table'!$AA158)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC158)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE158)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF158)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG158)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH158)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI158)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ158)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK158)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL158)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM158)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN158)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO158)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP158)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F158&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS159>0,'Rk Assign'!D159,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS159>0,Calculate!$AV159,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ159:$BL159<>\"U\")*($AQ159:$BL159>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ159:$BL159<>\"U\")*($AQ159:$BL159>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ159:$BL159<>\"U\")*($AQ159:$BL159>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K159:$R159<>\"Z\")*($K159:$R159>\"\")*NOT(ISERROR($K159:$R159)))+SUM(($K$4:$R$4=\"A\")*($K159:$R159<>\"A\")*($K159:$R159>\"\")*NOT(ISERROR($K159:$R159)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K159:$R159=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ159:$BL159=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B159)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B159)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD159,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F159&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A159)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E159)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K159&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E159=\"Small Patch\",E159=\"Matrix\")),'Calculator Table'!$L159,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E159=\"Small Patch\",'Calculator Table'!$L159,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E159=\"Matrix\",'Calculator Table'!$L159,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M159&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N159&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O159&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P159&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q159&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R159&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S159&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T159&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U159&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V159&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W159&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X159&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y159)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z159)&\", version_author=\"&AddQuotes('Calculator Table'!$AA159)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB159,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC159)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE159)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF159)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG159)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH159)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI159)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ159)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK159)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL159)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM159)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN159)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO159)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP159)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F159&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B159)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B159)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD159,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F159&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A159)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E159)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K159&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H159=\"Small Patch\",H159=\"Matrix\")),'Calculator Table'!$L159,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H159=\"Small Patch\",'Calculator Table'!$L159,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H159=\"Matrix\",'Calculator Table'!$L159,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M159&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N159&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O159&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P159&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q159&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R159&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S159&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T159&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U159&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V159&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W159&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X159&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y159)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z159)&\", version_author=\"&AddQuotes('Calculator Table'!$AA159)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB159,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC159)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE159)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF159)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG159)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH159)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI159)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ159)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK159)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL159)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM159)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN159)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO159)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP159)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F159&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B159)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B159)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD159,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F159&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A159)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E159)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K159&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K159=\"Small Patch\",K159=\"Matrix\")),'Calculator Table'!$L159,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K159=\"Small Patch\",'Calculator Table'!$L159,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K159=\"Matrix\",'Calculator Table'!$L159,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M159&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N159&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O159&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P159&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q159&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R159&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S159&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T159&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U159&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V159&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W159&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X159&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y159)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z159)&\", version_author=\"&AddQuotes('Calculator Table'!$AA159)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB159,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC159)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE159)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF159)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG159)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH159)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI159)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ159)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK159)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL159)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM159)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN159)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO159)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP159)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F159&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS160>0,'Rk Assign'!D160,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS160>0,Calculate!$AV160,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ160:$BL160<>\"U\")*($AQ160:$BL160>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ160:$BL160<>\"U\")*($AQ160:$BL160>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ160:$BL160<>\"U\")*($AQ160:$BL160>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K160:$R160<>\"Z\")*($K160:$R160>\"\")*NOT(ISERROR($K160:$R160)))+SUM(($K$4:$R$4=\"A\")*($K160:$R160<>\"A\")*($K160:$R160>\"\")*NOT(ISERROR($K160:$R160)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K160:$R160=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ160:$BL160=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B160)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B160)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD160,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F160&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A160)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E160)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K160&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E160=\"Small Patch\",E160=\"Matrix\")),'Calculator Table'!$L160,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E160=\"Small Patch\",'Calculator Table'!$L160,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E160=\"Matrix\",'Calculator Table'!$L160,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M160&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N160&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O160&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P160&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q160&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R160&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S160&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T160&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U160&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V160&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W160&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X160&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y160)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z160)&\", version_author=\"&AddQuotes('Calculator Table'!$AA160)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB160,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC160)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE160)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF160)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG160)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH160)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI160)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ160)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK160)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL160)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM160)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN160)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO160)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP160)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F160&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B160)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B160)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD160,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F160&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A160)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E160)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K160&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H160=\"Small Patch\",H160=\"Matrix\")),'Calculator Table'!$L160,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H160=\"Small Patch\",'Calculator Table'!$L160,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H160=\"Matrix\",'Calculator Table'!$L160,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M160&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N160&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O160&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P160&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q160&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R160&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S160&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T160&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U160&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V160&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W160&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X160&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y160)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z160)&\", version_author=\"&AddQuotes('Calculator Table'!$AA160)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB160,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC160)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE160)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF160)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG160)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH160)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI160)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ160)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK160)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL160)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM160)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN160)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO160)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP160)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F160&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B160)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B160)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD160,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F160&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A160)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E160)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K160&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K160=\"Small Patch\",K160=\"Matrix\")),'Calculator Table'!$L160,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K160=\"Small Patch\",'Calculator Table'!$L160,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K160=\"Matrix\",'Calculator Table'!$L160,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M160&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N160&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O160&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P160&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q160&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R160&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S160&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T160&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U160&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V160&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W160&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X160&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y160)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z160)&\", version_author=\"&AddQuotes('Calculator Table'!$AA160)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB160,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC160)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE160)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF160)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG160)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH160)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI160)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ160)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK160)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL160)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM160)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN160)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO160)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP160)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F160&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS161>0,'Rk Assign'!D161,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS161>0,Calculate!$AV161,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ161:$BL161<>\"U\")*($AQ161:$BL161>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ161:$BL161<>\"U\")*($AQ161:$BL161>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ161:$BL161<>\"U\")*($AQ161:$BL161>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K161:$R161<>\"Z\")*($K161:$R161>\"\")*NOT(ISERROR($K161:$R161)))+SUM(($K$4:$R$4=\"A\")*($K161:$R161<>\"A\")*($K161:$R161>\"\")*NOT(ISERROR($K161:$R161)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K161:$R161=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ161:$BL161=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B161)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B161)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD161,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F161&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A161)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E161)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K161&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E161=\"Small Patch\",E161=\"Matrix\")),'Calculator Table'!$L161,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E161=\"Small Patch\",'Calculator Table'!$L161,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E161=\"Matrix\",'Calculator Table'!$L161,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M161&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N161&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O161&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P161&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q161&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R161&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S161&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T161&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U161&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V161&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W161&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X161&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y161)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z161)&\", version_author=\"&AddQuotes('Calculator Table'!$AA161)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB161,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC161)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE161)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF161)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG161)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH161)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI161)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ161)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK161)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL161)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM161)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN161)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO161)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP161)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F161&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B161)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B161)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD161,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F161&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A161)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E161)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K161&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H161=\"Small Patch\",H161=\"Matrix\")),'Calculator Table'!$L161,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H161=\"Small Patch\",'Calculator Table'!$L161,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H161=\"Matrix\",'Calculator Table'!$L161,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M161&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N161&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O161&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P161&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q161&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R161&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S161&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T161&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U161&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V161&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W161&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X161&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y161)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z161)&\", version_author=\"&AddQuotes('Calculator Table'!$AA161)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB161,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC161)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE161)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF161)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG161)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH161)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI161)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ161)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK161)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL161)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM161)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN161)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO161)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP161)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F161&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B161)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B161)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD161,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F161&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A161)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E161)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K161&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K161=\"Small Patch\",K161=\"Matrix\")),'Calculator Table'!$L161,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K161=\"Small Patch\",'Calculator Table'!$L161,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K161=\"Matrix\",'Calculator Table'!$L161,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M161&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N161&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O161&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P161&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q161&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R161&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S161&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T161&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U161&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V161&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W161&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X161&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y161)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z161)&\", version_author=\"&AddQuotes('Calculator Table'!$AA161)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB161,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC161)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE161)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF161)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG161)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH161)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI161)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ161)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK161)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL161)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM161)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN161)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO161)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP161)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F161&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS162>0,'Rk Assign'!D162,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS162>0,Calculate!$AV162,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ162:$BL162<>\"U\")*($AQ162:$BL162>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ162:$BL162<>\"U\")*($AQ162:$BL162>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ162:$BL162<>\"U\")*($AQ162:$BL162>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K162:$R162<>\"Z\")*($K162:$R162>\"\")*NOT(ISERROR($K162:$R162)))+SUM(($K$4:$R$4=\"A\")*($K162:$R162<>\"A\")*($K162:$R162>\"\")*NOT(ISERROR($K162:$R162)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K162:$R162=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ162:$BL162=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B162)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B162)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD162,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F162&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A162)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E162)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K162&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E162=\"Small Patch\",E162=\"Matrix\")),'Calculator Table'!$L162,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E162=\"Small Patch\",'Calculator Table'!$L162,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E162=\"Matrix\",'Calculator Table'!$L162,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M162&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N162&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O162&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P162&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q162&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R162&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S162&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T162&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U162&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V162&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W162&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X162&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y162)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z162)&\", version_author=\"&AddQuotes('Calculator Table'!$AA162)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB162,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC162)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE162)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF162)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG162)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH162)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI162)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ162)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK162)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL162)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM162)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN162)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO162)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP162)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F162&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B162)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B162)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD162,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F162&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A162)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E162)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K162&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H162=\"Small Patch\",H162=\"Matrix\")),'Calculator Table'!$L162,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H162=\"Small Patch\",'Calculator Table'!$L162,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H162=\"Matrix\",'Calculator Table'!$L162,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M162&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N162&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O162&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P162&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q162&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R162&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S162&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T162&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U162&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V162&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W162&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X162&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y162)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z162)&\", version_author=\"&AddQuotes('Calculator Table'!$AA162)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB162,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC162)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE162)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF162)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG162)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH162)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI162)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ162)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK162)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL162)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM162)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN162)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO162)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP162)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F162&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B162)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B162)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD162,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F162&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A162)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E162)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K162&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K162=\"Small Patch\",K162=\"Matrix\")),'Calculator Table'!$L162,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K162=\"Small Patch\",'Calculator Table'!$L162,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K162=\"Matrix\",'Calculator Table'!$L162,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M162&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N162&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O162&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P162&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q162&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R162&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S162&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T162&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U162&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V162&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W162&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X162&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y162)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z162)&\", version_author=\"&AddQuotes('Calculator Table'!$AA162)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB162,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC162)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE162)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF162)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG162)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH162)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI162)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ162)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK162)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL162)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM162)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN162)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO162)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP162)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F162&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS163>0,'Rk Assign'!D163,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS163>0,Calculate!$AV163,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ163:$BL163<>\"U\")*($AQ163:$BL163>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ163:$BL163<>\"U\")*($AQ163:$BL163>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ163:$BL163<>\"U\")*($AQ163:$BL163>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K163:$R163<>\"Z\")*($K163:$R163>\"\")*NOT(ISERROR($K163:$R163)))+SUM(($K$4:$R$4=\"A\")*($K163:$R163<>\"A\")*($K163:$R163>\"\")*NOT(ISERROR($K163:$R163)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K163:$R163=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ163:$BL163=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B163)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B163)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD163,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F163&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A163)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E163)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K163&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E163=\"Small Patch\",E163=\"Matrix\")),'Calculator Table'!$L163,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E163=\"Small Patch\",'Calculator Table'!$L163,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E163=\"Matrix\",'Calculator Table'!$L163,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M163&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N163&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O163&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P163&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q163&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R163&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S163&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T163&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U163&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V163&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W163&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X163&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y163)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z163)&\", version_author=\"&AddQuotes('Calculator Table'!$AA163)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB163,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC163)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE163)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF163)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG163)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH163)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI163)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ163)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK163)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL163)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM163)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN163)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO163)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP163)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F163&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B163)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B163)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD163,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F163&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A163)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E163)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K163&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H163=\"Small Patch\",H163=\"Matrix\")),'Calculator Table'!$L163,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H163=\"Small Patch\",'Calculator Table'!$L163,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H163=\"Matrix\",'Calculator Table'!$L163,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M163&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N163&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O163&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P163&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q163&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R163&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S163&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T163&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U163&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V163&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W163&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X163&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y163)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z163)&\", version_author=\"&AddQuotes('Calculator Table'!$AA163)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB163,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC163)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE163)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF163)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG163)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH163)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI163)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ163)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK163)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL163)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM163)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN163)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO163)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP163)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F163&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B163)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B163)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD163,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F163&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A163)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E163)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K163&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K163=\"Small Patch\",K163=\"Matrix\")),'Calculator Table'!$L163,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K163=\"Small Patch\",'Calculator Table'!$L163,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K163=\"Matrix\",'Calculator Table'!$L163,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M163&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N163&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O163&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P163&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q163&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R163&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S163&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T163&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U163&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V163&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W163&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X163&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y163)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z163)&\", version_author=\"&AddQuotes('Calculator Table'!$AA163)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB163,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC163)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE163)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF163)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG163)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH163)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI163)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ163)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK163)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL163)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM163)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN163)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO163)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP163)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F163&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS164>0,'Rk Assign'!D164,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS164>0,Calculate!$AV164,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ164:$BL164<>\"U\")*($AQ164:$BL164>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ164:$BL164<>\"U\")*($AQ164:$BL164>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ164:$BL164<>\"U\")*($AQ164:$BL164>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K164:$R164<>\"Z\")*($K164:$R164>\"\")*NOT(ISERROR($K164:$R164)))+SUM(($K$4:$R$4=\"A\")*($K164:$R164<>\"A\")*($K164:$R164>\"\")*NOT(ISERROR($K164:$R164)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K164:$R164=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ164:$BL164=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B164)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B164)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD164,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F164&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A164)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E164)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K164&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E164=\"Small Patch\",E164=\"Matrix\")),'Calculator Table'!$L164,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E164=\"Small Patch\",'Calculator Table'!$L164,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E164=\"Matrix\",'Calculator Table'!$L164,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M164&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N164&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O164&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P164&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q164&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R164&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S164&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T164&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U164&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V164&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W164&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X164&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y164)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z164)&\", version_author=\"&AddQuotes('Calculator Table'!$AA164)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB164,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC164)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE164)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF164)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG164)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH164)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI164)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ164)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK164)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL164)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM164)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN164)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO164)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP164)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F164&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B164)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B164)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD164,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F164&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A164)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E164)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K164&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H164=\"Small Patch\",H164=\"Matrix\")),'Calculator Table'!$L164,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H164=\"Small Patch\",'Calculator Table'!$L164,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H164=\"Matrix\",'Calculator Table'!$L164,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M164&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N164&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O164&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P164&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q164&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R164&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S164&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T164&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U164&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V164&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W164&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X164&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y164)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z164)&\", version_author=\"&AddQuotes('Calculator Table'!$AA164)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB164,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC164)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE164)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF164)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG164)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH164)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI164)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ164)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK164)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL164)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM164)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN164)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO164)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP164)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F164&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B164)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B164)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD164,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F164&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A164)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E164)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K164&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K164=\"Small Patch\",K164=\"Matrix\")),'Calculator Table'!$L164,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K164=\"Small Patch\",'Calculator Table'!$L164,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K164=\"Matrix\",'Calculator Table'!$L164,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M164&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N164&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O164&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P164&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q164&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R164&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S164&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T164&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U164&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V164&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W164&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X164&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y164)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z164)&\", version_author=\"&AddQuotes('Calculator Table'!$AA164)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB164,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC164)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE164)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF164)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG164)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH164)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI164)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ164)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK164)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL164)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM164)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN164)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO164)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP164)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F164&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS165>0,'Rk Assign'!D165,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS165>0,Calculate!$AV165,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ165:$BL165<>\"U\")*($AQ165:$BL165>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ165:$BL165<>\"U\")*($AQ165:$BL165>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ165:$BL165<>\"U\")*($AQ165:$BL165>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K165:$R165<>\"Z\")*($K165:$R165>\"\")*NOT(ISERROR($K165:$R165)))+SUM(($K$4:$R$4=\"A\")*($K165:$R165<>\"A\")*($K165:$R165>\"\")*NOT(ISERROR($K165:$R165)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K165:$R165=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ165:$BL165=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B165)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B165)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD165,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F165&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A165)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E165)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K165&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E165=\"Small Patch\",E165=\"Matrix\")),'Calculator Table'!$L165,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E165=\"Small Patch\",'Calculator Table'!$L165,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E165=\"Matrix\",'Calculator Table'!$L165,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M165&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N165&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O165&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P165&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q165&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R165&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S165&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T165&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U165&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V165&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W165&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X165&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y165)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z165)&\", version_author=\"&AddQuotes('Calculator Table'!$AA165)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB165,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC165)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE165)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF165)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG165)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH165)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI165)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ165)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK165)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL165)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM165)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN165)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO165)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP165)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F165&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B165)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B165)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD165,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F165&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A165)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E165)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K165&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H165=\"Small Patch\",H165=\"Matrix\")),'Calculator Table'!$L165,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H165=\"Small Patch\",'Calculator Table'!$L165,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H165=\"Matrix\",'Calculator Table'!$L165,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M165&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N165&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O165&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P165&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q165&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R165&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S165&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T165&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U165&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V165&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W165&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X165&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y165)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z165)&\", version_author=\"&AddQuotes('Calculator Table'!$AA165)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB165,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC165)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE165)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF165)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG165)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH165)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI165)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ165)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK165)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL165)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM165)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN165)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO165)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP165)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F165&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B165)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B165)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD165,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F165&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A165)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E165)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K165&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K165=\"Small Patch\",K165=\"Matrix\")),'Calculator Table'!$L165,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K165=\"Small Patch\",'Calculator Table'!$L165,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K165=\"Matrix\",'Calculator Table'!$L165,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M165&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N165&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O165&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P165&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q165&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R165&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S165&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T165&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U165&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V165&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W165&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X165&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y165)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z165)&\", version_author=\"&AddQuotes('Calculator Table'!$AA165)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB165,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC165)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE165)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF165)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG165)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH165)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI165)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ165)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK165)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL165)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM165)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN165)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO165)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP165)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F165&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS166>0,'Rk Assign'!D166,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS166>0,Calculate!$AV166,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ166:$BL166<>\"U\")*($AQ166:$BL166>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ166:$BL166<>\"U\")*($AQ166:$BL166>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ166:$BL166<>\"U\")*($AQ166:$BL166>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K166:$R166<>\"Z\")*($K166:$R166>\"\")*NOT(ISERROR($K166:$R166)))+SUM(($K$4:$R$4=\"A\")*($K166:$R166<>\"A\")*($K166:$R166>\"\")*NOT(ISERROR($K166:$R166)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K166:$R166=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ166:$BL166=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B166)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B166)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD166,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F166&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A166)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E166)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K166&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E166=\"Small Patch\",E166=\"Matrix\")),'Calculator Table'!$L166,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E166=\"Small Patch\",'Calculator Table'!$L166,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E166=\"Matrix\",'Calculator Table'!$L166,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M166&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N166&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O166&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P166&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q166&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R166&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S166&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T166&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U166&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V166&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W166&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X166&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y166)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z166)&\", version_author=\"&AddQuotes('Calculator Table'!$AA166)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB166,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC166)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE166)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF166)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG166)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH166)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI166)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ166)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK166)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL166)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM166)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN166)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO166)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP166)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F166&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B166)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B166)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD166,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F166&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A166)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E166)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K166&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H166=\"Small Patch\",H166=\"Matrix\")),'Calculator Table'!$L166,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H166=\"Small Patch\",'Calculator Table'!$L166,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H166=\"Matrix\",'Calculator Table'!$L166,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M166&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N166&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O166&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P166&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q166&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R166&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S166&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T166&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U166&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V166&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W166&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X166&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y166)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z166)&\", version_author=\"&AddQuotes('Calculator Table'!$AA166)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB166,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC166)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE166)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF166)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG166)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH166)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI166)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ166)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK166)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL166)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM166)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN166)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO166)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP166)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F166&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B166)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B166)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD166,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F166&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A166)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E166)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K166&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K166=\"Small Patch\",K166=\"Matrix\")),'Calculator Table'!$L166,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K166=\"Small Patch\",'Calculator Table'!$L166,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K166=\"Matrix\",'Calculator Table'!$L166,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M166&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N166&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O166&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P166&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q166&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R166&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S166&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T166&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U166&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V166&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W166&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X166&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y166)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z166)&\", version_author=\"&AddQuotes('Calculator Table'!$AA166)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB166,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC166)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE166)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF166)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG166)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH166)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI166)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ166)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK166)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL166)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM166)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN166)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO166)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP166)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F166&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS167>0,'Rk Assign'!D167,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS167>0,Calculate!$AV167,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ167:$BL167<>\"U\")*($AQ167:$BL167>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ167:$BL167<>\"U\")*($AQ167:$BL167>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ167:$BL167<>\"U\")*($AQ167:$BL167>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K167:$R167<>\"Z\")*($K167:$R167>\"\")*NOT(ISERROR($K167:$R167)))+SUM(($K$4:$R$4=\"A\")*($K167:$R167<>\"A\")*($K167:$R167>\"\")*NOT(ISERROR($K167:$R167)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K167:$R167=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ167:$BL167=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B167)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B167)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F167&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A167)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E167)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K167&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E167=\"Small Patch\",E167=\"Matrix\")),'Calculator Table'!$L167,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E167=\"Small Patch\",'Calculator Table'!$L167,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E167=\"Matrix\",'Calculator Table'!$L167,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M167&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N167&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O167&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P167&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q167&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R167&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S167&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T167&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U167&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V167&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W167&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X167&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y167)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z167)&\", version_author=\"&AddQuotes('Calculator Table'!$AA167)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC167)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE167)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF167)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG167)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH167)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI167)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ167)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK167)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL167)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM167)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN167)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO167)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP167)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F167&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B167)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B167)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F167&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A167)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E167)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K167&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H167=\"Small Patch\",H167=\"Matrix\")),'Calculator Table'!$L167,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H167=\"Small Patch\",'Calculator Table'!$L167,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H167=\"Matrix\",'Calculator Table'!$L167,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M167&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N167&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O167&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P167&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q167&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R167&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S167&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T167&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U167&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V167&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W167&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X167&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y167)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z167)&\", version_author=\"&AddQuotes('Calculator Table'!$AA167)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC167)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE167)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF167)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG167)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH167)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI167)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ167)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK167)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL167)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM167)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN167)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO167)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP167)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F167&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B167)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B167)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F167&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A167)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E167)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K167&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K167=\"Small Patch\",K167=\"Matrix\")),'Calculator Table'!$L167,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K167=\"Small Patch\",'Calculator Table'!$L167,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K167=\"Matrix\",'Calculator Table'!$L167,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M167&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N167&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O167&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P167&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q167&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R167&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S167&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T167&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U167&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V167&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W167&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X167&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y167)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z167)&\", version_author=\"&AddQuotes('Calculator Table'!$AA167)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC167)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE167)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF167)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG167)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH167)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI167)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ167)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK167)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL167)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM167)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN167)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO167)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP167)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F167&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS168>0,'Rk Assign'!D168,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS168>0,Calculate!$AV168,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ168:$BL168<>\"U\")*($AQ168:$BL168>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ168:$BL168<>\"U\")*($AQ168:$BL168>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ168:$BL168<>\"U\")*($AQ168:$BL168>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K168:$R168<>\"Z\")*($K168:$R168>\"\")*NOT(ISERROR($K168:$R168)))+SUM(($K$4:$R$4=\"A\")*($K168:$R168<>\"A\")*($K168:$R168>\"\")*NOT(ISERROR($K168:$R168)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K168:$R168=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ168:$BL168=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B168)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B168)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD168,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F168&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A168)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E168)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K168&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E168=\"Small Patch\",E168=\"Matrix\")),'Calculator Table'!$L168,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E168=\"Small Patch\",'Calculator Table'!$L168,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E168=\"Matrix\",'Calculator Table'!$L168,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M168&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N168&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O168&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P168&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q168&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R168&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S168&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T168&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U168&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V168&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W168&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X168&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y168)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z168)&\", version_author=\"&AddQuotes('Calculator Table'!$AA168)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB168,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC168)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE168)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF168)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG168)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH168)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI168)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ168)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK168)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL168)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM168)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN168)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO168)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP168)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F168&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B168)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B168)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD168,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F168&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A168)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E168)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K168&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H168=\"Small Patch\",H168=\"Matrix\")),'Calculator Table'!$L168,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H168=\"Small Patch\",'Calculator Table'!$L168,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H168=\"Matrix\",'Calculator Table'!$L168,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M168&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N168&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O168&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P168&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q168&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R168&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S168&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T168&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U168&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V168&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W168&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X168&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y168)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z168)&\", version_author=\"&AddQuotes('Calculator Table'!$AA168)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB168,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC168)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE168)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF168)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG168)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH168)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI168)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ168)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK168)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL168)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM168)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN168)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO168)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP168)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F168&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B168)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B168)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD168,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F168&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A168)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E168)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K168&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K168=\"Small Patch\",K168=\"Matrix\")),'Calculator Table'!$L168,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K168=\"Small Patch\",'Calculator Table'!$L168,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K168=\"Matrix\",'Calculator Table'!$L168,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M168&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N168&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O168&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P168&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q168&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R168&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S168&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T168&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U168&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V168&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W168&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X168&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y168)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z168)&\", version_author=\"&AddQuotes('Calculator Table'!$AA168)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB168,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC168)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE168)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF168)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG168)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH168)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI168)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ168)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK168)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL168)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM168)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN168)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO168)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP168)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F168&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS169>0,'Rk Assign'!D169,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS169>0,Calculate!$AV169,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ169:$BL169<>\"U\")*($AQ169:$BL169>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ169:$BL169<>\"U\")*($AQ169:$BL169>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ169:$BL169<>\"U\")*($AQ169:$BL169>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K169:$R169<>\"Z\")*($K169:$R169>\"\")*NOT(ISERROR($K169:$R169)))+SUM(($K$4:$R$4=\"A\")*($K169:$R169<>\"A\")*($K169:$R169>\"\")*NOT(ISERROR($K169:$R169)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K169:$R169=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ169:$BL169=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B169)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B169)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD169,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F169&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A169)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E169)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K169&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E169=\"Small Patch\",E169=\"Matrix\")),'Calculator Table'!$L169,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E169=\"Small Patch\",'Calculator Table'!$L169,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E169=\"Matrix\",'Calculator Table'!$L169,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M169&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N169&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O169&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P169&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q169&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R169&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S169&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T169&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U169&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V169&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W169&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X169&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y169)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z169)&\", version_author=\"&AddQuotes('Calculator Table'!$AA169)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB169,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC169)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE169)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF169)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG169)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH169)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI169)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ169)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK169)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL169)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM169)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN169)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO169)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP169)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F169&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B169)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B169)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD169,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F169&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A169)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E169)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K169&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H169=\"Small Patch\",H169=\"Matrix\")),'Calculator Table'!$L169,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H169=\"Small Patch\",'Calculator Table'!$L169,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H169=\"Matrix\",'Calculator Table'!$L169,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M169&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N169&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O169&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P169&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q169&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R169&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S169&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T169&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U169&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V169&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W169&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X169&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y169)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z169)&\", version_author=\"&AddQuotes('Calculator Table'!$AA169)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB169,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC169)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE169)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF169)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG169)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH169)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI169)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ169)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK169)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL169)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM169)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN169)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO169)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP169)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F169&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B169)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B169)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD169,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F169&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A169)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E169)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K169&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K169=\"Small Patch\",K169=\"Matrix\")),'Calculator Table'!$L169,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K169=\"Small Patch\",'Calculator Table'!$L169,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K169=\"Matrix\",'Calculator Table'!$L169,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M169&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N169&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O169&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P169&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q169&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R169&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S169&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T169&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U169&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V169&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W169&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X169&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y169)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z169)&\", version_author=\"&AddQuotes('Calculator Table'!$AA169)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB169,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC169)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE169)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF169)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG169)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH169)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI169)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ169)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK169)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL169)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM169)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN169)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO169)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP169)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F169&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS170>0,'Rk Assign'!D170,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS170>0,Calculate!$AV170,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ170:$BL170<>\"U\")*($AQ170:$BL170>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ170:$BL170<>\"U\")*($AQ170:$BL170>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ170:$BL170<>\"U\")*($AQ170:$BL170>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K170:$R170<>\"Z\")*($K170:$R170>\"\")*NOT(ISERROR($K170:$R170)))+SUM(($K$4:$R$4=\"A\")*($K170:$R170<>\"A\")*($K170:$R170>\"\")*NOT(ISERROR($K170:$R170)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K170:$R170=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ170:$BL170=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B170)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B170)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD170,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F170&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A170)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E170)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K170&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E170=\"Small Patch\",E170=\"Matrix\")),'Calculator Table'!$L170,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E170=\"Small Patch\",'Calculator Table'!$L170,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E170=\"Matrix\",'Calculator Table'!$L170,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M170&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N170&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O170&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P170&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q170&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R170&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S170&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T170&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U170&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V170&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W170&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X170&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y170)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z170)&\", version_author=\"&AddQuotes('Calculator Table'!$AA170)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB170,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC170)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE170)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF170)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG170)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH170)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI170)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ170)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK170)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL170)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM170)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN170)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO170)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP170)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F170&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B170)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B170)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD170,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F170&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A170)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E170)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K170&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H170=\"Small Patch\",H170=\"Matrix\")),'Calculator Table'!$L170,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H170=\"Small Patch\",'Calculator Table'!$L170,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H170=\"Matrix\",'Calculator Table'!$L170,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M170&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N170&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O170&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P170&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q170&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R170&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S170&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T170&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U170&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V170&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W170&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X170&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y170)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z170)&\", version_author=\"&AddQuotes('Calculator Table'!$AA170)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB170,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC170)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE170)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF170)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG170)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH170)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI170)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ170)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK170)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL170)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM170)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN170)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO170)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP170)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F170&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B170)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B170)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD170,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F170&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A170)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E170)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K170&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K170=\"Small Patch\",K170=\"Matrix\")),'Calculator Table'!$L170,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K170=\"Small Patch\",'Calculator Table'!$L170,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K170=\"Matrix\",'Calculator Table'!$L170,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M170&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N170&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O170&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P170&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q170&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R170&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S170&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T170&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U170&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V170&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W170&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X170&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y170)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z170)&\", version_author=\"&AddQuotes('Calculator Table'!$AA170)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB170,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC170)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE170)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF170)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG170)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH170)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI170)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ170)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK170)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL170)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM170)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN170)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO170)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP170)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F170&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS171>0,'Rk Assign'!D171,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS171>0,Calculate!$AV171,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ171:$BL171<>\"U\")*($AQ171:$BL171>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ171:$BL171<>\"U\")*($AQ171:$BL171>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ171:$BL171<>\"U\")*($AQ171:$BL171>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K171:$R171<>\"Z\")*($K171:$R171>\"\")*NOT(ISERROR($K171:$R171)))+SUM(($K$4:$R$4=\"A\")*($K171:$R171<>\"A\")*($K171:$R171>\"\")*NOT(ISERROR($K171:$R171)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K171:$R171=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ171:$BL171=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B171)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B171)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD171,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F171&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A171)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E171)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K171&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E171=\"Small Patch\",E171=\"Matrix\")),'Calculator Table'!$L171,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E171=\"Small Patch\",'Calculator Table'!$L171,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E171=\"Matrix\",'Calculator Table'!$L171,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M171&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N171&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O171&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P171&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q171&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R171&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S171&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T171&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U171&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V171&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W171&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X171&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y171)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z171)&\", version_author=\"&AddQuotes('Calculator Table'!$AA171)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB171,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC171)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE171)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF171)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG171)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH171)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI171)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ171)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK171)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL171)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM171)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN171)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO171)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP171)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F171&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B171)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B171)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD171,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F171&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A171)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E171)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K171&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H171=\"Small Patch\",H171=\"Matrix\")),'Calculator Table'!$L171,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H171=\"Small Patch\",'Calculator Table'!$L171,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H171=\"Matrix\",'Calculator Table'!$L171,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M171&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N171&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O171&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P171&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q171&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R171&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S171&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T171&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U171&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V171&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W171&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X171&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y171)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z171)&\", version_author=\"&AddQuotes('Calculator Table'!$AA171)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB171,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC171)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE171)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF171)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG171)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH171)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI171)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ171)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK171)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL171)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM171)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN171)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO171)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP171)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F171&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B171)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B171)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD171,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F171&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A171)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E171)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K171&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K171=\"Small Patch\",K171=\"Matrix\")),'Calculator Table'!$L171,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K171=\"Small Patch\",'Calculator Table'!$L171,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K171=\"Matrix\",'Calculator Table'!$L171,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M171&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N171&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O171&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P171&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q171&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R171&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S171&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T171&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U171&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V171&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W171&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X171&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y171)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z171)&\", version_author=\"&AddQuotes('Calculator Table'!$AA171)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB171,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC171)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE171)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF171)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG171)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH171)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI171)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ171)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK171)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL171)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM171)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN171)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO171)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP171)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F171&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS172>0,'Rk Assign'!D172,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS172>0,Calculate!$AV172,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ172:$BL172<>\"U\")*($AQ172:$BL172>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ172:$BL172<>\"U\")*($AQ172:$BL172>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ172:$BL172<>\"U\")*($AQ172:$BL172>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K172:$R172<>\"Z\")*($K172:$R172>\"\")*NOT(ISERROR($K172:$R172)))+SUM(($K$4:$R$4=\"A\")*($K172:$R172<>\"A\")*($K172:$R172>\"\")*NOT(ISERROR($K172:$R172)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K172:$R172=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ172:$BL172=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B172)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B172)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD172,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F172&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A172)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E172)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K172&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E172=\"Small Patch\",E172=\"Matrix\")),'Calculator Table'!$L172,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E172=\"Small Patch\",'Calculator Table'!$L172,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E172=\"Matrix\",'Calculator Table'!$L172,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M172&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N172&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O172&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P172&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q172&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R172&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S172&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T172&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U172&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V172&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W172&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X172&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y172)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z172)&\", version_author=\"&AddQuotes('Calculator Table'!$AA172)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB172,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC172)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE172)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF172)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG172)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH172)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI172)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ172)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK172)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL172)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM172)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN172)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO172)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP172)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F172&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B172)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B172)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD172,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F172&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A172)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E172)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K172&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H172=\"Small Patch\",H172=\"Matrix\")),'Calculator Table'!$L172,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H172=\"Small Patch\",'Calculator Table'!$L172,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H172=\"Matrix\",'Calculator Table'!$L172,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M172&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N172&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O172&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P172&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q172&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R172&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S172&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T172&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U172&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V172&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W172&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X172&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y172)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z172)&\", version_author=\"&AddQuotes('Calculator Table'!$AA172)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB172,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC172)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE172)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF172)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG172)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH172)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI172)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ172)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK172)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL172)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM172)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN172)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO172)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP172)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F172&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B172)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B172)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD172,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F172&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A172)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E172)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K172&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K172=\"Small Patch\",K172=\"Matrix\")),'Calculator Table'!$L172,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K172=\"Small Patch\",'Calculator Table'!$L172,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K172=\"Matrix\",'Calculator Table'!$L172,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M172&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N172&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O172&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P172&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q172&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R172&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S172&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T172&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U172&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V172&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W172&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X172&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y172)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z172)&\", version_author=\"&AddQuotes('Calculator Table'!$AA172)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB172,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC172)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE172)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF172)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG172)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH172)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI172)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ172)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK172)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL172)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM172)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN172)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO172)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP172)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F172&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS173>0,'Rk Assign'!D173,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS173>0,Calculate!$AV173,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ173:$BL173<>\"U\")*($AQ173:$BL173>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ173:$BL173<>\"U\")*($AQ173:$BL173>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ173:$BL173<>\"U\")*($AQ173:$BL173>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K173:$R173<>\"Z\")*($K173:$R173>\"\")*NOT(ISERROR($K173:$R173)))+SUM(($K$4:$R$4=\"A\")*($K173:$R173<>\"A\")*($K173:$R173>\"\")*NOT(ISERROR($K173:$R173)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K173:$R173=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ173:$BL173=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B173)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B173)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD173,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F173&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A173)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E173)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K173&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E173=\"Small Patch\",E173=\"Matrix\")),'Calculator Table'!$L173,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E173=\"Small Patch\",'Calculator Table'!$L173,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E173=\"Matrix\",'Calculator Table'!$L173,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M173&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N173&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O173&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P173&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q173&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R173&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S173&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T173&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U173&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V173&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W173&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X173&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y173)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z173)&\", version_author=\"&AddQuotes('Calculator Table'!$AA173)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB173,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC173)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE173)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF173)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG173)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH173)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI173)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ173)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK173)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL173)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM173)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN173)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO173)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP173)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F173&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B173)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B173)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD173,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F173&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A173)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E173)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K173&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H173=\"Small Patch\",H173=\"Matrix\")),'Calculator Table'!$L173,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H173=\"Small Patch\",'Calculator Table'!$L173,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H173=\"Matrix\",'Calculator Table'!$L173,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M173&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N173&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O173&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P173&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q173&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R173&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S173&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T173&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U173&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V173&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W173&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X173&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y173)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z173)&\", version_author=\"&AddQuotes('Calculator Table'!$AA173)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB173,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC173)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE173)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF173)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG173)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH173)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI173)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ173)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK173)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL173)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM173)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN173)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO173)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP173)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F173&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B173)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B173)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD173,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F173&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A173)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E173)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K173&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K173=\"Small Patch\",K173=\"Matrix\")),'Calculator Table'!$L173,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K173=\"Small Patch\",'Calculator Table'!$L173,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K173=\"Matrix\",'Calculator Table'!$L173,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M173&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N173&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O173&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P173&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q173&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R173&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S173&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T173&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U173&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V173&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W173&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X173&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y173)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z173)&\", version_author=\"&AddQuotes('Calculator Table'!$AA173)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB173,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC173)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE173)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF173)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG173)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH173)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI173)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ173)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK173)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL173)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM173)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN173)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO173)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP173)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F173&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS174>0,'Rk Assign'!D174,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS174>0,Calculate!$AV174,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ174:$BL174<>\"U\")*($AQ174:$BL174>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ174:$BL174<>\"U\")*($AQ174:$BL174>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ174:$BL174<>\"U\")*($AQ174:$BL174>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K174:$R174<>\"Z\")*($K174:$R174>\"\")*NOT(ISERROR($K174:$R174)))+SUM(($K$4:$R$4=\"A\")*($K174:$R174<>\"A\")*($K174:$R174>\"\")*NOT(ISERROR($K174:$R174)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K174:$R174=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ174:$BL174=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B174)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B174)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD174,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F174&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A174)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E174)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K174&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E174=\"Small Patch\",E174=\"Matrix\")),'Calculator Table'!$L174,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E174=\"Small Patch\",'Calculator Table'!$L174,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E174=\"Matrix\",'Calculator Table'!$L174,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M174&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N174&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O174&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P174&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q174&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R174&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S174&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T174&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U174&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V174&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W174&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X174&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y174)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z174)&\", version_author=\"&AddQuotes('Calculator Table'!$AA174)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB174,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC174)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE174)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF174)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG174)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH174)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI174)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ174)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK174)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL174)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM174)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN174)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO174)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP174)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F174&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B174)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B174)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD174,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F174&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A174)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E174)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K174&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H174=\"Small Patch\",H174=\"Matrix\")),'Calculator Table'!$L174,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H174=\"Small Patch\",'Calculator Table'!$L174,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H174=\"Matrix\",'Calculator Table'!$L174,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M174&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N174&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O174&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P174&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q174&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R174&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S174&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T174&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U174&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V174&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W174&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X174&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y174)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z174)&\", version_author=\"&AddQuotes('Calculator Table'!$AA174)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB174,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC174)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE174)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF174)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG174)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH174)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI174)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ174)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK174)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL174)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM174)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN174)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO174)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP174)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F174&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B174)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B174)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD174,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F174&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A174)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E174)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K174&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K174=\"Small Patch\",K174=\"Matrix\")),'Calculator Table'!$L174,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K174=\"Small Patch\",'Calculator Table'!$L174,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K174=\"Matrix\",'Calculator Table'!$L174,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M174&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N174&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O174&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P174&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q174&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R174&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S174&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T174&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U174&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V174&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W174&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X174&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y174)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z174)&\", version_author=\"&AddQuotes('Calculator Table'!$AA174)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB174,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC174)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE174)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF174)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG174)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH174)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI174)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ174)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK174)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL174)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM174)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN174)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO174)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP174)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F174&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS175>0,'Rk Assign'!D175,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS175>0,Calculate!$AV175,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ175:$BL175<>\"U\")*($AQ175:$BL175>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ175:$BL175<>\"U\")*($AQ175:$BL175>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ175:$BL175<>\"U\")*($AQ175:$BL175>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K175:$R175<>\"Z\")*($K175:$R175>\"\")*NOT(ISERROR($K175:$R175)))+SUM(($K$4:$R$4=\"A\")*($K175:$R175<>\"A\")*($K175:$R175>\"\")*NOT(ISERROR($K175:$R175)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K175:$R175=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ175:$BL175=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B175)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B175)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD175,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F175&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A175)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E175)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K175&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E175=\"Small Patch\",E175=\"Matrix\")),'Calculator Table'!$L175,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E175=\"Small Patch\",'Calculator Table'!$L175,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E175=\"Matrix\",'Calculator Table'!$L175,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M175&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N175&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O175&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P175&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q175&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R175&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S175&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T175&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U175&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V175&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W175&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X175&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y175)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z175)&\", version_author=\"&AddQuotes('Calculator Table'!$AA175)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB175,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC175)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE175)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF175)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG175)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH175)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI175)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ175)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK175)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL175)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM175)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN175)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO175)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP175)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F175&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B175)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B175)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD175,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F175&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A175)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E175)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K175&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H175=\"Small Patch\",H175=\"Matrix\")),'Calculator Table'!$L175,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H175=\"Small Patch\",'Calculator Table'!$L175,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H175=\"Matrix\",'Calculator Table'!$L175,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M175&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N175&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O175&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P175&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q175&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R175&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S175&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T175&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U175&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V175&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W175&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X175&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y175)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z175)&\", version_author=\"&AddQuotes('Calculator Table'!$AA175)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB175,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC175)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE175)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF175)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG175)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH175)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI175)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ175)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK175)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL175)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM175)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN175)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO175)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP175)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F175&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B175)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B175)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD175,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F175&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A175)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E175)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K175&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K175=\"Small Patch\",K175=\"Matrix\")),'Calculator Table'!$L175,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K175=\"Small Patch\",'Calculator Table'!$L175,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K175=\"Matrix\",'Calculator Table'!$L175,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M175&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N175&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O175&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P175&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q175&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R175&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S175&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T175&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U175&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V175&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W175&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X175&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y175)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z175)&\", version_author=\"&AddQuotes('Calculator Table'!$AA175)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB175,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC175)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE175)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF175)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG175)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH175)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI175)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ175)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK175)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL175)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM175)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN175)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO175)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP175)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F175&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS176>0,'Rk Assign'!D176,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS176>0,Calculate!$AV176,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ176:$BL176<>\"U\")*($AQ176:$BL176>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ176:$BL176<>\"U\")*($AQ176:$BL176>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ176:$BL176<>\"U\")*($AQ176:$BL176>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K176:$R176<>\"Z\")*($K176:$R176>\"\")*NOT(ISERROR($K176:$R176)))+SUM(($K$4:$R$4=\"A\")*($K176:$R176<>\"A\")*($K176:$R176>\"\")*NOT(ISERROR($K176:$R176)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K176:$R176=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ176:$BL176=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B176)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B176)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD176,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F176&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A176)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E176)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K176&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E176=\"Small Patch\",E176=\"Matrix\")),'Calculator Table'!$L176,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E176=\"Small Patch\",'Calculator Table'!$L176,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E176=\"Matrix\",'Calculator Table'!$L176,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M176&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N176&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O176&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P176&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q176&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R176&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S176&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T176&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U176&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V176&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W176&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X176&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y176)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z176)&\", version_author=\"&AddQuotes('Calculator Table'!$AA176)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB176,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC176)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE176)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF176)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG176)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH176)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI176)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ176)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK176)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL176)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM176)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN176)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO176)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP176)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F176&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B176)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B176)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD176,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F176&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A176)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E176)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K176&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H176=\"Small Patch\",H176=\"Matrix\")),'Calculator Table'!$L176,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H176=\"Small Patch\",'Calculator Table'!$L176,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H176=\"Matrix\",'Calculator Table'!$L176,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M176&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N176&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O176&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P176&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q176&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R176&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S176&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T176&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U176&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V176&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W176&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X176&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y176)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z176)&\", version_author=\"&AddQuotes('Calculator Table'!$AA176)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB176,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC176)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE176)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF176)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG176)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH176)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI176)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ176)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK176)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL176)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM176)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN176)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO176)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP176)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F176&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B176)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B176)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD176,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F176&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A176)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E176)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K176&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K176=\"Small Patch\",K176=\"Matrix\")),'Calculator Table'!$L176,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K176=\"Small Patch\",'Calculator Table'!$L176,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K176=\"Matrix\",'Calculator Table'!$L176,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M176&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N176&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O176&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P176&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q176&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R176&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S176&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T176&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U176&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V176&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W176&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X176&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y176)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z176)&\", version_author=\"&AddQuotes('Calculator Table'!$AA176)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB176,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC176)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE176)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF176)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG176)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH176)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI176)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ176)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK176)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL176)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM176)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN176)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO176)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP176)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F176&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS177>0,'Rk Assign'!D177,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS177>0,Calculate!$AV177,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ177:$BL177<>\"U\")*($AQ177:$BL177>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ177:$BL177<>\"U\")*($AQ177:$BL177>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ177:$BL177<>\"U\")*($AQ177:$BL177>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K177:$R177<>\"Z\")*($K177:$R177>\"\")*NOT(ISERROR($K177:$R177)))+SUM(($K$4:$R$4=\"A\")*($K177:$R177<>\"A\")*($K177:$R177>\"\")*NOT(ISERROR($K177:$R177)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K177:$R177=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ177:$BL177=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B177)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B177)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD177,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F177&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A177)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E177)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K177&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E177=\"Small Patch\",E177=\"Matrix\")),'Calculator Table'!$L177,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E177=\"Small Patch\",'Calculator Table'!$L177,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E177=\"Matrix\",'Calculator Table'!$L177,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M177&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N177&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O177&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P177&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q177&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R177&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S177&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T177&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U177&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V177&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W177&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X177&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y177)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z177)&\", version_author=\"&AddQuotes('Calculator Table'!$AA177)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB177,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC177)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE177)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF177)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG177)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH177)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI177)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ177)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK177)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL177)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM177)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN177)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO177)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP177)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F177&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B177)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B177)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD177,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F177&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A177)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E177)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K177&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H177=\"Small Patch\",H177=\"Matrix\")),'Calculator Table'!$L177,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H177=\"Small Patch\",'Calculator Table'!$L177,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H177=\"Matrix\",'Calculator Table'!$L177,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M177&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N177&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O177&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P177&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q177&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R177&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S177&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T177&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U177&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V177&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W177&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X177&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y177)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z177)&\", version_author=\"&AddQuotes('Calculator Table'!$AA177)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB177,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC177)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE177)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF177)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG177)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH177)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI177)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ177)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK177)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL177)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM177)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN177)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO177)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP177)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F177&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B177)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B177)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD177,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F177&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A177)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E177)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K177&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K177=\"Small Patch\",K177=\"Matrix\")),'Calculator Table'!$L177,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K177=\"Small Patch\",'Calculator Table'!$L177,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K177=\"Matrix\",'Calculator Table'!$L177,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M177&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N177&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O177&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P177&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q177&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R177&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S177&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T177&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U177&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V177&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W177&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X177&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y177)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z177)&\", version_author=\"&AddQuotes('Calculator Table'!$AA177)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB177,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC177)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE177)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF177)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG177)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH177)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI177)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ177)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK177)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL177)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM177)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN177)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO177)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP177)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F177&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS178>0,'Rk Assign'!D178,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS178>0,Calculate!$AV178,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ178:$BL178<>\"U\")*($AQ178:$BL178>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ178:$BL178<>\"U\")*($AQ178:$BL178>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ178:$BL178<>\"U\")*($AQ178:$BL178>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K178:$R178<>\"Z\")*($K178:$R178>\"\")*NOT(ISERROR($K178:$R178)))+SUM(($K$4:$R$4=\"A\")*($K178:$R178<>\"A\")*($K178:$R178>\"\")*NOT(ISERROR($K178:$R178)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K178:$R178=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ178:$BL178=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B178)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B178)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD178,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F178&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A178)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E178)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K178&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E178=\"Small Patch\",E178=\"Matrix\")),'Calculator Table'!$L178,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E178=\"Small Patch\",'Calculator Table'!$L178,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E178=\"Matrix\",'Calculator Table'!$L178,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M178&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N178&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O178&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P178&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q178&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R178&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S178&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T178&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U178&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V178&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W178&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X178&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y178)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z178)&\", version_author=\"&AddQuotes('Calculator Table'!$AA178)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB178,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC178)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE178)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF178)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG178)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH178)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI178)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ178)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK178)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL178)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM178)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN178)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO178)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP178)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F178&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B178)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B178)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD178,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F178&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A178)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E178)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K178&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H178=\"Small Patch\",H178=\"Matrix\")),'Calculator Table'!$L178,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H178=\"Small Patch\",'Calculator Table'!$L178,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H178=\"Matrix\",'Calculator Table'!$L178,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M178&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N178&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O178&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P178&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q178&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R178&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S178&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T178&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U178&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V178&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W178&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X178&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y178)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z178)&\", version_author=\"&AddQuotes('Calculator Table'!$AA178)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB178,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC178)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE178)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF178)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG178)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH178)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI178)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ178)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK178)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL178)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM178)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN178)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO178)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP178)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F178&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B178)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B178)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD178,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F178&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A178)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E178)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K178&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K178=\"Small Patch\",K178=\"Matrix\")),'Calculator Table'!$L178,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K178=\"Small Patch\",'Calculator Table'!$L178,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K178=\"Matrix\",'Calculator Table'!$L178,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M178&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N178&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O178&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P178&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q178&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R178&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S178&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T178&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U178&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V178&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W178&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X178&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y178)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z178)&\", version_author=\"&AddQuotes('Calculator Table'!$AA178)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB178,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC178)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE178)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF178)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG178)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH178)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI178)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ178)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK178)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL178)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM178)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN178)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO178)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP178)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F178&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS179>0,'Rk Assign'!D179,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS179>0,Calculate!$AV179,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ179:$BL179<>\"U\")*($AQ179:$BL179>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ179:$BL179<>\"U\")*($AQ179:$BL179>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ179:$BL179<>\"U\")*($AQ179:$BL179>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K179:$R179<>\"Z\")*($K179:$R179>\"\")*NOT(ISERROR($K179:$R179)))+SUM(($K$4:$R$4=\"A\")*($K179:$R179<>\"A\")*($K179:$R179>\"\")*NOT(ISERROR($K179:$R179)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K179:$R179=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ179:$BL179=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B179)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B179)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F179&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A179)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E179)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K179&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E179=\"Small Patch\",E179=\"Matrix\")),'Calculator Table'!$L179,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E179=\"Small Patch\",'Calculator Table'!$L179,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E179=\"Matrix\",'Calculator Table'!$L179,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M179&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N179&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O179&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P179&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q179&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R179&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S179&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T179&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U179&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V179&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W179&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X179&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y179)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z179)&\", version_author=\"&AddQuotes('Calculator Table'!$AA179)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC179)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE179)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF179)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG179)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH179)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI179)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ179)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK179)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL179)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM179)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN179)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO179)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP179)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F179&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B179)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B179)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F179&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A179)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E179)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K179&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H179=\"Small Patch\",H179=\"Matrix\")),'Calculator Table'!$L179,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H179=\"Small Patch\",'Calculator Table'!$L179,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H179=\"Matrix\",'Calculator Table'!$L179,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M179&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N179&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O179&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P179&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q179&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R179&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S179&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T179&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U179&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V179&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W179&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X179&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y179)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z179)&\", version_author=\"&AddQuotes('Calculator Table'!$AA179)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC179)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE179)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF179)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG179)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH179)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI179)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ179)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK179)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL179)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM179)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN179)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO179)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP179)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F179&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B179)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B179)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F179&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A179)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E179)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K179&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K179=\"Small Patch\",K179=\"Matrix\")),'Calculator Table'!$L179,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K179=\"Small Patch\",'Calculator Table'!$L179,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K179=\"Matrix\",'Calculator Table'!$L179,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M179&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N179&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O179&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P179&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q179&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R179&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S179&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T179&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U179&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V179&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W179&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X179&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y179)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z179)&\", version_author=\"&AddQuotes('Calculator Table'!$AA179)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC179)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE179)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF179)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG179)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH179)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI179)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ179)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK179)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL179)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM179)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN179)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO179)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP179)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F179&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS180>0,'Rk Assign'!D180,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS180>0,Calculate!$AV180,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ180:$BL180<>\"U\")*($AQ180:$BL180>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ180:$BL180<>\"U\")*($AQ180:$BL180>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ180:$BL180<>\"U\")*($AQ180:$BL180>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K180:$R180<>\"Z\")*($K180:$R180>\"\")*NOT(ISERROR($K180:$R180)))+SUM(($K$4:$R$4=\"A\")*($K180:$R180<>\"A\")*($K180:$R180>\"\")*NOT(ISERROR($K180:$R180)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K180:$R180=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ180:$BL180=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B180)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B180)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD180,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F180&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A180)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E180)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K180&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E180=\"Small Patch\",E180=\"Matrix\")),'Calculator Table'!$L180,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E180=\"Small Patch\",'Calculator Table'!$L180,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E180=\"Matrix\",'Calculator Table'!$L180,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M180&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N180&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O180&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P180&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q180&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R180&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S180&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T180&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U180&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V180&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W180&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X180&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y180)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z180)&\", version_author=\"&AddQuotes('Calculator Table'!$AA180)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB180,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC180)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE180)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF180)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG180)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH180)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI180)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ180)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK180)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL180)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM180)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN180)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO180)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP180)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F180&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B180)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B180)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD180,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F180&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A180)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E180)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K180&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H180=\"Small Patch\",H180=\"Matrix\")),'Calculator Table'!$L180,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H180=\"Small Patch\",'Calculator Table'!$L180,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H180=\"Matrix\",'Calculator Table'!$L180,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M180&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N180&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O180&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P180&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q180&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R180&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S180&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T180&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U180&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V180&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W180&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X180&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y180)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z180)&\", version_author=\"&AddQuotes('Calculator Table'!$AA180)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB180,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC180)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE180)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF180)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG180)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH180)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI180)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ180)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK180)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL180)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM180)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN180)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO180)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP180)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F180&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B180)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B180)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD180,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F180&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A180)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E180)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K180&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K180=\"Small Patch\",K180=\"Matrix\")),'Calculator Table'!$L180,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K180=\"Small Patch\",'Calculator Table'!$L180,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K180=\"Matrix\",'Calculator Table'!$L180,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M180&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N180&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O180&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P180&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q180&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R180&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S180&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T180&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U180&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V180&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W180&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X180&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y180)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z180)&\", version_author=\"&AddQuotes('Calculator Table'!$AA180)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB180,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC180)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE180)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF180)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG180)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH180)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI180)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ180)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK180)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL180)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM180)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN180)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO180)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP180)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F180&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS181>0,'Rk Assign'!D181,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS181>0,Calculate!$AV181,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ181:$BL181<>\"U\")*($AQ181:$BL181>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ181:$BL181<>\"U\")*($AQ181:$BL181>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ181:$BL181<>\"U\")*($AQ181:$BL181>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K181:$R181<>\"Z\")*($K181:$R181>\"\")*NOT(ISERROR($K181:$R181)))+SUM(($K$4:$R$4=\"A\")*($K181:$R181<>\"A\")*($K181:$R181>\"\")*NOT(ISERROR($K181:$R181)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K181:$R181=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ181:$BL181=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B181)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B181)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD181,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F181&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A181)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E181)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K181&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E181=\"Small Patch\",E181=\"Matrix\")),'Calculator Table'!$L181,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E181=\"Small Patch\",'Calculator Table'!$L181,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E181=\"Matrix\",'Calculator Table'!$L181,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M181&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N181&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O181&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P181&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q181&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R181&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S181&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T181&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U181&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V181&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W181&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X181&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y181)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z181)&\", version_author=\"&AddQuotes('Calculator Table'!$AA181)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB181,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC181)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE181)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF181)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG181)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH181)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI181)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ181)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK181)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL181)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM181)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN181)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO181)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP181)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F181&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B181)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B181)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD181,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F181&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A181)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E181)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K181&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H181=\"Small Patch\",H181=\"Matrix\")),'Calculator Table'!$L181,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H181=\"Small Patch\",'Calculator Table'!$L181,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H181=\"Matrix\",'Calculator Table'!$L181,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M181&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N181&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O181&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P181&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q181&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R181&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S181&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T181&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U181&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V181&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W181&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X181&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y181)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z181)&\", version_author=\"&AddQuotes('Calculator Table'!$AA181)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB181,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC181)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE181)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF181)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG181)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH181)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI181)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ181)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK181)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL181)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM181)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN181)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO181)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP181)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F181&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B181)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B181)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD181,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F181&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A181)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E181)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K181&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K181=\"Small Patch\",K181=\"Matrix\")),'Calculator Table'!$L181,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K181=\"Small Patch\",'Calculator Table'!$L181,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K181=\"Matrix\",'Calculator Table'!$L181,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M181&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N181&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O181&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P181&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q181&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R181&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S181&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T181&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U181&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V181&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W181&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X181&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y181)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z181)&\", version_author=\"&AddQuotes('Calculator Table'!$AA181)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB181,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC181)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE181)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF181)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG181)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH181)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI181)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ181)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK181)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL181)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM181)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN181)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO181)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP181)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F181&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS182>0,'Rk Assign'!D182,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS182>0,Calculate!$AV182,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ182:$BL182<>\"U\")*($AQ182:$BL182>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ182:$BL182<>\"U\")*($AQ182:$BL182>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ182:$BL182<>\"U\")*($AQ182:$BL182>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K182:$R182<>\"Z\")*($K182:$R182>\"\")*NOT(ISERROR($K182:$R182)))+SUM(($K$4:$R$4=\"A\")*($K182:$R182<>\"A\")*($K182:$R182>\"\")*NOT(ISERROR($K182:$R182)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K182:$R182=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ182:$BL182=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B182)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B182)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD182,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F182&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A182)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E182)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K182&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E182=\"Small Patch\",E182=\"Matrix\")),'Calculator Table'!$L182,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E182=\"Small Patch\",'Calculator Table'!$L182,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E182=\"Matrix\",'Calculator Table'!$L182,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M182&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N182&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O182&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P182&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q182&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R182&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S182&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T182&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U182&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V182&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W182&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X182&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y182)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z182)&\", version_author=\"&AddQuotes('Calculator Table'!$AA182)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB182,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC182)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE182)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF182)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG182)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH182)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI182)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ182)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK182)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL182)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM182)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN182)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO182)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP182)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F182&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B182)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B182)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD182,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F182&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A182)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E182)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K182&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H182=\"Small Patch\",H182=\"Matrix\")),'Calculator Table'!$L182,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H182=\"Small Patch\",'Calculator Table'!$L182,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H182=\"Matrix\",'Calculator Table'!$L182,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M182&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N182&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O182&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P182&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q182&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R182&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S182&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T182&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U182&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V182&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W182&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X182&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y182)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z182)&\", version_author=\"&AddQuotes('Calculator Table'!$AA182)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB182,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC182)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE182)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF182)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG182)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH182)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI182)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ182)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK182)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL182)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM182)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN182)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO182)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP182)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F182&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B182)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B182)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD182,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F182&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A182)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E182)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K182&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K182=\"Small Patch\",K182=\"Matrix\")),'Calculator Table'!$L182,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K182=\"Small Patch\",'Calculator Table'!$L182,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K182=\"Matrix\",'Calculator Table'!$L182,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M182&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N182&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O182&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P182&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q182&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R182&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S182&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T182&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U182&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V182&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W182&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X182&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y182)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z182)&\", version_author=\"&AddQuotes('Calculator Table'!$AA182)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB182,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC182)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE182)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF182)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG182)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH182)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI182)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ182)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK182)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL182)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM182)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN182)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO182)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP182)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F182&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS183>0,'Rk Assign'!D183,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS183>0,Calculate!$AV183,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ183:$BL183<>\"U\")*($AQ183:$BL183>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ183:$BL183<>\"U\")*($AQ183:$BL183>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ183:$BL183<>\"U\")*($AQ183:$BL183>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K183:$R183<>\"Z\")*($K183:$R183>\"\")*NOT(ISERROR($K183:$R183)))+SUM(($K$4:$R$4=\"A\")*($K183:$R183<>\"A\")*($K183:$R183>\"\")*NOT(ISERROR($K183:$R183)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K183:$R183=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ183:$BL183=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B183)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B183)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD183,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F183&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A183)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E183)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K183&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E183=\"Small Patch\",E183=\"Matrix\")),'Calculator Table'!$L183,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E183=\"Small Patch\",'Calculator Table'!$L183,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E183=\"Matrix\",'Calculator Table'!$L183,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M183&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N183&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O183&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P183&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q183&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R183&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S183&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T183&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U183&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V183&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W183&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X183&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y183)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z183)&\", version_author=\"&AddQuotes('Calculator Table'!$AA183)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB183,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC183)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE183)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF183)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG183)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH183)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI183)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ183)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK183)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL183)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM183)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN183)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO183)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP183)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F183&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B183)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B183)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD183,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F183&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A183)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E183)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K183&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H183=\"Small Patch\",H183=\"Matrix\")),'Calculator Table'!$L183,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H183=\"Small Patch\",'Calculator Table'!$L183,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H183=\"Matrix\",'Calculator Table'!$L183,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M183&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N183&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O183&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P183&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q183&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R183&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S183&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T183&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U183&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V183&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W183&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X183&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y183)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z183)&\", version_author=\"&AddQuotes('Calculator Table'!$AA183)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB183,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC183)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE183)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF183)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG183)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH183)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI183)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ183)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK183)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL183)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM183)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN183)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO183)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP183)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F183&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B183)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B183)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD183,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F183&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A183)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E183)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K183&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K183=\"Small Patch\",K183=\"Matrix\")),'Calculator Table'!$L183,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K183=\"Small Patch\",'Calculator Table'!$L183,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K183=\"Matrix\",'Calculator Table'!$L183,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M183&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N183&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O183&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P183&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q183&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R183&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S183&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T183&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U183&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V183&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W183&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X183&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y183)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z183)&\", version_author=\"&AddQuotes('Calculator Table'!$AA183)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB183,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC183)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE183)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF183)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG183)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH183)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI183)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ183)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK183)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL183)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM183)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN183)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO183)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP183)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F183&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS184>0,'Rk Assign'!D184,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS184>0,Calculate!$AV184,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ184:$BL184<>\"U\")*($AQ184:$BL184>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ184:$BL184<>\"U\")*($AQ184:$BL184>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ184:$BL184<>\"U\")*($AQ184:$BL184>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K184:$R184<>\"Z\")*($K184:$R184>\"\")*NOT(ISERROR($K184:$R184)))+SUM(($K$4:$R$4=\"A\")*($K184:$R184<>\"A\")*($K184:$R184>\"\")*NOT(ISERROR($K184:$R184)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K184:$R184=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ184:$BL184=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B184)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B184)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F184&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A184)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E184)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K184&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E184=\"Small Patch\",E184=\"Matrix\")),'Calculator Table'!$L184,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E184=\"Small Patch\",'Calculator Table'!$L184,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E184=\"Matrix\",'Calculator Table'!$L184,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M184&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N184&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O184&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P184&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q184&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R184&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S184&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T184&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U184&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V184&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W184&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X184&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y184)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z184)&\", version_author=\"&AddQuotes('Calculator Table'!$AA184)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC184)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE184)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF184)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG184)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH184)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI184)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ184)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK184)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL184)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM184)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN184)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO184)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP184)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F184&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B184)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B184)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F184&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A184)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E184)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K184&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H184=\"Small Patch\",H184=\"Matrix\")),'Calculator Table'!$L184,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H184=\"Small Patch\",'Calculator Table'!$L184,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H184=\"Matrix\",'Calculator Table'!$L184,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M184&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N184&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O184&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P184&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q184&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R184&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S184&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T184&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U184&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V184&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W184&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X184&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y184)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z184)&\", version_author=\"&AddQuotes('Calculator Table'!$AA184)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC184)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE184)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF184)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG184)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH184)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI184)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ184)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK184)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL184)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM184)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN184)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO184)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP184)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F184&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B184)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B184)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F184&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A184)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E184)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K184&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K184=\"Small Patch\",K184=\"Matrix\")),'Calculator Table'!$L184,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K184=\"Small Patch\",'Calculator Table'!$L184,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K184=\"Matrix\",'Calculator Table'!$L184,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M184&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N184&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O184&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P184&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q184&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R184&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S184&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T184&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U184&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V184&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W184&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X184&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y184)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z184)&\", version_author=\"&AddQuotes('Calculator Table'!$AA184)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC184)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE184)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF184)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG184)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH184)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI184)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ184)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK184)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL184)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM184)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN184)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO184)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP184)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F184&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS185>0,'Rk Assign'!D185,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS185>0,Calculate!$AV185,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ185:$BL185<>\"U\")*($AQ185:$BL185>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ185:$BL185<>\"U\")*($AQ185:$BL185>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ185:$BL185<>\"U\")*($AQ185:$BL185>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K185:$R185<>\"Z\")*($K185:$R185>\"\")*NOT(ISERROR($K185:$R185)))+SUM(($K$4:$R$4=\"A\")*($K185:$R185<>\"A\")*($K185:$R185>\"\")*NOT(ISERROR($K185:$R185)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K185:$R185=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ185:$BL185=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B185)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B185)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD185,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F185&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A185)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E185)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K185&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E185=\"Small Patch\",E185=\"Matrix\")),'Calculator Table'!$L185,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E185=\"Small Patch\",'Calculator Table'!$L185,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E185=\"Matrix\",'Calculator Table'!$L185,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M185&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N185&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O185&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P185&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q185&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R185&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S185&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T185&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U185&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V185&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W185&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X185&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y185)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z185)&\", version_author=\"&AddQuotes('Calculator Table'!$AA185)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB185,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC185)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE185)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF185)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG185)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH185)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI185)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ185)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK185)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL185)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM185)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN185)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO185)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP185)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F185&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B185)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B185)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD185,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F185&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A185)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E185)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K185&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H185=\"Small Patch\",H185=\"Matrix\")),'Calculator Table'!$L185,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H185=\"Small Patch\",'Calculator Table'!$L185,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H185=\"Matrix\",'Calculator Table'!$L185,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M185&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N185&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O185&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P185&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q185&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R185&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S185&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T185&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U185&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V185&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W185&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X185&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y185)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z185)&\", version_author=\"&AddQuotes('Calculator Table'!$AA185)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB185,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC185)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE185)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF185)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG185)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH185)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI185)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ185)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK185)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL185)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM185)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN185)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO185)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP185)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F185&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B185)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B185)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD185,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F185&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A185)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E185)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K185&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K185=\"Small Patch\",K185=\"Matrix\")),'Calculator Table'!$L185,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K185=\"Small Patch\",'Calculator Table'!$L185,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K185=\"Matrix\",'Calculator Table'!$L185,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M185&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N185&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O185&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P185&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q185&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R185&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S185&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T185&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U185&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V185&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W185&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X185&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y185)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z185)&\", version_author=\"&AddQuotes('Calculator Table'!$AA185)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB185,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC185)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE185)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF185)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG185)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH185)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI185)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ185)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK185)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL185)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM185)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN185)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO185)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP185)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F185&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS186>0,'Rk Assign'!D186,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS186>0,Calculate!$AV186,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ186:$BL186<>\"U\")*($AQ186:$BL186>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ186:$BL186<>\"U\")*($AQ186:$BL186>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ186:$BL186<>\"U\")*($AQ186:$BL186>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K186:$R186<>\"Z\")*($K186:$R186>\"\")*NOT(ISERROR($K186:$R186)))+SUM(($K$4:$R$4=\"A\")*($K186:$R186<>\"A\")*($K186:$R186>\"\")*NOT(ISERROR($K186:$R186)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K186:$R186=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ186:$BL186=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B186)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B186)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD186,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F186&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A186)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E186)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K186&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E186=\"Small Patch\",E186=\"Matrix\")),'Calculator Table'!$L186,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E186=\"Small Patch\",'Calculator Table'!$L186,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E186=\"Matrix\",'Calculator Table'!$L186,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M186&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N186&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O186&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P186&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q186&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R186&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S186&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T186&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U186&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V186&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W186&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X186&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y186)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z186)&\", version_author=\"&AddQuotes('Calculator Table'!$AA186)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB186,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC186)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE186)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF186)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG186)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH186)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI186)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ186)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK186)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL186)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM186)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN186)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO186)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP186)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F186&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B186)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B186)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD186,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F186&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A186)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E186)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K186&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H186=\"Small Patch\",H186=\"Matrix\")),'Calculator Table'!$L186,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H186=\"Small Patch\",'Calculator Table'!$L186,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H186=\"Matrix\",'Calculator Table'!$L186,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M186&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N186&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O186&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P186&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q186&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R186&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S186&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T186&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U186&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V186&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W186&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X186&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y186)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z186)&\", version_author=\"&AddQuotes('Calculator Table'!$AA186)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB186,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC186)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE186)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF186)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG186)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH186)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI186)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ186)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK186)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL186)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM186)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN186)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO186)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP186)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F186&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B186)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B186)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD186,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F186&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A186)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E186)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K186&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K186=\"Small Patch\",K186=\"Matrix\")),'Calculator Table'!$L186,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K186=\"Small Patch\",'Calculator Table'!$L186,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K186=\"Matrix\",'Calculator Table'!$L186,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M186&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N186&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O186&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P186&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q186&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R186&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S186&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T186&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U186&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V186&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W186&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X186&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y186)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z186)&\", version_author=\"&AddQuotes('Calculator Table'!$AA186)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB186,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC186)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE186)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF186)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG186)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH186)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI186)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ186)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK186)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL186)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM186)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN186)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO186)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP186)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F186&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS187>0,'Rk Assign'!D187,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS187>0,Calculate!$AV187,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ187:$BL187<>\"U\")*($AQ187:$BL187>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ187:$BL187<>\"U\")*($AQ187:$BL187>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ187:$BL187<>\"U\")*($AQ187:$BL187>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K187:$R187<>\"Z\")*($K187:$R187>\"\")*NOT(ISERROR($K187:$R187)))+SUM(($K$4:$R$4=\"A\")*($K187:$R187<>\"A\")*($K187:$R187>\"\")*NOT(ISERROR($K187:$R187)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K187:$R187=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ187:$BL187=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B187)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B187)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD187,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F187&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A187)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E187)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K187&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E187=\"Small Patch\",E187=\"Matrix\")),'Calculator Table'!$L187,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E187=\"Small Patch\",'Calculator Table'!$L187,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E187=\"Matrix\",'Calculator Table'!$L187,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M187&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N187&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O187&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P187&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q187&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R187&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S187&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T187&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U187&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V187&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W187&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X187&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y187)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z187)&\", version_author=\"&AddQuotes('Calculator Table'!$AA187)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB187,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC187)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE187)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF187)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG187)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH187)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI187)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ187)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK187)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL187)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM187)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN187)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO187)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP187)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F187&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B187)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B187)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD187,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F187&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A187)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E187)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K187&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H187=\"Small Patch\",H187=\"Matrix\")),'Calculator Table'!$L187,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H187=\"Small Patch\",'Calculator Table'!$L187,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H187=\"Matrix\",'Calculator Table'!$L187,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M187&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N187&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O187&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P187&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q187&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R187&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S187&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T187&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U187&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V187&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W187&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X187&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y187)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z187)&\", version_author=\"&AddQuotes('Calculator Table'!$AA187)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB187,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC187)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE187)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF187)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG187)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH187)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI187)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ187)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK187)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL187)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM187)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN187)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO187)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP187)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F187&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B187)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B187)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD187,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F187&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A187)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E187)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K187&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K187=\"Small Patch\",K187=\"Matrix\")),'Calculator Table'!$L187,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K187=\"Small Patch\",'Calculator Table'!$L187,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K187=\"Matrix\",'Calculator Table'!$L187,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M187&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N187&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O187&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P187&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q187&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R187&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S187&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T187&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U187&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V187&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W187&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X187&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y187)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z187)&\", version_author=\"&AddQuotes('Calculator Table'!$AA187)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB187,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC187)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE187)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF187)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG187)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH187)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI187)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ187)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK187)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL187)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM187)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN187)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO187)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP187)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F187&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS188>0,'Rk Assign'!D188,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS188>0,Calculate!$AV188,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ188:$BL188<>\"U\")*($AQ188:$BL188>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ188:$BL188<>\"U\")*($AQ188:$BL188>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ188:$BL188<>\"U\")*($AQ188:$BL188>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K188:$R188<>\"Z\")*($K188:$R188>\"\")*NOT(ISERROR($K188:$R188)))+SUM(($K$4:$R$4=\"A\")*($K188:$R188<>\"A\")*($K188:$R188>\"\")*NOT(ISERROR($K188:$R188)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K188:$R188=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ188:$BL188=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B188)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B188)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD188,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F188&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A188)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E188)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K188&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E188=\"Small Patch\",E188=\"Matrix\")),'Calculator Table'!$L188,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E188=\"Small Patch\",'Calculator Table'!$L188,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E188=\"Matrix\",'Calculator Table'!$L188,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M188&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N188&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O188&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P188&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q188&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R188&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S188&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T188&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U188&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V188&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W188&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X188&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y188)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z188)&\", version_author=\"&AddQuotes('Calculator Table'!$AA188)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB188,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC188)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE188)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF188)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG188)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH188)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI188)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ188)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK188)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL188)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM188)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN188)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO188)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP188)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F188&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B188)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B188)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD188,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F188&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A188)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E188)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K188&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H188=\"Small Patch\",H188=\"Matrix\")),'Calculator Table'!$L188,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H188=\"Small Patch\",'Calculator Table'!$L188,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H188=\"Matrix\",'Calculator Table'!$L188,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M188&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N188&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O188&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P188&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q188&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R188&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S188&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T188&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U188&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V188&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W188&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X188&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y188)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z188)&\", version_author=\"&AddQuotes('Calculator Table'!$AA188)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB188,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC188)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE188)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF188)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG188)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH188)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI188)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ188)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK188)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL188)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM188)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN188)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO188)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP188)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F188&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B188)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B188)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD188,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F188&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A188)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E188)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K188&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K188=\"Small Patch\",K188=\"Matrix\")),'Calculator Table'!$L188,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K188=\"Small Patch\",'Calculator Table'!$L188,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K188=\"Matrix\",'Calculator Table'!$L188,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M188&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N188&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O188&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P188&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q188&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R188&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S188&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T188&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U188&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V188&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W188&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X188&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y188)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z188)&\", version_author=\"&AddQuotes('Calculator Table'!$AA188)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB188,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC188)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE188)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF188)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG188)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH188)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI188)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ188)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK188)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL188)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM188)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN188)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO188)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP188)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F188&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS189>0,'Rk Assign'!D189,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS189>0,Calculate!$AV189,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ189:$BL189<>\"U\")*($AQ189:$BL189>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ189:$BL189<>\"U\")*($AQ189:$BL189>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ189:$BL189<>\"U\")*($AQ189:$BL189>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K189:$R189<>\"Z\")*($K189:$R189>\"\")*NOT(ISERROR($K189:$R189)))+SUM(($K$4:$R$4=\"A\")*($K189:$R189<>\"A\")*($K189:$R189>\"\")*NOT(ISERROR($K189:$R189)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K189:$R189=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ189:$BL189=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B189)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B189)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD189,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F189&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A189)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E189)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K189&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E189=\"Small Patch\",E189=\"Matrix\")),'Calculator Table'!$L189,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E189=\"Small Patch\",'Calculator Table'!$L189,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E189=\"Matrix\",'Calculator Table'!$L189,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M189&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N189&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O189&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P189&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q189&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R189&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S189&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T189&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U189&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V189&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W189&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X189&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y189)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z189)&\", version_author=\"&AddQuotes('Calculator Table'!$AA189)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB189,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC189)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE189)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF189)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG189)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH189)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI189)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ189)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK189)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL189)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM189)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN189)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO189)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP189)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F189&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B189)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B189)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD189,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F189&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A189)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E189)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K189&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H189=\"Small Patch\",H189=\"Matrix\")),'Calculator Table'!$L189,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H189=\"Small Patch\",'Calculator Table'!$L189,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H189=\"Matrix\",'Calculator Table'!$L189,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M189&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N189&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O189&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P189&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q189&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R189&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S189&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T189&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U189&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V189&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W189&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X189&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y189)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z189)&\", version_author=\"&AddQuotes('Calculator Table'!$AA189)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB189,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC189)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE189)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF189)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG189)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH189)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI189)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ189)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK189)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL189)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM189)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN189)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO189)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP189)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F189&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B189)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B189)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD189,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F189&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A189)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E189)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K189&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K189=\"Small Patch\",K189=\"Matrix\")),'Calculator Table'!$L189,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K189=\"Small Patch\",'Calculator Table'!$L189,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K189=\"Matrix\",'Calculator Table'!$L189,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M189&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N189&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O189&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P189&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q189&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R189&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S189&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T189&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U189&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V189&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W189&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X189&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y189)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z189)&\", version_author=\"&AddQuotes('Calculator Table'!$AA189)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB189,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC189)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE189)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF189)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG189)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH189)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI189)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ189)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK189)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL189)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM189)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN189)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO189)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP189)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F189&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS190>0,'Rk Assign'!D190,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS190>0,Calculate!$AV190,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ190:$BL190<>\"U\")*($AQ190:$BL190>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ190:$BL190<>\"U\")*($AQ190:$BL190>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ190:$BL190<>\"U\")*($AQ190:$BL190>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K190:$R190<>\"Z\")*($K190:$R190>\"\")*NOT(ISERROR($K190:$R190)))+SUM(($K$4:$R$4=\"A\")*($K190:$R190<>\"A\")*($K190:$R190>\"\")*NOT(ISERROR($K190:$R190)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K190:$R190=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ190:$BL190=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B190)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B190)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD190,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F190&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A190)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E190)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K190&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E190=\"Small Patch\",E190=\"Matrix\")),'Calculator Table'!$L190,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E190=\"Small Patch\",'Calculator Table'!$L190,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E190=\"Matrix\",'Calculator Table'!$L190,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M190&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N190&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O190&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P190&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q190&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R190&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S190&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T190&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U190&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V190&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W190&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X190&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y190)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z190)&\", version_author=\"&AddQuotes('Calculator Table'!$AA190)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB190,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC190)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE190)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF190)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG190)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH190)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI190)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ190)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK190)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL190)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM190)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN190)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO190)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP190)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F190&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B190)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B190)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD190,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F190&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A190)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E190)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K190&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H190=\"Small Patch\",H190=\"Matrix\")),'Calculator Table'!$L190,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H190=\"Small Patch\",'Calculator Table'!$L190,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H190=\"Matrix\",'Calculator Table'!$L190,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M190&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N190&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O190&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P190&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q190&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R190&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S190&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T190&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U190&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V190&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W190&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X190&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y190)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z190)&\", version_author=\"&AddQuotes('Calculator Table'!$AA190)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB190,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC190)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE190)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF190)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG190)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH190)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI190)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ190)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK190)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL190)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM190)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN190)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO190)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP190)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F190&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B190)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B190)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD190,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F190&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A190)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E190)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K190&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K190=\"Small Patch\",K190=\"Matrix\")),'Calculator Table'!$L190,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K190=\"Small Patch\",'Calculator Table'!$L190,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K190=\"Matrix\",'Calculator Table'!$L190,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M190&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N190&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O190&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P190&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q190&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R190&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S190&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T190&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U190&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V190&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W190&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X190&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y190)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z190)&\", version_author=\"&AddQuotes('Calculator Table'!$AA190)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB190,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC190)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE190)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF190)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG190)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH190)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI190)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ190)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK190)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL190)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM190)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN190)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO190)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP190)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F190&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS191>0,'Rk Assign'!D191,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS191>0,Calculate!$AV191,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ191:$BL191<>\"U\")*($AQ191:$BL191>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ191:$BL191<>\"U\")*($AQ191:$BL191>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ191:$BL191<>\"U\")*($AQ191:$BL191>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K191:$R191<>\"Z\")*($K191:$R191>\"\")*NOT(ISERROR($K191:$R191)))+SUM(($K$4:$R$4=\"A\")*($K191:$R191<>\"A\")*($K191:$R191>\"\")*NOT(ISERROR($K191:$R191)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K191:$R191=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ191:$BL191=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B191)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B191)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD191,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F191&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A191)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E191)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K191&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E191=\"Small Patch\",E191=\"Matrix\")),'Calculator Table'!$L191,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E191=\"Small Patch\",'Calculator Table'!$L191,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E191=\"Matrix\",'Calculator Table'!$L191,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M191&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N191&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O191&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P191&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q191&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R191&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S191&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T191&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U191&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V191&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W191&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X191&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y191)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z191)&\", version_author=\"&AddQuotes('Calculator Table'!$AA191)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB191,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC191)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE191)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF191)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG191)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH191)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI191)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ191)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK191)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL191)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM191)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN191)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO191)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP191)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F191&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B191)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B191)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD191,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F191&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A191)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E191)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K191&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H191=\"Small Patch\",H191=\"Matrix\")),'Calculator Table'!$L191,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H191=\"Small Patch\",'Calculator Table'!$L191,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H191=\"Matrix\",'Calculator Table'!$L191,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M191&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N191&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O191&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P191&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q191&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R191&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S191&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T191&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U191&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V191&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W191&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X191&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y191)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z191)&\", version_author=\"&AddQuotes('Calculator Table'!$AA191)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB191,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC191)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE191)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF191)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG191)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH191)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI191)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ191)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK191)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL191)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM191)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN191)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO191)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP191)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F191&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B191)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B191)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD191,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F191&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A191)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E191)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K191&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K191=\"Small Patch\",K191=\"Matrix\")),'Calculator Table'!$L191,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K191=\"Small Patch\",'Calculator Table'!$L191,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K191=\"Matrix\",'Calculator Table'!$L191,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M191&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N191&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O191&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P191&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q191&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R191&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S191&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T191&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U191&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V191&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W191&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X191&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y191)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z191)&\", version_author=\"&AddQuotes('Calculator Table'!$AA191)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB191,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC191)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE191)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF191)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG191)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH191)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI191)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ191)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK191)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL191)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM191)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN191)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO191)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP191)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F191&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS192>0,'Rk Assign'!D192,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS192>0,Calculate!$AV192,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ192:$BL192<>\"U\")*($AQ192:$BL192>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ192:$BL192<>\"U\")*($AQ192:$BL192>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ192:$BL192<>\"U\")*($AQ192:$BL192>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K192:$R192<>\"Z\")*($K192:$R192>\"\")*NOT(ISERROR($K192:$R192)))+SUM(($K$4:$R$4=\"A\")*($K192:$R192<>\"A\")*($K192:$R192>\"\")*NOT(ISERROR($K192:$R192)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K192:$R192=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ192:$BL192=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B192)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B192)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD192,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F192&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A192)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E192)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K192&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E192=\"Small Patch\",E192=\"Matrix\")),'Calculator Table'!$L192,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E192=\"Small Patch\",'Calculator Table'!$L192,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E192=\"Matrix\",'Calculator Table'!$L192,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M192&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N192&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O192&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P192&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q192&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R192&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S192&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T192&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U192&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V192&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W192&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X192&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y192)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z192)&\", version_author=\"&AddQuotes('Calculator Table'!$AA192)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB192,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC192)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE192)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF192)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG192)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH192)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI192)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ192)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK192)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL192)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM192)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN192)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO192)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP192)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F192&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B192)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B192)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD192,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F192&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A192)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E192)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K192&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H192=\"Small Patch\",H192=\"Matrix\")),'Calculator Table'!$L192,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H192=\"Small Patch\",'Calculator Table'!$L192,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H192=\"Matrix\",'Calculator Table'!$L192,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M192&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N192&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O192&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P192&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q192&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R192&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S192&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T192&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U192&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V192&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W192&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X192&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y192)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z192)&\", version_author=\"&AddQuotes('Calculator Table'!$AA192)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB192,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC192)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE192)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF192)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG192)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH192)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI192)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ192)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK192)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL192)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM192)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN192)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO192)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP192)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F192&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B192)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B192)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD192,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F192&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A192)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E192)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K192&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K192=\"Small Patch\",K192=\"Matrix\")),'Calculator Table'!$L192,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K192=\"Small Patch\",'Calculator Table'!$L192,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K192=\"Matrix\",'Calculator Table'!$L192,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M192&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N192&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O192&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P192&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q192&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R192&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S192&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T192&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U192&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V192&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W192&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X192&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y192)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z192)&\", version_author=\"&AddQuotes('Calculator Table'!$AA192)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB192,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC192)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE192)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF192)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG192)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH192)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI192)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ192)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK192)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL192)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM192)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN192)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO192)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP192)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F192&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS193>0,'Rk Assign'!D193,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS193>0,Calculate!$AV193,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ193:$BL193<>\"U\")*($AQ193:$BL193>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ193:$BL193<>\"U\")*($AQ193:$BL193>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ193:$BL193<>\"U\")*($AQ193:$BL193>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K193:$R193<>\"Z\")*($K193:$R193>\"\")*NOT(ISERROR($K193:$R193)))+SUM(($K$4:$R$4=\"A\")*($K193:$R193<>\"A\")*($K193:$R193>\"\")*NOT(ISERROR($K193:$R193)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K193:$R193=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ193:$BL193=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B193)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B193)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F193&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A193)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E193)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K193&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E193=\"Small Patch\",E193=\"Matrix\")),'Calculator Table'!$L193,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E193=\"Small Patch\",'Calculator Table'!$L193,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E193=\"Matrix\",'Calculator Table'!$L193,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M193&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N193&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O193&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P193&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q193&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R193&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S193&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T193&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U193&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V193&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W193&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X193&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y193)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z193)&\", version_author=\"&AddQuotes('Calculator Table'!$AA193)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC193)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE193)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF193)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG193)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH193)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI193)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ193)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK193)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL193)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM193)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN193)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO193)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP193)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F193&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B193)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B193)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F193&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A193)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E193)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K193&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H193=\"Small Patch\",H193=\"Matrix\")),'Calculator Table'!$L193,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H193=\"Small Patch\",'Calculator Table'!$L193,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H193=\"Matrix\",'Calculator Table'!$L193,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M193&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N193&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O193&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P193&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q193&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R193&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S193&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T193&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U193&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V193&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W193&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X193&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y193)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z193)&\", version_author=\"&AddQuotes('Calculator Table'!$AA193)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC193)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE193)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF193)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG193)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH193)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI193)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ193)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK193)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL193)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM193)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN193)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO193)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP193)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F193&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B193)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B193)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F193&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A193)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E193)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K193&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K193=\"Small Patch\",K193=\"Matrix\")),'Calculator Table'!$L193,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K193=\"Small Patch\",'Calculator Table'!$L193,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K193=\"Matrix\",'Calculator Table'!$L193,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M193&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N193&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O193&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P193&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q193&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R193&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S193&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T193&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U193&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V193&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W193&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X193&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y193)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z193)&\", version_author=\"&AddQuotes('Calculator Table'!$AA193)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC193)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE193)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF193)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG193)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH193)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI193)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ193)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK193)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL193)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM193)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN193)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO193)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP193)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F193&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS194>0,'Rk Assign'!D194,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS194>0,Calculate!$AV194,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ194:$BL194<>\"U\")*($AQ194:$BL194>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ194:$BL194<>\"U\")*($AQ194:$BL194>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ194:$BL194<>\"U\")*($AQ194:$BL194>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K194:$R194<>\"Z\")*($K194:$R194>\"\")*NOT(ISERROR($K194:$R194)))+SUM(($K$4:$R$4=\"A\")*($K194:$R194<>\"A\")*($K194:$R194>\"\")*NOT(ISERROR($K194:$R194)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K194:$R194=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ194:$BL194=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B194)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B194)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD194,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F194&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A194)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E194)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K194&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E194=\"Small Patch\",E194=\"Matrix\")),'Calculator Table'!$L194,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E194=\"Small Patch\",'Calculator Table'!$L194,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E194=\"Matrix\",'Calculator Table'!$L194,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M194&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N194&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O194&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P194&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q194&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R194&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S194&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T194&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U194&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V194&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W194&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X194&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y194)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z194)&\", version_author=\"&AddQuotes('Calculator Table'!$AA194)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB194,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC194)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE194)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF194)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG194)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH194)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI194)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ194)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK194)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL194)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM194)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN194)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO194)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP194)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F194&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B194)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B194)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD194,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F194&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A194)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E194)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K194&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H194=\"Small Patch\",H194=\"Matrix\")),'Calculator Table'!$L194,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H194=\"Small Patch\",'Calculator Table'!$L194,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H194=\"Matrix\",'Calculator Table'!$L194,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M194&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N194&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O194&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P194&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q194&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R194&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S194&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T194&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U194&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V194&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W194&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X194&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y194)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z194)&\", version_author=\"&AddQuotes('Calculator Table'!$AA194)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB194,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC194)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE194)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF194)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG194)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH194)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI194)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ194)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK194)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL194)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM194)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN194)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO194)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP194)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F194&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B194)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B194)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD194,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F194&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A194)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E194)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K194&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K194=\"Small Patch\",K194=\"Matrix\")),'Calculator Table'!$L194,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K194=\"Small Patch\",'Calculator Table'!$L194,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K194=\"Matrix\",'Calculator Table'!$L194,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M194&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N194&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O194&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P194&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q194&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R194&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S194&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T194&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U194&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V194&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W194&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X194&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y194)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z194)&\", version_author=\"&AddQuotes('Calculator Table'!$AA194)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB194,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC194)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE194)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF194)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG194)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH194)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI194)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ194)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK194)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL194)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM194)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN194)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO194)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP194)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F194&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS195>0,'Rk Assign'!D195,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS195>0,Calculate!$AV195,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ195:$BL195<>\"U\")*($AQ195:$BL195>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ195:$BL195<>\"U\")*($AQ195:$BL195>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ195:$BL195<>\"U\")*($AQ195:$BL195>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K195:$R195<>\"Z\")*($K195:$R195>\"\")*NOT(ISERROR($K195:$R195)))+SUM(($K$4:$R$4=\"A\")*($K195:$R195<>\"A\")*($K195:$R195>\"\")*NOT(ISERROR($K195:$R195)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K195:$R195=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ195:$BL195=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B195)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B195)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD195,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F195&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A195)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E195)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K195&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E195=\"Small Patch\",E195=\"Matrix\")),'Calculator Table'!$L195,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E195=\"Small Patch\",'Calculator Table'!$L195,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E195=\"Matrix\",'Calculator Table'!$L195,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M195&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N195&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O195&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P195&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q195&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R195&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S195&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T195&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U195&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V195&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W195&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X195&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y195)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z195)&\", version_author=\"&AddQuotes('Calculator Table'!$AA195)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB195,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC195)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE195)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF195)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG195)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH195)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI195)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ195)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK195)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL195)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM195)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN195)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO195)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP195)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F195&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B195)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B195)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD195,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F195&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A195)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E195)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K195&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H195=\"Small Patch\",H195=\"Matrix\")),'Calculator Table'!$L195,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H195=\"Small Patch\",'Calculator Table'!$L195,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H195=\"Matrix\",'Calculator Table'!$L195,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M195&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N195&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O195&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P195&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q195&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R195&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S195&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T195&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U195&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V195&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W195&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X195&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y195)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z195)&\", version_author=\"&AddQuotes('Calculator Table'!$AA195)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB195,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC195)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE195)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF195)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG195)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH195)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI195)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ195)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK195)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL195)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM195)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN195)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO195)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP195)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F195&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B195)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B195)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD195,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F195&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A195)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E195)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K195&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K195=\"Small Patch\",K195=\"Matrix\")),'Calculator Table'!$L195,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K195=\"Small Patch\",'Calculator Table'!$L195,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K195=\"Matrix\",'Calculator Table'!$L195,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M195&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N195&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O195&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P195&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q195&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R195&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S195&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T195&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U195&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V195&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W195&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X195&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y195)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z195)&\", version_author=\"&AddQuotes('Calculator Table'!$AA195)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB195,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC195)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE195)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF195)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG195)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH195)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI195)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ195)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK195)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL195)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM195)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN195)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO195)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP195)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F195&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS196>0,'Rk Assign'!D196,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS196>0,Calculate!$AV196,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ196:$BL196<>\"U\")*($AQ196:$BL196>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ196:$BL196<>\"U\")*($AQ196:$BL196>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ196:$BL196<>\"U\")*($AQ196:$BL196>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K196:$R196<>\"Z\")*($K196:$R196>\"\")*NOT(ISERROR($K196:$R196)))+SUM(($K$4:$R$4=\"A\")*($K196:$R196<>\"A\")*($K196:$R196>\"\")*NOT(ISERROR($K196:$R196)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K196:$R196=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ196:$BL196=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B196)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B196)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD196,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F196&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A196)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E196)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K196&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E196=\"Small Patch\",E196=\"Matrix\")),'Calculator Table'!$L196,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E196=\"Small Patch\",'Calculator Table'!$L196,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E196=\"Matrix\",'Calculator Table'!$L196,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M196&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N196&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O196&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P196&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q196&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R196&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S196&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T196&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U196&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V196&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W196&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X196&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y196)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z196)&\", version_author=\"&AddQuotes('Calculator Table'!$AA196)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB196,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC196)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE196)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF196)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG196)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH196)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI196)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ196)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK196)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL196)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM196)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN196)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO196)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP196)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F196&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B196)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B196)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD196,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F196&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A196)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E196)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K196&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H196=\"Small Patch\",H196=\"Matrix\")),'Calculator Table'!$L196,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H196=\"Small Patch\",'Calculator Table'!$L196,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H196=\"Matrix\",'Calculator Table'!$L196,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M196&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N196&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O196&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P196&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q196&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R196&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S196&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T196&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U196&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V196&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W196&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X196&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y196)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z196)&\", version_author=\"&AddQuotes('Calculator Table'!$AA196)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB196,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC196)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE196)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF196)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG196)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH196)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI196)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ196)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK196)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL196)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM196)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN196)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO196)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP196)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F196&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B196)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B196)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD196,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F196&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A196)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E196)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K196&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K196=\"Small Patch\",K196=\"Matrix\")),'Calculator Table'!$L196,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K196=\"Small Patch\",'Calculator Table'!$L196,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K196=\"Matrix\",'Calculator Table'!$L196,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M196&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N196&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O196&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P196&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q196&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R196&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S196&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T196&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U196&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V196&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W196&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X196&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y196)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z196)&\", version_author=\"&AddQuotes('Calculator Table'!$AA196)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB196,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC196)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE196)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF196)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG196)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH196)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI196)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ196)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK196)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL196)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM196)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN196)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO196)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP196)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F196&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS197>0,'Rk Assign'!D197,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,{"$f":"LEFT(K197,1)","v":""},{"$f":"RIGHT(K197,1)","v":""},"","",{"$f":"LEFT(O197,1)","v":""},{"$f":"RIGHT(O197,1)","v":""},{"$f":"LEFT(Q197,1)","v":""},{"$f":"RIGHT(Q197,1)","v":""},{"$f":"IF(AND(AS197>\"\",AS197<>\"U\",AS197<>\"0\"),LEFT(R197,1),\"\")","v":""},{"$f":"IF(AND(AS197>\"\",AS197<>\"U\",AS197<>\"0\"),RIGHT(R197,1),\"\")","v":""},{"$f":"LEFT(P197,1)","v":""},{"$f":"RIGHT(P197,1)","v":""},{"$f":"LEFT(S197,1)","v":""},{"$f":"RIGHT(S197,1)","v":""},{"$f":"LEFT(W197,1)","v":""},{"$f":"RIGHT(W197,1)","v":""},{"$f":"LEFT(X197,1)","v":""},{"$f":"RIGHT(X197,1)","v":""},{"$f":"LEFT(V197,1)","v":""},{"$f":"RIGHT(V197,1)","v":""},"","",{"$f":"IF(BS197>0,Calculate!$AV197,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ197:$BL197<>\"U\")*($AQ197:$BL197>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ197:$BL197<>\"U\")*($AQ197:$BL197>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ197:$BL197<>\"U\")*($AQ197:$BL197>\"\"))","v":0},{"$f":"COUNTIF(BO197:BQ197,\">0\")","v":0},{"$f":"COUNTIF(K197:V197,\">''\")","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K197:$R197<>\"Z\")*($K197:$R197>\"\")*NOT(ISERROR($K197:$R197)))+SUM(($K$4:$R$4=\"A\")*($K197:$R197<>\"A\")*($K197:$R197>\"\")*NOT(ISERROR($K197:$R197)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K197:$R197=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ197:$BL197=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B197)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B197)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD197,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F197&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A197)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E197)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K197&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E197=\"Small Patch\",E197=\"Matrix\")),'Calculator Table'!$L197,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E197=\"Small Patch\",'Calculator Table'!$L197,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E197=\"Matrix\",'Calculator Table'!$L197,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M197&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N197&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O197&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P197&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q197&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R197&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S197&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T197&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U197&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V197&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W197&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X197&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y197)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z197)&\", version_author=\"&AddQuotes('Calculator Table'!$AA197)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB197,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC197)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE197)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF197)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG197)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH197)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI197)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ197)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK197)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL197)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM197)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN197)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO197)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP197)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F197&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B197)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B197)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD197,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F197&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A197)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E197)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K197&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H197=\"Small Patch\",H197=\"Matrix\")),'Calculator Table'!$L197,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H197=\"Small Patch\",'Calculator Table'!$L197,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H197=\"Matrix\",'Calculator Table'!$L197,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M197&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N197&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O197&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P197&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q197&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R197&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S197&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T197&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U197&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V197&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W197&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X197&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y197)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z197)&\", version_author=\"&AddQuotes('Calculator Table'!$AA197)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB197,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC197)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE197)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF197)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG197)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH197)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI197)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ197)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK197)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL197)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM197)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN197)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO197)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP197)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F197&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B197)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B197)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD197,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F197&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A197)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E197)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K197&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K197=\"Small Patch\",K197=\"Matrix\")),'Calculator Table'!$L197,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K197=\"Small Patch\",'Calculator Table'!$L197,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K197=\"Matrix\",'Calculator Table'!$L197,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M197&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N197&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O197&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P197&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q197&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R197&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S197&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T197&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U197&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V197&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W197&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X197&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y197)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z197)&\", version_author=\"&AddQuotes('Calculator Table'!$AA197)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB197,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC197)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE197)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF197)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG197)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH197)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI197)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ197)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK197)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL197)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM197)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN197)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO197)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP197)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F197&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS198>0,'Rk Assign'!D198,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","",{"$f":"LEFT(L198&M198&N198,1)","v":""},{"$f":"RIGHT(L198&M198&N198,1)","v":""},"","","","","","","","","","","","","","","","","","",{"$f":"IF(BS198>0,Calculate!$AV198,\"\")","v":""},{"$f":"IF(BS198>0,BR198>1,\"\")","v":""},{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ198:$BL198<>\"U\")*($AQ198:$BL198>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ198:$BL198<>\"U\")*($AQ198:$BL198>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ198:$BL198<>\"U\")*($AQ198:$BL198>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K198:$R198<>\"Z\")*($K198:$R198>\"\")*NOT(ISERROR($K198:$R198)))+SUM(($K$4:$R$4=\"A\")*($K198:$R198<>\"A\")*($K198:$R198>\"\")*NOT(ISERROR($K198:$R198)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K198:$R198=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ198:$BL198=\"Z\"))","v":0},{"$f":"IF(AND(BU198>0,BT198>0),\"Z-ERROR\",\"\")","v":""}," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B198)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B198)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD198,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F198&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A198)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E198)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K198&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E198=\"Small Patch\",E198=\"Matrix\")),'Calculator Table'!$L198,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E198=\"Small Patch\",'Calculator Table'!$L198,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E198=\"Matrix\",'Calculator Table'!$L198,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M198&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N198&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O198&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P198&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q198&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R198&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S198&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T198&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U198&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V198&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W198&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X198&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y198)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z198)&\", version_author=\"&AddQuotes('Calculator Table'!$AA198)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB198,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC198)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE198)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF198)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG198)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH198)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI198)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ198)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK198)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL198)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM198)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN198)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO198)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP198)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F198&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B198)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B198)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD198,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F198&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A198)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E198)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K198&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H198=\"Small Patch\",H198=\"Matrix\")),'Calculator Table'!$L198,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H198=\"Small Patch\",'Calculator Table'!$L198,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H198=\"Matrix\",'Calculator Table'!$L198,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M198&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N198&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O198&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P198&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q198&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R198&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S198&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T198&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U198&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V198&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W198&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X198&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y198)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z198)&\", version_author=\"&AddQuotes('Calculator Table'!$AA198)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB198,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC198)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE198)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF198)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG198)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH198)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI198)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ198)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK198)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL198)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM198)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN198)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO198)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP198)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F198&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B198)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B198)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD198,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F198&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A198)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E198)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K198&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K198=\"Small Patch\",K198=\"Matrix\")),'Calculator Table'!$L198,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K198=\"Small Patch\",'Calculator Table'!$L198,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K198=\"Matrix\",'Calculator Table'!$L198,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M198&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N198&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O198&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P198&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q198&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R198&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S198&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T198&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U198&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V198&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W198&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X198&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y198)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z198)&\", version_author=\"&AddQuotes('Calculator Table'!$AA198)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB198,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC198)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE198)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF198)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG198)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH198)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI198)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ198)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK198)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL198)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM198)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN198)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO198)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP198)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F198&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS199>0,'Rk Assign'!D199,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","",{"$f":"LEFT(T199,1)","v":""},{"$f":"RIGHT(T199,1)","v":""},{"$f":"IF(BS199>0,Calculate!$AV199,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ199:$BL199<>\"U\")*($AQ199:$BL199>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ199:$BL199<>\"U\")*($AQ199:$BL199>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ199:$BL199<>\"U\")*($AQ199:$BL199>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K199:$R199<>\"Z\")*($K199:$R199>\"\")*NOT(ISERROR($K199:$R199)))+SUM(($K$4:$R$4=\"A\")*($K199:$R199<>\"A\")*($K199:$R199>\"\")*NOT(ISERROR($K199:$R199)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K199:$R199=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ199:$BL199=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B199)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B199)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD199,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F199&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A199)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E199)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K199&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E199=\"Small Patch\",E199=\"Matrix\")),'Calculator Table'!$L199,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E199=\"Small Patch\",'Calculator Table'!$L199,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E199=\"Matrix\",'Calculator Table'!$L199,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M199&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N199&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O199&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P199&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q199&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R199&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S199&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T199&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U199&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V199&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W199&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X199&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y199)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z199)&\", version_author=\"&AddQuotes('Calculator Table'!$AA199)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB199,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC199)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE199)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF199)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG199)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH199)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI199)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ199)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK199)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL199)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM199)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN199)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO199)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP199)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F199&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B199)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B199)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD199,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F199&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A199)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E199)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K199&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H199=\"Small Patch\",H199=\"Matrix\")),'Calculator Table'!$L199,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H199=\"Small Patch\",'Calculator Table'!$L199,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H199=\"Matrix\",'Calculator Table'!$L199,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M199&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N199&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O199&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P199&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q199&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R199&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S199&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T199&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U199&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V199&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W199&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X199&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y199)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z199)&\", version_author=\"&AddQuotes('Calculator Table'!$AA199)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB199,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC199)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE199)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF199)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG199)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH199)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI199)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ199)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK199)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL199)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM199)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN199)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO199)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP199)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F199&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B199)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B199)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD199,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F199&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A199)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E199)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K199&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K199=\"Small Patch\",K199=\"Matrix\")),'Calculator Table'!$L199,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K199=\"Small Patch\",'Calculator Table'!$L199,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K199=\"Matrix\",'Calculator Table'!$L199,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M199&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N199&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O199&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P199&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q199&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R199&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S199&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T199&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U199&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V199&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W199&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X199&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y199)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z199)&\", version_author=\"&AddQuotes('Calculator Table'!$AA199)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB199,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC199)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE199)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF199)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG199)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH199)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI199)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ199)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK199)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL199)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM199)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN199)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO199)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP199)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F199&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS200>0,'Rk Assign'!D200,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS200>0,Calculate!$AV200,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ200:$BL200<>\"U\")*($AQ200:$BL200>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ200:$BL200<>\"U\")*($AQ200:$BL200>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ200:$BL200<>\"U\")*($AQ200:$BL200>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K200:$R200<>\"Z\")*($K200:$R200>\"\")*NOT(ISERROR($K200:$R200)))+SUM(($K$4:$R$4=\"A\")*($K200:$R200<>\"A\")*($K200:$R200>\"\")*NOT(ISERROR($K200:$R200)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K200:$R200=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ200:$BL200=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B200)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B200)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD200,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F200&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A200)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E200)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K200&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E200=\"Small Patch\",E200=\"Matrix\")),'Calculator Table'!$L200,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E200=\"Small Patch\",'Calculator Table'!$L200,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E200=\"Matrix\",'Calculator Table'!$L200,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M200&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N200&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O200&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P200&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q200&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R200&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S200&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T200&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U200&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V200&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W200&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X200&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y200)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z200)&\", version_author=\"&AddQuotes('Calculator Table'!$AA200)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB200,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC200)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE200)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF200)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG200)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH200)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI200)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ200)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK200)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL200)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM200)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN200)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO200)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP200)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F200&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B200)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B200)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD200,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F200&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A200)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E200)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K200&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H200=\"Small Patch\",H200=\"Matrix\")),'Calculator Table'!$L200,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H200=\"Small Patch\",'Calculator Table'!$L200,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H200=\"Matrix\",'Calculator Table'!$L200,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M200&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N200&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O200&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P200&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q200&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R200&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S200&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T200&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U200&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V200&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W200&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X200&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y200)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z200)&\", version_author=\"&AddQuotes('Calculator Table'!$AA200)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB200,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC200)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE200)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF200)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG200)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH200)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI200)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ200)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK200)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL200)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM200)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN200)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO200)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP200)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F200&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B200)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B200)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD200,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F200&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A200)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E200)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K200&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K200=\"Small Patch\",K200=\"Matrix\")),'Calculator Table'!$L200,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K200=\"Small Patch\",'Calculator Table'!$L200,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K200=\"Matrix\",'Calculator Table'!$L200,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M200&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N200&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O200&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P200&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q200&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R200&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S200&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T200&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U200&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V200&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W200&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X200&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y200)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z200)&\", version_author=\"&AddQuotes('Calculator Table'!$AA200)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB200,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC200)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE200)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF200)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG200)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH200)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI200)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ200)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK200)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL200)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM200)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN200)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO200)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP200)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F200&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS201>0,'Rk Assign'!D201,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS201>0,Calculate!$AV201,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ201:$BL201<>\"U\")*($AQ201:$BL201>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ201:$BL201<>\"U\")*($AQ201:$BL201>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ201:$BL201<>\"U\")*($AQ201:$BL201>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K201:$R201<>\"Z\")*($K201:$R201>\"\")*NOT(ISERROR($K201:$R201)))+SUM(($K$4:$R$4=\"A\")*($K201:$R201<>\"A\")*($K201:$R201>\"\")*NOT(ISERROR($K201:$R201)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K201:$R201=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ201:$BL201=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B201)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B201)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD201,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F201&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A201)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E201)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K201&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E201=\"Small Patch\",E201=\"Matrix\")),'Calculator Table'!$L201,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E201=\"Small Patch\",'Calculator Table'!$L201,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E201=\"Matrix\",'Calculator Table'!$L201,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M201&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N201&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O201&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P201&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q201&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R201&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S201&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T201&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U201&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V201&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W201&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X201&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y201)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z201)&\", version_author=\"&AddQuotes('Calculator Table'!$AA201)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB201,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC201)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE201)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF201)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG201)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH201)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI201)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ201)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK201)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL201)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM201)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN201)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO201)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP201)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F201&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B201)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B201)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD201,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F201&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A201)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E201)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K201&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H201=\"Small Patch\",H201=\"Matrix\")),'Calculator Table'!$L201,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H201=\"Small Patch\",'Calculator Table'!$L201,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H201=\"Matrix\",'Calculator Table'!$L201,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M201&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N201&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O201&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P201&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q201&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R201&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S201&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T201&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U201&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V201&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W201&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X201&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y201)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z201)&\", version_author=\"&AddQuotes('Calculator Table'!$AA201)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB201,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC201)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE201)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF201)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG201)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH201)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI201)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ201)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK201)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL201)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM201)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN201)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO201)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP201)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F201&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B201)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B201)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD201,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F201&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A201)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E201)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K201&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K201=\"Small Patch\",K201=\"Matrix\")),'Calculator Table'!$L201,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K201=\"Small Patch\",'Calculator Table'!$L201,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K201=\"Matrix\",'Calculator Table'!$L201,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M201&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N201&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O201&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P201&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q201&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R201&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S201&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T201&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U201&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V201&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W201&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X201&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y201)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z201)&\", version_author=\"&AddQuotes('Calculator Table'!$AA201)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB201,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC201)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE201)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF201)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG201)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH201)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI201)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ201)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK201)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL201)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM201)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN201)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO201)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP201)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F201&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS202>0,'Rk Assign'!D202,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS202>0,Calculate!$AV202,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ202:$BL202<>\"U\")*($AQ202:$BL202>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ202:$BL202<>\"U\")*($AQ202:$BL202>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ202:$BL202<>\"U\")*($AQ202:$BL202>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K202:$R202<>\"Z\")*($K202:$R202>\"\")*NOT(ISERROR($K202:$R202)))+SUM(($K$4:$R$4=\"A\")*($K202:$R202<>\"A\")*($K202:$R202>\"\")*NOT(ISERROR($K202:$R202)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K202:$R202=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ202:$BL202=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B202)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B202)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD202,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F202&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A202)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E202)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K202&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E202=\"Small Patch\",E202=\"Matrix\")),'Calculator Table'!$L202,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E202=\"Small Patch\",'Calculator Table'!$L202,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E202=\"Matrix\",'Calculator Table'!$L202,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M202&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N202&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O202&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P202&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q202&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R202&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S202&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T202&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U202&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V202&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W202&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X202&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y202)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z202)&\", version_author=\"&AddQuotes('Calculator Table'!$AA202)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB202,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC202)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE202)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF202)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG202)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH202)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI202)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ202)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK202)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL202)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM202)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN202)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO202)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP202)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F202&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B202)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B202)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD202,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F202&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A202)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E202)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K202&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H202=\"Small Patch\",H202=\"Matrix\")),'Calculator Table'!$L202,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H202=\"Small Patch\",'Calculator Table'!$L202,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H202=\"Matrix\",'Calculator Table'!$L202,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M202&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N202&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O202&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P202&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q202&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R202&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S202&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T202&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U202&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V202&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W202&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X202&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y202)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z202)&\", version_author=\"&AddQuotes('Calculator Table'!$AA202)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB202,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC202)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE202)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF202)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG202)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH202)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI202)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ202)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK202)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL202)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM202)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN202)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO202)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP202)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F202&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B202)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B202)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD202,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F202&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A202)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E202)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K202&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K202=\"Small Patch\",K202=\"Matrix\")),'Calculator Table'!$L202,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K202=\"Small Patch\",'Calculator Table'!$L202,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K202=\"Matrix\",'Calculator Table'!$L202,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M202&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N202&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O202&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P202&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q202&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R202&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S202&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T202&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U202&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V202&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W202&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X202&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y202)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z202)&\", version_author=\"&AddQuotes('Calculator Table'!$AA202)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB202,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC202)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE202)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF202)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG202)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH202)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI202)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ202)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK202)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL202)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM202)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN202)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO202)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP202)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F202&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS203>0,'Rk Assign'!D203,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS203>0,Calculate!$AV203,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ203:$BL203<>\"U\")*($AQ203:$BL203>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ203:$BL203<>\"U\")*($AQ203:$BL203>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ203:$BL203<>\"U\")*($AQ203:$BL203>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K203:$R203<>\"Z\")*($K203:$R203>\"\")*NOT(ISERROR($K203:$R203)))+SUM(($K$4:$R$4=\"A\")*($K203:$R203<>\"A\")*($K203:$R203>\"\")*NOT(ISERROR($K203:$R203)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K203:$R203=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ203:$BL203=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B203)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B203)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD203,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F203&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A203)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E203)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K203&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E203=\"Small Patch\",E203=\"Matrix\")),'Calculator Table'!$L203,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E203=\"Small Patch\",'Calculator Table'!$L203,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E203=\"Matrix\",'Calculator Table'!$L203,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M203&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N203&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O203&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P203&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q203&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R203&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S203&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T203&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U203&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V203&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W203&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X203&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y203)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z203)&\", version_author=\"&AddQuotes('Calculator Table'!$AA203)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB203,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC203)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE203)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF203)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG203)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH203)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI203)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ203)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK203)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL203)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM203)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN203)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO203)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP203)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F203&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B203)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B203)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD203,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F203&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A203)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E203)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K203&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H203=\"Small Patch\",H203=\"Matrix\")),'Calculator Table'!$L203,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H203=\"Small Patch\",'Calculator Table'!$L203,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H203=\"Matrix\",'Calculator Table'!$L203,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M203&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N203&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O203&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P203&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q203&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R203&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S203&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T203&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U203&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V203&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W203&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X203&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y203)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z203)&\", version_author=\"&AddQuotes('Calculator Table'!$AA203)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB203,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC203)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE203)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF203)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG203)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH203)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI203)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ203)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK203)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL203)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM203)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN203)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO203)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP203)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F203&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B203)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B203)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD203,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F203&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A203)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E203)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K203&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K203=\"Small Patch\",K203=\"Matrix\")),'Calculator Table'!$L203,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K203=\"Small Patch\",'Calculator Table'!$L203,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K203=\"Matrix\",'Calculator Table'!$L203,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M203&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N203&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O203&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P203&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q203&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R203&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S203&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T203&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U203&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V203&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W203&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X203&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y203)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z203)&\", version_author=\"&AddQuotes('Calculator Table'!$AA203)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB203,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC203)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE203)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF203)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG203)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH203)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI203)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ203)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK203)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL203)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM203)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN203)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO203)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP203)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F203&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS204>0,'Rk Assign'!D204,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS204>0,Calculate!$AV204,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ204:$BL204<>\"U\")*($AQ204:$BL204>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ204:$BL204<>\"U\")*($AQ204:$BL204>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ204:$BL204<>\"U\")*($AQ204:$BL204>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K204:$R204<>\"Z\")*($K204:$R204>\"\")*NOT(ISERROR($K204:$R204)))+SUM(($K$4:$R$4=\"A\")*($K204:$R204<>\"A\")*($K204:$R204>\"\")*NOT(ISERROR($K204:$R204)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K204:$R204=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ204:$BL204=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B204)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B204)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD204,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F204&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A204)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E204)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K204&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E204=\"Small Patch\",E204=\"Matrix\")),'Calculator Table'!$L204,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E204=\"Small Patch\",'Calculator Table'!$L204,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E204=\"Matrix\",'Calculator Table'!$L204,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M204&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N204&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O204&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P204&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q204&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R204&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S204&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T204&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U204&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V204&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W204&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X204&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y204)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z204)&\", version_author=\"&AddQuotes('Calculator Table'!$AA204)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB204,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC204)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE204)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF204)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG204)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH204)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI204)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ204)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK204)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL204)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM204)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN204)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO204)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP204)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F204&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B204)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B204)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD204,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F204&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A204)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E204)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K204&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H204=\"Small Patch\",H204=\"Matrix\")),'Calculator Table'!$L204,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H204=\"Small Patch\",'Calculator Table'!$L204,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H204=\"Matrix\",'Calculator Table'!$L204,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M204&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N204&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O204&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P204&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q204&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R204&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S204&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T204&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U204&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V204&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W204&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X204&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y204)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z204)&\", version_author=\"&AddQuotes('Calculator Table'!$AA204)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB204,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC204)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE204)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF204)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG204)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH204)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI204)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ204)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK204)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL204)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM204)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN204)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO204)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP204)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F204&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B204)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B204)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD204,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F204&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A204)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E204)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K204&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K204=\"Small Patch\",K204=\"Matrix\")),'Calculator Table'!$L204,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K204=\"Small Patch\",'Calculator Table'!$L204,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K204=\"Matrix\",'Calculator Table'!$L204,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M204&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N204&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O204&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P204&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q204&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R204&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S204&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T204&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U204&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V204&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W204&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X204&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y204)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z204)&\", version_author=\"&AddQuotes('Calculator Table'!$AA204)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB204,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC204)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE204)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF204)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG204)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH204)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI204)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ204)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK204)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL204)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM204)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN204)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO204)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP204)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F204&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS205>0,'Rk Assign'!D205,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS205>0,Calculate!$AV205,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ205:$BL205<>\"U\")*($AQ205:$BL205>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ205:$BL205<>\"U\")*($AQ205:$BL205>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ205:$BL205<>\"U\")*($AQ205:$BL205>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K205:$R205<>\"Z\")*($K205:$R205>\"\")*NOT(ISERROR($K205:$R205)))+SUM(($K$4:$R$4=\"A\")*($K205:$R205<>\"A\")*($K205:$R205>\"\")*NOT(ISERROR($K205:$R205)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K205:$R205=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ205:$BL205=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B205)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B205)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD205,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F205&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A205)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E205)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K205&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E205=\"Small Patch\",E205=\"Matrix\")),'Calculator Table'!$L205,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E205=\"Small Patch\",'Calculator Table'!$L205,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E205=\"Matrix\",'Calculator Table'!$L205,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M205&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N205&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O205&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P205&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q205&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R205&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S205&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T205&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U205&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V205&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W205&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X205&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y205)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z205)&\", version_author=\"&AddQuotes('Calculator Table'!$AA205)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB205,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC205)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE205)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF205)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG205)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH205)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI205)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ205)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK205)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL205)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM205)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN205)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO205)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP205)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F205&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B205)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B205)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD205,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F205&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A205)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E205)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K205&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H205=\"Small Patch\",H205=\"Matrix\")),'Calculator Table'!$L205,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H205=\"Small Patch\",'Calculator Table'!$L205,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H205=\"Matrix\",'Calculator Table'!$L205,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M205&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N205&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O205&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P205&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q205&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R205&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S205&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T205&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U205&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V205&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W205&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X205&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y205)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z205)&\", version_author=\"&AddQuotes('Calculator Table'!$AA205)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB205,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC205)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE205)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF205)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG205)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH205)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI205)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ205)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK205)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL205)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM205)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN205)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO205)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP205)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F205&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B205)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B205)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD205,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F205&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A205)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E205)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K205&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K205=\"Small Patch\",K205=\"Matrix\")),'Calculator Table'!$L205,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K205=\"Small Patch\",'Calculator Table'!$L205,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K205=\"Matrix\",'Calculator Table'!$L205,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M205&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N205&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O205&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P205&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q205&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R205&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S205&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T205&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U205&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V205&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W205&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X205&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y205)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z205)&\", version_author=\"&AddQuotes('Calculator Table'!$AA205)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB205,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC205)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE205)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF205)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG205)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH205)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI205)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ205)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK205)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL205)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM205)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN205)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO205)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP205)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F205&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS206>0,'Rk Assign'!D206,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS206>0,Calculate!$AV206,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ206:$BL206<>\"U\")*($AQ206:$BL206>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ206:$BL206<>\"U\")*($AQ206:$BL206>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ206:$BL206<>\"U\")*($AQ206:$BL206>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K206:$R206<>\"Z\")*($K206:$R206>\"\")*NOT(ISERROR($K206:$R206)))+SUM(($K$4:$R$4=\"A\")*($K206:$R206<>\"A\")*($K206:$R206>\"\")*NOT(ISERROR($K206:$R206)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K206:$R206=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ206:$BL206=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B206)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B206)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD206,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F206&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A206)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E206)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K206&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E206=\"Small Patch\",E206=\"Matrix\")),'Calculator Table'!$L206,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E206=\"Small Patch\",'Calculator Table'!$L206,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E206=\"Matrix\",'Calculator Table'!$L206,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M206&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N206&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O206&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P206&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q206&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R206&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S206&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T206&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U206&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V206&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W206&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X206&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y206)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z206)&\", version_author=\"&AddQuotes('Calculator Table'!$AA206)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB206,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC206)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE206)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF206)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG206)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH206)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI206)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ206)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK206)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL206)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM206)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN206)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO206)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP206)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F206&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B206)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B206)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD206,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F206&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A206)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E206)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K206&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H206=\"Small Patch\",H206=\"Matrix\")),'Calculator Table'!$L206,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H206=\"Small Patch\",'Calculator Table'!$L206,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H206=\"Matrix\",'Calculator Table'!$L206,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M206&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N206&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O206&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P206&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q206&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R206&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S206&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T206&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U206&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V206&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W206&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X206&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y206)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z206)&\", version_author=\"&AddQuotes('Calculator Table'!$AA206)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB206,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC206)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE206)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF206)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG206)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH206)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI206)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ206)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK206)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL206)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM206)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN206)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO206)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP206)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F206&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B206)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B206)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD206,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F206&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A206)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E206)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K206&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K206=\"Small Patch\",K206=\"Matrix\")),'Calculator Table'!$L206,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K206=\"Small Patch\",'Calculator Table'!$L206,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K206=\"Matrix\",'Calculator Table'!$L206,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M206&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N206&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O206&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P206&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q206&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R206&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S206&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T206&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U206&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V206&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W206&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X206&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y206)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z206)&\", version_author=\"&AddQuotes('Calculator Table'!$AA206)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB206,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC206)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE206)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF206)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG206)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH206)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI206)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ206)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK206)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL206)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM206)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN206)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO206)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP206)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F206&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS207>0,'Rk Assign'!D207,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS207>0,Calculate!$AV207,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ207:$BL207<>\"U\")*($AQ207:$BL207>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ207:$BL207<>\"U\")*($AQ207:$BL207>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ207:$BL207<>\"U\")*($AQ207:$BL207>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K207:$R207<>\"Z\")*($K207:$R207>\"\")*NOT(ISERROR($K207:$R207)))+SUM(($K$4:$R$4=\"A\")*($K207:$R207<>\"A\")*($K207:$R207>\"\")*NOT(ISERROR($K207:$R207)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K207:$R207=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ207:$BL207=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B207)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B207)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD207,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F207&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A207)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E207)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K207&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E207=\"Small Patch\",E207=\"Matrix\")),'Calculator Table'!$L207,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E207=\"Small Patch\",'Calculator Table'!$L207,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E207=\"Matrix\",'Calculator Table'!$L207,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M207&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N207&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O207&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P207&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q207&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R207&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S207&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T207&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U207&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V207&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W207&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X207&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y207)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z207)&\", version_author=\"&AddQuotes('Calculator Table'!$AA207)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB207,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC207)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE207)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF207)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG207)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH207)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI207)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ207)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK207)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL207)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM207)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN207)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO207)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP207)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F207&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B207)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B207)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD207,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F207&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A207)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E207)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K207&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H207=\"Small Patch\",H207=\"Matrix\")),'Calculator Table'!$L207,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H207=\"Small Patch\",'Calculator Table'!$L207,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H207=\"Matrix\",'Calculator Table'!$L207,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M207&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N207&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O207&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P207&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q207&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R207&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S207&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T207&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U207&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V207&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W207&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X207&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y207)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z207)&\", version_author=\"&AddQuotes('Calculator Table'!$AA207)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB207,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC207)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE207)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF207)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG207)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH207)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI207)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ207)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK207)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL207)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM207)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN207)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO207)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP207)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F207&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B207)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B207)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD207,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F207&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A207)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E207)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K207&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K207=\"Small Patch\",K207=\"Matrix\")),'Calculator Table'!$L207,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K207=\"Small Patch\",'Calculator Table'!$L207,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K207=\"Matrix\",'Calculator Table'!$L207,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M207&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N207&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O207&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P207&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q207&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R207&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S207&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T207&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U207&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V207&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W207&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X207&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y207)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z207)&\", version_author=\"&AddQuotes('Calculator Table'!$AA207)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB207,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC207)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE207)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF207)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG207)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH207)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI207)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ207)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK207)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL207)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM207)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN207)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO207)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP207)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F207&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS208>0,'Rk Assign'!D208,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS208>0,Calculate!$AV208,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ208:$BL208<>\"U\")*($AQ208:$BL208>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ208:$BL208<>\"U\")*($AQ208:$BL208>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ208:$BL208<>\"U\")*($AQ208:$BL208>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K208:$R208<>\"Z\")*($K208:$R208>\"\")*NOT(ISERROR($K208:$R208)))+SUM(($K$4:$R$4=\"A\")*($K208:$R208<>\"A\")*($K208:$R208>\"\")*NOT(ISERROR($K208:$R208)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K208:$R208=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ208:$BL208=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B208)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B208)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD208,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F208&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A208)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E208)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K208&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E208=\"Small Patch\",E208=\"Matrix\")),'Calculator Table'!$L208,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E208=\"Small Patch\",'Calculator Table'!$L208,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E208=\"Matrix\",'Calculator Table'!$L208,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M208&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N208&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O208&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P208&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q208&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R208&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S208&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T208&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U208&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V208&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W208&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X208&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y208)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z208)&\", version_author=\"&AddQuotes('Calculator Table'!$AA208)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB208,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC208)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE208)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF208)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG208)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH208)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI208)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ208)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK208)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL208)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM208)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN208)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO208)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP208)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F208&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B208)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B208)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD208,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F208&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A208)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E208)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K208&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H208=\"Small Patch\",H208=\"Matrix\")),'Calculator Table'!$L208,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H208=\"Small Patch\",'Calculator Table'!$L208,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H208=\"Matrix\",'Calculator Table'!$L208,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M208&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N208&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O208&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P208&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q208&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R208&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S208&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T208&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U208&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V208&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W208&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X208&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y208)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z208)&\", version_author=\"&AddQuotes('Calculator Table'!$AA208)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB208,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC208)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE208)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF208)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG208)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH208)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI208)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ208)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK208)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL208)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM208)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN208)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO208)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP208)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F208&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B208)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B208)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD208,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F208&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A208)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E208)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K208&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K208=\"Small Patch\",K208=\"Matrix\")),'Calculator Table'!$L208,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K208=\"Small Patch\",'Calculator Table'!$L208,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K208=\"Matrix\",'Calculator Table'!$L208,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M208&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N208&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O208&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P208&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q208&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R208&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S208&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T208&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U208&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V208&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W208&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X208&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y208)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z208)&\", version_author=\"&AddQuotes('Calculator Table'!$AA208)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB208,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC208)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE208)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF208)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG208)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH208)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI208)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ208)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK208)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL208)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM208)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN208)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO208)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP208)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F208&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS209>0,'Rk Assign'!D209,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS209>0,Calculate!$AV209,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ209:$BL209<>\"U\")*($AQ209:$BL209>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ209:$BL209<>\"U\")*($AQ209:$BL209>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ209:$BL209<>\"U\")*($AQ209:$BL209>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K209:$R209<>\"Z\")*($K209:$R209>\"\")*NOT(ISERROR($K209:$R209)))+SUM(($K$4:$R$4=\"A\")*($K209:$R209<>\"A\")*($K209:$R209>\"\")*NOT(ISERROR($K209:$R209)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K209:$R209=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ209:$BL209=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B209)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B209)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD209,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F209&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A209)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E209)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K209&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E209=\"Small Patch\",E209=\"Matrix\")),'Calculator Table'!$L209,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E209=\"Small Patch\",'Calculator Table'!$L209,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E209=\"Matrix\",'Calculator Table'!$L209,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M209&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N209&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O209&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P209&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q209&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R209&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S209&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T209&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U209&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V209&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W209&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X209&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y209)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z209)&\", version_author=\"&AddQuotes('Calculator Table'!$AA209)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB209,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC209)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE209)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF209)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG209)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH209)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI209)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ209)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK209)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL209)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM209)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN209)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO209)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP209)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F209&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B209)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B209)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD209,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F209&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A209)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E209)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K209&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H209=\"Small Patch\",H209=\"Matrix\")),'Calculator Table'!$L209,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H209=\"Small Patch\",'Calculator Table'!$L209,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H209=\"Matrix\",'Calculator Table'!$L209,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M209&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N209&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O209&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P209&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q209&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R209&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S209&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T209&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U209&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V209&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W209&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X209&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y209)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z209)&\", version_author=\"&AddQuotes('Calculator Table'!$AA209)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB209,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC209)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE209)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF209)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG209)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH209)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI209)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ209)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK209)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL209)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM209)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN209)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO209)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP209)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F209&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B209)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B209)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD209,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F209&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A209)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E209)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K209&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K209=\"Small Patch\",K209=\"Matrix\")),'Calculator Table'!$L209,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K209=\"Small Patch\",'Calculator Table'!$L209,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K209=\"Matrix\",'Calculator Table'!$L209,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M209&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N209&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O209&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P209&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q209&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R209&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S209&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T209&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U209&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V209&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W209&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X209&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y209)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z209)&\", version_author=\"&AddQuotes('Calculator Table'!$AA209)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB209,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC209)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE209)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF209)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG209)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH209)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI209)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ209)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK209)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL209)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM209)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN209)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO209)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP209)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F209&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS210>0,'Rk Assign'!D210,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS210>0,Calculate!$AV210,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ210:$BL210<>\"U\")*($AQ210:$BL210>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ210:$BL210<>\"U\")*($AQ210:$BL210>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ210:$BL210<>\"U\")*($AQ210:$BL210>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K210:$R210<>\"Z\")*($K210:$R210>\"\")*NOT(ISERROR($K210:$R210)))+SUM(($K$4:$R$4=\"A\")*($K210:$R210<>\"A\")*($K210:$R210>\"\")*NOT(ISERROR($K210:$R210)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K210:$R210=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ210:$BL210=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B210)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B210)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD210,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F210&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A210)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E210)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K210&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E210=\"Small Patch\",E210=\"Matrix\")),'Calculator Table'!$L210,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E210=\"Small Patch\",'Calculator Table'!$L210,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E210=\"Matrix\",'Calculator Table'!$L210,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M210&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N210&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O210&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P210&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q210&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R210&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S210&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T210&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U210&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V210&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W210&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X210&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y210)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z210)&\", version_author=\"&AddQuotes('Calculator Table'!$AA210)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB210,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC210)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE210)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF210)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG210)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH210)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI210)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ210)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK210)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL210)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM210)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN210)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO210)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP210)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F210&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B210)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B210)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD210,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F210&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A210)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E210)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K210&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H210=\"Small Patch\",H210=\"Matrix\")),'Calculator Table'!$L210,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H210=\"Small Patch\",'Calculator Table'!$L210,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H210=\"Matrix\",'Calculator Table'!$L210,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M210&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N210&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O210&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P210&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q210&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R210&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S210&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T210&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U210&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V210&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W210&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X210&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y210)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z210)&\", version_author=\"&AddQuotes('Calculator Table'!$AA210)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB210,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC210)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE210)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF210)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG210)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH210)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI210)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ210)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK210)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL210)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM210)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN210)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO210)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP210)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F210&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B210)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B210)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD210,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F210&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A210)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E210)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K210&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K210=\"Small Patch\",K210=\"Matrix\")),'Calculator Table'!$L210,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K210=\"Small Patch\",'Calculator Table'!$L210,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K210=\"Matrix\",'Calculator Table'!$L210,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M210&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N210&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O210&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P210&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q210&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R210&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S210&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T210&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U210&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V210&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W210&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X210&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y210)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z210)&\", version_author=\"&AddQuotes('Calculator Table'!$AA210)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB210,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC210)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE210)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF210)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG210)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH210)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI210)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ210)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK210)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL210)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM210)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN210)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO210)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP210)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F210&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS211>0,'Rk Assign'!D211,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS211>0,Calculate!$AV211,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ211:$BL211<>\"U\")*($AQ211:$BL211>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ211:$BL211<>\"U\")*($AQ211:$BL211>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ211:$BL211<>\"U\")*($AQ211:$BL211>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K211:$R211<>\"Z\")*($K211:$R211>\"\")*NOT(ISERROR($K211:$R211)))+SUM(($K$4:$R$4=\"A\")*($K211:$R211<>\"A\")*($K211:$R211>\"\")*NOT(ISERROR($K211:$R211)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K211:$R211=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ211:$BL211=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B211)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B211)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD211,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F211&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A211)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E211)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K211&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E211=\"Small Patch\",E211=\"Matrix\")),'Calculator Table'!$L211,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E211=\"Small Patch\",'Calculator Table'!$L211,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E211=\"Matrix\",'Calculator Table'!$L211,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M211&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N211&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O211&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P211&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q211&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R211&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S211&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T211&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U211&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V211&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W211&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X211&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y211)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z211)&\", version_author=\"&AddQuotes('Calculator Table'!$AA211)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB211,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC211)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE211)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF211)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG211)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH211)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI211)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ211)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK211)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL211)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM211)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN211)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO211)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP211)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F211&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B211)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B211)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD211,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F211&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A211)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E211)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K211&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H211=\"Small Patch\",H211=\"Matrix\")),'Calculator Table'!$L211,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H211=\"Small Patch\",'Calculator Table'!$L211,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H211=\"Matrix\",'Calculator Table'!$L211,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M211&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N211&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O211&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P211&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q211&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R211&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S211&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T211&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U211&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V211&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W211&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X211&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y211)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z211)&\", version_author=\"&AddQuotes('Calculator Table'!$AA211)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB211,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC211)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE211)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF211)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG211)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH211)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI211)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ211)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK211)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL211)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM211)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN211)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO211)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP211)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F211&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B211)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B211)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD211,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F211&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A211)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E211)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K211&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K211=\"Small Patch\",K211=\"Matrix\")),'Calculator Table'!$L211,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K211=\"Small Patch\",'Calculator Table'!$L211,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K211=\"Matrix\",'Calculator Table'!$L211,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M211&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N211&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O211&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P211&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q211&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R211&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S211&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T211&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U211&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V211&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W211&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X211&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y211)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z211)&\", version_author=\"&AddQuotes('Calculator Table'!$AA211)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB211,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC211)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE211)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF211)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG211)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH211)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI211)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ211)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK211)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL211)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM211)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN211)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO211)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP211)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F211&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS212>0,'Rk Assign'!D212,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS212>0,Calculate!$AV212,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ212:$BL212<>\"U\")*($AQ212:$BL212>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ212:$BL212<>\"U\")*($AQ212:$BL212>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ212:$BL212<>\"U\")*($AQ212:$BL212>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K212:$R212<>\"Z\")*($K212:$R212>\"\")*NOT(ISERROR($K212:$R212)))+SUM(($K$4:$R$4=\"A\")*($K212:$R212<>\"A\")*($K212:$R212>\"\")*NOT(ISERROR($K212:$R212)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K212:$R212=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ212:$BL212=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B212)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B212)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD212,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F212&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A212)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E212)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K212&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E212=\"Small Patch\",E212=\"Matrix\")),'Calculator Table'!$L212,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E212=\"Small Patch\",'Calculator Table'!$L212,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E212=\"Matrix\",'Calculator Table'!$L212,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M212&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N212&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O212&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P212&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q212&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R212&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S212&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T212&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U212&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V212&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W212&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X212&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y212)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z212)&\", version_author=\"&AddQuotes('Calculator Table'!$AA212)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB212,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC212)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE212)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF212)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG212)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH212)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI212)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ212)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK212)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL212)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM212)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN212)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO212)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP212)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F212&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B212)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B212)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD212,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F212&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A212)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E212)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K212&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H212=\"Small Patch\",H212=\"Matrix\")),'Calculator Table'!$L212,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H212=\"Small Patch\",'Calculator Table'!$L212,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H212=\"Matrix\",'Calculator Table'!$L212,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M212&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N212&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O212&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P212&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q212&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R212&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S212&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T212&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U212&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V212&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W212&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X212&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y212)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z212)&\", version_author=\"&AddQuotes('Calculator Table'!$AA212)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB212,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC212)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE212)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF212)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG212)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH212)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI212)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ212)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK212)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL212)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM212)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN212)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO212)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP212)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F212&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B212)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B212)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD212,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F212&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A212)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E212)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K212&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K212=\"Small Patch\",K212=\"Matrix\")),'Calculator Table'!$L212,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K212=\"Small Patch\",'Calculator Table'!$L212,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K212=\"Matrix\",'Calculator Table'!$L212,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M212&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N212&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O212&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P212&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q212&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R212&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S212&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T212&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U212&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V212&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W212&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X212&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y212)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z212)&\", version_author=\"&AddQuotes('Calculator Table'!$AA212)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB212,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC212)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE212)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF212)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG212)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH212)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI212)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ212)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK212)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL212)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM212)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN212)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO212)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP212)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F212&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS213>0,'Rk Assign'!D213,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS213>0,Calculate!$AV213,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ213:$BL213<>\"U\")*($AQ213:$BL213>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ213:$BL213<>\"U\")*($AQ213:$BL213>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ213:$BL213<>\"U\")*($AQ213:$BL213>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K213:$R213<>\"Z\")*($K213:$R213>\"\")*NOT(ISERROR($K213:$R213)))+SUM(($K$4:$R$4=\"A\")*($K213:$R213<>\"A\")*($K213:$R213>\"\")*NOT(ISERROR($K213:$R213)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K213:$R213=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ213:$BL213=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B213)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B213)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD213,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F213&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A213)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E213)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K213&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E213=\"Small Patch\",E213=\"Matrix\")),'Calculator Table'!$L213,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E213=\"Small Patch\",'Calculator Table'!$L213,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E213=\"Matrix\",'Calculator Table'!$L213,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M213&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N213&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O213&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P213&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q213&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R213&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S213&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T213&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U213&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V213&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W213&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X213&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y213)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z213)&\", version_author=\"&AddQuotes('Calculator Table'!$AA213)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB213,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC213)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE213)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF213)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG213)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH213)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI213)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ213)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK213)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL213)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM213)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN213)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO213)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP213)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F213&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B213)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B213)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD213,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F213&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A213)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E213)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K213&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H213=\"Small Patch\",H213=\"Matrix\")),'Calculator Table'!$L213,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H213=\"Small Patch\",'Calculator Table'!$L213,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H213=\"Matrix\",'Calculator Table'!$L213,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M213&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N213&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O213&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P213&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q213&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R213&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S213&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T213&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U213&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V213&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W213&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X213&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y213)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z213)&\", version_author=\"&AddQuotes('Calculator Table'!$AA213)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB213,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC213)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE213)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF213)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG213)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH213)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI213)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ213)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK213)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL213)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM213)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN213)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO213)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP213)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F213&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B213)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B213)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD213,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F213&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A213)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E213)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K213&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K213=\"Small Patch\",K213=\"Matrix\")),'Calculator Table'!$L213,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K213=\"Small Patch\",'Calculator Table'!$L213,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K213=\"Matrix\",'Calculator Table'!$L213,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M213&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N213&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O213&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P213&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q213&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R213&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S213&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T213&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U213&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V213&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W213&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X213&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y213)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z213)&\", version_author=\"&AddQuotes('Calculator Table'!$AA213)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB213,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC213)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE213)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF213)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG213)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH213)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI213)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ213)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK213)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL213)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM213)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN213)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO213)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP213)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F213&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS214>0,'Rk Assign'!D214,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS214>0,Calculate!$AV214,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ214:$BL214<>\"U\")*($AQ214:$BL214>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ214:$BL214<>\"U\")*($AQ214:$BL214>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ214:$BL214<>\"U\")*($AQ214:$BL214>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K214:$R214<>\"Z\")*($K214:$R214>\"\")*NOT(ISERROR($K214:$R214)))+SUM(($K$4:$R$4=\"A\")*($K214:$R214<>\"A\")*($K214:$R214>\"\")*NOT(ISERROR($K214:$R214)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K214:$R214=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ214:$BL214=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B214)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B214)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD214,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F214&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A214)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E214)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K214&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E214=\"Small Patch\",E214=\"Matrix\")),'Calculator Table'!$L214,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E214=\"Small Patch\",'Calculator Table'!$L214,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E214=\"Matrix\",'Calculator Table'!$L214,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M214&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N214&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O214&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P214&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q214&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R214&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S214&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T214&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U214&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V214&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W214&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X214&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y214)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z214)&\", version_author=\"&AddQuotes('Calculator Table'!$AA214)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB214,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC214)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE214)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF214)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG214)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH214)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI214)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ214)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK214)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL214)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM214)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN214)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO214)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP214)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F214&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B214)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B214)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD214,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F214&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A214)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E214)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K214&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H214=\"Small Patch\",H214=\"Matrix\")),'Calculator Table'!$L214,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H214=\"Small Patch\",'Calculator Table'!$L214,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H214=\"Matrix\",'Calculator Table'!$L214,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M214&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N214&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O214&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P214&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q214&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R214&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S214&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T214&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U214&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V214&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W214&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X214&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y214)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z214)&\", version_author=\"&AddQuotes('Calculator Table'!$AA214)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB214,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC214)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE214)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF214)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG214)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH214)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI214)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ214)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK214)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL214)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM214)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN214)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO214)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP214)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F214&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B214)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B214)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD214,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F214&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A214)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E214)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K214&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K214=\"Small Patch\",K214=\"Matrix\")),'Calculator Table'!$L214,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K214=\"Small Patch\",'Calculator Table'!$L214,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K214=\"Matrix\",'Calculator Table'!$L214,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M214&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N214&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O214&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P214&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q214&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R214&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S214&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T214&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U214&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V214&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W214&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X214&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y214)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z214)&\", version_author=\"&AddQuotes('Calculator Table'!$AA214)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB214,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC214)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE214)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF214)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG214)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH214)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI214)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ214)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK214)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL214)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM214)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN214)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO214)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP214)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F214&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS215>0,'Rk Assign'!D215,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS215>0,Calculate!$AV215,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ215:$BL215<>\"U\")*($AQ215:$BL215>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ215:$BL215<>\"U\")*($AQ215:$BL215>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ215:$BL215<>\"U\")*($AQ215:$BL215>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K215:$R215<>\"Z\")*($K215:$R215>\"\")*NOT(ISERROR($K215:$R215)))+SUM(($K$4:$R$4=\"A\")*($K215:$R215<>\"A\")*($K215:$R215>\"\")*NOT(ISERROR($K215:$R215)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K215:$R215=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ215:$BL215=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B215)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B215)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD215,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F215&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A215)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E215)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K215&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E215=\"Small Patch\",E215=\"Matrix\")),'Calculator Table'!$L215,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E215=\"Small Patch\",'Calculator Table'!$L215,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E215=\"Matrix\",'Calculator Table'!$L215,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M215&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N215&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O215&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P215&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q215&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R215&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S215&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T215&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U215&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V215&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W215&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X215&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y215)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z215)&\", version_author=\"&AddQuotes('Calculator Table'!$AA215)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB215,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC215)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE215)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF215)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG215)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH215)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI215)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ215)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK215)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL215)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM215)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN215)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO215)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP215)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F215&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B215)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B215)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD215,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F215&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A215)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E215)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K215&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H215=\"Small Patch\",H215=\"Matrix\")),'Calculator Table'!$L215,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H215=\"Small Patch\",'Calculator Table'!$L215,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H215=\"Matrix\",'Calculator Table'!$L215,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M215&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N215&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O215&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P215&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q215&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R215&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S215&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T215&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U215&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V215&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W215&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X215&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y215)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z215)&\", version_author=\"&AddQuotes('Calculator Table'!$AA215)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB215,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC215)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE215)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF215)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG215)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH215)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI215)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ215)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK215)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL215)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM215)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN215)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO215)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP215)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F215&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B215)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B215)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD215,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F215&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A215)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E215)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K215&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K215=\"Small Patch\",K215=\"Matrix\")),'Calculator Table'!$L215,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K215=\"Small Patch\",'Calculator Table'!$L215,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K215=\"Matrix\",'Calculator Table'!$L215,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M215&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N215&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O215&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P215&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q215&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R215&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S215&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T215&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U215&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V215&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W215&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X215&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y215)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z215)&\", version_author=\"&AddQuotes('Calculator Table'!$AA215)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB215,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC215)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE215)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF215)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG215)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH215)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI215)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ215)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK215)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL215)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM215)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN215)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO215)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP215)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F215&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS216>0,'Rk Assign'!D216,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS216>0,Calculate!$AV216,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ216:$BL216<>\"U\")*($AQ216:$BL216>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ216:$BL216<>\"U\")*($AQ216:$BL216>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ216:$BL216<>\"U\")*($AQ216:$BL216>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K216:$R216<>\"Z\")*($K216:$R216>\"\")*NOT(ISERROR($K216:$R216)))+SUM(($K$4:$R$4=\"A\")*($K216:$R216<>\"A\")*($K216:$R216>\"\")*NOT(ISERROR($K216:$R216)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K216:$R216=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ216:$BL216=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B216)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B216)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD216,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F216&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A216)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E216)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K216&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E216=\"Small Patch\",E216=\"Matrix\")),'Calculator Table'!$L216,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E216=\"Small Patch\",'Calculator Table'!$L216,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E216=\"Matrix\",'Calculator Table'!$L216,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M216&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N216&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O216&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P216&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q216&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R216&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S216&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T216&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U216&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V216&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W216&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X216&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y216)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z216)&\", version_author=\"&AddQuotes('Calculator Table'!$AA216)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB216,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC216)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE216)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF216)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG216)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH216)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI216)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ216)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK216)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL216)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM216)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN216)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO216)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP216)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F216&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B216)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B216)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD216,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F216&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A216)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E216)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K216&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H216=\"Small Patch\",H216=\"Matrix\")),'Calculator Table'!$L216,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H216=\"Small Patch\",'Calculator Table'!$L216,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H216=\"Matrix\",'Calculator Table'!$L216,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M216&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N216&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O216&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P216&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q216&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R216&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S216&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T216&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U216&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V216&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W216&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X216&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y216)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z216)&\", version_author=\"&AddQuotes('Calculator Table'!$AA216)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB216,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC216)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE216)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF216)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG216)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH216)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI216)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ216)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK216)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL216)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM216)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN216)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO216)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP216)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F216&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B216)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B216)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD216,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F216&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A216)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E216)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K216&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K216=\"Small Patch\",K216=\"Matrix\")),'Calculator Table'!$L216,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K216=\"Small Patch\",'Calculator Table'!$L216,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K216=\"Matrix\",'Calculator Table'!$L216,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M216&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N216&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O216&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P216&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q216&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R216&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S216&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T216&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U216&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V216&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W216&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X216&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y216)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z216)&\", version_author=\"&AddQuotes('Calculator Table'!$AA216)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB216,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC216)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE216)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF216)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG216)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH216)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI216)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ216)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK216)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL216)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM216)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN216)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO216)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP216)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F216&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS217>0,'Rk Assign'!D217,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS217>0,Calculate!$AV217,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ217:$BL217<>\"U\")*($AQ217:$BL217>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ217:$BL217<>\"U\")*($AQ217:$BL217>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ217:$BL217<>\"U\")*($AQ217:$BL217>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K217:$R217<>\"Z\")*($K217:$R217>\"\")*NOT(ISERROR($K217:$R217)))+SUM(($K$4:$R$4=\"A\")*($K217:$R217<>\"A\")*($K217:$R217>\"\")*NOT(ISERROR($K217:$R217)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K217:$R217=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ217:$BL217=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B217)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B217)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD217,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F217&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A217)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E217)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K217&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E217=\"Small Patch\",E217=\"Matrix\")),'Calculator Table'!$L217,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E217=\"Small Patch\",'Calculator Table'!$L217,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E217=\"Matrix\",'Calculator Table'!$L217,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M217&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N217&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O217&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P217&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q217&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R217&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S217&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T217&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U217&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V217&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W217&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X217&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y217)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z217)&\", version_author=\"&AddQuotes('Calculator Table'!$AA217)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB217,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC217)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE217)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF217)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG217)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH217)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI217)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ217)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK217)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL217)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM217)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN217)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO217)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP217)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F217&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B217)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B217)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD217,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F217&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A217)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E217)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K217&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H217=\"Small Patch\",H217=\"Matrix\")),'Calculator Table'!$L217,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H217=\"Small Patch\",'Calculator Table'!$L217,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H217=\"Matrix\",'Calculator Table'!$L217,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M217&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N217&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O217&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P217&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q217&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R217&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S217&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T217&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U217&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V217&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W217&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X217&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y217)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z217)&\", version_author=\"&AddQuotes('Calculator Table'!$AA217)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB217,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC217)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE217)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF217)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG217)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH217)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI217)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ217)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK217)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL217)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM217)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN217)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO217)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP217)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F217&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B217)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B217)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD217,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F217&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A217)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E217)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K217&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K217=\"Small Patch\",K217=\"Matrix\")),'Calculator Table'!$L217,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K217=\"Small Patch\",'Calculator Table'!$L217,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K217=\"Matrix\",'Calculator Table'!$L217,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M217&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N217&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O217&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P217&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q217&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R217&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S217&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T217&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U217&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V217&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W217&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X217&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y217)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z217)&\", version_author=\"&AddQuotes('Calculator Table'!$AA217)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB217,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC217)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE217)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF217)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG217)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH217)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI217)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ217)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK217)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL217)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM217)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN217)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO217)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP217)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F217&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS218>0,'Rk Assign'!D218,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS218>0,Calculate!$AV218,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ218:$BL218<>\"U\")*($AQ218:$BL218>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ218:$BL218<>\"U\")*($AQ218:$BL218>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ218:$BL218<>\"U\")*($AQ218:$BL218>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K218:$R218<>\"Z\")*($K218:$R218>\"\")*NOT(ISERROR($K218:$R218)))+SUM(($K$4:$R$4=\"A\")*($K218:$R218<>\"A\")*($K218:$R218>\"\")*NOT(ISERROR($K218:$R218)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K218:$R218=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ218:$BL218=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B218)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B218)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD218,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F218&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A218)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E218)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K218&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E218=\"Small Patch\",E218=\"Matrix\")),'Calculator Table'!$L218,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E218=\"Small Patch\",'Calculator Table'!$L218,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E218=\"Matrix\",'Calculator Table'!$L218,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M218&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N218&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O218&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P218&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q218&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R218&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S218&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T218&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U218&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V218&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W218&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X218&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y218)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z218)&\", version_author=\"&AddQuotes('Calculator Table'!$AA218)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB218,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC218)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE218)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF218)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG218)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH218)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI218)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ218)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK218)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL218)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM218)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN218)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO218)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP218)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F218&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B218)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B218)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD218,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F218&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A218)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E218)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K218&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H218=\"Small Patch\",H218=\"Matrix\")),'Calculator Table'!$L218,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H218=\"Small Patch\",'Calculator Table'!$L218,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H218=\"Matrix\",'Calculator Table'!$L218,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M218&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N218&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O218&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P218&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q218&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R218&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S218&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T218&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U218&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V218&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W218&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X218&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y218)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z218)&\", version_author=\"&AddQuotes('Calculator Table'!$AA218)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB218,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC218)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE218)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF218)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG218)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH218)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI218)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ218)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK218)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL218)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM218)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN218)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO218)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP218)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F218&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B218)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B218)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD218,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F218&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A218)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E218)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K218&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K218=\"Small Patch\",K218=\"Matrix\")),'Calculator Table'!$L218,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K218=\"Small Patch\",'Calculator Table'!$L218,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K218=\"Matrix\",'Calculator Table'!$L218,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M218&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N218&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O218&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P218&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q218&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R218&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S218&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T218&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U218&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V218&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W218&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X218&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y218)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z218)&\", version_author=\"&AddQuotes('Calculator Table'!$AA218)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB218,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC218)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE218)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF218)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG218)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH218)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI218)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ218)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK218)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL218)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM218)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN218)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO218)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP218)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F218&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS219>0,'Rk Assign'!D219,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS219>0,Calculate!$AV219,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ219:$BL219<>\"U\")*($AQ219:$BL219>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ219:$BL219<>\"U\")*($AQ219:$BL219>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ219:$BL219<>\"U\")*($AQ219:$BL219>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K219:$R219<>\"Z\")*($K219:$R219>\"\")*NOT(ISERROR($K219:$R219)))+SUM(($K$4:$R$4=\"A\")*($K219:$R219<>\"A\")*($K219:$R219>\"\")*NOT(ISERROR($K219:$R219)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K219:$R219=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ219:$BL219=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B219)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B219)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD219,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F219&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A219)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E219)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K219&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E219=\"Small Patch\",E219=\"Matrix\")),'Calculator Table'!$L219,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E219=\"Small Patch\",'Calculator Table'!$L219,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E219=\"Matrix\",'Calculator Table'!$L219,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M219&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N219&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O219&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P219&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q219&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R219&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S219&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T219&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U219&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V219&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W219&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X219&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y219)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z219)&\", version_author=\"&AddQuotes('Calculator Table'!$AA219)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB219,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC219)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE219)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF219)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG219)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH219)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI219)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ219)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK219)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL219)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM219)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN219)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO219)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP219)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F219&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B219)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B219)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD219,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F219&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A219)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E219)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K219&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H219=\"Small Patch\",H219=\"Matrix\")),'Calculator Table'!$L219,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H219=\"Small Patch\",'Calculator Table'!$L219,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H219=\"Matrix\",'Calculator Table'!$L219,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M219&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N219&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O219&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P219&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q219&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R219&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S219&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T219&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U219&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V219&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W219&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X219&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y219)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z219)&\", version_author=\"&AddQuotes('Calculator Table'!$AA219)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB219,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC219)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE219)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF219)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG219)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH219)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI219)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ219)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK219)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL219)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM219)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN219)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO219)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP219)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F219&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B219)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B219)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD219,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F219&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A219)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E219)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K219&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K219=\"Small Patch\",K219=\"Matrix\")),'Calculator Table'!$L219,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K219=\"Small Patch\",'Calculator Table'!$L219,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K219=\"Matrix\",'Calculator Table'!$L219,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M219&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N219&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O219&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P219&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q219&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R219&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S219&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T219&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U219&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V219&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W219&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X219&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y219)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z219)&\", version_author=\"&AddQuotes('Calculator Table'!$AA219)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB219,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC219)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE219)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF219)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG219)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH219)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI219)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ219)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK219)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL219)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM219)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN219)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO219)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP219)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F219&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS220>0,'Rk Assign'!D220,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS220>0,Calculate!$AV220,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ220:$BL220<>\"U\")*($AQ220:$BL220>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ220:$BL220<>\"U\")*($AQ220:$BL220>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ220:$BL220<>\"U\")*($AQ220:$BL220>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K220:$R220<>\"Z\")*($K220:$R220>\"\")*NOT(ISERROR($K220:$R220)))+SUM(($K$4:$R$4=\"A\")*($K220:$R220<>\"A\")*($K220:$R220>\"\")*NOT(ISERROR($K220:$R220)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K220:$R220=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ220:$BL220=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B220)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B220)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD220,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F220&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A220)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E220)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K220&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E220=\"Small Patch\",E220=\"Matrix\")),'Calculator Table'!$L220,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E220=\"Small Patch\",'Calculator Table'!$L220,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E220=\"Matrix\",'Calculator Table'!$L220,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M220&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N220&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O220&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P220&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q220&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R220&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S220&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T220&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U220&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V220&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W220&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X220&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y220)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z220)&\", version_author=\"&AddQuotes('Calculator Table'!$AA220)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB220,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC220)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE220)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF220)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG220)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH220)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI220)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ220)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK220)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL220)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM220)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN220)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO220)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP220)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F220&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B220)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B220)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD220,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F220&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A220)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E220)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K220&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H220=\"Small Patch\",H220=\"Matrix\")),'Calculator Table'!$L220,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H220=\"Small Patch\",'Calculator Table'!$L220,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H220=\"Matrix\",'Calculator Table'!$L220,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M220&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N220&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O220&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P220&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q220&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R220&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S220&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T220&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U220&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V220&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W220&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X220&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y220)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z220)&\", version_author=\"&AddQuotes('Calculator Table'!$AA220)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB220,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC220)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE220)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF220)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG220)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH220)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI220)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ220)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK220)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL220)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM220)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN220)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO220)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP220)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F220&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B220)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B220)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD220,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F220&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A220)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E220)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K220&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K220=\"Small Patch\",K220=\"Matrix\")),'Calculator Table'!$L220,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K220=\"Small Patch\",'Calculator Table'!$L220,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K220=\"Matrix\",'Calculator Table'!$L220,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M220&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N220&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O220&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P220&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q220&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R220&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S220&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T220&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U220&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V220&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W220&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X220&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y220)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z220)&\", version_author=\"&AddQuotes('Calculator Table'!$AA220)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB220,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC220)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE220)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF220)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG220)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH220)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI220)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ220)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK220)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL220)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM220)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN220)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO220)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP220)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F220&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS221>0,'Rk Assign'!D221,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS221>0,Calculate!$AV221,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ221:$BL221<>\"U\")*($AQ221:$BL221>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ221:$BL221<>\"U\")*($AQ221:$BL221>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ221:$BL221<>\"U\")*($AQ221:$BL221>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K221:$R221<>\"Z\")*($K221:$R221>\"\")*NOT(ISERROR($K221:$R221)))+SUM(($K$4:$R$4=\"A\")*($K221:$R221<>\"A\")*($K221:$R221>\"\")*NOT(ISERROR($K221:$R221)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K221:$R221=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ221:$BL221=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B221)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B221)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD221,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F221&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A221)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E221)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K221&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E221=\"Small Patch\",E221=\"Matrix\")),'Calculator Table'!$L221,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E221=\"Small Patch\",'Calculator Table'!$L221,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E221=\"Matrix\",'Calculator Table'!$L221,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M221&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N221&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O221&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P221&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q221&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R221&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S221&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T221&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U221&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V221&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W221&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X221&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y221)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z221)&\", version_author=\"&AddQuotes('Calculator Table'!$AA221)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB221,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC221)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE221)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF221)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG221)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH221)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI221)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ221)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK221)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL221)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM221)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN221)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO221)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP221)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F221&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B221)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B221)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD221,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F221&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A221)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E221)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K221&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H221=\"Small Patch\",H221=\"Matrix\")),'Calculator Table'!$L221,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H221=\"Small Patch\",'Calculator Table'!$L221,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H221=\"Matrix\",'Calculator Table'!$L221,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M221&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N221&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O221&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P221&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q221&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R221&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S221&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T221&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U221&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V221&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W221&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X221&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y221)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z221)&\", version_author=\"&AddQuotes('Calculator Table'!$AA221)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB221,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC221)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE221)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF221)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG221)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH221)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI221)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ221)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK221)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL221)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM221)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN221)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO221)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP221)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F221&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B221)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B221)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD221,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F221&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A221)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E221)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K221&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K221=\"Small Patch\",K221=\"Matrix\")),'Calculator Table'!$L221,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K221=\"Small Patch\",'Calculator Table'!$L221,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K221=\"Matrix\",'Calculator Table'!$L221,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M221&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N221&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O221&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P221&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q221&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R221&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S221&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T221&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U221&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V221&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W221&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X221&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y221)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z221)&\", version_author=\"&AddQuotes('Calculator Table'!$AA221)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB221,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC221)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE221)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF221)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG221)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH221)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI221)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ221)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK221)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL221)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM221)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN221)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO221)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP221)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F221&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS222>0,'Rk Assign'!D222,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS222>0,Calculate!$AV222,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ222:$BL222<>\"U\")*($AQ222:$BL222>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ222:$BL222<>\"U\")*($AQ222:$BL222>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ222:$BL222<>\"U\")*($AQ222:$BL222>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K222:$R222<>\"Z\")*($K222:$R222>\"\")*NOT(ISERROR($K222:$R222)))+SUM(($K$4:$R$4=\"A\")*($K222:$R222<>\"A\")*($K222:$R222>\"\")*NOT(ISERROR($K222:$R222)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K222:$R222=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ222:$BL222=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B222)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B222)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD222,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F222&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A222)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E222)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K222&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E222=\"Small Patch\",E222=\"Matrix\")),'Calculator Table'!$L222,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E222=\"Small Patch\",'Calculator Table'!$L222,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E222=\"Matrix\",'Calculator Table'!$L222,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M222&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N222&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O222&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P222&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q222&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R222&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S222&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T222&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U222&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V222&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W222&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X222&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y222)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z222)&\", version_author=\"&AddQuotes('Calculator Table'!$AA222)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB222,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC222)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE222)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF222)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG222)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH222)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI222)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ222)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK222)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL222)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM222)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN222)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO222)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP222)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F222&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B222)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B222)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD222,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F222&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A222)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E222)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K222&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H222=\"Small Patch\",H222=\"Matrix\")),'Calculator Table'!$L222,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H222=\"Small Patch\",'Calculator Table'!$L222,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H222=\"Matrix\",'Calculator Table'!$L222,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M222&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N222&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O222&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P222&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q222&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R222&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S222&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T222&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U222&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V222&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W222&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X222&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y222)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z222)&\", version_author=\"&AddQuotes('Calculator Table'!$AA222)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB222,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC222)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE222)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF222)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG222)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH222)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI222)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ222)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK222)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL222)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM222)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN222)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO222)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP222)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F222&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B222)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B222)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD222,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F222&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A222)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E222)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K222&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K222=\"Small Patch\",K222=\"Matrix\")),'Calculator Table'!$L222,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K222=\"Small Patch\",'Calculator Table'!$L222,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K222=\"Matrix\",'Calculator Table'!$L222,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M222&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N222&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O222&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P222&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q222&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R222&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S222&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T222&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U222&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V222&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W222&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X222&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y222)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z222)&\", version_author=\"&AddQuotes('Calculator Table'!$AA222)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB222,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC222)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE222)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF222)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG222)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH222)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI222)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ222)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK222)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL222)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM222)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN222)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO222)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP222)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F222&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS223>0,'Rk Assign'!D223,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS223>0,Calculate!$AV223,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ223:$BL223<>\"U\")*($AQ223:$BL223>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ223:$BL223<>\"U\")*($AQ223:$BL223>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ223:$BL223<>\"U\")*($AQ223:$BL223>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K223:$R223<>\"Z\")*($K223:$R223>\"\")*NOT(ISERROR($K223:$R223)))+SUM(($K$4:$R$4=\"A\")*($K223:$R223<>\"A\")*($K223:$R223>\"\")*NOT(ISERROR($K223:$R223)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K223:$R223=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ223:$BL223=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B223)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B223)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD223,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F223&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A223)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E223)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K223&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E223=\"Small Patch\",E223=\"Matrix\")),'Calculator Table'!$L223,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E223=\"Small Patch\",'Calculator Table'!$L223,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E223=\"Matrix\",'Calculator Table'!$L223,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M223&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N223&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O223&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P223&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q223&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R223&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S223&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T223&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U223&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V223&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W223&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X223&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y223)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z223)&\", version_author=\"&AddQuotes('Calculator Table'!$AA223)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB223,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC223)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE223)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF223)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG223)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH223)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI223)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ223)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK223)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL223)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM223)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN223)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO223)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP223)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F223&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B223)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B223)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD223,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F223&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A223)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E223)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K223&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H223=\"Small Patch\",H223=\"Matrix\")),'Calculator Table'!$L223,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H223=\"Small Patch\",'Calculator Table'!$L223,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H223=\"Matrix\",'Calculator Table'!$L223,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M223&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N223&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O223&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P223&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q223&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R223&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S223&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T223&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U223&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V223&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W223&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X223&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y223)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z223)&\", version_author=\"&AddQuotes('Calculator Table'!$AA223)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB223,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC223)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE223)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF223)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG223)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH223)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI223)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ223)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK223)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL223)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM223)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN223)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO223)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP223)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F223&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B223)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B223)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD223,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F223&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A223)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E223)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K223&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K223=\"Small Patch\",K223=\"Matrix\")),'Calculator Table'!$L223,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K223=\"Small Patch\",'Calculator Table'!$L223,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K223=\"Matrix\",'Calculator Table'!$L223,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M223&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N223&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O223&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P223&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q223&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R223&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S223&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T223&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U223&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V223&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W223&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X223&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y223)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z223)&\", version_author=\"&AddQuotes('Calculator Table'!$AA223)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB223,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC223)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE223)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF223)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG223)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH223)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI223)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ223)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK223)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL223)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM223)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN223)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO223)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP223)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F223&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS224>0,'Rk Assign'!D224,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS224>0,Calculate!$AV224,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ224:$BL224<>\"U\")*($AQ224:$BL224>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ224:$BL224<>\"U\")*($AQ224:$BL224>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ224:$BL224<>\"U\")*($AQ224:$BL224>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K224:$R224<>\"Z\")*($K224:$R224>\"\")*NOT(ISERROR($K224:$R224)))+SUM(($K$4:$R$4=\"A\")*($K224:$R224<>\"A\")*($K224:$R224>\"\")*NOT(ISERROR($K224:$R224)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K224:$R224=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ224:$BL224=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B224)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B224)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD224,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F224&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A224)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E224)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K224&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E224=\"Small Patch\",E224=\"Matrix\")),'Calculator Table'!$L224,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E224=\"Small Patch\",'Calculator Table'!$L224,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E224=\"Matrix\",'Calculator Table'!$L224,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M224&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N224&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O224&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P224&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q224&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R224&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S224&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T224&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U224&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V224&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W224&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X224&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y224)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z224)&\", version_author=\"&AddQuotes('Calculator Table'!$AA224)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB224,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC224)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE224)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF224)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG224)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH224)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI224)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ224)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK224)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL224)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM224)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN224)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO224)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP224)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F224&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B224)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B224)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD224,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F224&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A224)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E224)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K224&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H224=\"Small Patch\",H224=\"Matrix\")),'Calculator Table'!$L224,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H224=\"Small Patch\",'Calculator Table'!$L224,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H224=\"Matrix\",'Calculator Table'!$L224,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M224&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N224&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O224&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P224&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q224&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R224&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S224&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T224&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U224&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V224&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W224&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X224&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y224)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z224)&\", version_author=\"&AddQuotes('Calculator Table'!$AA224)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB224,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC224)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE224)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF224)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG224)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH224)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI224)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ224)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK224)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL224)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM224)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN224)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO224)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP224)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F224&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B224)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B224)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD224,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F224&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A224)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E224)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K224&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K224=\"Small Patch\",K224=\"Matrix\")),'Calculator Table'!$L224,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K224=\"Small Patch\",'Calculator Table'!$L224,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K224=\"Matrix\",'Calculator Table'!$L224,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M224&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N224&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O224&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P224&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q224&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R224&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S224&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T224&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U224&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V224&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W224&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X224&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y224)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z224)&\", version_author=\"&AddQuotes('Calculator Table'!$AA224)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB224,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC224)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE224)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF224)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG224)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH224)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI224)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ224)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK224)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL224)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM224)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN224)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO224)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP224)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F224&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS225>0,'Rk Assign'!D225,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS225>0,Calculate!$AV225,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ225:$BL225<>\"U\")*($AQ225:$BL225>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ225:$BL225<>\"U\")*($AQ225:$BL225>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ225:$BL225<>\"U\")*($AQ225:$BL225>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K225:$R225<>\"Z\")*($K225:$R225>\"\")*NOT(ISERROR($K225:$R225)))+SUM(($K$4:$R$4=\"A\")*($K225:$R225<>\"A\")*($K225:$R225>\"\")*NOT(ISERROR($K225:$R225)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K225:$R225=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ225:$BL225=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B225)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B225)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD225,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F225&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A225)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E225)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K225&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E225=\"Small Patch\",E225=\"Matrix\")),'Calculator Table'!$L225,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E225=\"Small Patch\",'Calculator Table'!$L225,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E225=\"Matrix\",'Calculator Table'!$L225,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M225&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N225&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O225&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P225&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q225&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R225&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S225&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T225&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U225&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V225&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W225&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X225&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y225)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z225)&\", version_author=\"&AddQuotes('Calculator Table'!$AA225)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB225,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC225)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE225)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF225)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG225)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH225)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI225)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ225)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK225)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL225)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM225)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN225)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO225)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP225)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F225&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B225)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B225)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD225,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F225&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A225)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E225)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K225&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H225=\"Small Patch\",H225=\"Matrix\")),'Calculator Table'!$L225,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H225=\"Small Patch\",'Calculator Table'!$L225,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H225=\"Matrix\",'Calculator Table'!$L225,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M225&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N225&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O225&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P225&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q225&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R225&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S225&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T225&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U225&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V225&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W225&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X225&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y225)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z225)&\", version_author=\"&AddQuotes('Calculator Table'!$AA225)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB225,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC225)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE225)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF225)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG225)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH225)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI225)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ225)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK225)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL225)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM225)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN225)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO225)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP225)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F225&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B225)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B225)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD225,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F225&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A225)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E225)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K225&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K225=\"Small Patch\",K225=\"Matrix\")),'Calculator Table'!$L225,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K225=\"Small Patch\",'Calculator Table'!$L225,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K225=\"Matrix\",'Calculator Table'!$L225,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M225&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N225&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O225&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P225&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q225&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R225&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S225&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T225&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U225&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V225&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W225&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X225&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y225)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z225)&\", version_author=\"&AddQuotes('Calculator Table'!$AA225)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB225,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC225)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE225)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF225)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG225)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH225)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI225)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ225)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK225)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL225)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM225)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN225)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO225)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP225)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F225&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS226>0,'Rk Assign'!D226,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS226>0,Calculate!$AV226,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ226:$BL226<>\"U\")*($AQ226:$BL226>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ226:$BL226<>\"U\")*($AQ226:$BL226>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ226:$BL226<>\"U\")*($AQ226:$BL226>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K226:$R226<>\"Z\")*($K226:$R226>\"\")*NOT(ISERROR($K226:$R226)))+SUM(($K$4:$R$4=\"A\")*($K226:$R226<>\"A\")*($K226:$R226>\"\")*NOT(ISERROR($K226:$R226)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K226:$R226=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ226:$BL226=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B226)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B226)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD226,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F226&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A226)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E226)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K226&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E226=\"Small Patch\",E226=\"Matrix\")),'Calculator Table'!$L226,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E226=\"Small Patch\",'Calculator Table'!$L226,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E226=\"Matrix\",'Calculator Table'!$L226,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M226&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N226&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O226&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P226&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q226&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R226&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S226&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T226&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U226&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V226&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W226&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X226&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y226)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z226)&\", version_author=\"&AddQuotes('Calculator Table'!$AA226)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB226,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC226)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE226)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF226)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG226)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH226)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI226)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ226)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK226)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL226)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM226)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN226)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO226)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP226)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F226&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B226)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B226)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD226,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F226&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A226)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E226)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K226&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H226=\"Small Patch\",H226=\"Matrix\")),'Calculator Table'!$L226,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H226=\"Small Patch\",'Calculator Table'!$L226,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H226=\"Matrix\",'Calculator Table'!$L226,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M226&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N226&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O226&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P226&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q226&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R226&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S226&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T226&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U226&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V226&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W226&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X226&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y226)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z226)&\", version_author=\"&AddQuotes('Calculator Table'!$AA226)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB226,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC226)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE226)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF226)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG226)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH226)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI226)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ226)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK226)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL226)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM226)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN226)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO226)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP226)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F226&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B226)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B226)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD226,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F226&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A226)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E226)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K226&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K226=\"Small Patch\",K226=\"Matrix\")),'Calculator Table'!$L226,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K226=\"Small Patch\",'Calculator Table'!$L226,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K226=\"Matrix\",'Calculator Table'!$L226,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M226&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N226&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O226&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P226&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q226&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R226&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S226&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T226&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U226&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V226&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W226&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X226&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y226)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z226)&\", version_author=\"&AddQuotes('Calculator Table'!$AA226)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB226,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC226)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE226)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF226)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG226)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH226)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI226)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ226)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK226)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL226)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM226)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN226)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO226)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP226)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F226&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS227>0,'Rk Assign'!D227,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS227>0,Calculate!$AV227,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ227:$BL227<>\"U\")*($AQ227:$BL227>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ227:$BL227<>\"U\")*($AQ227:$BL227>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ227:$BL227<>\"U\")*($AQ227:$BL227>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K227:$R227<>\"Z\")*($K227:$R227>\"\")*NOT(ISERROR($K227:$R227)))+SUM(($K$4:$R$4=\"A\")*($K227:$R227<>\"A\")*($K227:$R227>\"\")*NOT(ISERROR($K227:$R227)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K227:$R227=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ227:$BL227=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B227)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B227)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD227,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F227&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A227)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E227)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K227&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E227=\"Small Patch\",E227=\"Matrix\")),'Calculator Table'!$L227,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E227=\"Small Patch\",'Calculator Table'!$L227,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E227=\"Matrix\",'Calculator Table'!$L227,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M227&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N227&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O227&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P227&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q227&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R227&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S227&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T227&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U227&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V227&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W227&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X227&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y227)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z227)&\", version_author=\"&AddQuotes('Calculator Table'!$AA227)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB227,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC227)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE227)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF227)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG227)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH227)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI227)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ227)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK227)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL227)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM227)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN227)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO227)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP227)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F227&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B227)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B227)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD227,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F227&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A227)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E227)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K227&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H227=\"Small Patch\",H227=\"Matrix\")),'Calculator Table'!$L227,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H227=\"Small Patch\",'Calculator Table'!$L227,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H227=\"Matrix\",'Calculator Table'!$L227,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M227&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N227&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O227&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P227&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q227&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R227&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S227&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T227&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U227&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V227&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W227&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X227&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y227)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z227)&\", version_author=\"&AddQuotes('Calculator Table'!$AA227)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB227,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC227)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE227)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF227)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG227)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH227)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI227)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ227)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK227)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL227)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM227)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN227)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO227)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP227)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F227&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B227)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B227)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD227,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F227&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A227)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E227)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K227&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K227=\"Small Patch\",K227=\"Matrix\")),'Calculator Table'!$L227,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K227=\"Small Patch\",'Calculator Table'!$L227,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K227=\"Matrix\",'Calculator Table'!$L227,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M227&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N227&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O227&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P227&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q227&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R227&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S227&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T227&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U227&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V227&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W227&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X227&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y227)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z227)&\", version_author=\"&AddQuotes('Calculator Table'!$AA227)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB227,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC227)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE227)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF227)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG227)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH227)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI227)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ227)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK227)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL227)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM227)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN227)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO227)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP227)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F227&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS228>0,'Rk Assign'!D228,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS228>0,Calculate!$AV228,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ228:$BL228<>\"U\")*($AQ228:$BL228>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ228:$BL228<>\"U\")*($AQ228:$BL228>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ228:$BL228<>\"U\")*($AQ228:$BL228>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K228:$R228<>\"Z\")*($K228:$R228>\"\")*NOT(ISERROR($K228:$R228)))+SUM(($K$4:$R$4=\"A\")*($K228:$R228<>\"A\")*($K228:$R228>\"\")*NOT(ISERROR($K228:$R228)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K228:$R228=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ228:$BL228=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B228)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B228)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD228,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F228&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A228)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E228)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K228&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E228=\"Small Patch\",E228=\"Matrix\")),'Calculator Table'!$L228,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E228=\"Small Patch\",'Calculator Table'!$L228,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E228=\"Matrix\",'Calculator Table'!$L228,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M228&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N228&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O228&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P228&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q228&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R228&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S228&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T228&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U228&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V228&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W228&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X228&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y228)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z228)&\", version_author=\"&AddQuotes('Calculator Table'!$AA228)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB228,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC228)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE228)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF228)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG228)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH228)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI228)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ228)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK228)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL228)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM228)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN228)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO228)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP228)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F228&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B228)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B228)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD228,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F228&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A228)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E228)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K228&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H228=\"Small Patch\",H228=\"Matrix\")),'Calculator Table'!$L228,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H228=\"Small Patch\",'Calculator Table'!$L228,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H228=\"Matrix\",'Calculator Table'!$L228,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M228&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N228&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O228&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P228&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q228&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R228&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S228&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T228&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U228&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V228&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W228&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X228&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y228)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z228)&\", version_author=\"&AddQuotes('Calculator Table'!$AA228)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB228,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC228)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE228)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF228)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG228)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH228)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI228)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ228)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK228)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL228)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM228)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN228)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO228)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP228)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F228&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B228)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B228)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD228,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F228&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A228)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E228)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K228&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K228=\"Small Patch\",K228=\"Matrix\")),'Calculator Table'!$L228,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K228=\"Small Patch\",'Calculator Table'!$L228,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K228=\"Matrix\",'Calculator Table'!$L228,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M228&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N228&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O228&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P228&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q228&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R228&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S228&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T228&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U228&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V228&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W228&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X228&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y228)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z228)&\", version_author=\"&AddQuotes('Calculator Table'!$AA228)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB228,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC228)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE228)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF228)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG228)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH228)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI228)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ228)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK228)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL228)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM228)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN228)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO228)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP228)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F228&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS229>0,'Rk Assign'!D229,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS229>0,Calculate!$AV229,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ229:$BL229<>\"U\")*($AQ229:$BL229>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ229:$BL229<>\"U\")*($AQ229:$BL229>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ229:$BL229<>\"U\")*($AQ229:$BL229>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K229:$R229<>\"Z\")*($K229:$R229>\"\")*NOT(ISERROR($K229:$R229)))+SUM(($K$4:$R$4=\"A\")*($K229:$R229<>\"A\")*($K229:$R229>\"\")*NOT(ISERROR($K229:$R229)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K229:$R229=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ229:$BL229=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B229)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B229)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD229,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F229&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A229)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E229)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K229&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E229=\"Small Patch\",E229=\"Matrix\")),'Calculator Table'!$L229,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E229=\"Small Patch\",'Calculator Table'!$L229,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E229=\"Matrix\",'Calculator Table'!$L229,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M229&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N229&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O229&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P229&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q229&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R229&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S229&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T229&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U229&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V229&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W229&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X229&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y229)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z229)&\", version_author=\"&AddQuotes('Calculator Table'!$AA229)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB229,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC229)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE229)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF229)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG229)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH229)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI229)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ229)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK229)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL229)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM229)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN229)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO229)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP229)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F229&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B229)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B229)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD229,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F229&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A229)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E229)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K229&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H229=\"Small Patch\",H229=\"Matrix\")),'Calculator Table'!$L229,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H229=\"Small Patch\",'Calculator Table'!$L229,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H229=\"Matrix\",'Calculator Table'!$L229,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M229&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N229&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O229&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P229&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q229&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R229&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S229&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T229&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U229&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V229&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W229&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X229&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y229)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z229)&\", version_author=\"&AddQuotes('Calculator Table'!$AA229)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB229,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC229)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE229)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF229)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG229)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH229)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI229)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ229)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK229)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL229)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM229)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN229)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO229)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP229)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F229&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B229)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B229)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD229,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F229&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A229)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E229)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K229&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K229=\"Small Patch\",K229=\"Matrix\")),'Calculator Table'!$L229,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K229=\"Small Patch\",'Calculator Table'!$L229,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K229=\"Matrix\",'Calculator Table'!$L229,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M229&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N229&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O229&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P229&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q229&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R229&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S229&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T229&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U229&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V229&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W229&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X229&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y229)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z229)&\", version_author=\"&AddQuotes('Calculator Table'!$AA229)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB229,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC229)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE229)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF229)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG229)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH229)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI229)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ229)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK229)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL229)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM229)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN229)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO229)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP229)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F229&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS230>0,'Rk Assign'!D230,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS230>0,Calculate!$AV230,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ230:$BL230<>\"U\")*($AQ230:$BL230>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ230:$BL230<>\"U\")*($AQ230:$BL230>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ230:$BL230<>\"U\")*($AQ230:$BL230>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K230:$R230<>\"Z\")*($K230:$R230>\"\")*NOT(ISERROR($K230:$R230)))+SUM(($K$4:$R$4=\"A\")*($K230:$R230<>\"A\")*($K230:$R230>\"\")*NOT(ISERROR($K230:$R230)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K230:$R230=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ230:$BL230=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B230)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B230)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD230,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F230&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A230)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E230)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K230&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E230=\"Small Patch\",E230=\"Matrix\")),'Calculator Table'!$L230,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E230=\"Small Patch\",'Calculator Table'!$L230,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E230=\"Matrix\",'Calculator Table'!$L230,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M230&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N230&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O230&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P230&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q230&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R230&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S230&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T230&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U230&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V230&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W230&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X230&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y230)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z230)&\", version_author=\"&AddQuotes('Calculator Table'!$AA230)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB230,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC230)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE230)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF230)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG230)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH230)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI230)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ230)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK230)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL230)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM230)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN230)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO230)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP230)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F230&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B230)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B230)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD230,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F230&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A230)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E230)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K230&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H230=\"Small Patch\",H230=\"Matrix\")),'Calculator Table'!$L230,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H230=\"Small Patch\",'Calculator Table'!$L230,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H230=\"Matrix\",'Calculator Table'!$L230,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M230&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N230&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O230&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P230&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q230&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R230&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S230&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T230&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U230&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V230&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W230&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X230&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y230)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z230)&\", version_author=\"&AddQuotes('Calculator Table'!$AA230)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB230,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC230)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE230)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF230)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG230)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH230)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI230)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ230)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK230)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL230)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM230)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN230)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO230)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP230)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F230&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B230)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B230)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD230,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F230&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A230)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E230)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K230&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K230=\"Small Patch\",K230=\"Matrix\")),'Calculator Table'!$L230,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K230=\"Small Patch\",'Calculator Table'!$L230,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K230=\"Matrix\",'Calculator Table'!$L230,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M230&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N230&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O230&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P230&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q230&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R230&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S230&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T230&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U230&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V230&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W230&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X230&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y230)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z230)&\", version_author=\"&AddQuotes('Calculator Table'!$AA230)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB230,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC230)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE230)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF230)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG230)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH230)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI230)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ230)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK230)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL230)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM230)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN230)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO230)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP230)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F230&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS231>0,'Rk Assign'!D231,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS231>0,Calculate!$AV231,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ231:$BL231<>\"U\")*($AQ231:$BL231>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ231:$BL231<>\"U\")*($AQ231:$BL231>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ231:$BL231<>\"U\")*($AQ231:$BL231>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K231:$R231<>\"Z\")*($K231:$R231>\"\")*NOT(ISERROR($K231:$R231)))+SUM(($K$4:$R$4=\"A\")*($K231:$R231<>\"A\")*($K231:$R231>\"\")*NOT(ISERROR($K231:$R231)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K231:$R231=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ231:$BL231=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B231)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B231)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD231,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F231&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A231)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E231)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K231&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E231=\"Small Patch\",E231=\"Matrix\")),'Calculator Table'!$L231,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E231=\"Small Patch\",'Calculator Table'!$L231,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E231=\"Matrix\",'Calculator Table'!$L231,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M231&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N231&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O231&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P231&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q231&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R231&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S231&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T231&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U231&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V231&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W231&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X231&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y231)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z231)&\", version_author=\"&AddQuotes('Calculator Table'!$AA231)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB231,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC231)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE231)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF231)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG231)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH231)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI231)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ231)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK231)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL231)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM231)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN231)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO231)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP231)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F231&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B231)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B231)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD231,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F231&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A231)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E231)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K231&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H231=\"Small Patch\",H231=\"Matrix\")),'Calculator Table'!$L231,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H231=\"Small Patch\",'Calculator Table'!$L231,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H231=\"Matrix\",'Calculator Table'!$L231,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M231&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N231&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O231&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P231&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q231&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R231&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S231&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T231&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U231&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V231&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W231&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X231&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y231)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z231)&\", version_author=\"&AddQuotes('Calculator Table'!$AA231)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB231,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC231)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE231)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF231)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG231)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH231)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI231)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ231)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK231)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL231)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM231)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN231)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO231)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP231)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F231&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B231)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B231)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD231,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F231&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A231)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E231)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K231&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K231=\"Small Patch\",K231=\"Matrix\")),'Calculator Table'!$L231,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K231=\"Small Patch\",'Calculator Table'!$L231,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K231=\"Matrix\",'Calculator Table'!$L231,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M231&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N231&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O231&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P231&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q231&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R231&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S231&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T231&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U231&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V231&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W231&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X231&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y231)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z231)&\", version_author=\"&AddQuotes('Calculator Table'!$AA231)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB231,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC231)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE231)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF231)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG231)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH231)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI231)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ231)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK231)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL231)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM231)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN231)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO231)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP231)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F231&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS232>0,'Rk Assign'!D232,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS232>0,Calculate!$AV232,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ232:$BL232<>\"U\")*($AQ232:$BL232>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ232:$BL232<>\"U\")*($AQ232:$BL232>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ232:$BL232<>\"U\")*($AQ232:$BL232>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K232:$R232<>\"Z\")*($K232:$R232>\"\")*NOT(ISERROR($K232:$R232)))+SUM(($K$4:$R$4=\"A\")*($K232:$R232<>\"A\")*($K232:$R232>\"\")*NOT(ISERROR($K232:$R232)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K232:$R232=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ232:$BL232=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B232)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B232)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD232,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F232&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A232)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E232)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K232&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E232=\"Small Patch\",E232=\"Matrix\")),'Calculator Table'!$L232,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E232=\"Small Patch\",'Calculator Table'!$L232,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E232=\"Matrix\",'Calculator Table'!$L232,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M232&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N232&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O232&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P232&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q232&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R232&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S232&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T232&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U232&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V232&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W232&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X232&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y232)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z232)&\", version_author=\"&AddQuotes('Calculator Table'!$AA232)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB232,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC232)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE232)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF232)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG232)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH232)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI232)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ232)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK232)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL232)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM232)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN232)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO232)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP232)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F232&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B232)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B232)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD232,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F232&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A232)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E232)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K232&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H232=\"Small Patch\",H232=\"Matrix\")),'Calculator Table'!$L232,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H232=\"Small Patch\",'Calculator Table'!$L232,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H232=\"Matrix\",'Calculator Table'!$L232,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M232&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N232&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O232&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P232&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q232&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R232&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S232&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T232&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U232&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V232&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W232&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X232&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y232)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z232)&\", version_author=\"&AddQuotes('Calculator Table'!$AA232)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB232,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC232)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE232)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF232)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG232)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH232)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI232)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ232)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK232)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL232)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM232)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN232)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO232)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP232)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F232&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B232)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B232)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD232,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F232&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A232)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E232)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K232&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K232=\"Small Patch\",K232=\"Matrix\")),'Calculator Table'!$L232,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K232=\"Small Patch\",'Calculator Table'!$L232,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K232=\"Matrix\",'Calculator Table'!$L232,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M232&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N232&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O232&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P232&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q232&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R232&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S232&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T232&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U232&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V232&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W232&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X232&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y232)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z232)&\", version_author=\"&AddQuotes('Calculator Table'!$AA232)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB232,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC232)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE232)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF232)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG232)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH232)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI232)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ232)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK232)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL232)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM232)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN232)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO232)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP232)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F232&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS233>0,'Rk Assign'!D233,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS233>0,Calculate!$AV233,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ233:$BL233<>\"U\")*($AQ233:$BL233>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ233:$BL233<>\"U\")*($AQ233:$BL233>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ233:$BL233<>\"U\")*($AQ233:$BL233>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K233:$R233<>\"Z\")*($K233:$R233>\"\")*NOT(ISERROR($K233:$R233)))+SUM(($K$4:$R$4=\"A\")*($K233:$R233<>\"A\")*($K233:$R233>\"\")*NOT(ISERROR($K233:$R233)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K233:$R233=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ233:$BL233=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B233)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B233)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD233,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F233&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A233)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E233)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K233&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E233=\"Small Patch\",E233=\"Matrix\")),'Calculator Table'!$L233,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E233=\"Small Patch\",'Calculator Table'!$L233,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E233=\"Matrix\",'Calculator Table'!$L233,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M233&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N233&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O233&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P233&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q233&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R233&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S233&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T233&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U233&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V233&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W233&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X233&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y233)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z233)&\", version_author=\"&AddQuotes('Calculator Table'!$AA233)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB233,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC233)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE233)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF233)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG233)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH233)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI233)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ233)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK233)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL233)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM233)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN233)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO233)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP233)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F233&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B233)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B233)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD233,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F233&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A233)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E233)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K233&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H233=\"Small Patch\",H233=\"Matrix\")),'Calculator Table'!$L233,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H233=\"Small Patch\",'Calculator Table'!$L233,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H233=\"Matrix\",'Calculator Table'!$L233,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M233&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N233&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O233&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P233&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q233&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R233&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S233&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T233&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U233&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V233&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W233&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X233&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y233)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z233)&\", version_author=\"&AddQuotes('Calculator Table'!$AA233)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB233,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC233)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE233)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF233)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG233)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH233)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI233)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ233)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK233)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL233)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM233)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN233)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO233)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP233)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F233&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B233)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B233)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD233,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F233&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A233)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E233)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K233&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K233=\"Small Patch\",K233=\"Matrix\")),'Calculator Table'!$L233,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K233=\"Small Patch\",'Calculator Table'!$L233,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K233=\"Matrix\",'Calculator Table'!$L233,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M233&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N233&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O233&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P233&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q233&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R233&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S233&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T233&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U233&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V233&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W233&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X233&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y233)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z233)&\", version_author=\"&AddQuotes('Calculator Table'!$AA233)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB233,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC233)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE233)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF233)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG233)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH233)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI233)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ233)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK233)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL233)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM233)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN233)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO233)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP233)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F233&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS234>0,'Rk Assign'!D234,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS234>0,Calculate!$AV234,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ234:$BL234<>\"U\")*($AQ234:$BL234>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ234:$BL234<>\"U\")*($AQ234:$BL234>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ234:$BL234<>\"U\")*($AQ234:$BL234>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K234:$R234<>\"Z\")*($K234:$R234>\"\")*NOT(ISERROR($K234:$R234)))+SUM(($K$4:$R$4=\"A\")*($K234:$R234<>\"A\")*($K234:$R234>\"\")*NOT(ISERROR($K234:$R234)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K234:$R234=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ234:$BL234=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B234)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B234)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD234,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F234&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A234)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E234)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K234&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E234=\"Small Patch\",E234=\"Matrix\")),'Calculator Table'!$L234,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E234=\"Small Patch\",'Calculator Table'!$L234,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E234=\"Matrix\",'Calculator Table'!$L234,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M234&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N234&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O234&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P234&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q234&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R234&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S234&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T234&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U234&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V234&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W234&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X234&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y234)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z234)&\", version_author=\"&AddQuotes('Calculator Table'!$AA234)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB234,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC234)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE234)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF234)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG234)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH234)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI234)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ234)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK234)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL234)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM234)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN234)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO234)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP234)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F234&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B234)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B234)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD234,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F234&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A234)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E234)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K234&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H234=\"Small Patch\",H234=\"Matrix\")),'Calculator Table'!$L234,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H234=\"Small Patch\",'Calculator Table'!$L234,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H234=\"Matrix\",'Calculator Table'!$L234,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M234&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N234&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O234&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P234&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q234&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R234&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S234&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T234&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U234&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V234&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W234&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X234&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y234)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z234)&\", version_author=\"&AddQuotes('Calculator Table'!$AA234)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB234,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC234)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE234)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF234)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG234)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH234)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI234)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ234)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK234)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL234)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM234)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN234)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO234)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP234)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F234&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B234)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B234)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD234,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F234&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A234)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E234)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K234&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K234=\"Small Patch\",K234=\"Matrix\")),'Calculator Table'!$L234,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K234=\"Small Patch\",'Calculator Table'!$L234,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K234=\"Matrix\",'Calculator Table'!$L234,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M234&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N234&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O234&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P234&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q234&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R234&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S234&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T234&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U234&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V234&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W234&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X234&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y234)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z234)&\", version_author=\"&AddQuotes('Calculator Table'!$AA234)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB234,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC234)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE234)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF234)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG234)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH234)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI234)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ234)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK234)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL234)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM234)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN234)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO234)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP234)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F234&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS235>0,'Rk Assign'!D235,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS235>0,Calculate!$AV235,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ235:$BL235<>\"U\")*($AQ235:$BL235>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ235:$BL235<>\"U\")*($AQ235:$BL235>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ235:$BL235<>\"U\")*($AQ235:$BL235>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K235:$R235<>\"Z\")*($K235:$R235>\"\")*NOT(ISERROR($K235:$R235)))+SUM(($K$4:$R$4=\"A\")*($K235:$R235<>\"A\")*($K235:$R235>\"\")*NOT(ISERROR($K235:$R235)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K235:$R235=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ235:$BL235=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B235)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B235)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD235,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F235&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A235)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E235)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K235&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E235=\"Small Patch\",E235=\"Matrix\")),'Calculator Table'!$L235,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E235=\"Small Patch\",'Calculator Table'!$L235,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E235=\"Matrix\",'Calculator Table'!$L235,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M235&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N235&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O235&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P235&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q235&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R235&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S235&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T235&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U235&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V235&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W235&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X235&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y235)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z235)&\", version_author=\"&AddQuotes('Calculator Table'!$AA235)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB235,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC235)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE235)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF235)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG235)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH235)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI235)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ235)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK235)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL235)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM235)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN235)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO235)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP235)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F235&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B235)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B235)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD235,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F235&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A235)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E235)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K235&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H235=\"Small Patch\",H235=\"Matrix\")),'Calculator Table'!$L235,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H235=\"Small Patch\",'Calculator Table'!$L235,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H235=\"Matrix\",'Calculator Table'!$L235,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M235&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N235&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O235&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P235&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q235&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R235&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S235&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T235&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U235&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V235&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W235&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X235&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y235)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z235)&\", version_author=\"&AddQuotes('Calculator Table'!$AA235)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB235,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC235)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE235)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF235)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG235)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH235)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI235)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ235)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK235)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL235)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM235)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN235)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO235)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP235)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F235&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B235)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B235)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD235,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F235&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A235)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E235)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K235&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K235=\"Small Patch\",K235=\"Matrix\")),'Calculator Table'!$L235,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K235=\"Small Patch\",'Calculator Table'!$L235,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K235=\"Matrix\",'Calculator Table'!$L235,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M235&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N235&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O235&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P235&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q235&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R235&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S235&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T235&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U235&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V235&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W235&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X235&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y235)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z235)&\", version_author=\"&AddQuotes('Calculator Table'!$AA235)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB235,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC235)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE235)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF235)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG235)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH235)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI235)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ235)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK235)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL235)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM235)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN235)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO235)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP235)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F235&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS236>0,'Rk Assign'!D236,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS236>0,Calculate!$AV236,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ236:$BL236<>\"U\")*($AQ236:$BL236>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ236:$BL236<>\"U\")*($AQ236:$BL236>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ236:$BL236<>\"U\")*($AQ236:$BL236>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K236:$R236<>\"Z\")*($K236:$R236>\"\")*NOT(ISERROR($K236:$R236)))+SUM(($K$4:$R$4=\"A\")*($K236:$R236<>\"A\")*($K236:$R236>\"\")*NOT(ISERROR($K236:$R236)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K236:$R236=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ236:$BL236=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B236)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B236)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD236,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F236&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A236)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E236)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K236&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E236=\"Small Patch\",E236=\"Matrix\")),'Calculator Table'!$L236,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E236=\"Small Patch\",'Calculator Table'!$L236,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E236=\"Matrix\",'Calculator Table'!$L236,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M236&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N236&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O236&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P236&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q236&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R236&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S236&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T236&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U236&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V236&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W236&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X236&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y236)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z236)&\", version_author=\"&AddQuotes('Calculator Table'!$AA236)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB236,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC236)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE236)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF236)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG236)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH236)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI236)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ236)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK236)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL236)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM236)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN236)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO236)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP236)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F236&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B236)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B236)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD236,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F236&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A236)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E236)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K236&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H236=\"Small Patch\",H236=\"Matrix\")),'Calculator Table'!$L236,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H236=\"Small Patch\",'Calculator Table'!$L236,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H236=\"Matrix\",'Calculator Table'!$L236,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M236&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N236&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O236&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P236&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q236&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R236&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S236&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T236&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U236&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V236&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W236&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X236&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y236)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z236)&\", version_author=\"&AddQuotes('Calculator Table'!$AA236)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB236,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC236)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE236)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF236)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG236)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH236)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI236)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ236)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK236)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL236)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM236)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN236)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO236)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP236)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F236&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B236)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B236)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD236,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F236&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A236)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E236)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K236&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K236=\"Small Patch\",K236=\"Matrix\")),'Calculator Table'!$L236,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K236=\"Small Patch\",'Calculator Table'!$L236,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K236=\"Matrix\",'Calculator Table'!$L236,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M236&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N236&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O236&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P236&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q236&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R236&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S236&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T236&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U236&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V236&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W236&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X236&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y236)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z236)&\", version_author=\"&AddQuotes('Calculator Table'!$AA236)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB236,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC236)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE236)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF236)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG236)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH236)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI236)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ236)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK236)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL236)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM236)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN236)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO236)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP236)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F236&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS237>0,'Rk Assign'!D237,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS237>0,Calculate!$AV237,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ237:$BL237<>\"U\")*($AQ237:$BL237>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ237:$BL237<>\"U\")*($AQ237:$BL237>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ237:$BL237<>\"U\")*($AQ237:$BL237>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K237:$R237<>\"Z\")*($K237:$R237>\"\")*NOT(ISERROR($K237:$R237)))+SUM(($K$4:$R$4=\"A\")*($K237:$R237<>\"A\")*($K237:$R237>\"\")*NOT(ISERROR($K237:$R237)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K237:$R237=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ237:$BL237=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B237)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B237)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD237,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F237&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A237)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E237)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K237&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E237=\"Small Patch\",E237=\"Matrix\")),'Calculator Table'!$L237,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E237=\"Small Patch\",'Calculator Table'!$L237,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E237=\"Matrix\",'Calculator Table'!$L237,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M237&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N237&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O237&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P237&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q237&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R237&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S237&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T237&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U237&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V237&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W237&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X237&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y237)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z237)&\", version_author=\"&AddQuotes('Calculator Table'!$AA237)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB237,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC237)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE237)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF237)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG237)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH237)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI237)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ237)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK237)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL237)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM237)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN237)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO237)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP237)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F237&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B237)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B237)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD237,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F237&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A237)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E237)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K237&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H237=\"Small Patch\",H237=\"Matrix\")),'Calculator Table'!$L237,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H237=\"Small Patch\",'Calculator Table'!$L237,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H237=\"Matrix\",'Calculator Table'!$L237,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M237&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N237&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O237&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P237&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q237&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R237&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S237&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T237&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U237&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V237&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W237&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X237&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y237)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z237)&\", version_author=\"&AddQuotes('Calculator Table'!$AA237)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB237,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC237)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE237)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF237)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG237)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH237)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI237)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ237)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK237)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL237)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM237)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN237)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO237)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP237)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F237&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B237)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B237)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD237,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F237&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A237)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E237)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K237&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K237=\"Small Patch\",K237=\"Matrix\")),'Calculator Table'!$L237,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K237=\"Small Patch\",'Calculator Table'!$L237,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K237=\"Matrix\",'Calculator Table'!$L237,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M237&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N237&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O237&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P237&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q237&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R237&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S237&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T237&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U237&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V237&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W237&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X237&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y237)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z237)&\", version_author=\"&AddQuotes('Calculator Table'!$AA237)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB237,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC237)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE237)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF237)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG237)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH237)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI237)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ237)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK237)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL237)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM237)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN237)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO237)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP237)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F237&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS238>0,'Rk Assign'!D238,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS238>0,Calculate!$AV238,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ238:$BL238<>\"U\")*($AQ238:$BL238>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ238:$BL238<>\"U\")*($AQ238:$BL238>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ238:$BL238<>\"U\")*($AQ238:$BL238>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K238:$R238<>\"Z\")*($K238:$R238>\"\")*NOT(ISERROR($K238:$R238)))+SUM(($K$4:$R$4=\"A\")*($K238:$R238<>\"A\")*($K238:$R238>\"\")*NOT(ISERROR($K238:$R238)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K238:$R238=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ238:$BL238=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B238)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B238)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD238,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F238&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A238)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E238)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K238&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E238=\"Small Patch\",E238=\"Matrix\")),'Calculator Table'!$L238,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E238=\"Small Patch\",'Calculator Table'!$L238,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E238=\"Matrix\",'Calculator Table'!$L238,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M238&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N238&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O238&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P238&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q238&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R238&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S238&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T238&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U238&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V238&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W238&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X238&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y238)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z238)&\", version_author=\"&AddQuotes('Calculator Table'!$AA238)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB238,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC238)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE238)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF238)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG238)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH238)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI238)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ238)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK238)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL238)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM238)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN238)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO238)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP238)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F238&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B238)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B238)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD238,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F238&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A238)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E238)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K238&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H238=\"Small Patch\",H238=\"Matrix\")),'Calculator Table'!$L238,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H238=\"Small Patch\",'Calculator Table'!$L238,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H238=\"Matrix\",'Calculator Table'!$L238,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M238&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N238&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O238&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P238&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q238&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R238&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S238&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T238&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U238&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V238&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W238&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X238&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y238)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z238)&\", version_author=\"&AddQuotes('Calculator Table'!$AA238)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB238,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC238)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE238)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF238)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG238)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH238)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI238)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ238)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK238)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL238)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM238)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN238)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO238)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP238)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F238&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B238)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B238)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD238,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F238&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A238)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E238)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K238&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K238=\"Small Patch\",K238=\"Matrix\")),'Calculator Table'!$L238,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K238=\"Small Patch\",'Calculator Table'!$L238,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K238=\"Matrix\",'Calculator Table'!$L238,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M238&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N238&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O238&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P238&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q238&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R238&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S238&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T238&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U238&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V238&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W238&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X238&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y238)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z238)&\", version_author=\"&AddQuotes('Calculator Table'!$AA238)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB238,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC238)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE238)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF238)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG238)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH238)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI238)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ238)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK238)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL238)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM238)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN238)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO238)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP238)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F238&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS239>0,'Rk Assign'!D239,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS239>0,Calculate!$AV239,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ239:$BL239<>\"U\")*($AQ239:$BL239>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ239:$BL239<>\"U\")*($AQ239:$BL239>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ239:$BL239<>\"U\")*($AQ239:$BL239>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K239:$R239<>\"Z\")*($K239:$R239>\"\")*NOT(ISERROR($K239:$R239)))+SUM(($K$4:$R$4=\"A\")*($K239:$R239<>\"A\")*($K239:$R239>\"\")*NOT(ISERROR($K239:$R239)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K239:$R239=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ239:$BL239=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B239)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B239)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD239,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F239&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A239)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E239)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K239&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E239=\"Small Patch\",E239=\"Matrix\")),'Calculator Table'!$L239,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E239=\"Small Patch\",'Calculator Table'!$L239,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E239=\"Matrix\",'Calculator Table'!$L239,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M239&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N239&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O239&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P239&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q239&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R239&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S239&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T239&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U239&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V239&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W239&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X239&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y239)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z239)&\", version_author=\"&AddQuotes('Calculator Table'!$AA239)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB239,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC239)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE239)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF239)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG239)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH239)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI239)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ239)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK239)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL239)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM239)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN239)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO239)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP239)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F239&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B239)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B239)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD239,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F239&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A239)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E239)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K239&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H239=\"Small Patch\",H239=\"Matrix\")),'Calculator Table'!$L239,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H239=\"Small Patch\",'Calculator Table'!$L239,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H239=\"Matrix\",'Calculator Table'!$L239,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M239&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N239&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O239&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P239&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q239&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R239&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S239&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T239&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U239&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V239&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W239&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X239&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y239)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z239)&\", version_author=\"&AddQuotes('Calculator Table'!$AA239)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB239,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC239)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE239)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF239)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG239)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH239)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI239)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ239)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK239)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL239)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM239)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN239)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO239)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP239)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F239&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B239)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B239)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD239,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F239&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A239)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E239)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K239&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K239=\"Small Patch\",K239=\"Matrix\")),'Calculator Table'!$L239,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K239=\"Small Patch\",'Calculator Table'!$L239,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K239=\"Matrix\",'Calculator Table'!$L239,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M239&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N239&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O239&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P239&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q239&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R239&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S239&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T239&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U239&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V239&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W239&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X239&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y239)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z239)&\", version_author=\"&AddQuotes('Calculator Table'!$AA239)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB239,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC239)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE239)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF239)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG239)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH239)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI239)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ239)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK239)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL239)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM239)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN239)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO239)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP239)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F239&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS240>0,'Rk Assign'!D240,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS240>0,Calculate!$AV240,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ240:$BL240<>\"U\")*($AQ240:$BL240>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ240:$BL240<>\"U\")*($AQ240:$BL240>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ240:$BL240<>\"U\")*($AQ240:$BL240>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K240:$R240<>\"Z\")*($K240:$R240>\"\")*NOT(ISERROR($K240:$R240)))+SUM(($K$4:$R$4=\"A\")*($K240:$R240<>\"A\")*($K240:$R240>\"\")*NOT(ISERROR($K240:$R240)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K240:$R240=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ240:$BL240=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B240)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B240)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD240,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F240&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A240)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E240)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K240&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E240=\"Small Patch\",E240=\"Matrix\")),'Calculator Table'!$L240,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E240=\"Small Patch\",'Calculator Table'!$L240,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E240=\"Matrix\",'Calculator Table'!$L240,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M240&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N240&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O240&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P240&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q240&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R240&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S240&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T240&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U240&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V240&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W240&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X240&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y240)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z240)&\", version_author=\"&AddQuotes('Calculator Table'!$AA240)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB240,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC240)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE240)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF240)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG240)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH240)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI240)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ240)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK240)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL240)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM240)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN240)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO240)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP240)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F240&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B240)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B240)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD240,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F240&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A240)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E240)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K240&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H240=\"Small Patch\",H240=\"Matrix\")),'Calculator Table'!$L240,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H240=\"Small Patch\",'Calculator Table'!$L240,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H240=\"Matrix\",'Calculator Table'!$L240,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M240&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N240&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O240&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P240&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q240&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R240&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S240&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T240&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U240&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V240&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W240&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X240&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y240)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z240)&\", version_author=\"&AddQuotes('Calculator Table'!$AA240)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB240,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC240)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE240)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF240)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG240)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH240)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI240)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ240)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK240)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL240)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM240)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN240)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO240)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP240)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F240&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B240)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B240)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD240,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F240&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A240)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E240)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K240&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K240=\"Small Patch\",K240=\"Matrix\")),'Calculator Table'!$L240,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K240=\"Small Patch\",'Calculator Table'!$L240,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K240=\"Matrix\",'Calculator Table'!$L240,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M240&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N240&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O240&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P240&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q240&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R240&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S240&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T240&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U240&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V240&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W240&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X240&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y240)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z240)&\", version_author=\"&AddQuotes('Calculator Table'!$AA240)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB240,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC240)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE240)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF240)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG240)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH240)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI240)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ240)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK240)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL240)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM240)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN240)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO240)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP240)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F240&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS241>0,'Rk Assign'!D241,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS241>0,Calculate!$AV241,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ241:$BL241<>\"U\")*($AQ241:$BL241>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ241:$BL241<>\"U\")*($AQ241:$BL241>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ241:$BL241<>\"U\")*($AQ241:$BL241>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K241:$R241<>\"Z\")*($K241:$R241>\"\")*NOT(ISERROR($K241:$R241)))+SUM(($K$4:$R$4=\"A\")*($K241:$R241<>\"A\")*($K241:$R241>\"\")*NOT(ISERROR($K241:$R241)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K241:$R241=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ241:$BL241=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B241)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B241)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD241,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F241&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A241)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E241)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K241&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E241=\"Small Patch\",E241=\"Matrix\")),'Calculator Table'!$L241,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E241=\"Small Patch\",'Calculator Table'!$L241,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E241=\"Matrix\",'Calculator Table'!$L241,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M241&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N241&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O241&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P241&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q241&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R241&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S241&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T241&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U241&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V241&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W241&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X241&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y241)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z241)&\", version_author=\"&AddQuotes('Calculator Table'!$AA241)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB241,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC241)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE241)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF241)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG241)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH241)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI241)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ241)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK241)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL241)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM241)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN241)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO241)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP241)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F241&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B241)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B241)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD241,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F241&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A241)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E241)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K241&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H241=\"Small Patch\",H241=\"Matrix\")),'Calculator Table'!$L241,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H241=\"Small Patch\",'Calculator Table'!$L241,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H241=\"Matrix\",'Calculator Table'!$L241,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M241&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N241&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O241&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P241&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q241&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R241&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S241&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T241&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U241&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V241&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W241&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X241&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y241)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z241)&\", version_author=\"&AddQuotes('Calculator Table'!$AA241)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB241,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC241)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE241)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF241)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG241)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH241)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI241)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ241)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK241)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL241)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM241)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN241)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO241)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP241)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F241&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B241)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B241)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD241,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F241&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A241)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E241)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K241&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K241=\"Small Patch\",K241=\"Matrix\")),'Calculator Table'!$L241,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K241=\"Small Patch\",'Calculator Table'!$L241,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K241=\"Matrix\",'Calculator Table'!$L241,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M241&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N241&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O241&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P241&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q241&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R241&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S241&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T241&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U241&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V241&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W241&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X241&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y241)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z241)&\", version_author=\"&AddQuotes('Calculator Table'!$AA241)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB241,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC241)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE241)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF241)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG241)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH241)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI241)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ241)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK241)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL241)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM241)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN241)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO241)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP241)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F241&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS242>0,'Rk Assign'!D242,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS242>0,Calculate!$AV242,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ242:$BL242<>\"U\")*($AQ242:$BL242>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ242:$BL242<>\"U\")*($AQ242:$BL242>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ242:$BL242<>\"U\")*($AQ242:$BL242>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K242:$R242<>\"Z\")*($K242:$R242>\"\")*NOT(ISERROR($K242:$R242)))+SUM(($K$4:$R$4=\"A\")*($K242:$R242<>\"A\")*($K242:$R242>\"\")*NOT(ISERROR($K242:$R242)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K242:$R242=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ242:$BL242=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B242)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B242)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD242,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F242&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A242)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E242)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K242&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E242=\"Small Patch\",E242=\"Matrix\")),'Calculator Table'!$L242,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E242=\"Small Patch\",'Calculator Table'!$L242,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E242=\"Matrix\",'Calculator Table'!$L242,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M242&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N242&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O242&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P242&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q242&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R242&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S242&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T242&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U242&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V242&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W242&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X242&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y242)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z242)&\", version_author=\"&AddQuotes('Calculator Table'!$AA242)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB242,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC242)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE242)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF242)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG242)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH242)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI242)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ242)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK242)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL242)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM242)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN242)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO242)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP242)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F242&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B242)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B242)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD242,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F242&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A242)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E242)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K242&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H242=\"Small Patch\",H242=\"Matrix\")),'Calculator Table'!$L242,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H242=\"Small Patch\",'Calculator Table'!$L242,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H242=\"Matrix\",'Calculator Table'!$L242,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M242&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N242&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O242&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P242&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q242&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R242&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S242&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T242&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U242&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V242&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W242&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X242&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y242)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z242)&\", version_author=\"&AddQuotes('Calculator Table'!$AA242)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB242,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC242)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE242)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF242)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG242)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH242)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI242)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ242)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK242)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL242)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM242)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN242)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO242)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP242)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F242&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B242)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B242)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD242,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F242&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A242)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E242)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K242&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K242=\"Small Patch\",K242=\"Matrix\")),'Calculator Table'!$L242,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K242=\"Small Patch\",'Calculator Table'!$L242,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K242=\"Matrix\",'Calculator Table'!$L242,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M242&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N242&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O242&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P242&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q242&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R242&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S242&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T242&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U242&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V242&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W242&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X242&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y242)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z242)&\", version_author=\"&AddQuotes('Calculator Table'!$AA242)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB242,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC242)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE242)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF242)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG242)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH242)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI242)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ242)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK242)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL242)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM242)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN242)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO242)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP242)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F242&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS243>0,'Rk Assign'!D243,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS243>0,Calculate!$AV243,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ243:$BL243<>\"U\")*($AQ243:$BL243>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ243:$BL243<>\"U\")*($AQ243:$BL243>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ243:$BL243<>\"U\")*($AQ243:$BL243>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K243:$R243<>\"Z\")*($K243:$R243>\"\")*NOT(ISERROR($K243:$R243)))+SUM(($K$4:$R$4=\"A\")*($K243:$R243<>\"A\")*($K243:$R243>\"\")*NOT(ISERROR($K243:$R243)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K243:$R243=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ243:$BL243=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B243)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B243)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD243,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F243&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A243)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E243)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K243&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E243=\"Small Patch\",E243=\"Matrix\")),'Calculator Table'!$L243,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E243=\"Small Patch\",'Calculator Table'!$L243,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E243=\"Matrix\",'Calculator Table'!$L243,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M243&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N243&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O243&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P243&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q243&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R243&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S243&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T243&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U243&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V243&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W243&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X243&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y243)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z243)&\", version_author=\"&AddQuotes('Calculator Table'!$AA243)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB243,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC243)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE243)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF243)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG243)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH243)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI243)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ243)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK243)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL243)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM243)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN243)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO243)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP243)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F243&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B243)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B243)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD243,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F243&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A243)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E243)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K243&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H243=\"Small Patch\",H243=\"Matrix\")),'Calculator Table'!$L243,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H243=\"Small Patch\",'Calculator Table'!$L243,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H243=\"Matrix\",'Calculator Table'!$L243,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M243&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N243&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O243&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P243&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q243&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R243&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S243&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T243&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U243&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V243&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W243&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X243&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y243)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z243)&\", version_author=\"&AddQuotes('Calculator Table'!$AA243)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB243,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC243)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE243)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF243)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG243)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH243)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI243)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ243)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK243)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL243)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM243)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN243)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO243)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP243)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F243&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B243)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B243)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD243,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F243&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A243)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E243)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K243&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K243=\"Small Patch\",K243=\"Matrix\")),'Calculator Table'!$L243,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K243=\"Small Patch\",'Calculator Table'!$L243,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K243=\"Matrix\",'Calculator Table'!$L243,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M243&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N243&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O243&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P243&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q243&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R243&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S243&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T243&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U243&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V243&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W243&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X243&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y243)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z243)&\", version_author=\"&AddQuotes('Calculator Table'!$AA243)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB243,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC243)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE243)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF243)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG243)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH243)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI243)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ243)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK243)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL243)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM243)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN243)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO243)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP243)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F243&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS244>0,'Rk Assign'!D244,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS244>0,Calculate!$AV244,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ244:$BL244<>\"U\")*($AQ244:$BL244>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ244:$BL244<>\"U\")*($AQ244:$BL244>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ244:$BL244<>\"U\")*($AQ244:$BL244>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K244:$R244<>\"Z\")*($K244:$R244>\"\")*NOT(ISERROR($K244:$R244)))+SUM(($K$4:$R$4=\"A\")*($K244:$R244<>\"A\")*($K244:$R244>\"\")*NOT(ISERROR($K244:$R244)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K244:$R244=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ244:$BL244=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B244)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B244)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD244,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F244&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A244)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E244)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K244&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E244=\"Small Patch\",E244=\"Matrix\")),'Calculator Table'!$L244,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E244=\"Small Patch\",'Calculator Table'!$L244,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E244=\"Matrix\",'Calculator Table'!$L244,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M244&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N244&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O244&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P244&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q244&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R244&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S244&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T244&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U244&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V244&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W244&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X244&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y244)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z244)&\", version_author=\"&AddQuotes('Calculator Table'!$AA244)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB244,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC244)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE244)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF244)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG244)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH244)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI244)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ244)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK244)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL244)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM244)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN244)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO244)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP244)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F244&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B244)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B244)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD244,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F244&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A244)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E244)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K244&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H244=\"Small Patch\",H244=\"Matrix\")),'Calculator Table'!$L244,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H244=\"Small Patch\",'Calculator Table'!$L244,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H244=\"Matrix\",'Calculator Table'!$L244,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M244&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N244&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O244&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P244&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q244&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R244&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S244&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T244&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U244&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V244&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W244&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X244&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y244)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z244)&\", version_author=\"&AddQuotes('Calculator Table'!$AA244)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB244,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC244)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE244)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF244)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG244)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH244)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI244)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ244)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK244)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL244)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM244)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN244)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO244)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP244)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F244&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B244)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B244)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD244,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F244&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A244)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E244)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K244&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K244=\"Small Patch\",K244=\"Matrix\")),'Calculator Table'!$L244,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K244=\"Small Patch\",'Calculator Table'!$L244,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K244=\"Matrix\",'Calculator Table'!$L244,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M244&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N244&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O244&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P244&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q244&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R244&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S244&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T244&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U244&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V244&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W244&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X244&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y244)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z244)&\", version_author=\"&AddQuotes('Calculator Table'!$AA244)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB244,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC244)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE244)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF244)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG244)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH244)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI244)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ244)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK244)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL244)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM244)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN244)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO244)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP244)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F244&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS245>0,'Rk Assign'!D245,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS245>0,Calculate!$AV245,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ245:$BL245<>\"U\")*($AQ245:$BL245>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ245:$BL245<>\"U\")*($AQ245:$BL245>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ245:$BL245<>\"U\")*($AQ245:$BL245>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K245:$R245<>\"Z\")*($K245:$R245>\"\")*NOT(ISERROR($K245:$R245)))+SUM(($K$4:$R$4=\"A\")*($K245:$R245<>\"A\")*($K245:$R245>\"\")*NOT(ISERROR($K245:$R245)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K245:$R245=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ245:$BL245=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B245)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B245)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD245,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F245&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A245)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E245)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K245&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E245=\"Small Patch\",E245=\"Matrix\")),'Calculator Table'!$L245,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E245=\"Small Patch\",'Calculator Table'!$L245,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E245=\"Matrix\",'Calculator Table'!$L245,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M245&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N245&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O245&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P245&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q245&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R245&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S245&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T245&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U245&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V245&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W245&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X245&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y245)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z245)&\", version_author=\"&AddQuotes('Calculator Table'!$AA245)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB245,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC245)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE245)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF245)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG245)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH245)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI245)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ245)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK245)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL245)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM245)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN245)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO245)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP245)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F245&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B245)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B245)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD245,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F245&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A245)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E245)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K245&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H245=\"Small Patch\",H245=\"Matrix\")),'Calculator Table'!$L245,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H245=\"Small Patch\",'Calculator Table'!$L245,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H245=\"Matrix\",'Calculator Table'!$L245,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M245&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N245&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O245&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P245&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q245&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R245&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S245&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T245&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U245&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V245&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W245&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X245&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y245)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z245)&\", version_author=\"&AddQuotes('Calculator Table'!$AA245)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB245,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC245)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE245)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF245)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG245)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH245)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI245)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ245)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK245)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL245)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM245)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN245)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO245)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP245)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F245&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B245)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B245)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD245,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F245&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A245)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E245)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K245&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K245=\"Small Patch\",K245=\"Matrix\")),'Calculator Table'!$L245,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K245=\"Small Patch\",'Calculator Table'!$L245,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K245=\"Matrix\",'Calculator Table'!$L245,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M245&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N245&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O245&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P245&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q245&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R245&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S245&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T245&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U245&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V245&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W245&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X245&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y245)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z245)&\", version_author=\"&AddQuotes('Calculator Table'!$AA245)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB245,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC245)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE245)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF245)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG245)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH245)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI245)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ245)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK245)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL245)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM245)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN245)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO245)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP245)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F245&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS246>0,'Rk Assign'!D246,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS246>0,Calculate!$AV246,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ246:$BL246<>\"U\")*($AQ246:$BL246>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ246:$BL246<>\"U\")*($AQ246:$BL246>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ246:$BL246<>\"U\")*($AQ246:$BL246>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K246:$R246<>\"Z\")*($K246:$R246>\"\")*NOT(ISERROR($K246:$R246)))+SUM(($K$4:$R$4=\"A\")*($K246:$R246<>\"A\")*($K246:$R246>\"\")*NOT(ISERROR($K246:$R246)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K246:$R246=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ246:$BL246=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B246)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B246)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD246,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F246&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A246)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E246)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K246&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E246=\"Small Patch\",E246=\"Matrix\")),'Calculator Table'!$L246,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E246=\"Small Patch\",'Calculator Table'!$L246,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E246=\"Matrix\",'Calculator Table'!$L246,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M246&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N246&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O246&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P246&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q246&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R246&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S246&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T246&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U246&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V246&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W246&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X246&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y246)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z246)&\", version_author=\"&AddQuotes('Calculator Table'!$AA246)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB246,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC246)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE246)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF246)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG246)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH246)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI246)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ246)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK246)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL246)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM246)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN246)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO246)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP246)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F246&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B246)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B246)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD246,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F246&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A246)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E246)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K246&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H246=\"Small Patch\",H246=\"Matrix\")),'Calculator Table'!$L246,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H246=\"Small Patch\",'Calculator Table'!$L246,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H246=\"Matrix\",'Calculator Table'!$L246,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M246&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N246&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O246&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P246&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q246&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R246&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S246&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T246&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U246&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V246&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W246&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X246&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y246)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z246)&\", version_author=\"&AddQuotes('Calculator Table'!$AA246)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB246,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC246)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE246)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF246)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG246)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH246)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI246)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ246)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK246)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL246)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM246)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN246)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO246)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP246)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F246&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B246)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B246)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD246,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F246&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A246)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E246)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K246&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K246=\"Small Patch\",K246=\"Matrix\")),'Calculator Table'!$L246,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K246=\"Small Patch\",'Calculator Table'!$L246,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K246=\"Matrix\",'Calculator Table'!$L246,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M246&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N246&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O246&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P246&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q246&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R246&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S246&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T246&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U246&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V246&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W246&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X246&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y246)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z246)&\", version_author=\"&AddQuotes('Calculator Table'!$AA246)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB246,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC246)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE246)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF246)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG246)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH246)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI246)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ246)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK246)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL246)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM246)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN246)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO246)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP246)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F246&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS247>0,'Rk Assign'!D247,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS247>0,Calculate!$AV247,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ247:$BL247<>\"U\")*($AQ247:$BL247>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ247:$BL247<>\"U\")*($AQ247:$BL247>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ247:$BL247<>\"U\")*($AQ247:$BL247>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K247:$R247<>\"Z\")*($K247:$R247>\"\")*NOT(ISERROR($K247:$R247)))+SUM(($K$4:$R$4=\"A\")*($K247:$R247<>\"A\")*($K247:$R247>\"\")*NOT(ISERROR($K247:$R247)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K247:$R247=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ247:$BL247=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B247)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B247)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD247,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F247&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A247)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E247)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K247&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E247=\"Small Patch\",E247=\"Matrix\")),'Calculator Table'!$L247,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E247=\"Small Patch\",'Calculator Table'!$L247,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E247=\"Matrix\",'Calculator Table'!$L247,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M247&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N247&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O247&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P247&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q247&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R247&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S247&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T247&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U247&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V247&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W247&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X247&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y247)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z247)&\", version_author=\"&AddQuotes('Calculator Table'!$AA247)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB247,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC247)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE247)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF247)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG247)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH247)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI247)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ247)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK247)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL247)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM247)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN247)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO247)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP247)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F247&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B247)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B247)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD247,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F247&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A247)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E247)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K247&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H247=\"Small Patch\",H247=\"Matrix\")),'Calculator Table'!$L247,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H247=\"Small Patch\",'Calculator Table'!$L247,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H247=\"Matrix\",'Calculator Table'!$L247,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M247&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N247&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O247&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P247&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q247&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R247&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S247&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T247&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U247&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V247&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W247&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X247&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y247)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z247)&\", version_author=\"&AddQuotes('Calculator Table'!$AA247)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB247,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC247)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE247)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF247)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG247)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH247)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI247)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ247)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK247)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL247)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM247)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN247)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO247)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP247)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F247&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B247)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B247)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD247,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F247&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A247)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E247)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K247&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K247=\"Small Patch\",K247=\"Matrix\")),'Calculator Table'!$L247,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K247=\"Small Patch\",'Calculator Table'!$L247,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K247=\"Matrix\",'Calculator Table'!$L247,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M247&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N247&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O247&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P247&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q247&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R247&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S247&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T247&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U247&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V247&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W247&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X247&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y247)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z247)&\", version_author=\"&AddQuotes('Calculator Table'!$AA247)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB247,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC247)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE247)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF247)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG247)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH247)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI247)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ247)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK247)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL247)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM247)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN247)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO247)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP247)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F247&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS248>0,'Rk Assign'!D248,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS248>0,Calculate!$AV248,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ248:$BL248<>\"U\")*($AQ248:$BL248>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ248:$BL248<>\"U\")*($AQ248:$BL248>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ248:$BL248<>\"U\")*($AQ248:$BL248>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K248:$R248<>\"Z\")*($K248:$R248>\"\")*NOT(ISERROR($K248:$R248)))+SUM(($K$4:$R$4=\"A\")*($K248:$R248<>\"A\")*($K248:$R248>\"\")*NOT(ISERROR($K248:$R248)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K248:$R248=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ248:$BL248=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B248)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B248)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD248,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F248&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A248)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E248)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K248&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E248=\"Small Patch\",E248=\"Matrix\")),'Calculator Table'!$L248,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E248=\"Small Patch\",'Calculator Table'!$L248,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E248=\"Matrix\",'Calculator Table'!$L248,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M248&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N248&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O248&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P248&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q248&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R248&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S248&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T248&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U248&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V248&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W248&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X248&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y248)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z248)&\", version_author=\"&AddQuotes('Calculator Table'!$AA248)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB248,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC248)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE248)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF248)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG248)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH248)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI248)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ248)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK248)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL248)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM248)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN248)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO248)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP248)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F248&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B248)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B248)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD248,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F248&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A248)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E248)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K248&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H248=\"Small Patch\",H248=\"Matrix\")),'Calculator Table'!$L248,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H248=\"Small Patch\",'Calculator Table'!$L248,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H248=\"Matrix\",'Calculator Table'!$L248,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M248&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N248&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O248&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P248&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q248&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R248&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S248&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T248&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U248&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V248&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W248&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X248&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y248)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z248)&\", version_author=\"&AddQuotes('Calculator Table'!$AA248)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB248,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC248)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE248)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF248)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG248)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH248)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI248)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ248)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK248)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL248)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM248)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN248)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO248)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP248)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F248&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B248)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B248)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD248,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F248&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A248)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E248)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K248&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K248=\"Small Patch\",K248=\"Matrix\")),'Calculator Table'!$L248,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K248=\"Small Patch\",'Calculator Table'!$L248,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K248=\"Matrix\",'Calculator Table'!$L248,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M248&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N248&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O248&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P248&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q248&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R248&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S248&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T248&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U248&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V248&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W248&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X248&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y248)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z248)&\", version_author=\"&AddQuotes('Calculator Table'!$AA248)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB248,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC248)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE248)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF248)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG248)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH248)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI248)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ248)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK248)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL248)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM248)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN248)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO248)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP248)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F248&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS249>0,'Rk Assign'!D249,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS249>0,Calculate!$AV249,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ249:$BL249<>\"U\")*($AQ249:$BL249>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ249:$BL249<>\"U\")*($AQ249:$BL249>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ249:$BL249<>\"U\")*($AQ249:$BL249>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K249:$R249<>\"Z\")*($K249:$R249>\"\")*NOT(ISERROR($K249:$R249)))+SUM(($K$4:$R$4=\"A\")*($K249:$R249<>\"A\")*($K249:$R249>\"\")*NOT(ISERROR($K249:$R249)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K249:$R249=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ249:$BL249=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B249)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B249)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD249,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F249&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A249)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E249)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K249&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E249=\"Small Patch\",E249=\"Matrix\")),'Calculator Table'!$L249,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E249=\"Small Patch\",'Calculator Table'!$L249,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E249=\"Matrix\",'Calculator Table'!$L249,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M249&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N249&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O249&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P249&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q249&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R249&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S249&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T249&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U249&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V249&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W249&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X249&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y249)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z249)&\", version_author=\"&AddQuotes('Calculator Table'!$AA249)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB249,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC249)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE249)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF249)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG249)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH249)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI249)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ249)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK249)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL249)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM249)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN249)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO249)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP249)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F249&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B249)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B249)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD249,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F249&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A249)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E249)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K249&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H249=\"Small Patch\",H249=\"Matrix\")),'Calculator Table'!$L249,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H249=\"Small Patch\",'Calculator Table'!$L249,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H249=\"Matrix\",'Calculator Table'!$L249,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M249&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N249&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O249&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P249&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q249&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R249&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S249&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T249&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U249&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V249&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W249&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X249&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y249)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z249)&\", version_author=\"&AddQuotes('Calculator Table'!$AA249)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB249,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC249)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE249)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF249)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG249)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH249)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI249)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ249)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK249)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL249)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM249)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN249)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO249)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP249)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F249&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B249)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B249)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD249,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F249&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A249)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E249)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K249&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K249=\"Small Patch\",K249=\"Matrix\")),'Calculator Table'!$L249,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K249=\"Small Patch\",'Calculator Table'!$L249,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K249=\"Matrix\",'Calculator Table'!$L249,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M249&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N249&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O249&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P249&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q249&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R249&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S249&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T249&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U249&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V249&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W249&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X249&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y249)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z249)&\", version_author=\"&AddQuotes('Calculator Table'!$AA249)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB249,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC249)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE249)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF249)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG249)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH249)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI249)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ249)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK249)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL249)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM249)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN249)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO249)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP249)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F249&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS250>0,'Rk Assign'!D250,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS250>0,Calculate!$AV250,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ250:$BL250<>\"U\")*($AQ250:$BL250>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ250:$BL250<>\"U\")*($AQ250:$BL250>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ250:$BL250<>\"U\")*($AQ250:$BL250>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K250:$R250<>\"Z\")*($K250:$R250>\"\")*NOT(ISERROR($K250:$R250)))+SUM(($K$4:$R$4=\"A\")*($K250:$R250<>\"A\")*($K250:$R250>\"\")*NOT(ISERROR($K250:$R250)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K250:$R250=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ250:$BL250=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B250)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B250)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD250,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F250&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A250)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E250)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K250&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E250=\"Small Patch\",E250=\"Matrix\")),'Calculator Table'!$L250,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E250=\"Small Patch\",'Calculator Table'!$L250,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E250=\"Matrix\",'Calculator Table'!$L250,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M250&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N250&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O250&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P250&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q250&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R250&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S250&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T250&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U250&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V250&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W250&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X250&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y250)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z250)&\", version_author=\"&AddQuotes('Calculator Table'!$AA250)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB250,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC250)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE250)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF250)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG250)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH250)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI250)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ250)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK250)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL250)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM250)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN250)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO250)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP250)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F250&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B250)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B250)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD250,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F250&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A250)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E250)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K250&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H250=\"Small Patch\",H250=\"Matrix\")),'Calculator Table'!$L250,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H250=\"Small Patch\",'Calculator Table'!$L250,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H250=\"Matrix\",'Calculator Table'!$L250,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M250&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N250&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O250&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P250&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q250&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R250&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S250&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T250&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U250&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V250&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W250&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X250&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y250)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z250)&\", version_author=\"&AddQuotes('Calculator Table'!$AA250)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB250,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC250)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE250)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF250)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG250)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH250)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI250)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ250)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK250)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL250)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM250)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN250)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO250)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP250)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F250&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B250)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B250)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD250,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F250&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A250)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E250)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K250&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K250=\"Small Patch\",K250=\"Matrix\")),'Calculator Table'!$L250,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K250=\"Small Patch\",'Calculator Table'!$L250,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K250=\"Matrix\",'Calculator Table'!$L250,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M250&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N250&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O250&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P250&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q250&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R250&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S250&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T250&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U250&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V250&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W250&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X250&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y250)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z250)&\", version_author=\"&AddQuotes('Calculator Table'!$AA250)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB250,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC250)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE250)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF250)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG250)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH250)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI250)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ250)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK250)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL250)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM250)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN250)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO250)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP250)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F250&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS255>0,'Rk Assign'!D255,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS255>0,Calculate!$AV255,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ255:$BL255<>\"U\")*($AQ255:$BL255>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ255:$BL255<>\"U\")*($AQ255:$BL255>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ255:$BL255<>\"U\")*($AQ255:$BL255>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K255:$R255<>\"Z\")*($K255:$R255>\"\")*NOT(ISERROR($K255:$R255)))+SUM(($K$4:$R$4=\"A\")*($K255:$R255<>\"A\")*($K255:$R255>\"\")*NOT(ISERROR($K255:$R255)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K255:$R255=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ255:$BL255=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B255)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B255)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD255,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F255&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A255)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E255)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K255&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E255=\"Small Patch\",E255=\"Matrix\")),'Calculator Table'!$L255,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E255=\"Small Patch\",'Calculator Table'!$L255,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E255=\"Matrix\",'Calculator Table'!$L255,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M255&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N255&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O255&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P255&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q255&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R255&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S255&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T255&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U255&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V255&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W255&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X255&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y255)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z255)&\", version_author=\"&AddQuotes('Calculator Table'!$AA255)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB255,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC255)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE255)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF255)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG255)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH255)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI255)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ255)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK255)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL255)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM255)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN255)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO255)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP255)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F255&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B255)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B255)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD255,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F255&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A255)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E255)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K255&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H255=\"Small Patch\",H255=\"Matrix\")),'Calculator Table'!$L255,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H255=\"Small Patch\",'Calculator Table'!$L255,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H255=\"Matrix\",'Calculator Table'!$L255,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M255&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N255&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O255&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P255&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q255&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R255&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S255&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T255&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U255&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V255&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W255&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X255&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y255)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z255)&\", version_author=\"&AddQuotes('Calculator Table'!$AA255)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB255,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC255)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE255)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF255)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG255)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH255)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI255)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ255)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK255)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL255)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM255)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN255)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO255)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP255)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F255&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B255)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B255)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD255,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F255&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A255)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E255)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K255&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K255=\"Small Patch\",K255=\"Matrix\")),'Calculator Table'!$L255,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K255=\"Small Patch\",'Calculator Table'!$L255,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K255=\"Matrix\",'Calculator Table'!$L255,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M255&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N255&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O255&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P255&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q255&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R255&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S255&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T255&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U255&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V255&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W255&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X255&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y255)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z255)&\", version_author=\"&AddQuotes('Calculator Table'!$AA255)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB255,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC255)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE255)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF255)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG255)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH255)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI255)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ255)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK255)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL255)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM255)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN255)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO255)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP255)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F255&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS260>0,'Rk Assign'!D260,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS260>0,Calculate!$AV260,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ260:$BL260<>\"U\")*($AQ260:$BL260>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ260:$BL260<>\"U\")*($AQ260:$BL260>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ260:$BL260<>\"U\")*($AQ260:$BL260>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K260:$R260<>\"Z\")*($K260:$R260>\"\")*NOT(ISERROR($K260:$R260)))+SUM(($K$4:$R$4=\"A\")*($K260:$R260<>\"A\")*($K260:$R260>\"\")*NOT(ISERROR($K260:$R260)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K260:$R260=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ260:$BL260=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B260)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B260)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD260,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F260&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A260)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E260)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K260&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E260=\"Small Patch\",E260=\"Matrix\")),'Calculator Table'!$L260,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E260=\"Small Patch\",'Calculator Table'!$L260,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E260=\"Matrix\",'Calculator Table'!$L260,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M260&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N260&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O260&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P260&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q260&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R260&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S260&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T260&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U260&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V260&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W260&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X260&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y260)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z260)&\", version_author=\"&AddQuotes('Calculator Table'!$AA260)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB260,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC260)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE260)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF260)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG260)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH260)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI260)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ260)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK260)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL260)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM260)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN260)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO260)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP260)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F260&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B260)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B260)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD260,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F260&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A260)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E260)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K260&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H260=\"Small Patch\",H260=\"Matrix\")),'Calculator Table'!$L260,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H260=\"Small Patch\",'Calculator Table'!$L260,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H260=\"Matrix\",'Calculator Table'!$L260,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M260&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N260&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O260&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P260&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q260&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R260&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S260&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T260&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U260&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V260&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W260&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X260&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y260)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z260)&\", version_author=\"&AddQuotes('Calculator Table'!$AA260)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB260,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC260)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE260)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF260)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG260)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH260)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI260)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ260)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK260)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL260)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM260)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN260)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO260)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP260)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F260&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B260)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B260)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD260,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F260&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A260)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E260)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K260&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K260=\"Small Patch\",K260=\"Matrix\")),'Calculator Table'!$L260,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K260=\"Small Patch\",'Calculator Table'!$L260,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K260=\"Matrix\",'Calculator Table'!$L260,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M260&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N260&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O260&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P260&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q260&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R260&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S260&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T260&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U260&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V260&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W260&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X260&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y260)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z260)&\", version_author=\"&AddQuotes('Calculator Table'!$AA260)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB260,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC260)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE260)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF260)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG260)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH260)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI260)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ260)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK260)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL260)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM260)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN260)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO260)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP260)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F260&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS269>0,'Rk Assign'!D269,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS269>0,Calculate!$AV269,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ269:$BL269<>\"U\")*($AQ269:$BL269>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ269:$BL269<>\"U\")*($AQ269:$BL269>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ269:$BL269<>\"U\")*($AQ269:$BL269>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K269:$R269<>\"Z\")*($K269:$R269>\"\")*NOT(ISERROR($K269:$R269)))+SUM(($K$4:$R$4=\"A\")*($K269:$R269<>\"A\")*($K269:$R269>\"\")*NOT(ISERROR($K269:$R269)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K269:$R269=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ269:$BL269=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B269)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B269)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD269,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F269&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A269)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E269)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K269&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E269=\"Small Patch\",E269=\"Matrix\")),'Calculator Table'!$L269,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E269=\"Small Patch\",'Calculator Table'!$L269,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E269=\"Matrix\",'Calculator Table'!$L269,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M269&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N269&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O269&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P269&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q269&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R269&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S269&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T269&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U269&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V269&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W269&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X269&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y269)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z269)&\", version_author=\"&AddQuotes('Calculator Table'!$AA269)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB269,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC269)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE269)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF269)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG269)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH269)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI269)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ269)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK269)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL269)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM269)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN269)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO269)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP269)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F269&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B269)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B269)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD269,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F269&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A269)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E269)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K269&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H269=\"Small Patch\",H269=\"Matrix\")),'Calculator Table'!$L269,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H269=\"Small Patch\",'Calculator Table'!$L269,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H269=\"Matrix\",'Calculator Table'!$L269,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M269&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N269&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O269&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P269&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q269&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R269&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S269&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T269&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U269&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V269&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W269&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X269&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y269)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z269)&\", version_author=\"&AddQuotes('Calculator Table'!$AA269)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB269,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC269)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE269)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF269)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG269)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH269)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI269)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ269)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK269)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL269)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM269)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN269)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO269)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP269)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F269&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B269)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B269)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD269,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F269&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A269)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E269)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K269&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K269=\"Small Patch\",K269=\"Matrix\")),'Calculator Table'!$L269,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K269=\"Small Patch\",'Calculator Table'!$L269,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K269=\"Matrix\",'Calculator Table'!$L269,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M269&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N269&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O269&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P269&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q269&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R269&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S269&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T269&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U269&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V269&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W269&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X269&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y269)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z269)&\", version_author=\"&AddQuotes('Calculator Table'!$AA269)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB269,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC269)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE269)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF269)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG269)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH269)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI269)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ269)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK269)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL269)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM269)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN269)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO269)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP269)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F269&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS277>0,'Rk Assign'!D277,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS277>0,Calculate!$AV277,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ277:$BL277<>\"U\")*($AQ277:$BL277>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ277:$BL277<>\"U\")*($AQ277:$BL277>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ277:$BL277<>\"U\")*($AQ277:$BL277>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K277:$R277<>\"Z\")*($K277:$R277>\"\")*NOT(ISERROR($K277:$R277)))+SUM(($K$4:$R$4=\"A\")*($K277:$R277<>\"A\")*($K277:$R277>\"\")*NOT(ISERROR($K277:$R277)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K277:$R277=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ277:$BL277=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B277)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B277)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD277,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F277&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A277)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E277)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K277&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E277=\"Small Patch\",E277=\"Matrix\")),'Calculator Table'!$L277,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E277=\"Small Patch\",'Calculator Table'!$L277,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E277=\"Matrix\",'Calculator Table'!$L277,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M277&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N277&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O277&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P277&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q277&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R277&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S277&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T277&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U277&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V277&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W277&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X277&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y277)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z277)&\", version_author=\"&AddQuotes('Calculator Table'!$AA277)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB277,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC277)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE277)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF277)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG277)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH277)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI277)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ277)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK277)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL277)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM277)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN277)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO277)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP277)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F277&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B277)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B277)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD277,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F277&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A277)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E277)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K277&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H277=\"Small Patch\",H277=\"Matrix\")),'Calculator Table'!$L277,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H277=\"Small Patch\",'Calculator Table'!$L277,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H277=\"Matrix\",'Calculator Table'!$L277,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M277&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N277&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O277&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P277&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q277&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R277&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S277&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T277&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U277&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V277&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W277&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X277&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y277)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z277)&\", version_author=\"&AddQuotes('Calculator Table'!$AA277)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB277,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC277)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE277)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF277)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG277)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH277)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI277)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ277)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK277)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL277)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM277)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN277)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO277)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP277)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F277&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B277)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B277)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD277,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F277&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A277)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E277)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K277&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K277=\"Small Patch\",K277=\"Matrix\")),'Calculator Table'!$L277,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K277=\"Small Patch\",'Calculator Table'!$L277,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K277=\"Matrix\",'Calculator Table'!$L277,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M277&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N277&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O277&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P277&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q277&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R277&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S277&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T277&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U277&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V277&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W277&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X277&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y277)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z277)&\", version_author=\"&AddQuotes('Calculator Table'!$AA277)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB277,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC277)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE277)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF277)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG277)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH277)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI277)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ277)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK277)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL277)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM277)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN277)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO277)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP277)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F277&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS283>0,'Rk Assign'!D283,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS283>0,Calculate!$AV283,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ283:$BL283<>\"U\")*($AQ283:$BL283>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ283:$BL283<>\"U\")*($AQ283:$BL283>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ283:$BL283<>\"U\")*($AQ283:$BL283>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K283:$R283<>\"Z\")*($K283:$R283>\"\")*NOT(ISERROR($K283:$R283)))+SUM(($K$4:$R$4=\"A\")*($K283:$R283<>\"A\")*($K283:$R283>\"\")*NOT(ISERROR($K283:$R283)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K283:$R283=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ283:$BL283=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B283)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B283)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD283,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F283&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A283)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E283)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K283&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E283=\"Small Patch\",E283=\"Matrix\")),'Calculator Table'!$L283,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E283=\"Small Patch\",'Calculator Table'!$L283,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E283=\"Matrix\",'Calculator Table'!$L283,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M283&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N283&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O283&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P283&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q283&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R283&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S283&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T283&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U283&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V283&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W283&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X283&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y283)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z283)&\", version_author=\"&AddQuotes('Calculator Table'!$AA283)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB283,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC283)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE283)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF283)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG283)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH283)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI283)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ283)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK283)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL283)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM283)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN283)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO283)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP283)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F283&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B283)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B283)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD283,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F283&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A283)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E283)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K283&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H283=\"Small Patch\",H283=\"Matrix\")),'Calculator Table'!$L283,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H283=\"Small Patch\",'Calculator Table'!$L283,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H283=\"Matrix\",'Calculator Table'!$L283,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M283&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N283&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O283&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P283&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q283&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R283&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S283&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T283&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U283&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V283&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W283&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X283&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y283)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z283)&\", version_author=\"&AddQuotes('Calculator Table'!$AA283)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB283,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC283)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE283)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF283)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG283)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH283)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI283)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ283)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK283)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL283)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM283)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN283)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO283)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP283)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F283&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B283)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B283)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD283,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F283&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A283)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E283)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K283&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K283=\"Small Patch\",K283=\"Matrix\")),'Calculator Table'!$L283,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K283=\"Small Patch\",'Calculator Table'!$L283,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K283=\"Matrix\",'Calculator Table'!$L283,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M283&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N283&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O283&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P283&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q283&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R283&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S283&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T283&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U283&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V283&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W283&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X283&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y283)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z283)&\", version_author=\"&AddQuotes('Calculator Table'!$AA283)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB283,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC283)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE283)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF283)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG283)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH283)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI283)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ283)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK283)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL283)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM283)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN283)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO283)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP283)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F283&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS294>0,'Rk Assign'!D294,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS294>0,Calculate!$AV294,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ294:$BL294<>\"U\")*($AQ294:$BL294>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ294:$BL294<>\"U\")*($AQ294:$BL294>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ294:$BL294<>\"U\")*($AQ294:$BL294>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K294:$R294<>\"Z\")*($K294:$R294>\"\")*NOT(ISERROR($K294:$R294)))+SUM(($K$4:$R$4=\"A\")*($K294:$R294<>\"A\")*($K294:$R294>\"\")*NOT(ISERROR($K294:$R294)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K294:$R294=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ294:$BL294=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B294)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B294)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD294,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F294&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A294)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E294)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K294&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E294=\"Small Patch\",E294=\"Matrix\")),'Calculator Table'!$L294,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E294=\"Small Patch\",'Calculator Table'!$L294,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E294=\"Matrix\",'Calculator Table'!$L294,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M294&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N294&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O294&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P294&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q294&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R294&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S294&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T294&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U294&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V294&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W294&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X294&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y294)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z294)&\", version_author=\"&AddQuotes('Calculator Table'!$AA294)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB294,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC294)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE294)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF294)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG294)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH294)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI294)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ294)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK294)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL294)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM294)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN294)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO294)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP294)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F294&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B294)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B294)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD294,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F294&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A294)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E294)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K294&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H294=\"Small Patch\",H294=\"Matrix\")),'Calculator Table'!$L294,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H294=\"Small Patch\",'Calculator Table'!$L294,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H294=\"Matrix\",'Calculator Table'!$L294,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M294&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N294&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O294&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P294&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q294&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R294&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S294&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T294&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U294&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V294&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W294&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X294&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y294)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z294)&\", version_author=\"&AddQuotes('Calculator Table'!$AA294)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB294,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC294)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE294)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF294)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG294)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH294)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI294)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ294)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK294)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL294)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM294)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN294)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO294)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP294)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F294&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B294)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B294)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD294,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F294&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A294)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E294)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K294&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K294=\"Small Patch\",K294=\"Matrix\")),'Calculator Table'!$L294,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K294=\"Small Patch\",'Calculator Table'!$L294,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K294=\"Matrix\",'Calculator Table'!$L294,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M294&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N294&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O294&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P294&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q294&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R294&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S294&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T294&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U294&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V294&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W294&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X294&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y294)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z294)&\", version_author=\"&AddQuotes('Calculator Table'!$AA294)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB294,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC294)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE294)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF294)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG294)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH294)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI294)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ294)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK294)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL294)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM294)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN294)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO294)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP294)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F294&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS297>0,'Rk Assign'!D297,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS297>0,Calculate!$AV297,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ297:$BL297<>\"U\")*($AQ297:$BL297>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ297:$BL297<>\"U\")*($AQ297:$BL297>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ297:$BL297<>\"U\")*($AQ297:$BL297>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K297:$R297<>\"Z\")*($K297:$R297>\"\")*NOT(ISERROR($K297:$R297)))+SUM(($K$4:$R$4=\"A\")*($K297:$R297<>\"A\")*($K297:$R297>\"\")*NOT(ISERROR($K297:$R297)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K297:$R297=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ297:$BL297=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B297)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B297)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD297,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F297&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A297)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E297)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K297&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E297=\"Small Patch\",E297=\"Matrix\")),'Calculator Table'!$L297,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E297=\"Small Patch\",'Calculator Table'!$L297,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E297=\"Matrix\",'Calculator Table'!$L297,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M297&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N297&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O297&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P297&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q297&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R297&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S297&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T297&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U297&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V297&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W297&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X297&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y297)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z297)&\", version_author=\"&AddQuotes('Calculator Table'!$AA297)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB297,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC297)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE297)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF297)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG297)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH297)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI297)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ297)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK297)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL297)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM297)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN297)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO297)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP297)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F297&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B297)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B297)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD297,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F297&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A297)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E297)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K297&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H297=\"Small Patch\",H297=\"Matrix\")),'Calculator Table'!$L297,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H297=\"Small Patch\",'Calculator Table'!$L297,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H297=\"Matrix\",'Calculator Table'!$L297,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M297&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N297&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O297&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P297&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q297&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R297&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S297&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T297&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U297&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V297&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W297&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X297&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y297)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z297)&\", version_author=\"&AddQuotes('Calculator Table'!$AA297)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB297,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC297)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE297)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF297)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG297)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH297)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI297)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ297)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK297)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL297)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM297)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN297)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO297)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP297)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F297&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B297)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B297)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD297,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F297&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A297)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E297)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K297&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K297=\"Small Patch\",K297=\"Matrix\")),'Calculator Table'!$L297,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K297=\"Small Patch\",'Calculator Table'!$L297,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K297=\"Matrix\",'Calculator Table'!$L297,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M297&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N297&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O297&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P297&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q297&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R297&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S297&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T297&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U297&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V297&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W297&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X297&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y297)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z297)&\", version_author=\"&AddQuotes('Calculator Table'!$AA297)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB297,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC297)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE297)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF297)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG297)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH297)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI297)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ297)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK297)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL297)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM297)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN297)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO297)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP297)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F297&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS303>0,'Rk Assign'!D303,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS303>0,Calculate!$AV303,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ303:$BL303<>\"U\")*($AQ303:$BL303>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ303:$BL303<>\"U\")*($AQ303:$BL303>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ303:$BL303<>\"U\")*($AQ303:$BL303>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K303:$R303<>\"Z\")*($K303:$R303>\"\")*NOT(ISERROR($K303:$R303)))+SUM(($K$4:$R$4=\"A\")*($K303:$R303<>\"A\")*($K303:$R303>\"\")*NOT(ISERROR($K303:$R303)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K303:$R303=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ303:$BL303=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B303)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B303)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD303,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F303&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A303)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E303)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K303&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E303=\"Small Patch\",E303=\"Matrix\")),'Calculator Table'!$L303,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E303=\"Small Patch\",'Calculator Table'!$L303,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E303=\"Matrix\",'Calculator Table'!$L303,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M303&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N303&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O303&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P303&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q303&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R303&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S303&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T303&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U303&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V303&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W303&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X303&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y303)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z303)&\", version_author=\"&AddQuotes('Calculator Table'!$AA303)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB303,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC303)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE303)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF303)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG303)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH303)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI303)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ303)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK303)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL303)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM303)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN303)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO303)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP303)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F303&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B303)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B303)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD303,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F303&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A303)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E303)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K303&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H303=\"Small Patch\",H303=\"Matrix\")),'Calculator Table'!$L303,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H303=\"Small Patch\",'Calculator Table'!$L303,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H303=\"Matrix\",'Calculator Table'!$L303,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M303&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N303&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O303&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P303&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q303&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R303&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S303&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T303&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U303&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V303&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W303&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X303&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y303)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z303)&\", version_author=\"&AddQuotes('Calculator Table'!$AA303)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB303,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC303)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE303)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF303)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG303)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH303)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI303)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ303)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK303)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL303)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM303)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN303)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO303)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP303)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F303&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B303)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B303)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD303,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F303&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A303)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E303)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K303&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K303=\"Small Patch\",K303=\"Matrix\")),'Calculator Table'!$L303,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K303=\"Small Patch\",'Calculator Table'!$L303,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K303=\"Matrix\",'Calculator Table'!$L303,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M303&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N303&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O303&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P303&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q303&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R303&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S303&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T303&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U303&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V303&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W303&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X303&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y303)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z303)&\", version_author=\"&AddQuotes('Calculator Table'!$AA303)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB303,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC303)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE303)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF303)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG303)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH303)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI303)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ303)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK303)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL303)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM303)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN303)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO303)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP303)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F303&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS312>0,'Rk Assign'!D312,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS312>0,Calculate!$AV312,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ312:$BL312<>\"U\")*($AQ312:$BL312>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ312:$BL312<>\"U\")*($AQ312:$BL312>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ312:$BL312<>\"U\")*($AQ312:$BL312>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K312:$R312<>\"Z\")*($K312:$R312>\"\")*NOT(ISERROR($K312:$R312)))+SUM(($K$4:$R$4=\"A\")*($K312:$R312<>\"A\")*($K312:$R312>\"\")*NOT(ISERROR($K312:$R312)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K312:$R312=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ312:$BL312=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B312)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B312)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD312,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F312&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A312)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E312)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K312&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E312=\"Small Patch\",E312=\"Matrix\")),'Calculator Table'!$L312,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E312=\"Small Patch\",'Calculator Table'!$L312,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E312=\"Matrix\",'Calculator Table'!$L312,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M312&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N312&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O312&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P312&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q312&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R312&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S312&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T312&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U312&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V312&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W312&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X312&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y312)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z312)&\", version_author=\"&AddQuotes('Calculator Table'!$AA312)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB312,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC312)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE312)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF312)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG312)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH312)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI312)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ312)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK312)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL312)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM312)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN312)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO312)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP312)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F312&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B312)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B312)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD312,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F312&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A312)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E312)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K312&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H312=\"Small Patch\",H312=\"Matrix\")),'Calculator Table'!$L312,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H312=\"Small Patch\",'Calculator Table'!$L312,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H312=\"Matrix\",'Calculator Table'!$L312,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M312&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N312&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O312&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P312&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q312&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R312&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S312&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T312&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U312&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V312&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W312&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X312&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y312)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z312)&\", version_author=\"&AddQuotes('Calculator Table'!$AA312)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB312,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC312)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE312)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF312)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG312)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH312)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI312)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ312)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK312)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL312)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM312)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN312)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO312)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP312)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F312&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B312)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B312)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD312,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F312&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A312)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E312)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K312&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K312=\"Small Patch\",K312=\"Matrix\")),'Calculator Table'!$L312,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K312=\"Small Patch\",'Calculator Table'!$L312,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K312=\"Matrix\",'Calculator Table'!$L312,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M312&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N312&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O312&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P312&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q312&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R312&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S312&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T312&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U312&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V312&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W312&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X312&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y312)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z312)&\", version_author=\"&AddQuotes('Calculator Table'!$AA312)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB312,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC312)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE312)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF312)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG312)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH312)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI312)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ312)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK312)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL312)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM312)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN312)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO312)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP312)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F312&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS320>0,'Rk Assign'!D320,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS320>0,Calculate!$AV320,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ320:$BL320<>\"U\")*($AQ320:$BL320>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ320:$BL320<>\"U\")*($AQ320:$BL320>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ320:$BL320<>\"U\")*($AQ320:$BL320>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K320:$R320<>\"Z\")*($K320:$R320>\"\")*NOT(ISERROR($K320:$R320)))+SUM(($K$4:$R$4=\"A\")*($K320:$R320<>\"A\")*($K320:$R320>\"\")*NOT(ISERROR($K320:$R320)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K320:$R320=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ320:$BL320=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B320)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B320)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD320,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F320&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A320)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E320)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K320&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E320=\"Small Patch\",E320=\"Matrix\")),'Calculator Table'!$L320,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E320=\"Small Patch\",'Calculator Table'!$L320,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E320=\"Matrix\",'Calculator Table'!$L320,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M320&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N320&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O320&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P320&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q320&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R320&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S320&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T320&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U320&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V320&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W320&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X320&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y320)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z320)&\", version_author=\"&AddQuotes('Calculator Table'!$AA320)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB320,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC320)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE320)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF320)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG320)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH320)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI320)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ320)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK320)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL320)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM320)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN320)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO320)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP320)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F320&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B320)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B320)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD320,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F320&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A320)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E320)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K320&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H320=\"Small Patch\",H320=\"Matrix\")),'Calculator Table'!$L320,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H320=\"Small Patch\",'Calculator Table'!$L320,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H320=\"Matrix\",'Calculator Table'!$L320,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M320&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N320&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O320&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P320&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q320&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R320&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S320&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T320&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U320&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V320&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W320&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X320&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y320)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z320)&\", version_author=\"&AddQuotes('Calculator Table'!$AA320)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB320,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC320)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE320)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF320)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG320)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH320)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI320)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ320)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK320)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL320)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM320)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN320)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO320)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP320)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F320&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B320)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B320)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD320,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F320&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A320)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E320)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K320&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K320=\"Small Patch\",K320=\"Matrix\")),'Calculator Table'!$L320,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K320=\"Small Patch\",'Calculator Table'!$L320,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K320=\"Matrix\",'Calculator Table'!$L320,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M320&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N320&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O320&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P320&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q320&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R320&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S320&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T320&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U320&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V320&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W320&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X320&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y320)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z320)&\", version_author=\"&AddQuotes('Calculator Table'!$AA320)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB320,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC320)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE320)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF320)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG320)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH320)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI320)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ320)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK320)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL320)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM320)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN320)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO320)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP320)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F320&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS329>0,'Rk Assign'!D329,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS329>0,Calculate!$AV329,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ329:$BL329<>\"U\")*($AQ329:$BL329>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ329:$BL329<>\"U\")*($AQ329:$BL329>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ329:$BL329<>\"U\")*($AQ329:$BL329>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K329:$R329<>\"Z\")*($K329:$R329>\"\")*NOT(ISERROR($K329:$R329)))+SUM(($K$4:$R$4=\"A\")*($K329:$R329<>\"A\")*($K329:$R329>\"\")*NOT(ISERROR($K329:$R329)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K329:$R329=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ329:$BL329=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B329)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B329)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD329,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F329&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A329)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E329)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K329&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E329=\"Small Patch\",E329=\"Matrix\")),'Calculator Table'!$L329,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E329=\"Small Patch\",'Calculator Table'!$L329,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E329=\"Matrix\",'Calculator Table'!$L329,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M329&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N329&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O329&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P329&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q329&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R329&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S329&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T329&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U329&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V329&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W329&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X329&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y329)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z329)&\", version_author=\"&AddQuotes('Calculator Table'!$AA329)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB329,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC329)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE329)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF329)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG329)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH329)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI329)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ329)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK329)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL329)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM329)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN329)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO329)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP329)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F329&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B329)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B329)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD329,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F329&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A329)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E329)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K329&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H329=\"Small Patch\",H329=\"Matrix\")),'Calculator Table'!$L329,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H329=\"Small Patch\",'Calculator Table'!$L329,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H329=\"Matrix\",'Calculator Table'!$L329,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M329&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N329&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O329&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P329&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q329&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R329&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S329&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T329&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U329&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V329&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W329&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X329&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y329)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z329)&\", version_author=\"&AddQuotes('Calculator Table'!$AA329)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB329,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC329)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE329)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF329)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG329)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH329)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI329)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ329)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK329)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL329)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM329)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN329)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO329)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP329)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F329&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B329)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B329)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD329,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F329&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A329)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E329)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K329&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K329=\"Small Patch\",K329=\"Matrix\")),'Calculator Table'!$L329,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K329=\"Small Patch\",'Calculator Table'!$L329,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K329=\"Matrix\",'Calculator Table'!$L329,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M329&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N329&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O329&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P329&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q329&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R329&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S329&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T329&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U329&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V329&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W329&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X329&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y329)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z329)&\", version_author=\"&AddQuotes('Calculator Table'!$AA329)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB329,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC329)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE329)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF329)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG329)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH329)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI329)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ329)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK329)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL329)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM329)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN329)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO329)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP329)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F329&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS334>0,'Rk Assign'!D334,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS334>0,Calculate!$AV334,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ334:$BL334<>\"U\")*($AQ334:$BL334>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ334:$BL334<>\"U\")*($AQ334:$BL334>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ334:$BL334<>\"U\")*($AQ334:$BL334>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K334:$R334<>\"Z\")*($K334:$R334>\"\")*NOT(ISERROR($K334:$R334)))+SUM(($K$4:$R$4=\"A\")*($K334:$R334<>\"A\")*($K334:$R334>\"\")*NOT(ISERROR($K334:$R334)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K334:$R334=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ334:$BL334=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B334)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B334)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD334,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F334&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A334)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E334)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K334&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E334=\"Small Patch\",E334=\"Matrix\")),'Calculator Table'!$L334,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E334=\"Small Patch\",'Calculator Table'!$L334,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E334=\"Matrix\",'Calculator Table'!$L334,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M334&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N334&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O334&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P334&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q334&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R334&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S334&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T334&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U334&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V334&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W334&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X334&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y334)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z334)&\", version_author=\"&AddQuotes('Calculator Table'!$AA334)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB334,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC334)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE334)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF334)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG334)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH334)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI334)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ334)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK334)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL334)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM334)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN334)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO334)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP334)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F334&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B334)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B334)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD334,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F334&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A334)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E334)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K334&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H334=\"Small Patch\",H334=\"Matrix\")),'Calculator Table'!$L334,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H334=\"Small Patch\",'Calculator Table'!$L334,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H334=\"Matrix\",'Calculator Table'!$L334,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M334&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N334&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O334&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P334&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q334&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R334&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S334&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T334&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U334&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V334&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W334&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X334&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y334)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z334)&\", version_author=\"&AddQuotes('Calculator Table'!$AA334)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB334,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC334)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE334)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF334)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG334)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH334)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI334)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ334)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK334)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL334)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM334)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN334)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO334)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP334)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F334&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B334)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B334)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD334,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F334&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A334)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E334)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K334&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K334=\"Small Patch\",K334=\"Matrix\")),'Calculator Table'!$L334,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K334=\"Small Patch\",'Calculator Table'!$L334,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K334=\"Matrix\",'Calculator Table'!$L334,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M334&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N334&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O334&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P334&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q334&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R334&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S334&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T334&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U334&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V334&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W334&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X334&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y334)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z334)&\", version_author=\"&AddQuotes('Calculator Table'!$AA334)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB334,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC334)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE334)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF334)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG334)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH334)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI334)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ334)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK334)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL334)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM334)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN334)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO334)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP334)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F334&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS346>0,'Rk Assign'!D346,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS346>0,Calculate!$AV346,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ346:$BL346<>\"U\")*($AQ346:$BL346>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ346:$BL346<>\"U\")*($AQ346:$BL346>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ346:$BL346<>\"U\")*($AQ346:$BL346>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K346:$R346<>\"Z\")*($K346:$R346>\"\")*NOT(ISERROR($K346:$R346)))+SUM(($K$4:$R$4=\"A\")*($K346:$R346<>\"A\")*($K346:$R346>\"\")*NOT(ISERROR($K346:$R346)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K346:$R346=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ346:$BL346=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B346)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B346)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD346,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F346&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A346)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E346)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K346&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E346=\"Small Patch\",E346=\"Matrix\")),'Calculator Table'!$L346,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E346=\"Small Patch\",'Calculator Table'!$L346,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E346=\"Matrix\",'Calculator Table'!$L346,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M346&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N346&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O346&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P346&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q346&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R346&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S346&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T346&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U346&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V346&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W346&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X346&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y346)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z346)&\", version_author=\"&AddQuotes('Calculator Table'!$AA346)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB346,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC346)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE346)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF346)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG346)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH346)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI346)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ346)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK346)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL346)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM346)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN346)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO346)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP346)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F346&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B346)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B346)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD346,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F346&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A346)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E346)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K346&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H346=\"Small Patch\",H346=\"Matrix\")),'Calculator Table'!$L346,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H346=\"Small Patch\",'Calculator Table'!$L346,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H346=\"Matrix\",'Calculator Table'!$L346,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M346&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N346&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O346&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P346&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q346&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R346&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S346&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T346&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U346&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V346&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W346&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X346&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y346)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z346)&\", version_author=\"&AddQuotes('Calculator Table'!$AA346)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB346,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC346)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE346)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF346)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG346)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH346)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI346)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ346)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK346)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL346)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM346)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN346)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO346)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP346)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F346&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B346)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B346)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD346,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F346&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A346)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E346)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K346&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K346=\"Small Patch\",K346=\"Matrix\")),'Calculator Table'!$L346,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K346=\"Small Patch\",'Calculator Table'!$L346,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K346=\"Matrix\",'Calculator Table'!$L346,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M346&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N346&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O346&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P346&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q346&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R346&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S346&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T346&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U346&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V346&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W346&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X346&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y346)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z346)&\", version_author=\"&AddQuotes('Calculator Table'!$AA346)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB346,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC346)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE346)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF346)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG346)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH346)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI346)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ346)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK346)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL346)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM346)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN346)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO346)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP346)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F346&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS351>0,'Rk Assign'!D351,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS351>0,Calculate!$AV351,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ351:$BL351<>\"U\")*($AQ351:$BL351>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ351:$BL351<>\"U\")*($AQ351:$BL351>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ351:$BL351<>\"U\")*($AQ351:$BL351>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K351:$R351<>\"Z\")*($K351:$R351>\"\")*NOT(ISERROR($K351:$R351)))+SUM(($K$4:$R$4=\"A\")*($K351:$R351<>\"A\")*($K351:$R351>\"\")*NOT(ISERROR($K351:$R351)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K351:$R351=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ351:$BL351=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B351)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B351)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD351,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F351&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A351)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E351)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K351&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E351=\"Small Patch\",E351=\"Matrix\")),'Calculator Table'!$L351,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E351=\"Small Patch\",'Calculator Table'!$L351,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E351=\"Matrix\",'Calculator Table'!$L351,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M351&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N351&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O351&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P351&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q351&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R351&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S351&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T351&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U351&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V351&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W351&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X351&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y351)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z351)&\", version_author=\"&AddQuotes('Calculator Table'!$AA351)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB351,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC351)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE351)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF351)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG351)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH351)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI351)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ351)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK351)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL351)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM351)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN351)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO351)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP351)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F351&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B351)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B351)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD351,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F351&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A351)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E351)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K351&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H351=\"Small Patch\",H351=\"Matrix\")),'Calculator Table'!$L351,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H351=\"Small Patch\",'Calculator Table'!$L351,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H351=\"Matrix\",'Calculator Table'!$L351,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M351&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N351&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O351&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P351&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q351&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R351&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S351&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T351&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U351&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V351&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W351&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X351&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y351)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z351)&\", version_author=\"&AddQuotes('Calculator Table'!$AA351)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB351,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC351)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE351)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF351)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG351)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH351)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI351)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ351)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK351)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL351)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM351)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN351)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO351)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP351)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F351&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B351)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B351)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD351,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F351&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A351)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E351)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K351&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K351=\"Small Patch\",K351=\"Matrix\")),'Calculator Table'!$L351,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K351=\"Small Patch\",'Calculator Table'!$L351,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K351=\"Matrix\",'Calculator Table'!$L351,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M351&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N351&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O351&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P351&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q351&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R351&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S351&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T351&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U351&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V351&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W351&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X351&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y351)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z351)&\", version_author=\"&AddQuotes('Calculator Table'!$AA351)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB351,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC351)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE351)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF351)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG351)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH351)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI351)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ351)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK351)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL351)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM351)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN351)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO351)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP351)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F351&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS363>0,'Rk Assign'!D363,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS363>0,Calculate!$AV363,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ363:$BL363<>\"U\")*($AQ363:$BL363>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ363:$BL363<>\"U\")*($AQ363:$BL363>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ363:$BL363<>\"U\")*($AQ363:$BL363>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K363:$R363<>\"Z\")*($K363:$R363>\"\")*NOT(ISERROR($K363:$R363)))+SUM(($K$4:$R$4=\"A\")*($K363:$R363<>\"A\")*($K363:$R363>\"\")*NOT(ISERROR($K363:$R363)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K363:$R363=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ363:$BL363=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B363)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B363)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD363,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F363&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A363)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E363)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K363&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E363=\"Small Patch\",E363=\"Matrix\")),'Calculator Table'!$L363,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E363=\"Small Patch\",'Calculator Table'!$L363,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E363=\"Matrix\",'Calculator Table'!$L363,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M363&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N363&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O363&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P363&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q363&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R363&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S363&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T363&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U363&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V363&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W363&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X363&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y363)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z363)&\", version_author=\"&AddQuotes('Calculator Table'!$AA363)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB363,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC363)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE363)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF363)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG363)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH363)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI363)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ363)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK363)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL363)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM363)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN363)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO363)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP363)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F363&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B363)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B363)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD363,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F363&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A363)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E363)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K363&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H363=\"Small Patch\",H363=\"Matrix\")),'Calculator Table'!$L363,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H363=\"Small Patch\",'Calculator Table'!$L363,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H363=\"Matrix\",'Calculator Table'!$L363,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M363&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N363&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O363&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P363&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q363&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R363&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S363&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T363&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U363&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V363&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W363&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X363&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y363)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z363)&\", version_author=\"&AddQuotes('Calculator Table'!$AA363)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB363,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC363)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE363)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF363)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG363)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH363)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI363)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ363)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK363)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL363)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM363)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN363)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO363)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP363)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F363&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B363)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B363)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD363,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F363&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A363)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E363)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K363&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K363=\"Small Patch\",K363=\"Matrix\")),'Calculator Table'!$L363,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K363=\"Small Patch\",'Calculator Table'!$L363,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K363=\"Matrix\",'Calculator Table'!$L363,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M363&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N363&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O363&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P363&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q363&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R363&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S363&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T363&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U363&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V363&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W363&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X363&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y363)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z363)&\", version_author=\"&AddQuotes('Calculator Table'!$AA363)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB363,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC363)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE363)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF363)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG363)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH363)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI363)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ363)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK363)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL363)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM363)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN363)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO363)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP363)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F363&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS365>0,'Rk Assign'!D365,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS365>0,Calculate!$AV365,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ365:$BL365<>\"U\")*($AQ365:$BL365>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ365:$BL365<>\"U\")*($AQ365:$BL365>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ365:$BL365<>\"U\")*($AQ365:$BL365>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K365:$R365<>\"Z\")*($K365:$R365>\"\")*NOT(ISERROR($K365:$R365)))+SUM(($K$4:$R$4=\"A\")*($K365:$R365<>\"A\")*($K365:$R365>\"\")*NOT(ISERROR($K365:$R365)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K365:$R365=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ365:$BL365=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B365)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B365)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD365,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F365&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A365)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E365)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K365&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E365=\"Small Patch\",E365=\"Matrix\")),'Calculator Table'!$L365,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E365=\"Small Patch\",'Calculator Table'!$L365,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E365=\"Matrix\",'Calculator Table'!$L365,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M365&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N365&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O365&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P365&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q365&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R365&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S365&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T365&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U365&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V365&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W365&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X365&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y365)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z365)&\", version_author=\"&AddQuotes('Calculator Table'!$AA365)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB365,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC365)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE365)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF365)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG365)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH365)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI365)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ365)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK365)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL365)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM365)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN365)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO365)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP365)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F365&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B365)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B365)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD365,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F365&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A365)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E365)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K365&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H365=\"Small Patch\",H365=\"Matrix\")),'Calculator Table'!$L365,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H365=\"Small Patch\",'Calculator Table'!$L365,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H365=\"Matrix\",'Calculator Table'!$L365,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M365&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N365&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O365&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P365&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q365&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R365&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S365&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T365&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U365&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V365&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W365&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X365&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y365)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z365)&\", version_author=\"&AddQuotes('Calculator Table'!$AA365)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB365,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC365)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE365)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF365)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG365)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH365)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI365)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ365)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK365)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL365)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM365)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN365)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO365)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP365)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F365&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B365)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B365)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD365,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F365&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A365)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E365)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K365&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K365=\"Small Patch\",K365=\"Matrix\")),'Calculator Table'!$L365,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K365=\"Small Patch\",'Calculator Table'!$L365,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K365=\"Matrix\",'Calculator Table'!$L365,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M365&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N365&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O365&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P365&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q365&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R365&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S365&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T365&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U365&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V365&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W365&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X365&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y365)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z365)&\", version_author=\"&AddQuotes('Calculator Table'!$AA365)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB365,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC365)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE365)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF365)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG365)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH365)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI365)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ365)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK365)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL365)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM365)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN365)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO365)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP365)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F365&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS372>0,'Rk Assign'!D372,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS372>0,Calculate!$AV372,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ372:$BL372<>\"U\")*($AQ372:$BL372>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ372:$BL372<>\"U\")*($AQ372:$BL372>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ372:$BL372<>\"U\")*($AQ372:$BL372>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K372:$R372<>\"Z\")*($K372:$R372>\"\")*NOT(ISERROR($K372:$R372)))+SUM(($K$4:$R$4=\"A\")*($K372:$R372<>\"A\")*($K372:$R372>\"\")*NOT(ISERROR($K372:$R372)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K372:$R372=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ372:$BL372=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B372)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B372)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD372,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F372&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A372)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E372)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K372&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E372=\"Small Patch\",E372=\"Matrix\")),'Calculator Table'!$L372,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E372=\"Small Patch\",'Calculator Table'!$L372,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E372=\"Matrix\",'Calculator Table'!$L372,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M372&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N372&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O372&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P372&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q372&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R372&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S372&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T372&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U372&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V372&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W372&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X372&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y372)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z372)&\", version_author=\"&AddQuotes('Calculator Table'!$AA372)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB372,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC372)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE372)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF372)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG372)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH372)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI372)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ372)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK372)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL372)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM372)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN372)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO372)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP372)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F372&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B372)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B372)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD372,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F372&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A372)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E372)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K372&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H372=\"Small Patch\",H372=\"Matrix\")),'Calculator Table'!$L372,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H372=\"Small Patch\",'Calculator Table'!$L372,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H372=\"Matrix\",'Calculator Table'!$L372,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M372&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N372&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O372&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P372&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q372&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R372&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S372&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T372&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U372&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V372&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W372&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X372&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y372)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z372)&\", version_author=\"&AddQuotes('Calculator Table'!$AA372)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB372,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC372)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE372)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF372)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG372)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH372)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI372)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ372)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK372)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL372)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM372)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN372)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO372)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP372)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F372&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B372)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B372)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD372,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F372&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A372)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E372)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K372&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K372=\"Small Patch\",K372=\"Matrix\")),'Calculator Table'!$L372,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K372=\"Small Patch\",'Calculator Table'!$L372,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K372=\"Matrix\",'Calculator Table'!$L372,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M372&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N372&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O372&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P372&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q372&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R372&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S372&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T372&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U372&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V372&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W372&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X372&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y372)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z372)&\", version_author=\"&AddQuotes('Calculator Table'!$AA372)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB372,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC372)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE372)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF372)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG372)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH372)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI372)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ372)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK372)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL372)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM372)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN372)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO372)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP372)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F372&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS381>0,'Rk Assign'!D381,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS381>0,Calculate!$AV381,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ381:$BL381<>\"U\")*($AQ381:$BL381>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ381:$BL381<>\"U\")*($AQ381:$BL381>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ381:$BL381<>\"U\")*($AQ381:$BL381>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K381:$R381<>\"Z\")*($K381:$R381>\"\")*NOT(ISERROR($K381:$R381)))+SUM(($K$4:$R$4=\"A\")*($K381:$R381<>\"A\")*($K381:$R381>\"\")*NOT(ISERROR($K381:$R381)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K381:$R381=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ381:$BL381=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B381)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B381)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD381,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F381&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A381)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E381)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K381&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E381=\"Small Patch\",E381=\"Matrix\")),'Calculator Table'!$L381,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E381=\"Small Patch\",'Calculator Table'!$L381,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E381=\"Matrix\",'Calculator Table'!$L381,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M381&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N381&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O381&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P381&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q381&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R381&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S381&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T381&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U381&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V381&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W381&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X381&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y381)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z381)&\", version_author=\"&AddQuotes('Calculator Table'!$AA381)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB381,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC381)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE381)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF381)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG381)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH381)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI381)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ381)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK381)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL381)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM381)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN381)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO381)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP381)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F381&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B381)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B381)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD381,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F381&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A381)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E381)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K381&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H381=\"Small Patch\",H381=\"Matrix\")),'Calculator Table'!$L381,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H381=\"Small Patch\",'Calculator Table'!$L381,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H381=\"Matrix\",'Calculator Table'!$L381,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M381&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N381&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O381&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P381&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q381&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R381&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S381&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T381&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U381&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V381&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W381&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X381&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y381)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z381)&\", version_author=\"&AddQuotes('Calculator Table'!$AA381)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB381,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC381)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE381)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF381)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG381)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH381)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI381)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ381)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK381)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL381)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM381)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN381)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO381)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP381)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F381&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B381)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B381)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD381,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F381&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A381)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E381)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K381&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K381=\"Small Patch\",K381=\"Matrix\")),'Calculator Table'!$L381,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K381=\"Small Patch\",'Calculator Table'!$L381,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K381=\"Matrix\",'Calculator Table'!$L381,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M381&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N381&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O381&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P381&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q381&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R381&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S381&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T381&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U381&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V381&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W381&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X381&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y381)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z381)&\", version_author=\"&AddQuotes('Calculator Table'!$AA381)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB381,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC381)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE381)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF381)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG381)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH381)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI381)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ381)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK381)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL381)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM381)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN381)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO381)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP381)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F381&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS388>0,'Rk Assign'!D388,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS388>0,Calculate!$AV388,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ388:$BL388<>\"U\")*($AQ388:$BL388>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ388:$BL388<>\"U\")*($AQ388:$BL388>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ388:$BL388<>\"U\")*($AQ388:$BL388>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K388:$R388<>\"Z\")*($K388:$R388>\"\")*NOT(ISERROR($K388:$R388)))+SUM(($K$4:$R$4=\"A\")*($K388:$R388<>\"A\")*($K388:$R388>\"\")*NOT(ISERROR($K388:$R388)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K388:$R388=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ388:$BL388=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B388)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B388)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD388,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F388&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A388)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E388)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K388&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E388=\"Small Patch\",E388=\"Matrix\")),'Calculator Table'!$L388,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E388=\"Small Patch\",'Calculator Table'!$L388,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E388=\"Matrix\",'Calculator Table'!$L388,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M388&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N388&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O388&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P388&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q388&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R388&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S388&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T388&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U388&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V388&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W388&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X388&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y388)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z388)&\", version_author=\"&AddQuotes('Calculator Table'!$AA388)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB388,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC388)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE388)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF388)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG388)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH388)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI388)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ388)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK388)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL388)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM388)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN388)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO388)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP388)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F388&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B388)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B388)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD388,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F388&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A388)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E388)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K388&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H388=\"Small Patch\",H388=\"Matrix\")),'Calculator Table'!$L388,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H388=\"Small Patch\",'Calculator Table'!$L388,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H388=\"Matrix\",'Calculator Table'!$L388,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M388&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N388&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O388&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P388&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q388&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R388&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S388&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T388&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U388&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V388&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W388&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X388&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y388)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z388)&\", version_author=\"&AddQuotes('Calculator Table'!$AA388)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB388,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC388)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE388)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF388)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG388)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH388)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI388)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ388)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK388)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL388)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM388)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN388)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO388)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP388)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F388&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B388)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B388)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD388,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F388&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A388)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E388)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K388&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K388=\"Small Patch\",K388=\"Matrix\")),'Calculator Table'!$L388,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K388=\"Small Patch\",'Calculator Table'!$L388,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K388=\"Matrix\",'Calculator Table'!$L388,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M388&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N388&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O388&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P388&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q388&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R388&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S388&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T388&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U388&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V388&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W388&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X388&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y388)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z388)&\", version_author=\"&AddQuotes('Calculator Table'!$AA388)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB388,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC388)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE388)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF388)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG388)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH388)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI388)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ388)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK388)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL388)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM388)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN388)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO388)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP388)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F388&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS398>0,'Rk Assign'!D398,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS398>0,Calculate!$AV398,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ398:$BL398<>\"U\")*($AQ398:$BL398>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ398:$BL398<>\"U\")*($AQ398:$BL398>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ398:$BL398<>\"U\")*($AQ398:$BL398>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K398:$R398<>\"Z\")*($K398:$R398>\"\")*NOT(ISERROR($K398:$R398)))+SUM(($K$4:$R$4=\"A\")*($K398:$R398<>\"A\")*($K398:$R398>\"\")*NOT(ISERROR($K398:$R398)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K398:$R398=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ398:$BL398=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B398)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B398)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD398,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F398&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A398)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E398)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K398&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E398=\"Small Patch\",E398=\"Matrix\")),'Calculator Table'!$L398,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E398=\"Small Patch\",'Calculator Table'!$L398,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E398=\"Matrix\",'Calculator Table'!$L398,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M398&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N398&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O398&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P398&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q398&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R398&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S398&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T398&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U398&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V398&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W398&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X398&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y398)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z398)&\", version_author=\"&AddQuotes('Calculator Table'!$AA398)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB398,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC398)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE398)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF398)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG398)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH398)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI398)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ398)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK398)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL398)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM398)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN398)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO398)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP398)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F398&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B398)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B398)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD398,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F398&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A398)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E398)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K398&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H398=\"Small Patch\",H398=\"Matrix\")),'Calculator Table'!$L398,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H398=\"Small Patch\",'Calculator Table'!$L398,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H398=\"Matrix\",'Calculator Table'!$L398,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M398&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N398&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O398&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P398&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q398&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R398&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S398&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T398&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U398&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V398&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W398&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X398&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y398)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z398)&\", version_author=\"&AddQuotes('Calculator Table'!$AA398)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB398,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC398)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE398)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF398)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG398)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH398)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI398)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ398)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK398)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL398)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM398)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN398)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO398)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP398)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F398&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B398)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B398)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD398,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F398&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A398)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E398)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K398&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K398=\"Small Patch\",K398=\"Matrix\")),'Calculator Table'!$L398,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K398=\"Small Patch\",'Calculator Table'!$L398,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K398=\"Matrix\",'Calculator Table'!$L398,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M398&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N398&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O398&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P398&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q398&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R398&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S398&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T398&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U398&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V398&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W398&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X398&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y398)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z398)&\", version_author=\"&AddQuotes('Calculator Table'!$AA398)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB398,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC398)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE398)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF398)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG398)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH398)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI398)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ398)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK398)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL398)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM398)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN398)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO398)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP398)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F398&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS402>0,'Rk Assign'!D402,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS402>0,Calculate!$AV402,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ402:$BL402<>\"U\")*($AQ402:$BL402>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ402:$BL402<>\"U\")*($AQ402:$BL402>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ402:$BL402<>\"U\")*($AQ402:$BL402>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K402:$R402<>\"Z\")*($K402:$R402>\"\")*NOT(ISERROR($K402:$R402)))+SUM(($K$4:$R$4=\"A\")*($K402:$R402<>\"A\")*($K402:$R402>\"\")*NOT(ISERROR($K402:$R402)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K402:$R402=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ402:$BL402=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B402)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B402)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD402,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F402&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A402)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E402)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K402&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E402=\"Small Patch\",E402=\"Matrix\")),'Calculator Table'!$L402,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E402=\"Small Patch\",'Calculator Table'!$L402,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E402=\"Matrix\",'Calculator Table'!$L402,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M402&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N402&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O402&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P402&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q402&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R402&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S402&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T402&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U402&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V402&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W402&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X402&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y402)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z402)&\", version_author=\"&AddQuotes('Calculator Table'!$AA402)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB402,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC402)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE402)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF402)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG402)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH402)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI402)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ402)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK402)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL402)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM402)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN402)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO402)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP402)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F402&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B402)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B402)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD402,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F402&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A402)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E402)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K402&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H402=\"Small Patch\",H402=\"Matrix\")),'Calculator Table'!$L402,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H402=\"Small Patch\",'Calculator Table'!$L402,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H402=\"Matrix\",'Calculator Table'!$L402,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M402&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N402&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O402&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P402&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q402&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R402&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S402&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T402&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U402&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V402&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W402&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X402&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y402)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z402)&\", version_author=\"&AddQuotes('Calculator Table'!$AA402)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB402,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC402)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE402)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF402)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG402)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH402)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI402)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ402)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK402)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL402)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM402)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN402)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO402)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP402)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F402&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B402)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B402)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD402,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F402&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A402)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E402)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K402&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K402=\"Small Patch\",K402=\"Matrix\")),'Calculator Table'!$L402,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K402=\"Small Patch\",'Calculator Table'!$L402,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K402=\"Matrix\",'Calculator Table'!$L402,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M402&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N402&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O402&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P402&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q402&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R402&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S402&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T402&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U402&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V402&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W402&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X402&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y402)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z402)&\", version_author=\"&AddQuotes('Calculator Table'!$AA402)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB402,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC402)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE402)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF402)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG402)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH402)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI402)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ402)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK402)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL402)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM402)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN402)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO402)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP402)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F402&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS415>0,'Rk Assign'!D415,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS415>0,Calculate!$AV415,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ415:$BL415<>\"U\")*($AQ415:$BL415>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ415:$BL415<>\"U\")*($AQ415:$BL415>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ415:$BL415<>\"U\")*($AQ415:$BL415>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K415:$R415<>\"Z\")*($K415:$R415>\"\")*NOT(ISERROR($K415:$R415)))+SUM(($K$4:$R$4=\"A\")*($K415:$R415<>\"A\")*($K415:$R415>\"\")*NOT(ISERROR($K415:$R415)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K415:$R415=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ415:$BL415=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B415)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B415)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD415,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F415&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A415)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E415)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K415&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E415=\"Small Patch\",E415=\"Matrix\")),'Calculator Table'!$L415,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E415=\"Small Patch\",'Calculator Table'!$L415,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E415=\"Matrix\",'Calculator Table'!$L415,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M415&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N415&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O415&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P415&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q415&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R415&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S415&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T415&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U415&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V415&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W415&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X415&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y415)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z415)&\", version_author=\"&AddQuotes('Calculator Table'!$AA415)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB415,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC415)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE415)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF415)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG415)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH415)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI415)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ415)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK415)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL415)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM415)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN415)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO415)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP415)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F415&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B415)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B415)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD415,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F415&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A415)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E415)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K415&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H415=\"Small Patch\",H415=\"Matrix\")),'Calculator Table'!$L415,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H415=\"Small Patch\",'Calculator Table'!$L415,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H415=\"Matrix\",'Calculator Table'!$L415,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M415&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N415&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O415&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P415&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q415&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R415&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S415&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T415&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U415&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V415&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W415&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X415&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y415)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z415)&\", version_author=\"&AddQuotes('Calculator Table'!$AA415)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB415,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC415)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE415)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF415)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG415)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH415)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI415)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ415)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK415)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL415)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM415)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN415)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO415)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP415)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F415&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B415)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B415)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD415,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F415&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A415)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E415)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K415&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K415=\"Small Patch\",K415=\"Matrix\")),'Calculator Table'!$L415,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K415=\"Small Patch\",'Calculator Table'!$L415,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K415=\"Matrix\",'Calculator Table'!$L415,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M415&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N415&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O415&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P415&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q415&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R415&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S415&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T415&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U415&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V415&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W415&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X415&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y415)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z415)&\", version_author=\"&AddQuotes('Calculator Table'!$AA415)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB415,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC415)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE415)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF415)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG415)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH415)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI415)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ415)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK415)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL415)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM415)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN415)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO415)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP415)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F415&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS423>0,'Rk Assign'!D423,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS423>0,Calculate!$AV423,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ423:$BL423<>\"U\")*($AQ423:$BL423>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ423:$BL423<>\"U\")*($AQ423:$BL423>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ423:$BL423<>\"U\")*($AQ423:$BL423>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K423:$R423<>\"Z\")*($K423:$R423>\"\")*NOT(ISERROR($K423:$R423)))+SUM(($K$4:$R$4=\"A\")*($K423:$R423<>\"A\")*($K423:$R423>\"\")*NOT(ISERROR($K423:$R423)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K423:$R423=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ423:$BL423=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B423)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B423)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD423,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F423&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A423)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E423)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K423&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E423=\"Small Patch\",E423=\"Matrix\")),'Calculator Table'!$L423,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E423=\"Small Patch\",'Calculator Table'!$L423,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E423=\"Matrix\",'Calculator Table'!$L423,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M423&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N423&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O423&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P423&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q423&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R423&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S423&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T423&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U423&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V423&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W423&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X423&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y423)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z423)&\", version_author=\"&AddQuotes('Calculator Table'!$AA423)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB423,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC423)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE423)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF423)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG423)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH423)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI423)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ423)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK423)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL423)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM423)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN423)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO423)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP423)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F423&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B423)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B423)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD423,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F423&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A423)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E423)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K423&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H423=\"Small Patch\",H423=\"Matrix\")),'Calculator Table'!$L423,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H423=\"Small Patch\",'Calculator Table'!$L423,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H423=\"Matrix\",'Calculator Table'!$L423,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M423&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N423&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O423&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P423&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q423&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R423&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S423&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T423&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U423&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V423&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W423&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X423&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y423)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z423)&\", version_author=\"&AddQuotes('Calculator Table'!$AA423)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB423,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC423)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE423)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF423)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG423)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH423)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI423)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ423)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK423)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL423)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM423)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN423)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO423)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP423)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F423&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B423)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B423)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD423,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F423&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A423)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E423)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K423&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K423=\"Small Patch\",K423=\"Matrix\")),'Calculator Table'!$L423,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K423=\"Small Patch\",'Calculator Table'!$L423,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K423=\"Matrix\",'Calculator Table'!$L423,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M423&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N423&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O423&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P423&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q423&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R423&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S423&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T423&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U423&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V423&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W423&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X423&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y423)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z423)&\", version_author=\"&AddQuotes('Calculator Table'!$AA423)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB423,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC423)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE423)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF423)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG423)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH423)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI423)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ423)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK423)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL423)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM423)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN423)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO423)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP423)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F423&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS424>0,'Rk Assign'!D424,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS424>0,Calculate!$AV424,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ424:$BL424<>\"U\")*($AQ424:$BL424>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ424:$BL424<>\"U\")*($AQ424:$BL424>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ424:$BL424<>\"U\")*($AQ424:$BL424>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K424:$R424<>\"Z\")*($K424:$R424>\"\")*NOT(ISERROR($K424:$R424)))+SUM(($K$4:$R$4=\"A\")*($K424:$R424<>\"A\")*($K424:$R424>\"\")*NOT(ISERROR($K424:$R424)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K424:$R424=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ424:$BL424=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B424)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B424)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD424,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F424&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A424)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E424)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K424&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E424=\"Small Patch\",E424=\"Matrix\")),'Calculator Table'!$L424,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E424=\"Small Patch\",'Calculator Table'!$L424,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E424=\"Matrix\",'Calculator Table'!$L424,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M424&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N424&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O424&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P424&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q424&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R424&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S424&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T424&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U424&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V424&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W424&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X424&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y424)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z424)&\", version_author=\"&AddQuotes('Calculator Table'!$AA424)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB424,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC424)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE424)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF424)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG424)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH424)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI424)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ424)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK424)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL424)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM424)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN424)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO424)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP424)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F424&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B424)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B424)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD424,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F424&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A424)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E424)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K424&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H424=\"Small Patch\",H424=\"Matrix\")),'Calculator Table'!$L424,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H424=\"Small Patch\",'Calculator Table'!$L424,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H424=\"Matrix\",'Calculator Table'!$L424,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M424&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N424&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O424&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P424&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q424&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R424&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S424&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T424&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U424&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V424&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W424&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X424&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y424)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z424)&\", version_author=\"&AddQuotes('Calculator Table'!$AA424)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB424,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC424)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE424)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF424)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG424)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH424)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI424)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ424)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK424)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL424)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM424)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN424)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO424)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP424)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F424&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B424)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B424)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD424,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F424&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A424)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E424)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K424&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K424=\"Small Patch\",K424=\"Matrix\")),'Calculator Table'!$L424,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K424=\"Small Patch\",'Calculator Table'!$L424,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K424=\"Matrix\",'Calculator Table'!$L424,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M424&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N424&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O424&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P424&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q424&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R424&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S424&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T424&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U424&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V424&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W424&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X424&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y424)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z424)&\", version_author=\"&AddQuotes('Calculator Table'!$AA424)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB424,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC424)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE424)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF424)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG424)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH424)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI424)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ424)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK424)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL424)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM424)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN424)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO424)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP424)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F424&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS433>0,'Rk Assign'!D433,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS433>0,Calculate!$AV433,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ433:$BL433<>\"U\")*($AQ433:$BL433>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ433:$BL433<>\"U\")*($AQ433:$BL433>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ433:$BL433<>\"U\")*($AQ433:$BL433>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K433:$R433<>\"Z\")*($K433:$R433>\"\")*NOT(ISERROR($K433:$R433)))+SUM(($K$4:$R$4=\"A\")*($K433:$R433<>\"A\")*($K433:$R433>\"\")*NOT(ISERROR($K433:$R433)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K433:$R433=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ433:$BL433=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B433)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B433)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD433,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F433&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A433)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E433)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K433&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E433=\"Small Patch\",E433=\"Matrix\")),'Calculator Table'!$L433,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E433=\"Small Patch\",'Calculator Table'!$L433,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E433=\"Matrix\",'Calculator Table'!$L433,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M433&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N433&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O433&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P433&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q433&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R433&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S433&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T433&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U433&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V433&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W433&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X433&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y433)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z433)&\", version_author=\"&AddQuotes('Calculator Table'!$AA433)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB433,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC433)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE433)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF433)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG433)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH433)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI433)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ433)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK433)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL433)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM433)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN433)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO433)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP433)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F433&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B433)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B433)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD433,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F433&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A433)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E433)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K433&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H433=\"Small Patch\",H433=\"Matrix\")),'Calculator Table'!$L433,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H433=\"Small Patch\",'Calculator Table'!$L433,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H433=\"Matrix\",'Calculator Table'!$L433,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M433&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N433&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O433&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P433&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q433&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R433&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S433&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T433&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U433&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V433&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W433&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X433&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y433)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z433)&\", version_author=\"&AddQuotes('Calculator Table'!$AA433)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB433,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC433)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE433)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF433)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG433)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH433)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI433)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ433)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK433)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL433)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM433)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN433)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO433)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP433)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F433&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B433)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B433)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD433,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F433&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A433)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E433)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K433&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K433=\"Small Patch\",K433=\"Matrix\")),'Calculator Table'!$L433,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K433=\"Small Patch\",'Calculator Table'!$L433,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K433=\"Matrix\",'Calculator Table'!$L433,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M433&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N433&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O433&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P433&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q433&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R433&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S433&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T433&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U433&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V433&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W433&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X433&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y433)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z433)&\", version_author=\"&AddQuotes('Calculator Table'!$AA433)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB433,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC433)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE433)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF433)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG433)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH433)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI433)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ433)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK433)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL433)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM433)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN433)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO433)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP433)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F433&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS446>0,'Rk Assign'!D446,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS446>0,Calculate!$AV446,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ446:$BL446<>\"U\")*($AQ446:$BL446>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ446:$BL446<>\"U\")*($AQ446:$BL446>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ446:$BL446<>\"U\")*($AQ446:$BL446>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K446:$R446<>\"Z\")*($K446:$R446>\"\")*NOT(ISERROR($K446:$R446)))+SUM(($K$4:$R$4=\"A\")*($K446:$R446<>\"A\")*($K446:$R446>\"\")*NOT(ISERROR($K446:$R446)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K446:$R446=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ446:$BL446=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B446)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B446)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD446,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F446&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A446)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E446)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K446&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E446=\"Small Patch\",E446=\"Matrix\")),'Calculator Table'!$L446,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E446=\"Small Patch\",'Calculator Table'!$L446,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E446=\"Matrix\",'Calculator Table'!$L446,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M446&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N446&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O446&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P446&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q446&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R446&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S446&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T446&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U446&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V446&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W446&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X446&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y446)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z446)&\", version_author=\"&AddQuotes('Calculator Table'!$AA446)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB446,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC446)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE446)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF446)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG446)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH446)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI446)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ446)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK446)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL446)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM446)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN446)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO446)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP446)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F446&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B446)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B446)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD446,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F446&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A446)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E446)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K446&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H446=\"Small Patch\",H446=\"Matrix\")),'Calculator Table'!$L446,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H446=\"Small Patch\",'Calculator Table'!$L446,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H446=\"Matrix\",'Calculator Table'!$L446,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M446&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N446&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O446&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P446&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q446&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R446&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S446&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T446&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U446&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V446&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W446&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X446&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y446)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z446)&\", version_author=\"&AddQuotes('Calculator Table'!$AA446)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB446,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC446)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE446)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF446)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG446)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH446)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI446)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ446)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK446)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL446)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM446)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN446)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO446)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP446)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F446&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B446)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B446)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD446,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F446&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A446)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E446)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K446&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K446=\"Small Patch\",K446=\"Matrix\")),'Calculator Table'!$L446,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K446=\"Small Patch\",'Calculator Table'!$L446,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K446=\"Matrix\",'Calculator Table'!$L446,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M446&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N446&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O446&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P446&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q446&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R446&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S446&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T446&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U446&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V446&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W446&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X446&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y446)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z446)&\", version_author=\"&AddQuotes('Calculator Table'!$AA446)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB446,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC446)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE446)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF446)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG446)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH446)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI446)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ446)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK446)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL446)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM446)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN446)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO446)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP446)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F446&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS450>0,'Rk Assign'!D450,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS450>0,Calculate!$AV450,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ450:$BL450<>\"U\")*($AQ450:$BL450>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ450:$BL450<>\"U\")*($AQ450:$BL450>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ450:$BL450<>\"U\")*($AQ450:$BL450>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K450:$R450<>\"Z\")*($K450:$R450>\"\")*NOT(ISERROR($K450:$R450)))+SUM(($K$4:$R$4=\"A\")*($K450:$R450<>\"A\")*($K450:$R450>\"\")*NOT(ISERROR($K450:$R450)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K450:$R450=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ450:$BL450=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B450)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B450)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD450,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F450&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A450)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E450)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K450&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E450=\"Small Patch\",E450=\"Matrix\")),'Calculator Table'!$L450,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E450=\"Small Patch\",'Calculator Table'!$L450,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E450=\"Matrix\",'Calculator Table'!$L450,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M450&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N450&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O450&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P450&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q450&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R450&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S450&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T450&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U450&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V450&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W450&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X450&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y450)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z450)&\", version_author=\"&AddQuotes('Calculator Table'!$AA450)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB450,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC450)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE450)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF450)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG450)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH450)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI450)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ450)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK450)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL450)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM450)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN450)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO450)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP450)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F450&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B450)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B450)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD450,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F450&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A450)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E450)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K450&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H450=\"Small Patch\",H450=\"Matrix\")),'Calculator Table'!$L450,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H450=\"Small Patch\",'Calculator Table'!$L450,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H450=\"Matrix\",'Calculator Table'!$L450,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M450&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N450&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O450&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P450&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q450&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R450&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S450&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T450&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U450&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V450&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W450&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X450&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y450)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z450)&\", version_author=\"&AddQuotes('Calculator Table'!$AA450)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB450,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC450)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE450)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF450)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG450)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH450)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI450)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ450)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK450)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL450)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM450)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN450)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO450)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP450)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F450&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B450)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B450)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD450,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F450&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A450)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E450)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K450&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K450=\"Small Patch\",K450=\"Matrix\")),'Calculator Table'!$L450,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K450=\"Small Patch\",'Calculator Table'!$L450,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K450=\"Matrix\",'Calculator Table'!$L450,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M450&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N450&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O450&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P450&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q450&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R450&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S450&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T450&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U450&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V450&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W450&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X450&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y450)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z450)&\", version_author=\"&AddQuotes('Calculator Table'!$AA450)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB450,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC450)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE450)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF450)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG450)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH450)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI450)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ450)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK450)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL450)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM450)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN450)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO450)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP450)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F450&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS460>0,'Rk Assign'!D460,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS460>0,Calculate!$AV460,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ460:$BL460<>\"U\")*($AQ460:$BL460>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ460:$BL460<>\"U\")*($AQ460:$BL460>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ460:$BL460<>\"U\")*($AQ460:$BL460>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K460:$R460<>\"Z\")*($K460:$R460>\"\")*NOT(ISERROR($K460:$R460)))+SUM(($K$4:$R$4=\"A\")*($K460:$R460<>\"A\")*($K460:$R460>\"\")*NOT(ISERROR($K460:$R460)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K460:$R460=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ460:$BL460=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B460)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B460)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD460,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F460&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A460)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E460)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K460&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E460=\"Small Patch\",E460=\"Matrix\")),'Calculator Table'!$L460,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E460=\"Small Patch\",'Calculator Table'!$L460,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E460=\"Matrix\",'Calculator Table'!$L460,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M460&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N460&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O460&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P460&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q460&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R460&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S460&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T460&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U460&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V460&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W460&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X460&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y460)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z460)&\", version_author=\"&AddQuotes('Calculator Table'!$AA460)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB460,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC460)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE460)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF460)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG460)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH460)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI460)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ460)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK460)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL460)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM460)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN460)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO460)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP460)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F460&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B460)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B460)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD460,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F460&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A460)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E460)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K460&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H460=\"Small Patch\",H460=\"Matrix\")),'Calculator Table'!$L460,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H460=\"Small Patch\",'Calculator Table'!$L460,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H460=\"Matrix\",'Calculator Table'!$L460,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M460&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N460&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O460&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P460&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q460&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R460&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S460&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T460&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U460&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V460&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W460&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X460&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y460)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z460)&\", version_author=\"&AddQuotes('Calculator Table'!$AA460)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB460,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC460)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE460)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF460)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG460)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH460)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI460)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ460)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK460)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL460)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM460)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN460)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO460)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP460)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F460&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B460)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B460)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD460,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F460&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A460)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E460)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K460&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K460=\"Small Patch\",K460=\"Matrix\")),'Calculator Table'!$L460,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K460=\"Small Patch\",'Calculator Table'!$L460,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K460=\"Matrix\",'Calculator Table'!$L460,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M460&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N460&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O460&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P460&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q460&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R460&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S460&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T460&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U460&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V460&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W460&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X460&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y460)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z460)&\", version_author=\"&AddQuotes('Calculator Table'!$AA460)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB460,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC460)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE460)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF460)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG460)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH460)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI460)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ460)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK460)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL460)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM460)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN460)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO460)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP460)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F460&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS467>0,'Rk Assign'!D467,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS467>0,Calculate!$AV467,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ467:$BL467<>\"U\")*($AQ467:$BL467>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ467:$BL467<>\"U\")*($AQ467:$BL467>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ467:$BL467<>\"U\")*($AQ467:$BL467>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K467:$R467<>\"Z\")*($K467:$R467>\"\")*NOT(ISERROR($K467:$R467)))+SUM(($K$4:$R$4=\"A\")*($K467:$R467<>\"A\")*($K467:$R467>\"\")*NOT(ISERROR($K467:$R467)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K467:$R467=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ467:$BL467=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B467)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B467)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD467,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F467&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A467)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E467)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K467&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E467=\"Small Patch\",E467=\"Matrix\")),'Calculator Table'!$L467,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E467=\"Small Patch\",'Calculator Table'!$L467,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E467=\"Matrix\",'Calculator Table'!$L467,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M467&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N467&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O467&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P467&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q467&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R467&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S467&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T467&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U467&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V467&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W467&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X467&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y467)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z467)&\", version_author=\"&AddQuotes('Calculator Table'!$AA467)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB467,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC467)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE467)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF467)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG467)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH467)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI467)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ467)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK467)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL467)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM467)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN467)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO467)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP467)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F467&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B467)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B467)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD467,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F467&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A467)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E467)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K467&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H467=\"Small Patch\",H467=\"Matrix\")),'Calculator Table'!$L467,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H467=\"Small Patch\",'Calculator Table'!$L467,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H467=\"Matrix\",'Calculator Table'!$L467,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M467&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N467&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O467&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P467&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q467&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R467&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S467&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T467&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U467&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V467&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W467&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X467&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y467)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z467)&\", version_author=\"&AddQuotes('Calculator Table'!$AA467)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB467,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC467)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE467)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF467)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG467)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH467)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI467)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ467)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK467)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL467)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM467)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN467)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO467)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP467)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F467&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B467)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B467)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD467,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F467&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A467)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E467)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K467&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K467=\"Small Patch\",K467=\"Matrix\")),'Calculator Table'!$L467,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K467=\"Small Patch\",'Calculator Table'!$L467,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K467=\"Matrix\",'Calculator Table'!$L467,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M467&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N467&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O467&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P467&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q467&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R467&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S467&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T467&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U467&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V467&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W467&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X467&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y467)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z467)&\", version_author=\"&AddQuotes('Calculator Table'!$AA467)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB467,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC467)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE467)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF467)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG467)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH467)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI467)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ467)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK467)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL467)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM467)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN467)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO467)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP467)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F467&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS474>0,'Rk Assign'!D474,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS474>0,Calculate!$AV474,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ474:$BL474<>\"U\")*($AQ474:$BL474>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ474:$BL474<>\"U\")*($AQ474:$BL474>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ474:$BL474<>\"U\")*($AQ474:$BL474>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K474:$R474<>\"Z\")*($K474:$R474>\"\")*NOT(ISERROR($K474:$R474)))+SUM(($K$4:$R$4=\"A\")*($K474:$R474<>\"A\")*($K474:$R474>\"\")*NOT(ISERROR($K474:$R474)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K474:$R474=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ474:$BL474=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B474)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B474)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD474,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F474&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A474)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E474)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K474&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E474=\"Small Patch\",E474=\"Matrix\")),'Calculator Table'!$L474,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E474=\"Small Patch\",'Calculator Table'!$L474,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E474=\"Matrix\",'Calculator Table'!$L474,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M474&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N474&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O474&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P474&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q474&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R474&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S474&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T474&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U474&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V474&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W474&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X474&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y474)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z474)&\", version_author=\"&AddQuotes('Calculator Table'!$AA474)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB474,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC474)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE474)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF474)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG474)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH474)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI474)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ474)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK474)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL474)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM474)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN474)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO474)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP474)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F474&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B474)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B474)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD474,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F474&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A474)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E474)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K474&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H474=\"Small Patch\",H474=\"Matrix\")),'Calculator Table'!$L474,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H474=\"Small Patch\",'Calculator Table'!$L474,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H474=\"Matrix\",'Calculator Table'!$L474,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M474&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N474&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O474&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P474&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q474&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R474&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S474&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T474&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U474&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V474&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W474&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X474&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y474)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z474)&\", version_author=\"&AddQuotes('Calculator Table'!$AA474)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB474,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC474)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE474)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF474)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG474)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH474)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI474)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ474)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK474)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL474)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM474)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN474)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO474)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP474)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F474&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B474)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B474)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD474,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F474&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A474)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E474)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K474&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K474=\"Small Patch\",K474=\"Matrix\")),'Calculator Table'!$L474,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K474=\"Small Patch\",'Calculator Table'!$L474,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K474=\"Matrix\",'Calculator Table'!$L474,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M474&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N474&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O474&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P474&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q474&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R474&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S474&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T474&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U474&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V474&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W474&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X474&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y474)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z474)&\", version_author=\"&AddQuotes('Calculator Table'!$AA474)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB474,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC474)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE474)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF474)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG474)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH474)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI474)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ474)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK474)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL474)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM474)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN474)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO474)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP474)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F474&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS484>0,'Rk Assign'!D484,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS484>0,Calculate!$AV484,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ484:$BL484<>\"U\")*($AQ484:$BL484>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ484:$BL484<>\"U\")*($AQ484:$BL484>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ484:$BL484<>\"U\")*($AQ484:$BL484>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K484:$R484<>\"Z\")*($K484:$R484>\"\")*NOT(ISERROR($K484:$R484)))+SUM(($K$4:$R$4=\"A\")*($K484:$R484<>\"A\")*($K484:$R484>\"\")*NOT(ISERROR($K484:$R484)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K484:$R484=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ484:$BL484=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B484)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B484)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD484,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F484&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A484)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E484)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K484&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E484=\"Small Patch\",E484=\"Matrix\")),'Calculator Table'!$L484,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E484=\"Small Patch\",'Calculator Table'!$L484,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E484=\"Matrix\",'Calculator Table'!$L484,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M484&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N484&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O484&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P484&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q484&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R484&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S484&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T484&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U484&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V484&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W484&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X484&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y484)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z484)&\", version_author=\"&AddQuotes('Calculator Table'!$AA484)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB484,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC484)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE484)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF484)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG484)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH484)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI484)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ484)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK484)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL484)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM484)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN484)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO484)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP484)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F484&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B484)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B484)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD484,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F484&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A484)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E484)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K484&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H484=\"Small Patch\",H484=\"Matrix\")),'Calculator Table'!$L484,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H484=\"Small Patch\",'Calculator Table'!$L484,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H484=\"Matrix\",'Calculator Table'!$L484,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M484&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N484&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O484&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P484&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q484&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R484&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S484&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T484&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U484&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V484&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W484&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X484&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y484)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z484)&\", version_author=\"&AddQuotes('Calculator Table'!$AA484)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB484,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC484)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE484)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF484)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG484)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH484)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI484)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ484)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK484)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL484)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM484)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN484)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO484)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP484)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F484&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B484)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B484)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD484,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F484&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A484)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E484)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K484&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K484=\"Small Patch\",K484=\"Matrix\")),'Calculator Table'!$L484,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K484=\"Small Patch\",'Calculator Table'!$L484,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K484=\"Matrix\",'Calculator Table'!$L484,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M484&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N484&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O484&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P484&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q484&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R484&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S484&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T484&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U484&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V484&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W484&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X484&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y484)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z484)&\", version_author=\"&AddQuotes('Calculator Table'!$AA484)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB484,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC484)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE484)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF484)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG484)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH484)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI484)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ484)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK484)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL484)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM484)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN484)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO484)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP484)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F484&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS491>0,'Rk Assign'!D491,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS491>0,Calculate!$AV491,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ491:$BL491<>\"U\")*($AQ491:$BL491>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ491:$BL491<>\"U\")*($AQ491:$BL491>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ491:$BL491<>\"U\")*($AQ491:$BL491>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K491:$R491<>\"Z\")*($K491:$R491>\"\")*NOT(ISERROR($K491:$R491)))+SUM(($K$4:$R$4=\"A\")*($K491:$R491<>\"A\")*($K491:$R491>\"\")*NOT(ISERROR($K491:$R491)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K491:$R491=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ491:$BL491=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B491)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B491)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD491,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F491&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A491)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E491)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K491&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E491=\"Small Patch\",E491=\"Matrix\")),'Calculator Table'!$L491,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E491=\"Small Patch\",'Calculator Table'!$L491,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E491=\"Matrix\",'Calculator Table'!$L491,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M491&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N491&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O491&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P491&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q491&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R491&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S491&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T491&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U491&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V491&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W491&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X491&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y491)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z491)&\", version_author=\"&AddQuotes('Calculator Table'!$AA491)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB491,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC491)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE491)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF491)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG491)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH491)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI491)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ491)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK491)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL491)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM491)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN491)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO491)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP491)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F491&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B491)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B491)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD491,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F491&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A491)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E491)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K491&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H491=\"Small Patch\",H491=\"Matrix\")),'Calculator Table'!$L491,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H491=\"Small Patch\",'Calculator Table'!$L491,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H491=\"Matrix\",'Calculator Table'!$L491,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M491&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N491&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O491&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P491&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q491&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R491&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S491&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T491&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U491&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V491&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W491&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X491&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y491)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z491)&\", version_author=\"&AddQuotes('Calculator Table'!$AA491)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB491,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC491)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE491)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF491)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG491)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH491)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI491)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ491)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK491)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL491)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM491)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN491)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO491)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP491)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F491&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B491)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B491)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD491,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F491&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A491)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E491)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K491&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K491=\"Small Patch\",K491=\"Matrix\")),'Calculator Table'!$L491,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K491=\"Small Patch\",'Calculator Table'!$L491,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K491=\"Matrix\",'Calculator Table'!$L491,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M491&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N491&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O491&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P491&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q491&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R491&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S491&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T491&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U491&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V491&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W491&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X491&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y491)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z491)&\", version_author=\"&AddQuotes('Calculator Table'!$AA491)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB491,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC491)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE491)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF491)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG491)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH491)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI491)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ491)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK491)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL491)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM491)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN491)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO491)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP491)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F491&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS493>0,'Rk Assign'!D493,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS493>0,Calculate!$AV493,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ493:$BL493<>\"U\")*($AQ493:$BL493>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ493:$BL493<>\"U\")*($AQ493:$BL493>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ493:$BL493<>\"U\")*($AQ493:$BL493>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K493:$R493<>\"Z\")*($K493:$R493>\"\")*NOT(ISERROR($K493:$R493)))+SUM(($K$4:$R$4=\"A\")*($K493:$R493<>\"A\")*($K493:$R493>\"\")*NOT(ISERROR($K493:$R493)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K493:$R493=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ493:$BL493=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B493)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B493)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD493,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F493&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A493)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E493)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K493&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E493=\"Small Patch\",E493=\"Matrix\")),'Calculator Table'!$L493,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E493=\"Small Patch\",'Calculator Table'!$L493,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E493=\"Matrix\",'Calculator Table'!$L493,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M493&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N493&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O493&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P493&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q493&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R493&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S493&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T493&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U493&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V493&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W493&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X493&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y493)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z493)&\", version_author=\"&AddQuotes('Calculator Table'!$AA493)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB493,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC493)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE493)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF493)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG493)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH493)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI493)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ493)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK493)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL493)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM493)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN493)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO493)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP493)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F493&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B493)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B493)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD493,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F493&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A493)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E493)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K493&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H493=\"Small Patch\",H493=\"Matrix\")),'Calculator Table'!$L493,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H493=\"Small Patch\",'Calculator Table'!$L493,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H493=\"Matrix\",'Calculator Table'!$L493,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M493&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N493&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O493&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P493&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q493&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R493&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S493&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T493&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U493&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V493&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W493&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X493&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y493)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z493)&\", version_author=\"&AddQuotes('Calculator Table'!$AA493)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB493,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC493)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE493)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF493)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG493)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH493)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI493)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ493)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK493)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL493)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM493)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN493)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO493)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP493)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F493&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B493)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B493)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD493,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F493&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A493)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E493)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K493&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K493=\"Small Patch\",K493=\"Matrix\")),'Calculator Table'!$L493,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K493=\"Small Patch\",'Calculator Table'!$L493,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K493=\"Matrix\",'Calculator Table'!$L493,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M493&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N493&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O493&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P493&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q493&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R493&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S493&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T493&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U493&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V493&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W493&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X493&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y493)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z493)&\", version_author=\"&AddQuotes('Calculator Table'!$AA493)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB493,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC493)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE493)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF493)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG493)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH493)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI493)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ493)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK493)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL493)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM493)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN493)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO493)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP493)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F493&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS502>0,'Rk Assign'!D502,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS502>0,Calculate!$AV502,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ502:$BL502<>\"U\")*($AQ502:$BL502>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ502:$BL502<>\"U\")*($AQ502:$BL502>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ502:$BL502<>\"U\")*($AQ502:$BL502>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K502:$R502<>\"Z\")*($K502:$R502>\"\")*NOT(ISERROR($K502:$R502)))+SUM(($K$4:$R$4=\"A\")*($K502:$R502<>\"A\")*($K502:$R502>\"\")*NOT(ISERROR($K502:$R502)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K502:$R502=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ502:$BL502=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B502)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B502)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD502,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F502&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A502)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E502)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K502&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E502=\"Small Patch\",E502=\"Matrix\")),'Calculator Table'!$L502,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E502=\"Small Patch\",'Calculator Table'!$L502,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E502=\"Matrix\",'Calculator Table'!$L502,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M502&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N502&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O502&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P502&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q502&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R502&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S502&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T502&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U502&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V502&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W502&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X502&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y502)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z502)&\", version_author=\"&AddQuotes('Calculator Table'!$AA502)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB502,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC502)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE502)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF502)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG502)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH502)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI502)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ502)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK502)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL502)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM502)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN502)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO502)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP502)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F502&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B502)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B502)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD502,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F502&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A502)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E502)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K502&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H502=\"Small Patch\",H502=\"Matrix\")),'Calculator Table'!$L502,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H502=\"Small Patch\",'Calculator Table'!$L502,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H502=\"Matrix\",'Calculator Table'!$L502,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M502&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N502&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O502&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P502&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q502&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R502&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S502&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T502&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U502&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V502&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W502&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X502&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y502)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z502)&\", version_author=\"&AddQuotes('Calculator Table'!$AA502)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB502,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC502)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE502)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF502)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG502)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH502)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI502)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ502)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK502)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL502)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM502)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN502)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO502)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP502)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F502&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B502)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B502)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD502,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F502&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A502)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E502)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K502&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K502=\"Small Patch\",K502=\"Matrix\")),'Calculator Table'!$L502,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K502=\"Small Patch\",'Calculator Table'!$L502,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K502=\"Matrix\",'Calculator Table'!$L502,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M502&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N502&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O502&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P502&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q502&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R502&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S502&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T502&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U502&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V502&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W502&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X502&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y502)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z502)&\", version_author=\"&AddQuotes('Calculator Table'!$AA502)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB502,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC502)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE502)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF502)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG502)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH502)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI502)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ502)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK502)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL502)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM502)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN502)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO502)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP502)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F502&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS514>0,'Rk Assign'!D514,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS514>0,Calculate!$AV514,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ514:$BL514<>\"U\")*($AQ514:$BL514>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ514:$BL514<>\"U\")*($AQ514:$BL514>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ514:$BL514<>\"U\")*($AQ514:$BL514>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K514:$R514<>\"Z\")*($K514:$R514>\"\")*NOT(ISERROR($K514:$R514)))+SUM(($K$4:$R$4=\"A\")*($K514:$R514<>\"A\")*($K514:$R514>\"\")*NOT(ISERROR($K514:$R514)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K514:$R514=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ514:$BL514=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B514)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B514)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD514,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F514&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A514)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E514)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K514&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E514=\"Small Patch\",E514=\"Matrix\")),'Calculator Table'!$L514,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E514=\"Small Patch\",'Calculator Table'!$L514,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E514=\"Matrix\",'Calculator Table'!$L514,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M514&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N514&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O514&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P514&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q514&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R514&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S514&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T514&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U514&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V514&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W514&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X514&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y514)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z514)&\", version_author=\"&AddQuotes('Calculator Table'!$AA514)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB514,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC514)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE514)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF514)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG514)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH514)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI514)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ514)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK514)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL514)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM514)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN514)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO514)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP514)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F514&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B514)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B514)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD514,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F514&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A514)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E514)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K514&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H514=\"Small Patch\",H514=\"Matrix\")),'Calculator Table'!$L514,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H514=\"Small Patch\",'Calculator Table'!$L514,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H514=\"Matrix\",'Calculator Table'!$L514,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M514&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N514&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O514&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P514&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q514&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R514&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S514&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T514&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U514&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V514&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W514&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X514&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y514)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z514)&\", version_author=\"&AddQuotes('Calculator Table'!$AA514)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB514,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC514)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE514)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF514)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG514)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH514)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI514)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ514)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK514)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL514)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM514)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN514)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO514)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP514)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F514&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B514)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B514)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD514,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F514&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A514)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E514)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K514&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K514=\"Small Patch\",K514=\"Matrix\")),'Calculator Table'!$L514,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K514=\"Small Patch\",'Calculator Table'!$L514,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K514=\"Matrix\",'Calculator Table'!$L514,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M514&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N514&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O514&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P514&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q514&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R514&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S514&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T514&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U514&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V514&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W514&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X514&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y514)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z514)&\", version_author=\"&AddQuotes('Calculator Table'!$AA514)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB514,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC514)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE514)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF514)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG514)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH514)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI514)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ514)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK514)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL514)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM514)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN514)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO514)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP514)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F514&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS519>0,'Rk Assign'!D519,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","",{"$f":"LEFT(T519,1)","v":""},{"$f":"RIGHT(T519,1)","v":""},{"$f":"IF(BS519>0,Calculate!$AV519,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ519:$BL519<>\"U\")*($AQ519:$BL519>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ519:$BL519<>\"U\")*($AQ519:$BL519>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ519:$BL519<>\"U\")*($AQ519:$BL519>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K519:$R519<>\"Z\")*($K519:$R519>\"\")*NOT(ISERROR($K519:$R519)))+SUM(($K$4:$R$4=\"A\")*($K519:$R519<>\"A\")*($K519:$R519>\"\")*NOT(ISERROR($K519:$R519)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K519:$R519=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ519:$BL519=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B519)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B519)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD519,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F519&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A519)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E519)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K519&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E519=\"Small Patch\",E519=\"Matrix\")),'Calculator Table'!$L519,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E519=\"Small Patch\",'Calculator Table'!$L519,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E519=\"Matrix\",'Calculator Table'!$L519,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M519&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N519&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O519&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P519&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q519&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R519&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S519&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T519&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U519&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V519&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W519&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X519&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y519)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z519)&\", version_author=\"&AddQuotes('Calculator Table'!$AA519)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB519,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC519)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE519)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF519)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG519)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH519)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI519)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ519)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK519)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL519)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM519)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN519)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO519)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP519)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F519&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B519)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B519)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD519,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F519&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A519)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E519)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K519&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H519=\"Small Patch\",H519=\"Matrix\")),'Calculator Table'!$L519,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H519=\"Small Patch\",'Calculator Table'!$L519,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H519=\"Matrix\",'Calculator Table'!$L519,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M519&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N519&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O519&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P519&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q519&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R519&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S519&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T519&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U519&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V519&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W519&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X519&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y519)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z519)&\", version_author=\"&AddQuotes('Calculator Table'!$AA519)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB519,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC519)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE519)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF519)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG519)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH519)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI519)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ519)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK519)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL519)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM519)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN519)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO519)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP519)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F519&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B519)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B519)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD519,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F519&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A519)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E519)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K519&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K519=\"Small Patch\",K519=\"Matrix\")),'Calculator Table'!$L519,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K519=\"Small Patch\",'Calculator Table'!$L519,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K519=\"Matrix\",'Calculator Table'!$L519,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M519&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N519&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O519&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P519&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q519&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R519&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S519&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T519&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U519&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V519&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W519&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X519&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y519)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z519)&\", version_author=\"&AddQuotes('Calculator Table'!$AA519)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB519,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC519)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE519)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF519)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG519)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH519)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI519)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ519)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK519)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL519)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM519)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN519)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO519)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP519)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F519&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS528>0,'Rk Assign'!D528,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS528>0,Calculate!$AV528,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ528:$BL528<>\"U\")*($AQ528:$BL528>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ528:$BL528<>\"U\")*($AQ528:$BL528>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ528:$BL528<>\"U\")*($AQ528:$BL528>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K528:$R528<>\"Z\")*($K528:$R528>\"\")*NOT(ISERROR($K528:$R528)))+SUM(($K$4:$R$4=\"A\")*($K528:$R528<>\"A\")*($K528:$R528>\"\")*NOT(ISERROR($K528:$R528)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K528:$R528=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ528:$BL528=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B528)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B528)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD528,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F528&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A528)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E528)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K528&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E528=\"Small Patch\",E528=\"Matrix\")),'Calculator Table'!$L528,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E528=\"Small Patch\",'Calculator Table'!$L528,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E528=\"Matrix\",'Calculator Table'!$L528,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M528&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N528&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O528&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P528&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q528&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R528&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S528&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T528&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U528&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V528&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W528&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X528&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y528)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z528)&\", version_author=\"&AddQuotes('Calculator Table'!$AA528)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB528,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC528)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE528)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF528)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG528)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH528)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI528)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ528)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK528)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL528)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM528)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN528)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO528)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP528)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F528&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B528)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B528)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD528,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F528&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A528)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E528)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K528&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H528=\"Small Patch\",H528=\"Matrix\")),'Calculator Table'!$L528,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H528=\"Small Patch\",'Calculator Table'!$L528,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H528=\"Matrix\",'Calculator Table'!$L528,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M528&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N528&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O528&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P528&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q528&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R528&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S528&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T528&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U528&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V528&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W528&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X528&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y528)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z528)&\", version_author=\"&AddQuotes('Calculator Table'!$AA528)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB528,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC528)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE528)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF528)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG528)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH528)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI528)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ528)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK528)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL528)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM528)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN528)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO528)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP528)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F528&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B528)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B528)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD528,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F528&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A528)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E528)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K528&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K528=\"Small Patch\",K528=\"Matrix\")),'Calculator Table'!$L528,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K528=\"Small Patch\",'Calculator Table'!$L528,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K528=\"Matrix\",'Calculator Table'!$L528,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M528&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N528&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O528&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P528&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q528&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R528&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S528&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T528&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U528&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V528&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W528&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X528&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y528)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z528)&\", version_author=\"&AddQuotes('Calculator Table'!$AA528)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB528,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC528)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE528)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF528)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG528)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH528)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI528)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ528)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK528)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL528)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM528)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN528)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO528)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP528)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F528&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS536>0,'Rk Assign'!D536,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS536>0,Calculate!$AV536,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ536:$BL536<>\"U\")*($AQ536:$BL536>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ536:$BL536<>\"U\")*($AQ536:$BL536>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ536:$BL536<>\"U\")*($AQ536:$BL536>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K536:$R536<>\"Z\")*($K536:$R536>\"\")*NOT(ISERROR($K536:$R536)))+SUM(($K$4:$R$4=\"A\")*($K536:$R536<>\"A\")*($K536:$R536>\"\")*NOT(ISERROR($K536:$R536)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K536:$R536=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ536:$BL536=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B536)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B536)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD536,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F536&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A536)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E536)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K536&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E536=\"Small Patch\",E536=\"Matrix\")),'Calculator Table'!$L536,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E536=\"Small Patch\",'Calculator Table'!$L536,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E536=\"Matrix\",'Calculator Table'!$L536,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M536&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N536&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O536&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P536&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q536&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R536&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S536&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T536&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U536&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V536&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W536&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X536&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y536)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z536)&\", version_author=\"&AddQuotes('Calculator Table'!$AA536)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB536,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC536)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE536)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF536)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG536)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH536)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI536)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ536)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK536)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL536)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM536)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN536)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO536)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP536)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F536&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B536)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B536)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD536,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F536&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A536)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E536)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K536&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H536=\"Small Patch\",H536=\"Matrix\")),'Calculator Table'!$L536,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H536=\"Small Patch\",'Calculator Table'!$L536,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H536=\"Matrix\",'Calculator Table'!$L536,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M536&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N536&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O536&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P536&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q536&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R536&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S536&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T536&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U536&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V536&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W536&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X536&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y536)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z536)&\", version_author=\"&AddQuotes('Calculator Table'!$AA536)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB536,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC536)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE536)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF536)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG536)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH536)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI536)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ536)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK536)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL536)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM536)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN536)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO536)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP536)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F536&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B536)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B536)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD536,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F536&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A536)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E536)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K536&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K536=\"Small Patch\",K536=\"Matrix\")),'Calculator Table'!$L536,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K536=\"Small Patch\",'Calculator Table'!$L536,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K536=\"Matrix\",'Calculator Table'!$L536,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M536&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N536&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O536&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P536&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q536&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R536&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S536&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T536&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U536&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V536&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W536&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X536&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y536)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z536)&\", version_author=\"&AddQuotes('Calculator Table'!$AA536)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB536,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC536)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE536)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF536)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG536)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH536)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI536)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ536)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK536)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL536)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM536)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN536)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO536)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP536)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F536&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS542>0,'Rk Assign'!D542,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS542>0,Calculate!$AV542,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ542:$BL542<>\"U\")*($AQ542:$BL542>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ542:$BL542<>\"U\")*($AQ542:$BL542>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ542:$BL542<>\"U\")*($AQ542:$BL542>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K542:$R542<>\"Z\")*($K542:$R542>\"\")*NOT(ISERROR($K542:$R542)))+SUM(($K$4:$R$4=\"A\")*($K542:$R542<>\"A\")*($K542:$R542>\"\")*NOT(ISERROR($K542:$R542)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K542:$R542=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ542:$BL542=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B542)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B542)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD542,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F542&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A542)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E542)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K542&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E542=\"Small Patch\",E542=\"Matrix\")),'Calculator Table'!$L542,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E542=\"Small Patch\",'Calculator Table'!$L542,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E542=\"Matrix\",'Calculator Table'!$L542,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M542&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N542&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O542&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P542&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q542&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R542&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S542&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T542&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U542&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V542&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W542&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X542&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y542)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z542)&\", version_author=\"&AddQuotes('Calculator Table'!$AA542)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB542,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC542)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE542)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF542)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG542)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH542)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI542)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ542)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK542)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL542)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM542)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN542)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO542)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP542)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F542&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B542)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B542)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD542,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F542&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A542)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E542)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K542&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H542=\"Small Patch\",H542=\"Matrix\")),'Calculator Table'!$L542,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H542=\"Small Patch\",'Calculator Table'!$L542,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H542=\"Matrix\",'Calculator Table'!$L542,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M542&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N542&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O542&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P542&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q542&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R542&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S542&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T542&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U542&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V542&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W542&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X542&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y542)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z542)&\", version_author=\"&AddQuotes('Calculator Table'!$AA542)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB542,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC542)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE542)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF542)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG542)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH542)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI542)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ542)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK542)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL542)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM542)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN542)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO542)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP542)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F542&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B542)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B542)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD542,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F542&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A542)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E542)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K542&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K542=\"Small Patch\",K542=\"Matrix\")),'Calculator Table'!$L542,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K542=\"Small Patch\",'Calculator Table'!$L542,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K542=\"Matrix\",'Calculator Table'!$L542,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M542&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N542&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O542&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P542&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q542&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R542&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S542&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T542&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U542&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V542&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W542&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X542&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y542)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z542)&\", version_author=\"&AddQuotes('Calculator Table'!$AA542)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB542,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC542)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE542)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF542)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG542)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH542)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI542)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ542)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK542)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL542)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM542)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN542)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO542)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP542)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F542&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS545>0,'Rk Assign'!D545,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS545>0,Calculate!$AV545,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ545:$BL545<>\"U\")*($AQ545:$BL545>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ545:$BL545<>\"U\")*($AQ545:$BL545>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ545:$BL545<>\"U\")*($AQ545:$BL545>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K545:$R545<>\"Z\")*($K545:$R545>\"\")*NOT(ISERROR($K545:$R545)))+SUM(($K$4:$R$4=\"A\")*($K545:$R545<>\"A\")*($K545:$R545>\"\")*NOT(ISERROR($K545:$R545)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K545:$R545=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ545:$BL545=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B545)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B545)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD545,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F545&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A545)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E545)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K545&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E545=\"Small Patch\",E545=\"Matrix\")),'Calculator Table'!$L545,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E545=\"Small Patch\",'Calculator Table'!$L545,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E545=\"Matrix\",'Calculator Table'!$L545,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M545&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N545&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O545&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P545&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q545&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R545&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S545&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T545&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U545&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V545&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W545&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X545&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y545)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z545)&\", version_author=\"&AddQuotes('Calculator Table'!$AA545)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB545,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC545)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE545)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF545)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG545)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH545)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI545)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ545)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK545)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL545)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM545)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN545)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO545)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP545)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F545&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B545)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B545)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD545,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F545&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A545)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E545)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K545&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H545=\"Small Patch\",H545=\"Matrix\")),'Calculator Table'!$L545,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H545=\"Small Patch\",'Calculator Table'!$L545,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H545=\"Matrix\",'Calculator Table'!$L545,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M545&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N545&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O545&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P545&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q545&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R545&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S545&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T545&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U545&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V545&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W545&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X545&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y545)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z545)&\", version_author=\"&AddQuotes('Calculator Table'!$AA545)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB545,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC545)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE545)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF545)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG545)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH545)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI545)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ545)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK545)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL545)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM545)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN545)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO545)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP545)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F545&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B545)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B545)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD545,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F545&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A545)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E545)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K545&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K545=\"Small Patch\",K545=\"Matrix\")),'Calculator Table'!$L545,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K545=\"Small Patch\",'Calculator Table'!$L545,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K545=\"Matrix\",'Calculator Table'!$L545,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M545&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N545&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O545&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P545&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q545&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R545&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S545&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T545&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U545&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V545&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W545&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X545&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y545)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z545)&\", version_author=\"&AddQuotes('Calculator Table'!$AA545)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB545,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC545)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE545)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF545)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG545)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH545)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI545)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ545)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK545)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL545)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM545)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN545)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO545)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP545)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F545&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS556>0,'Rk Assign'!D556,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS556>0,Calculate!$AV556,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ556:$BL556<>\"U\")*($AQ556:$BL556>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ556:$BL556<>\"U\")*($AQ556:$BL556>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ556:$BL556<>\"U\")*($AQ556:$BL556>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K556:$R556<>\"Z\")*($K556:$R556>\"\")*NOT(ISERROR($K556:$R556)))+SUM(($K$4:$R$4=\"A\")*($K556:$R556<>\"A\")*($K556:$R556>\"\")*NOT(ISERROR($K556:$R556)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K556:$R556=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ556:$BL556=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B556)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B556)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD556,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F556&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A556)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E556)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K556&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E556=\"Small Patch\",E556=\"Matrix\")),'Calculator Table'!$L556,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E556=\"Small Patch\",'Calculator Table'!$L556,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E556=\"Matrix\",'Calculator Table'!$L556,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M556&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N556&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O556&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P556&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q556&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R556&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S556&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T556&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U556&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V556&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W556&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X556&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y556)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z556)&\", version_author=\"&AddQuotes('Calculator Table'!$AA556)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB556,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC556)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE556)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF556)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG556)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH556)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI556)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ556)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK556)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL556)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM556)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN556)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO556)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP556)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F556&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B556)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B556)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD556,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F556&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A556)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E556)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K556&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H556=\"Small Patch\",H556=\"Matrix\")),'Calculator Table'!$L556,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H556=\"Small Patch\",'Calculator Table'!$L556,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H556=\"Matrix\",'Calculator Table'!$L556,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M556&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N556&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O556&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P556&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q556&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R556&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S556&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T556&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U556&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V556&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W556&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X556&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y556)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z556)&\", version_author=\"&AddQuotes('Calculator Table'!$AA556)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB556,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC556)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE556)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF556)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG556)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH556)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI556)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ556)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK556)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL556)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM556)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN556)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO556)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP556)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F556&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B556)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B556)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD556,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F556&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A556)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E556)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K556&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K556=\"Small Patch\",K556=\"Matrix\")),'Calculator Table'!$L556,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K556=\"Small Patch\",'Calculator Table'!$L556,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K556=\"Matrix\",'Calculator Table'!$L556,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M556&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N556&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O556&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P556&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q556&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R556&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S556&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T556&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U556&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V556&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W556&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X556&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y556)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z556)&\", version_author=\"&AddQuotes('Calculator Table'!$AA556)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB556,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC556)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE556)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF556)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG556)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH556)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI556)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ556)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK556)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL556)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM556)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN556)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO556)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP556)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F556&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS562>0,'Rk Assign'!D562,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS562>0,Calculate!$AV562,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ562:$BL562<>\"U\")*($AQ562:$BL562>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ562:$BL562<>\"U\")*($AQ562:$BL562>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ562:$BL562<>\"U\")*($AQ562:$BL562>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K562:$R562<>\"Z\")*($K562:$R562>\"\")*NOT(ISERROR($K562:$R562)))+SUM(($K$4:$R$4=\"A\")*($K562:$R562<>\"A\")*($K562:$R562>\"\")*NOT(ISERROR($K562:$R562)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K562:$R562=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ562:$BL562=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B562)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B562)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD562,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F562&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A562)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E562)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K562&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E562=\"Small Patch\",E562=\"Matrix\")),'Calculator Table'!$L562,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E562=\"Small Patch\",'Calculator Table'!$L562,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E562=\"Matrix\",'Calculator Table'!$L562,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M562&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N562&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O562&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P562&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q562&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R562&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S562&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T562&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U562&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V562&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W562&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X562&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y562)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z562)&\", version_author=\"&AddQuotes('Calculator Table'!$AA562)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB562,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC562)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE562)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF562)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG562)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH562)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI562)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ562)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK562)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL562)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM562)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN562)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO562)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP562)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F562&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B562)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B562)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD562,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F562&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A562)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E562)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K562&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H562=\"Small Patch\",H562=\"Matrix\")),'Calculator Table'!$L562,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H562=\"Small Patch\",'Calculator Table'!$L562,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H562=\"Matrix\",'Calculator Table'!$L562,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M562&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N562&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O562&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P562&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q562&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R562&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S562&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T562&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U562&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V562&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W562&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X562&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y562)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z562)&\", version_author=\"&AddQuotes('Calculator Table'!$AA562)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB562,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC562)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE562)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF562)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG562)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH562)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI562)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ562)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK562)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL562)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM562)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN562)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO562)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP562)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F562&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B562)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B562)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD562,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F562&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A562)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E562)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K562&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K562=\"Small Patch\",K562=\"Matrix\")),'Calculator Table'!$L562,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K562=\"Small Patch\",'Calculator Table'!$L562,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K562=\"Matrix\",'Calculator Table'!$L562,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M562&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N562&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O562&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P562&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q562&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R562&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S562&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T562&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U562&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V562&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W562&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X562&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y562)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z562)&\", version_author=\"&AddQuotes('Calculator Table'!$AA562)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB562,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC562)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE562)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF562)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG562)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH562)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI562)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ562)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK562)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL562)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM562)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN562)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO562)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP562)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F562&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS571>0,'Rk Assign'!D571,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS571>0,Calculate!$AV571,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ571:$BL571<>\"U\")*($AQ571:$BL571>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ571:$BL571<>\"U\")*($AQ571:$BL571>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ571:$BL571<>\"U\")*($AQ571:$BL571>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K571:$R571<>\"Z\")*($K571:$R571>\"\")*NOT(ISERROR($K571:$R571)))+SUM(($K$4:$R$4=\"A\")*($K571:$R571<>\"A\")*($K571:$R571>\"\")*NOT(ISERROR($K571:$R571)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K571:$R571=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ571:$BL571=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B571)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B571)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD571,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F571&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A571)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E571)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K571&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E571=\"Small Patch\",E571=\"Matrix\")),'Calculator Table'!$L571,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E571=\"Small Patch\",'Calculator Table'!$L571,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E571=\"Matrix\",'Calculator Table'!$L571,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M571&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N571&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O571&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P571&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q571&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R571&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S571&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T571&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U571&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V571&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W571&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X571&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y571)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z571)&\", version_author=\"&AddQuotes('Calculator Table'!$AA571)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB571,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC571)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE571)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF571)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG571)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH571)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI571)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ571)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK571)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL571)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM571)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN571)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO571)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP571)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F571&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B571)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B571)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD571,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F571&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A571)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E571)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K571&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H571=\"Small Patch\",H571=\"Matrix\")),'Calculator Table'!$L571,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H571=\"Small Patch\",'Calculator Table'!$L571,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H571=\"Matrix\",'Calculator Table'!$L571,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M571&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N571&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O571&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P571&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q571&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R571&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S571&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T571&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U571&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V571&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W571&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X571&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y571)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z571)&\", version_author=\"&AddQuotes('Calculator Table'!$AA571)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB571,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC571)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE571)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF571)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG571)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH571)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI571)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ571)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK571)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL571)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM571)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN571)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO571)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP571)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F571&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B571)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B571)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD571,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F571&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A571)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E571)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K571&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K571=\"Small Patch\",K571=\"Matrix\")),'Calculator Table'!$L571,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K571=\"Small Patch\",'Calculator Table'!$L571,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K571=\"Matrix\",'Calculator Table'!$L571,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M571&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N571&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O571&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P571&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q571&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R571&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S571&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T571&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U571&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V571&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W571&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X571&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y571)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z571)&\", version_author=\"&AddQuotes('Calculator Table'!$AA571)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB571,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC571)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE571)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF571)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG571)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH571)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI571)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ571)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK571)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL571)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM571)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN571)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO571)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP571)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F571&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS579>0,'Rk Assign'!D579,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS579>0,Calculate!$AV579,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ579:$BL579<>\"U\")*($AQ579:$BL579>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ579:$BL579<>\"U\")*($AQ579:$BL579>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ579:$BL579<>\"U\")*($AQ579:$BL579>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K579:$R579<>\"Z\")*($K579:$R579>\"\")*NOT(ISERROR($K579:$R579)))+SUM(($K$4:$R$4=\"A\")*($K579:$R579<>\"A\")*($K579:$R579>\"\")*NOT(ISERROR($K579:$R579)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K579:$R579=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ579:$BL579=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B579)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B579)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD579,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F579&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A579)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E579)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K579&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E579=\"Small Patch\",E579=\"Matrix\")),'Calculator Table'!$L579,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E579=\"Small Patch\",'Calculator Table'!$L579,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E579=\"Matrix\",'Calculator Table'!$L579,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M579&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N579&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O579&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P579&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q579&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R579&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S579&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T579&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U579&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V579&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W579&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X579&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y579)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z579)&\", version_author=\"&AddQuotes('Calculator Table'!$AA579)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB579,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC579)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE579)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF579)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG579)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH579)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI579)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ579)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK579)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL579)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM579)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN579)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO579)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP579)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F579&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B579)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B579)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD579,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F579&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A579)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E579)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K579&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H579=\"Small Patch\",H579=\"Matrix\")),'Calculator Table'!$L579,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H579=\"Small Patch\",'Calculator Table'!$L579,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H579=\"Matrix\",'Calculator Table'!$L579,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M579&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N579&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O579&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P579&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q579&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R579&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S579&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T579&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U579&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V579&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W579&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X579&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y579)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z579)&\", version_author=\"&AddQuotes('Calculator Table'!$AA579)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB579,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC579)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE579)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF579)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG579)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH579)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI579)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ579)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK579)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL579)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM579)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN579)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO579)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP579)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F579&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B579)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B579)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD579,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F579&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A579)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E579)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K579&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K579=\"Small Patch\",K579=\"Matrix\")),'Calculator Table'!$L579,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K579=\"Small Patch\",'Calculator Table'!$L579,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K579=\"Matrix\",'Calculator Table'!$L579,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M579&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N579&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O579&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P579&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q579&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R579&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S579&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T579&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U579&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V579&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W579&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X579&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y579)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z579)&\", version_author=\"&AddQuotes('Calculator Table'!$AA579)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB579,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC579)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE579)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF579)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG579)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH579)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI579)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ579)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK579)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL579)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM579)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN579)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO579)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP579)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F579&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS588>0,'Rk Assign'!D588,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS588>0,Calculate!$AV588,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ588:$BL588<>\"U\")*($AQ588:$BL588>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ588:$BL588<>\"U\")*($AQ588:$BL588>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ588:$BL588<>\"U\")*($AQ588:$BL588>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K588:$R588<>\"Z\")*($K588:$R588>\"\")*NOT(ISERROR($K588:$R588)))+SUM(($K$4:$R$4=\"A\")*($K588:$R588<>\"A\")*($K588:$R588>\"\")*NOT(ISERROR($K588:$R588)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K588:$R588=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ588:$BL588=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B588)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B588)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD588,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F588&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A588)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E588)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K588&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E588=\"Small Patch\",E588=\"Matrix\")),'Calculator Table'!$L588,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E588=\"Small Patch\",'Calculator Table'!$L588,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E588=\"Matrix\",'Calculator Table'!$L588,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M588&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N588&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O588&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P588&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q588&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R588&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S588&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T588&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U588&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V588&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W588&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X588&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y588)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z588)&\", version_author=\"&AddQuotes('Calculator Table'!$AA588)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB588,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC588)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE588)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF588)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG588)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH588)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI588)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ588)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK588)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL588)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM588)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN588)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO588)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP588)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F588&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B588)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B588)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD588,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F588&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A588)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E588)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K588&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H588=\"Small Patch\",H588=\"Matrix\")),'Calculator Table'!$L588,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H588=\"Small Patch\",'Calculator Table'!$L588,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H588=\"Matrix\",'Calculator Table'!$L588,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M588&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N588&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O588&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P588&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q588&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R588&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S588&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T588&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U588&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V588&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W588&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X588&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y588)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z588)&\", version_author=\"&AddQuotes('Calculator Table'!$AA588)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB588,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC588)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE588)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF588)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG588)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH588)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI588)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ588)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK588)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL588)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM588)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN588)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO588)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP588)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F588&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B588)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B588)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD588,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F588&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A588)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E588)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K588&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K588=\"Small Patch\",K588=\"Matrix\")),'Calculator Table'!$L588,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K588=\"Small Patch\",'Calculator Table'!$L588,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K588=\"Matrix\",'Calculator Table'!$L588,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M588&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N588&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O588&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P588&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q588&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R588&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S588&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T588&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U588&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V588&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W588&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X588&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y588)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z588)&\", version_author=\"&AddQuotes('Calculator Table'!$AA588)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB588,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC588)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE588)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF588)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG588)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH588)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI588)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ588)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK588)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL588)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM588)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN588)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO588)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP588)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F588&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS593>0,'Rk Assign'!D593,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS593>0,Calculate!$AV593,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ593:$BL593<>\"U\")*($AQ593:$BL593>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ593:$BL593<>\"U\")*($AQ593:$BL593>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ593:$BL593<>\"U\")*($AQ593:$BL593>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K593:$R593<>\"Z\")*($K593:$R593>\"\")*NOT(ISERROR($K593:$R593)))+SUM(($K$4:$R$4=\"A\")*($K593:$R593<>\"A\")*($K593:$R593>\"\")*NOT(ISERROR($K593:$R593)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K593:$R593=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ593:$BL593=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B593)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B593)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD593,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F593&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A593)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E593)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K593&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E593=\"Small Patch\",E593=\"Matrix\")),'Calculator Table'!$L593,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E593=\"Small Patch\",'Calculator Table'!$L593,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E593=\"Matrix\",'Calculator Table'!$L593,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M593&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N593&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O593&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P593&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q593&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R593&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S593&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T593&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U593&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V593&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W593&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X593&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y593)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z593)&\", version_author=\"&AddQuotes('Calculator Table'!$AA593)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB593,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC593)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE593)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF593)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG593)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH593)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI593)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ593)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK593)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL593)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM593)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN593)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO593)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP593)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F593&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B593)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B593)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD593,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F593&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A593)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E593)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K593&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H593=\"Small Patch\",H593=\"Matrix\")),'Calculator Table'!$L593,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H593=\"Small Patch\",'Calculator Table'!$L593,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H593=\"Matrix\",'Calculator Table'!$L593,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M593&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N593&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O593&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P593&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q593&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R593&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S593&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T593&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U593&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V593&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W593&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X593&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y593)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z593)&\", version_author=\"&AddQuotes('Calculator Table'!$AA593)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB593,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC593)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE593)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF593)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG593)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH593)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI593)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ593)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK593)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL593)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM593)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN593)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO593)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP593)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F593&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B593)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B593)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD593,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F593&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A593)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E593)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K593&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K593=\"Small Patch\",K593=\"Matrix\")),'Calculator Table'!$L593,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K593=\"Small Patch\",'Calculator Table'!$L593,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K593=\"Matrix\",'Calculator Table'!$L593,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M593&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N593&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O593&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P593&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q593&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R593&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S593&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T593&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U593&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V593&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W593&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X593&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y593)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z593)&\", version_author=\"&AddQuotes('Calculator Table'!$AA593)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB593,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC593)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE593)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF593)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG593)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH593)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI593)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ593)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK593)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL593)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM593)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN593)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO593)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP593)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F593&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS605>0,'Rk Assign'!D605,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS605>0,Calculate!$AV605,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ605:$BL605<>\"U\")*($AQ605:$BL605>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ605:$BL605<>\"U\")*($AQ605:$BL605>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ605:$BL605<>\"U\")*($AQ605:$BL605>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K605:$R605<>\"Z\")*($K605:$R605>\"\")*NOT(ISERROR($K605:$R605)))+SUM(($K$4:$R$4=\"A\")*($K605:$R605<>\"A\")*($K605:$R605>\"\")*NOT(ISERROR($K605:$R605)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K605:$R605=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ605:$BL605=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B605)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B605)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD605,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F605&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A605)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E605)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K605&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E605=\"Small Patch\",E605=\"Matrix\")),'Calculator Table'!$L605,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E605=\"Small Patch\",'Calculator Table'!$L605,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E605=\"Matrix\",'Calculator Table'!$L605,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M605&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N605&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O605&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P605&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q605&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R605&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S605&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T605&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U605&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V605&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W605&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X605&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y605)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z605)&\", version_author=\"&AddQuotes('Calculator Table'!$AA605)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB605,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC605)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE605)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF605)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG605)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH605)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI605)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ605)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK605)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL605)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM605)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN605)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO605)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP605)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F605&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B605)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B605)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD605,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F605&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A605)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E605)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K605&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H605=\"Small Patch\",H605=\"Matrix\")),'Calculator Table'!$L605,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H605=\"Small Patch\",'Calculator Table'!$L605,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H605=\"Matrix\",'Calculator Table'!$L605,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M605&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N605&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O605&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P605&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q605&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R605&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S605&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T605&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U605&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V605&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W605&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X605&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y605)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z605)&\", version_author=\"&AddQuotes('Calculator Table'!$AA605)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB605,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC605)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE605)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF605)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG605)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH605)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI605)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ605)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK605)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL605)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM605)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN605)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO605)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP605)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F605&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B605)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B605)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD605,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F605&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A605)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E605)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K605&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K605=\"Small Patch\",K605=\"Matrix\")),'Calculator Table'!$L605,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K605=\"Small Patch\",'Calculator Table'!$L605,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K605=\"Matrix\",'Calculator Table'!$L605,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M605&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N605&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O605&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P605&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q605&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R605&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S605&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T605&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U605&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V605&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W605&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X605&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y605)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z605)&\", version_author=\"&AddQuotes('Calculator Table'!$AA605)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB605,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC605)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE605)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF605)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG605)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH605)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI605)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ605)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK605)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL605)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM605)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN605)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO605)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP605)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F605&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS610>0,'Rk Assign'!D610,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS610>0,Calculate!$AV610,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ610:$BL610<>\"U\")*($AQ610:$BL610>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ610:$BL610<>\"U\")*($AQ610:$BL610>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ610:$BL610<>\"U\")*($AQ610:$BL610>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K610:$R610<>\"Z\")*($K610:$R610>\"\")*NOT(ISERROR($K610:$R610)))+SUM(($K$4:$R$4=\"A\")*($K610:$R610<>\"A\")*($K610:$R610>\"\")*NOT(ISERROR($K610:$R610)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K610:$R610=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ610:$BL610=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B610)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B610)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD610,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F610&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A610)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E610)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K610&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E610=\"Small Patch\",E610=\"Matrix\")),'Calculator Table'!$L610,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E610=\"Small Patch\",'Calculator Table'!$L610,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E610=\"Matrix\",'Calculator Table'!$L610,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M610&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N610&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O610&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P610&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q610&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R610&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S610&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T610&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U610&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V610&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W610&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X610&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y610)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z610)&\", version_author=\"&AddQuotes('Calculator Table'!$AA610)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB610,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC610)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE610)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF610)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG610)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH610)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI610)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ610)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK610)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL610)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM610)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN610)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO610)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP610)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F610&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B610)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B610)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD610,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F610&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A610)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E610)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K610&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H610=\"Small Patch\",H610=\"Matrix\")),'Calculator Table'!$L610,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H610=\"Small Patch\",'Calculator Table'!$L610,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H610=\"Matrix\",'Calculator Table'!$L610,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M610&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N610&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O610&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P610&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q610&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R610&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S610&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T610&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U610&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V610&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W610&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X610&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y610)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z610)&\", version_author=\"&AddQuotes('Calculator Table'!$AA610)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB610,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC610)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE610)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF610)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG610)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH610)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI610)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ610)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK610)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL610)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM610)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN610)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO610)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP610)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F610&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B610)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B610)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD610,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F610&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A610)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E610)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K610&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K610=\"Small Patch\",K610=\"Matrix\")),'Calculator Table'!$L610,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K610=\"Small Patch\",'Calculator Table'!$L610,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K610=\"Matrix\",'Calculator Table'!$L610,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M610&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N610&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O610&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P610&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q610&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R610&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S610&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T610&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U610&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V610&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W610&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X610&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y610)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z610)&\", version_author=\"&AddQuotes('Calculator Table'!$AA610)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB610,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC610)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE610)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF610)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG610)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH610)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI610)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ610)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK610)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL610)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM610)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN610)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO610)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP610)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F610&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS614>0,'Rk Assign'!D614,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS614>0,Calculate!$AV614,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ614:$BL614<>\"U\")*($AQ614:$BL614>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ614:$BL614<>\"U\")*($AQ614:$BL614>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ614:$BL614<>\"U\")*($AQ614:$BL614>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K614:$R614<>\"Z\")*($K614:$R614>\"\")*NOT(ISERROR($K614:$R614)))+SUM(($K$4:$R$4=\"A\")*($K614:$R614<>\"A\")*($K614:$R614>\"\")*NOT(ISERROR($K614:$R614)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K614:$R614=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ614:$BL614=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B614)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B614)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD614,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F614&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A614)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E614)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K614&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E614=\"Small Patch\",E614=\"Matrix\")),'Calculator Table'!$L614,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E614=\"Small Patch\",'Calculator Table'!$L614,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E614=\"Matrix\",'Calculator Table'!$L614,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M614&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N614&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O614&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P614&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q614&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R614&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S614&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T614&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U614&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V614&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W614&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X614&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y614)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z614)&\", version_author=\"&AddQuotes('Calculator Table'!$AA614)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB614,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC614)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE614)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF614)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG614)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH614)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI614)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ614)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK614)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL614)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM614)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN614)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO614)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP614)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F614&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B614)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B614)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD614,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F614&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A614)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E614)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K614&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H614=\"Small Patch\",H614=\"Matrix\")),'Calculator Table'!$L614,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H614=\"Small Patch\",'Calculator Table'!$L614,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H614=\"Matrix\",'Calculator Table'!$L614,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M614&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N614&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O614&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P614&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q614&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R614&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S614&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T614&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U614&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V614&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W614&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X614&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y614)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z614)&\", version_author=\"&AddQuotes('Calculator Table'!$AA614)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB614,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC614)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE614)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF614)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG614)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH614)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI614)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ614)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK614)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL614)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM614)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN614)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO614)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP614)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F614&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B614)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B614)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD614,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F614&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A614)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E614)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K614&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K614=\"Small Patch\",K614=\"Matrix\")),'Calculator Table'!$L614,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K614=\"Small Patch\",'Calculator Table'!$L614,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K614=\"Matrix\",'Calculator Table'!$L614,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M614&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N614&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O614&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P614&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q614&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R614&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S614&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T614&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U614&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V614&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W614&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X614&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y614)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z614)&\", version_author=\"&AddQuotes('Calculator Table'!$AA614)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB614,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC614)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE614)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF614)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG614)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH614)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI614)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ614)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK614)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL614)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM614)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN614)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO614)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP614)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F614&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS623>0,'Rk Assign'!D623,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS623>0,Calculate!$AV623,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ623:$BL623<>\"U\")*($AQ623:$BL623>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ623:$BL623<>\"U\")*($AQ623:$BL623>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ623:$BL623<>\"U\")*($AQ623:$BL623>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K623:$R623<>\"Z\")*($K623:$R623>\"\")*NOT(ISERROR($K623:$R623)))+SUM(($K$4:$R$4=\"A\")*($K623:$R623<>\"A\")*($K623:$R623>\"\")*NOT(ISERROR($K623:$R623)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K623:$R623=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ623:$BL623=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B623)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B623)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD623,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F623&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A623)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E623)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K623&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E623=\"Small Patch\",E623=\"Matrix\")),'Calculator Table'!$L623,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E623=\"Small Patch\",'Calculator Table'!$L623,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E623=\"Matrix\",'Calculator Table'!$L623,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M623&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N623&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O623&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P623&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q623&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R623&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S623&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T623&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U623&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V623&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W623&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X623&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y623)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z623)&\", version_author=\"&AddQuotes('Calculator Table'!$AA623)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB623,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC623)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE623)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF623)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG623)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH623)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI623)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ623)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK623)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL623)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM623)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN623)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO623)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP623)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F623&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B623)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B623)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD623,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F623&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A623)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E623)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K623&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H623=\"Small Patch\",H623=\"Matrix\")),'Calculator Table'!$L623,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H623=\"Small Patch\",'Calculator Table'!$L623,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H623=\"Matrix\",'Calculator Table'!$L623,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M623&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N623&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O623&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P623&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q623&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R623&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S623&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T623&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U623&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V623&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W623&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X623&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y623)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z623)&\", version_author=\"&AddQuotes('Calculator Table'!$AA623)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB623,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC623)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE623)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF623)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG623)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH623)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI623)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ623)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK623)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL623)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM623)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN623)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO623)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP623)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F623&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B623)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B623)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD623,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F623&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A623)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E623)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K623&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K623=\"Small Patch\",K623=\"Matrix\")),'Calculator Table'!$L623,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K623=\"Small Patch\",'Calculator Table'!$L623,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K623=\"Matrix\",'Calculator Table'!$L623,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M623&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N623&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O623&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P623&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q623&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R623&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S623&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T623&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U623&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V623&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W623&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X623&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y623)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z623)&\", version_author=\"&AddQuotes('Calculator Table'!$AA623)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB623,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC623)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE623)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF623)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG623)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH623)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI623)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ623)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK623)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL623)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM623)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN623)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO623)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP623)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F623&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS630>0,'Rk Assign'!D630,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS630>0,Calculate!$AV630,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ630:$BL630<>\"U\")*($AQ630:$BL630>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ630:$BL630<>\"U\")*($AQ630:$BL630>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ630:$BL630<>\"U\")*($AQ630:$BL630>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K630:$R630<>\"Z\")*($K630:$R630>\"\")*NOT(ISERROR($K630:$R630)))+SUM(($K$4:$R$4=\"A\")*($K630:$R630<>\"A\")*($K630:$R630>\"\")*NOT(ISERROR($K630:$R630)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K630:$R630=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ630:$BL630=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B630)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B630)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD630,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F630&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A630)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E630)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K630&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E630=\"Small Patch\",E630=\"Matrix\")),'Calculator Table'!$L630,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E630=\"Small Patch\",'Calculator Table'!$L630,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E630=\"Matrix\",'Calculator Table'!$L630,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M630&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N630&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O630&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P630&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q630&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R630&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S630&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T630&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U630&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V630&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W630&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X630&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y630)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z630)&\", version_author=\"&AddQuotes('Calculator Table'!$AA630)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB630,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC630)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE630)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF630)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG630)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH630)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI630)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ630)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK630)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL630)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM630)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN630)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO630)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP630)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F630&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B630)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B630)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD630,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F630&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A630)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E630)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K630&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H630=\"Small Patch\",H630=\"Matrix\")),'Calculator Table'!$L630,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H630=\"Small Patch\",'Calculator Table'!$L630,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H630=\"Matrix\",'Calculator Table'!$L630,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M630&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N630&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O630&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P630&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q630&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R630&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S630&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T630&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U630&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V630&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W630&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X630&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y630)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z630)&\", version_author=\"&AddQuotes('Calculator Table'!$AA630)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB630,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC630)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE630)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF630)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG630)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH630)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI630)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ630)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK630)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL630)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM630)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN630)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO630)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP630)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F630&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B630)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B630)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD630,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F630&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A630)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E630)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K630&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K630=\"Small Patch\",K630=\"Matrix\")),'Calculator Table'!$L630,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K630=\"Small Patch\",'Calculator Table'!$L630,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K630=\"Matrix\",'Calculator Table'!$L630,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M630&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N630&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O630&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P630&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q630&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R630&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S630&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T630&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U630&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V630&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W630&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X630&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y630)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z630)&\", version_author=\"&AddQuotes('Calculator Table'!$AA630)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB630,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC630)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE630)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF630)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG630)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH630)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI630)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ630)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK630)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL630)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM630)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN630)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO630)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP630)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F630&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS640>0,'Rk Assign'!D640,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS640>0,Calculate!$AV640,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ640:$BL640<>\"U\")*($AQ640:$BL640>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ640:$BL640<>\"U\")*($AQ640:$BL640>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ640:$BL640<>\"U\")*($AQ640:$BL640>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K640:$R640<>\"Z\")*($K640:$R640>\"\")*NOT(ISERROR($K640:$R640)))+SUM(($K$4:$R$4=\"A\")*($K640:$R640<>\"A\")*($K640:$R640>\"\")*NOT(ISERROR($K640:$R640)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K640:$R640=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ640:$BL640=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B640)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B640)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD640,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F640&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A640)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E640)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K640&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E640=\"Small Patch\",E640=\"Matrix\")),'Calculator Table'!$L640,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E640=\"Small Patch\",'Calculator Table'!$L640,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E640=\"Matrix\",'Calculator Table'!$L640,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M640&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N640&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O640&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P640&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q640&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R640&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S640&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T640&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U640&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V640&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W640&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X640&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y640)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z640)&\", version_author=\"&AddQuotes('Calculator Table'!$AA640)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB640,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC640)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE640)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF640)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG640)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH640)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI640)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ640)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK640)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL640)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM640)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN640)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO640)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP640)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F640&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B640)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B640)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD640,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F640&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A640)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E640)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K640&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H640=\"Small Patch\",H640=\"Matrix\")),'Calculator Table'!$L640,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H640=\"Small Patch\",'Calculator Table'!$L640,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H640=\"Matrix\",'Calculator Table'!$L640,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M640&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N640&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O640&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P640&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q640&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R640&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S640&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T640&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U640&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V640&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W640&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X640&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y640)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z640)&\", version_author=\"&AddQuotes('Calculator Table'!$AA640)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB640,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC640)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE640)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF640)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG640)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH640)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI640)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ640)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK640)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL640)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM640)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN640)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO640)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP640)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F640&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B640)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B640)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD640,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F640&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A640)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E640)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K640&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K640=\"Small Patch\",K640=\"Matrix\")),'Calculator Table'!$L640,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K640=\"Small Patch\",'Calculator Table'!$L640,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K640=\"Matrix\",'Calculator Table'!$L640,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M640&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N640&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O640&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P640&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q640&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R640&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S640&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T640&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U640&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V640&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W640&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X640&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y640)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z640)&\", version_author=\"&AddQuotes('Calculator Table'!$AA640)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB640,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC640)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE640)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF640)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG640)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH640)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI640)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ640)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK640)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL640)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM640)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN640)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO640)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP640)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F640&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS647>0,'Rk Assign'!D647,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","",{"$f":"LEFT(T647,1)","v":""},{"$f":"RIGHT(T647,1)","v":""},{"$f":"IF(BS647>0,Calculate!$AV647,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ647:$BL647<>\"U\")*($AQ647:$BL647>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ647:$BL647<>\"U\")*($AQ647:$BL647>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ647:$BL647<>\"U\")*($AQ647:$BL647>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K647:$R647<>\"Z\")*($K647:$R647>\"\")*NOT(ISERROR($K647:$R647)))+SUM(($K$4:$R$4=\"A\")*($K647:$R647<>\"A\")*($K647:$R647>\"\")*NOT(ISERROR($K647:$R647)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K647:$R647=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ647:$BL647=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B647)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B647)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD647,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F647&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A647)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E647)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K647&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E647=\"Small Patch\",E647=\"Matrix\")),'Calculator Table'!$L647,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E647=\"Small Patch\",'Calculator Table'!$L647,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E647=\"Matrix\",'Calculator Table'!$L647,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M647&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N647&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O647&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P647&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q647&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R647&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S647&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T647&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U647&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V647&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W647&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X647&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y647)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z647)&\", version_author=\"&AddQuotes('Calculator Table'!$AA647)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB647,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC647)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE647)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF647)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG647)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH647)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI647)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ647)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK647)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL647)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM647)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN647)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO647)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP647)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F647&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B647)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B647)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD647,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F647&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A647)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E647)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K647&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H647=\"Small Patch\",H647=\"Matrix\")),'Calculator Table'!$L647,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H647=\"Small Patch\",'Calculator Table'!$L647,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H647=\"Matrix\",'Calculator Table'!$L647,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M647&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N647&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O647&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P647&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q647&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R647&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S647&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T647&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U647&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V647&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W647&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X647&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y647)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z647)&\", version_author=\"&AddQuotes('Calculator Table'!$AA647)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB647,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC647)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE647)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF647)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG647)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH647)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI647)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ647)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK647)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL647)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM647)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN647)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO647)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP647)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F647&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B647)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B647)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD647,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F647&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A647)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E647)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K647&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K647=\"Small Patch\",K647=\"Matrix\")),'Calculator Table'!$L647,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K647=\"Small Patch\",'Calculator Table'!$L647,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K647=\"Matrix\",'Calculator Table'!$L647,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M647&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N647&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O647&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P647&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q647&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R647&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S647&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T647&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U647&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V647&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W647&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X647&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y647)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z647)&\", version_author=\"&AddQuotes('Calculator Table'!$AA647)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB647,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC647)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE647)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF647)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG647)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH647)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI647)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ647)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK647)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL647)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM647)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN647)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO647)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP647)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F647&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS657>0,'Rk Assign'!D657,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS657>0,Calculate!$AV657,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ657:$BL657<>\"U\")*($AQ657:$BL657>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ657:$BL657<>\"U\")*($AQ657:$BL657>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ657:$BL657<>\"U\")*($AQ657:$BL657>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K657:$R657<>\"Z\")*($K657:$R657>\"\")*NOT(ISERROR($K657:$R657)))+SUM(($K$4:$R$4=\"A\")*($K657:$R657<>\"A\")*($K657:$R657>\"\")*NOT(ISERROR($K657:$R657)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K657:$R657=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ657:$BL657=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B657)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B657)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD657,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F657&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A657)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E657)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K657&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E657=\"Small Patch\",E657=\"Matrix\")),'Calculator Table'!$L657,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E657=\"Small Patch\",'Calculator Table'!$L657,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E657=\"Matrix\",'Calculator Table'!$L657,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M657&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N657&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O657&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P657&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q657&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R657&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S657&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T657&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U657&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V657&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W657&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X657&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y657)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z657)&\", version_author=\"&AddQuotes('Calculator Table'!$AA657)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB657,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC657)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE657)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF657)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG657)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH657)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI657)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ657)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK657)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL657)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM657)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN657)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO657)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP657)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F657&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B657)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B657)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD657,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F657&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A657)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E657)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K657&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H657=\"Small Patch\",H657=\"Matrix\")),'Calculator Table'!$L657,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H657=\"Small Patch\",'Calculator Table'!$L657,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H657=\"Matrix\",'Calculator Table'!$L657,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M657&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N657&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O657&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P657&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q657&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R657&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S657&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T657&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U657&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V657&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W657&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X657&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y657)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z657)&\", version_author=\"&AddQuotes('Calculator Table'!$AA657)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB657,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC657)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE657)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF657)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG657)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH657)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI657)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ657)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK657)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL657)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM657)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN657)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO657)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP657)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F657&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B657)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B657)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD657,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F657&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A657)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E657)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K657&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K657=\"Small Patch\",K657=\"Matrix\")),'Calculator Table'!$L657,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K657=\"Small Patch\",'Calculator Table'!$L657,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K657=\"Matrix\",'Calculator Table'!$L657,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M657&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N657&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O657&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P657&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q657&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R657&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S657&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T657&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U657&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V657&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W657&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X657&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y657)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z657)&\", version_author=\"&AddQuotes('Calculator Table'!$AA657)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB657,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC657)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE657)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF657)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG657)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH657)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI657)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ657)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK657)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL657)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM657)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN657)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO657)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP657)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F657&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS661>0,'Rk Assign'!D661,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS661>0,Calculate!$AV661,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ661:$BL661<>\"U\")*($AQ661:$BL661>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ661:$BL661<>\"U\")*($AQ661:$BL661>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ661:$BL661<>\"U\")*($AQ661:$BL661>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K661:$R661<>\"Z\")*($K661:$R661>\"\")*NOT(ISERROR($K661:$R661)))+SUM(($K$4:$R$4=\"A\")*($K661:$R661<>\"A\")*($K661:$R661>\"\")*NOT(ISERROR($K661:$R661)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K661:$R661=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ661:$BL661=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B661)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B661)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD661,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F661&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A661)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E661)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K661&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E661=\"Small Patch\",E661=\"Matrix\")),'Calculator Table'!$L661,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E661=\"Small Patch\",'Calculator Table'!$L661,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E661=\"Matrix\",'Calculator Table'!$L661,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M661&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N661&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O661&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P661&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q661&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R661&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S661&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T661&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U661&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V661&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W661&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X661&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y661)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z661)&\", version_author=\"&AddQuotes('Calculator Table'!$AA661)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB661,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC661)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE661)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF661)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG661)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH661)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI661)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ661)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK661)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL661)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM661)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN661)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO661)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP661)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F661&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B661)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B661)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD661,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F661&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A661)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E661)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K661&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H661=\"Small Patch\",H661=\"Matrix\")),'Calculator Table'!$L661,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H661=\"Small Patch\",'Calculator Table'!$L661,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H661=\"Matrix\",'Calculator Table'!$L661,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M661&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N661&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O661&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P661&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q661&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R661&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S661&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T661&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U661&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V661&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W661&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X661&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y661)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z661)&\", version_author=\"&AddQuotes('Calculator Table'!$AA661)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB661,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC661)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE661)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF661)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG661)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH661)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI661)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ661)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK661)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL661)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM661)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN661)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO661)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP661)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F661&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B661)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B661)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD661,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F661&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A661)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E661)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K661&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K661=\"Small Patch\",K661=\"Matrix\")),'Calculator Table'!$L661,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K661=\"Small Patch\",'Calculator Table'!$L661,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K661=\"Matrix\",'Calculator Table'!$L661,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M661&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N661&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O661&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P661&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q661&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R661&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S661&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T661&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U661&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V661&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W661&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X661&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y661)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z661)&\", version_author=\"&AddQuotes('Calculator Table'!$AA661)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB661,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC661)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE661)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF661)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG661)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH661)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI661)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ661)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK661)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL661)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM661)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN661)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO661)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP661)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F661&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS666>0,'Rk Assign'!D666,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS666>0,Calculate!$AV666,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ666:$BL666<>\"U\")*($AQ666:$BL666>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ666:$BL666<>\"U\")*($AQ666:$BL666>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ666:$BL666<>\"U\")*($AQ666:$BL666>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K666:$R666<>\"Z\")*($K666:$R666>\"\")*NOT(ISERROR($K666:$R666)))+SUM(($K$4:$R$4=\"A\")*($K666:$R666<>\"A\")*($K666:$R666>\"\")*NOT(ISERROR($K666:$R666)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K666:$R666=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ666:$BL666=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B666)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B666)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD666,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F666&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A666)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E666)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K666&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E666=\"Small Patch\",E666=\"Matrix\")),'Calculator Table'!$L666,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E666=\"Small Patch\",'Calculator Table'!$L666,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E666=\"Matrix\",'Calculator Table'!$L666,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M666&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N666&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O666&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P666&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q666&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R666&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S666&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T666&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U666&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V666&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W666&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X666&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y666)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z666)&\", version_author=\"&AddQuotes('Calculator Table'!$AA666)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB666,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC666)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE666)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF666)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG666)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH666)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI666)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ666)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK666)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL666)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM666)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN666)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO666)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP666)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F666&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B666)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B666)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD666,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F666&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A666)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E666)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K666&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H666=\"Small Patch\",H666=\"Matrix\")),'Calculator Table'!$L666,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H666=\"Small Patch\",'Calculator Table'!$L666,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H666=\"Matrix\",'Calculator Table'!$L666,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M666&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N666&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O666&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P666&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q666&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R666&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S666&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T666&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U666&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V666&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W666&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X666&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y666)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z666)&\", version_author=\"&AddQuotes('Calculator Table'!$AA666)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB666,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC666)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE666)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF666)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG666)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH666)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI666)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ666)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK666)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL666)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM666)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN666)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO666)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP666)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F666&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B666)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B666)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD666,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F666&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A666)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E666)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K666&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K666=\"Small Patch\",K666=\"Matrix\")),'Calculator Table'!$L666,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K666=\"Small Patch\",'Calculator Table'!$L666,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K666=\"Matrix\",'Calculator Table'!$L666,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M666&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N666&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O666&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P666&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q666&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R666&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S666&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T666&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U666&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V666&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W666&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X666&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y666)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z666)&\", version_author=\"&AddQuotes('Calculator Table'!$AA666)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB666,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC666)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE666)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF666)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG666)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH666)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI666)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ666)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK666)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL666)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM666)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN666)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO666)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP666)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F666&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS675>0,'Rk Assign'!D675,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS675>0,Calculate!$AV675,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ675:$BL675<>\"U\")*($AQ675:$BL675>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ675:$BL675<>\"U\")*($AQ675:$BL675>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ675:$BL675<>\"U\")*($AQ675:$BL675>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K675:$R675<>\"Z\")*($K675:$R675>\"\")*NOT(ISERROR($K675:$R675)))+SUM(($K$4:$R$4=\"A\")*($K675:$R675<>\"A\")*($K675:$R675>\"\")*NOT(ISERROR($K675:$R675)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K675:$R675=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ675:$BL675=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B675)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B675)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD675,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F675&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A675)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E675)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K675&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E675=\"Small Patch\",E675=\"Matrix\")),'Calculator Table'!$L675,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E675=\"Small Patch\",'Calculator Table'!$L675,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E675=\"Matrix\",'Calculator Table'!$L675,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M675&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N675&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O675&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P675&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q675&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R675&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S675&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T675&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U675&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V675&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W675&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X675&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y675)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z675)&\", version_author=\"&AddQuotes('Calculator Table'!$AA675)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB675,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC675)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE675)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF675)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG675)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH675)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI675)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ675)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK675)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL675)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM675)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN675)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO675)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP675)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F675&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B675)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B675)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD675,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F675&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A675)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E675)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K675&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H675=\"Small Patch\",H675=\"Matrix\")),'Calculator Table'!$L675,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H675=\"Small Patch\",'Calculator Table'!$L675,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H675=\"Matrix\",'Calculator Table'!$L675,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M675&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N675&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O675&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P675&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q675&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R675&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S675&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T675&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U675&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V675&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W675&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X675&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y675)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z675)&\", version_author=\"&AddQuotes('Calculator Table'!$AA675)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB675,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC675)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE675)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF675)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG675)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH675)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI675)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ675)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK675)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL675)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM675)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN675)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO675)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP675)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F675&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B675)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B675)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD675,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F675&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A675)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E675)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K675&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K675=\"Small Patch\",K675=\"Matrix\")),'Calculator Table'!$L675,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K675=\"Small Patch\",'Calculator Table'!$L675,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K675=\"Matrix\",'Calculator Table'!$L675,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M675&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N675&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O675&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P675&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q675&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R675&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S675&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T675&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U675&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V675&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W675&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X675&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y675)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z675)&\", version_author=\"&AddQuotes('Calculator Table'!$AA675)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB675,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC675)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE675)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF675)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG675)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH675)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI675)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ675)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK675)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL675)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM675)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN675)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO675)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP675)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F675&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS683>0,'Rk Assign'!D683,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS683>0,Calculate!$AV683,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ683:$BL683<>\"U\")*($AQ683:$BL683>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ683:$BL683<>\"U\")*($AQ683:$BL683>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ683:$BL683<>\"U\")*($AQ683:$BL683>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K683:$R683<>\"Z\")*($K683:$R683>\"\")*NOT(ISERROR($K683:$R683)))+SUM(($K$4:$R$4=\"A\")*($K683:$R683<>\"A\")*($K683:$R683>\"\")*NOT(ISERROR($K683:$R683)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K683:$R683=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ683:$BL683=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B683)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B683)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD683,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F683&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A683)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E683)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K683&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E683=\"Small Patch\",E683=\"Matrix\")),'Calculator Table'!$L683,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E683=\"Small Patch\",'Calculator Table'!$L683,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E683=\"Matrix\",'Calculator Table'!$L683,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M683&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N683&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O683&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P683&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q683&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R683&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S683&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T683&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U683&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V683&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W683&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X683&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y683)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z683)&\", version_author=\"&AddQuotes('Calculator Table'!$AA683)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB683,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC683)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE683)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF683)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG683)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH683)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI683)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ683)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK683)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL683)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM683)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN683)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO683)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP683)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F683&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B683)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B683)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD683,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F683&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A683)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E683)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K683&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H683=\"Small Patch\",H683=\"Matrix\")),'Calculator Table'!$L683,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H683=\"Small Patch\",'Calculator Table'!$L683,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H683=\"Matrix\",'Calculator Table'!$L683,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M683&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N683&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O683&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P683&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q683&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R683&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S683&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T683&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U683&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V683&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W683&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X683&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y683)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z683)&\", version_author=\"&AddQuotes('Calculator Table'!$AA683)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB683,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC683)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE683)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF683)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG683)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH683)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI683)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ683)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK683)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL683)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM683)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN683)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO683)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP683)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F683&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B683)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B683)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD683,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F683&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A683)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E683)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K683&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K683=\"Small Patch\",K683=\"Matrix\")),'Calculator Table'!$L683,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K683=\"Small Patch\",'Calculator Table'!$L683,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K683=\"Matrix\",'Calculator Table'!$L683,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M683&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N683&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O683&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P683&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q683&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R683&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S683&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T683&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U683&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V683&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W683&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X683&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y683)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z683)&\", version_author=\"&AddQuotes('Calculator Table'!$AA683)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB683,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC683)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE683)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF683)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG683)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH683)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI683)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ683)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK683)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL683)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM683)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN683)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO683)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP683)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F683&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS692>0,'Rk Assign'!D692,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS692>0,Calculate!$AV692,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ692:$BL692<>\"U\")*($AQ692:$BL692>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ692:$BL692<>\"U\")*($AQ692:$BL692>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ692:$BL692<>\"U\")*($AQ692:$BL692>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K692:$R692<>\"Z\")*($K692:$R692>\"\")*NOT(ISERROR($K692:$R692)))+SUM(($K$4:$R$4=\"A\")*($K692:$R692<>\"A\")*($K692:$R692>\"\")*NOT(ISERROR($K692:$R692)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K692:$R692=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ692:$BL692=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B692)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B692)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD692,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F692&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A692)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E692)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K692&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E692=\"Small Patch\",E692=\"Matrix\")),'Calculator Table'!$L692,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E692=\"Small Patch\",'Calculator Table'!$L692,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E692=\"Matrix\",'Calculator Table'!$L692,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M692&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N692&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O692&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P692&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q692&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R692&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S692&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T692&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U692&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V692&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W692&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X692&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y692)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z692)&\", version_author=\"&AddQuotes('Calculator Table'!$AA692)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB692,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC692)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE692)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF692)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG692)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH692)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI692)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ692)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK692)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL692)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM692)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN692)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO692)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP692)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F692&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B692)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B692)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD692,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F692&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A692)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E692)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K692&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H692=\"Small Patch\",H692=\"Matrix\")),'Calculator Table'!$L692,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H692=\"Small Patch\",'Calculator Table'!$L692,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H692=\"Matrix\",'Calculator Table'!$L692,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M692&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N692&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O692&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P692&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q692&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R692&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S692&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T692&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U692&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V692&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W692&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X692&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y692)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z692)&\", version_author=\"&AddQuotes('Calculator Table'!$AA692)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB692,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC692)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE692)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF692)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG692)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH692)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI692)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ692)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK692)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL692)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM692)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN692)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO692)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP692)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F692&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B692)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B692)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD692,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F692&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A692)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E692)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K692&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K692=\"Small Patch\",K692=\"Matrix\")),'Calculator Table'!$L692,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K692=\"Small Patch\",'Calculator Table'!$L692,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K692=\"Matrix\",'Calculator Table'!$L692,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M692&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N692&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O692&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P692&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q692&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R692&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S692&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T692&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U692&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V692&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W692&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X692&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y692)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z692)&\", version_author=\"&AddQuotes('Calculator Table'!$AA692)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB692,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC692)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE692)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF692)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG692)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH692)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI692)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ692)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK692)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL692)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM692)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN692)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO692)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP692)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F692&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS698>0,'Rk Assign'!D698,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS698>0,Calculate!$AV698,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ698:$BL698<>\"U\")*($AQ698:$BL698>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ698:$BL698<>\"U\")*($AQ698:$BL698>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ698:$BL698<>\"U\")*($AQ698:$BL698>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K698:$R698<>\"Z\")*($K698:$R698>\"\")*NOT(ISERROR($K698:$R698)))+SUM(($K$4:$R$4=\"A\")*($K698:$R698<>\"A\")*($K698:$R698>\"\")*NOT(ISERROR($K698:$R698)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K698:$R698=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ698:$BL698=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B698)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B698)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD698,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F698&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A698)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E698)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K698&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E698=\"Small Patch\",E698=\"Matrix\")),'Calculator Table'!$L698,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E698=\"Small Patch\",'Calculator Table'!$L698,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E698=\"Matrix\",'Calculator Table'!$L698,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M698&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N698&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O698&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P698&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q698&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R698&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S698&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T698&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U698&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V698&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W698&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X698&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y698)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z698)&\", version_author=\"&AddQuotes('Calculator Table'!$AA698)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB698,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC698)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE698)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF698)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG698)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH698)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI698)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ698)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK698)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL698)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM698)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN698)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO698)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP698)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F698&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B698)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B698)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD698,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F698&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A698)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E698)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K698&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H698=\"Small Patch\",H698=\"Matrix\")),'Calculator Table'!$L698,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H698=\"Small Patch\",'Calculator Table'!$L698,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H698=\"Matrix\",'Calculator Table'!$L698,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M698&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N698&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O698&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P698&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q698&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R698&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S698&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T698&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U698&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V698&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W698&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X698&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y698)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z698)&\", version_author=\"&AddQuotes('Calculator Table'!$AA698)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB698,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC698)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE698)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF698)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG698)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH698)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI698)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ698)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK698)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL698)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM698)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN698)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO698)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP698)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F698&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B698)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B698)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD698,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F698&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A698)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E698)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K698&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K698=\"Small Patch\",K698=\"Matrix\")),'Calculator Table'!$L698,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K698=\"Small Patch\",'Calculator Table'!$L698,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K698=\"Matrix\",'Calculator Table'!$L698,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M698&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N698&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O698&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P698&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q698&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R698&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S698&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T698&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U698&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V698&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W698&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X698&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y698)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z698)&\", version_author=\"&AddQuotes('Calculator Table'!$AA698)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB698,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC698)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE698)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF698)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG698)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH698)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI698)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ698)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK698)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL698)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM698)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN698)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO698)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP698)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F698&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS709>0,'Rk Assign'!D709,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,{"$f":"LEFT(K709,1)","v":""},{"$f":"RIGHT(K709,1)","v":""},"","",{"$f":"LEFT(O709,1)","v":""},{"$f":"RIGHT(O709,1)","v":""},{"$f":"LEFT(Q709,1)","v":""},{"$f":"RIGHT(Q709,1)","v":""},{"$f":"IF(AND(AS709>\"\",AS709<>\"U\",AS709<>\"0\"),LEFT(R709,1),\"\")","v":""},{"$f":"IF(AND(AS709>\"\",AS709<>\"U\",AS709<>\"0\"),RIGHT(R709,1),\"\")","v":""},{"$f":"LEFT(P709,1)","v":""},{"$f":"RIGHT(P709,1)","v":""},{"$f":"LEFT(S709,1)","v":""},{"$f":"RIGHT(S709,1)","v":""},{"$f":"LEFT(W709,1)","v":""},{"$f":"RIGHT(W709,1)","v":""},{"$f":"LEFT(X709,1)","v":""},{"$f":"RIGHT(X709,1)","v":""},{"$f":"LEFT(V709,1)","v":""},{"$f":"RIGHT(V709,1)","v":""},"","",{"$f":"IF(BS709>0,Calculate!$AV709,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ709:$BL709<>\"U\")*($AQ709:$BL709>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ709:$BL709<>\"U\")*($AQ709:$BL709>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ709:$BL709<>\"U\")*($AQ709:$BL709>\"\"))","v":0},{"$f":"COUNTIF(BO709:BQ709,\">0\")","v":0},{"$f":"COUNTIF(K709:V709,\">''\")","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K709:$R709<>\"Z\")*($K709:$R709>\"\")*NOT(ISERROR($K709:$R709)))+SUM(($K$4:$R$4=\"A\")*($K709:$R709<>\"A\")*($K709:$R709>\"\")*NOT(ISERROR($K709:$R709)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K709:$R709=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ709:$BL709=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B709)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B709)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD709,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F709&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A709)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E709)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K709&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E709=\"Small Patch\",E709=\"Matrix\")),'Calculator Table'!$L709,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E709=\"Small Patch\",'Calculator Table'!$L709,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E709=\"Matrix\",'Calculator Table'!$L709,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M709&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N709&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O709&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P709&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q709&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R709&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S709&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T709&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U709&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V709&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W709&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X709&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y709)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z709)&\", version_author=\"&AddQuotes('Calculator Table'!$AA709)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB709,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC709)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE709)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF709)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG709)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH709)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI709)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ709)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK709)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL709)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM709)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN709)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO709)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP709)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F709&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B709)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B709)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD709,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F709&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A709)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E709)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K709&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H709=\"Small Patch\",H709=\"Matrix\")),'Calculator Table'!$L709,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H709=\"Small Patch\",'Calculator Table'!$L709,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H709=\"Matrix\",'Calculator Table'!$L709,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M709&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N709&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O709&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P709&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q709&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R709&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S709&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T709&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U709&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V709&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W709&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X709&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y709)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z709)&\", version_author=\"&AddQuotes('Calculator Table'!$AA709)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB709,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC709)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE709)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF709)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG709)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH709)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI709)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ709)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK709)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL709)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM709)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN709)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO709)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP709)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F709&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B709)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B709)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD709,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F709&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A709)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E709)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K709&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K709=\"Small Patch\",K709=\"Matrix\")),'Calculator Table'!$L709,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K709=\"Small Patch\",'Calculator Table'!$L709,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K709=\"Matrix\",'Calculator Table'!$L709,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M709&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N709&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O709&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P709&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q709&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R709&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S709&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T709&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U709&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V709&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W709&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X709&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y709)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z709)&\", version_author=\"&AddQuotes('Calculator Table'!$AA709)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB709,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC709)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE709)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF709)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG709)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH709)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI709)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ709)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK709)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL709)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM709)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN709)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO709)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP709)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F709&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS712>0,'Rk Assign'!D712,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS712>0,Calculate!$AV712,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ712:$BL712<>\"U\")*($AQ712:$BL712>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ712:$BL712<>\"U\")*($AQ712:$BL712>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ712:$BL712<>\"U\")*($AQ712:$BL712>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K712:$R712<>\"Z\")*($K712:$R712>\"\")*NOT(ISERROR($K712:$R712)))+SUM(($K$4:$R$4=\"A\")*($K712:$R712<>\"A\")*($K712:$R712>\"\")*NOT(ISERROR($K712:$R712)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K712:$R712=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ712:$BL712=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B712)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B712)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD712,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F712&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A712)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E712)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K712&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E712=\"Small Patch\",E712=\"Matrix\")),'Calculator Table'!$L712,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E712=\"Small Patch\",'Calculator Table'!$L712,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E712=\"Matrix\",'Calculator Table'!$L712,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M712&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N712&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O712&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P712&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q712&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R712&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S712&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T712&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U712&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V712&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W712&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X712&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y712)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z712)&\", version_author=\"&AddQuotes('Calculator Table'!$AA712)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB712,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC712)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE712)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF712)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG712)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH712)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI712)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ712)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK712)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL712)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM712)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN712)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO712)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP712)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F712&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B712)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B712)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD712,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F712&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A712)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E712)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K712&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H712=\"Small Patch\",H712=\"Matrix\")),'Calculator Table'!$L712,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H712=\"Small Patch\",'Calculator Table'!$L712,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H712=\"Matrix\",'Calculator Table'!$L712,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M712&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N712&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O712&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P712&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q712&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R712&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S712&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T712&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U712&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V712&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W712&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X712&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y712)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z712)&\", version_author=\"&AddQuotes('Calculator Table'!$AA712)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB712,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC712)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE712)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF712)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG712)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH712)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI712)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ712)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK712)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL712)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM712)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN712)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO712)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP712)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F712&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B712)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B712)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD712,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F712&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A712)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E712)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K712&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K712=\"Small Patch\",K712=\"Matrix\")),'Calculator Table'!$L712,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K712=\"Small Patch\",'Calculator Table'!$L712,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K712=\"Matrix\",'Calculator Table'!$L712,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M712&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N712&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O712&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P712&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q712&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R712&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S712&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T712&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U712&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V712&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W712&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X712&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y712)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z712)&\", version_author=\"&AddQuotes('Calculator Table'!$AA712)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB712,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC712)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE712)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF712)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG712)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH712)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI712)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ712)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK712)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL712)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM712)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN712)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO712)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP712)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F712&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS726>0,'Rk Assign'!D726,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS726>0,Calculate!$AV726,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ726:$BL726<>\"U\")*($AQ726:$BL726>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ726:$BL726<>\"U\")*($AQ726:$BL726>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ726:$BL726<>\"U\")*($AQ726:$BL726>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K726:$R726<>\"Z\")*($K726:$R726>\"\")*NOT(ISERROR($K726:$R726)))+SUM(($K$4:$R$4=\"A\")*($K726:$R726<>\"A\")*($K726:$R726>\"\")*NOT(ISERROR($K726:$R726)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K726:$R726=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ726:$BL726=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B726)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B726)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD726,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F726&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A726)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E726)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K726&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E726=\"Small Patch\",E726=\"Matrix\")),'Calculator Table'!$L726,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E726=\"Small Patch\",'Calculator Table'!$L726,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E726=\"Matrix\",'Calculator Table'!$L726,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M726&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N726&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O726&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P726&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q726&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R726&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S726&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T726&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U726&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V726&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W726&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X726&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y726)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z726)&\", version_author=\"&AddQuotes('Calculator Table'!$AA726)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB726,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC726)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE726)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF726)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG726)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH726)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI726)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ726)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK726)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL726)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM726)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN726)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO726)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP726)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F726&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B726)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B726)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD726,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F726&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A726)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E726)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K726&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H726=\"Small Patch\",H726=\"Matrix\")),'Calculator Table'!$L726,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H726=\"Small Patch\",'Calculator Table'!$L726,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H726=\"Matrix\",'Calculator Table'!$L726,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M726&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N726&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O726&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P726&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q726&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R726&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S726&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T726&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U726&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V726&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W726&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X726&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y726)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z726)&\", version_author=\"&AddQuotes('Calculator Table'!$AA726)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB726,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC726)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE726)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF726)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG726)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH726)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI726)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ726)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK726)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL726)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM726)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN726)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO726)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP726)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F726&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B726)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B726)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD726,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F726&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A726)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E726)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K726&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K726=\"Small Patch\",K726=\"Matrix\")),'Calculator Table'!$L726,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K726=\"Small Patch\",'Calculator Table'!$L726,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K726=\"Matrix\",'Calculator Table'!$L726,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M726&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N726&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O726&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P726&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q726&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R726&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S726&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T726&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U726&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V726&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W726&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X726&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y726)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z726)&\", version_author=\"&AddQuotes('Calculator Table'!$AA726)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB726,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC726)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE726)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF726)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG726)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH726)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI726)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ726)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK726)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL726)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM726)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN726)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO726)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP726)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F726&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS733>0,'Rk Assign'!D733,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS733>0,Calculate!$AV733,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ733:$BL733<>\"U\")*($AQ733:$BL733>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ733:$BL733<>\"U\")*($AQ733:$BL733>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ733:$BL733<>\"U\")*($AQ733:$BL733>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K733:$R733<>\"Z\")*($K733:$R733>\"\")*NOT(ISERROR($K733:$R733)))+SUM(($K$4:$R$4=\"A\")*($K733:$R733<>\"A\")*($K733:$R733>\"\")*NOT(ISERROR($K733:$R733)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K733:$R733=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ733:$BL733=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B733)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B733)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD733,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F733&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A733)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E733)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K733&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E733=\"Small Patch\",E733=\"Matrix\")),'Calculator Table'!$L733,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E733=\"Small Patch\",'Calculator Table'!$L733,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E733=\"Matrix\",'Calculator Table'!$L733,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M733&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N733&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O733&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P733&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q733&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R733&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S733&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T733&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U733&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V733&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W733&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X733&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y733)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z733)&\", version_author=\"&AddQuotes('Calculator Table'!$AA733)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB733,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC733)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE733)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF733)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG733)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH733)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI733)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ733)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK733)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL733)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM733)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN733)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO733)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP733)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F733&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B733)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B733)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD733,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F733&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A733)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E733)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K733&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H733=\"Small Patch\",H733=\"Matrix\")),'Calculator Table'!$L733,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H733=\"Small Patch\",'Calculator Table'!$L733,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H733=\"Matrix\",'Calculator Table'!$L733,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M733&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N733&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O733&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P733&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q733&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R733&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S733&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T733&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U733&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V733&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W733&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X733&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y733)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z733)&\", version_author=\"&AddQuotes('Calculator Table'!$AA733)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB733,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC733)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE733)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF733)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG733)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH733)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI733)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ733)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK733)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL733)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM733)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN733)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO733)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP733)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F733&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B733)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B733)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD733,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F733&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A733)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E733)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K733&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K733=\"Small Patch\",K733=\"Matrix\")),'Calculator Table'!$L733,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K733=\"Small Patch\",'Calculator Table'!$L733,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K733=\"Matrix\",'Calculator Table'!$L733,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M733&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N733&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O733&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P733&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q733&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R733&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S733&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T733&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U733&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V733&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W733&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X733&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y733)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z733)&\", version_author=\"&AddQuotes('Calculator Table'!$AA733)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB733,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC733)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE733)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF733)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG733)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH733)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI733)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ733)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK733)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL733)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM733)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN733)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO733)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP733)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F733&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS735>0,'Rk Assign'!D735,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS735>0,Calculate!$AV735,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ735:$BL735<>\"U\")*($AQ735:$BL735>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ735:$BL735<>\"U\")*($AQ735:$BL735>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ735:$BL735<>\"U\")*($AQ735:$BL735>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K735:$R735<>\"Z\")*($K735:$R735>\"\")*NOT(ISERROR($K735:$R735)))+SUM(($K$4:$R$4=\"A\")*($K735:$R735<>\"A\")*($K735:$R735>\"\")*NOT(ISERROR($K735:$R735)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K735:$R735=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ735:$BL735=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B735)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B735)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD735,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F735&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A735)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E735)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K735&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E735=\"Small Patch\",E735=\"Matrix\")),'Calculator Table'!$L735,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E735=\"Small Patch\",'Calculator Table'!$L735,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E735=\"Matrix\",'Calculator Table'!$L735,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M735&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N735&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O735&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P735&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q735&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R735&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S735&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T735&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U735&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V735&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W735&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X735&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y735)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z735)&\", version_author=\"&AddQuotes('Calculator Table'!$AA735)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB735,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC735)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE735)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF735)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG735)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH735)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI735)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ735)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK735)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL735)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM735)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN735)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO735)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP735)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F735&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B735)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B735)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD735,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F735&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A735)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E735)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K735&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H735=\"Small Patch\",H735=\"Matrix\")),'Calculator Table'!$L735,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H735=\"Small Patch\",'Calculator Table'!$L735,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H735=\"Matrix\",'Calculator Table'!$L735,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M735&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N735&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O735&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P735&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q735&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R735&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S735&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T735&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U735&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V735&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W735&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X735&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y735)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z735)&\", version_author=\"&AddQuotes('Calculator Table'!$AA735)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB735,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC735)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE735)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF735)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG735)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH735)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI735)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ735)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK735)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL735)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM735)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN735)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO735)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP735)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F735&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B735)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B735)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD735,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F735&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A735)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E735)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K735&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K735=\"Small Patch\",K735=\"Matrix\")),'Calculator Table'!$L735,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K735=\"Small Patch\",'Calculator Table'!$L735,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K735=\"Matrix\",'Calculator Table'!$L735,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M735&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N735&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O735&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P735&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q735&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R735&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S735&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T735&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U735&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V735&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W735&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X735&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y735)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z735)&\", version_author=\"&AddQuotes('Calculator Table'!$AA735)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB735,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC735)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE735)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF735)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG735)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH735)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI735)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ735)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK735)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL735)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM735)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN735)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO735)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP735)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F735&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS743>0,'Rk Assign'!D743,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS743>0,Calculate!$AV743,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ743:$BL743<>\"U\")*($AQ743:$BL743>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ743:$BL743<>\"U\")*($AQ743:$BL743>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ743:$BL743<>\"U\")*($AQ743:$BL743>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K743:$R743<>\"Z\")*($K743:$R743>\"\")*NOT(ISERROR($K743:$R743)))+SUM(($K$4:$R$4=\"A\")*($K743:$R743<>\"A\")*($K743:$R743>\"\")*NOT(ISERROR($K743:$R743)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K743:$R743=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ743:$BL743=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B743)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B743)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD743,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F743&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A743)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E743)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K743&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E743=\"Small Patch\",E743=\"Matrix\")),'Calculator Table'!$L743,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E743=\"Small Patch\",'Calculator Table'!$L743,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E743=\"Matrix\",'Calculator Table'!$L743,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M743&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N743&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O743&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P743&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q743&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R743&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S743&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T743&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U743&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V743&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W743&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X743&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y743)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z743)&\", version_author=\"&AddQuotes('Calculator Table'!$AA743)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB743,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC743)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE743)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF743)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG743)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH743)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI743)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ743)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK743)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL743)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM743)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN743)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO743)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP743)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F743&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B743)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B743)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD743,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F743&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A743)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E743)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K743&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H743=\"Small Patch\",H743=\"Matrix\")),'Calculator Table'!$L743,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H743=\"Small Patch\",'Calculator Table'!$L743,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H743=\"Matrix\",'Calculator Table'!$L743,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M743&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N743&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O743&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P743&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q743&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R743&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S743&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T743&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U743&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V743&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W743&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X743&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y743)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z743)&\", version_author=\"&AddQuotes('Calculator Table'!$AA743)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB743,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC743)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE743)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF743)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG743)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH743)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI743)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ743)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK743)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL743)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM743)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN743)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO743)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP743)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F743&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B743)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B743)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD743,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F743&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A743)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E743)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K743&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K743=\"Small Patch\",K743=\"Matrix\")),'Calculator Table'!$L743,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K743=\"Small Patch\",'Calculator Table'!$L743,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K743=\"Matrix\",'Calculator Table'!$L743,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M743&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N743&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O743&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P743&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q743&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R743&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S743&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T743&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U743&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V743&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W743&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X743&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y743)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z743)&\", version_author=\"&AddQuotes('Calculator Table'!$AA743)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB743,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC743)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE743)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF743)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG743)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH743)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI743)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ743)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK743)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL743)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM743)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN743)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO743)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP743)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F743&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS752>0,'Rk Assign'!D752,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS752>0,Calculate!$AV752,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ752:$BL752<>\"U\")*($AQ752:$BL752>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ752:$BL752<>\"U\")*($AQ752:$BL752>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ752:$BL752<>\"U\")*($AQ752:$BL752>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K752:$R752<>\"Z\")*($K752:$R752>\"\")*NOT(ISERROR($K752:$R752)))+SUM(($K$4:$R$4=\"A\")*($K752:$R752<>\"A\")*($K752:$R752>\"\")*NOT(ISERROR($K752:$R752)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K752:$R752=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ752:$BL752=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B752)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B752)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD752,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F752&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A752)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E752)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K752&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E752=\"Small Patch\",E752=\"Matrix\")),'Calculator Table'!$L752,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E752=\"Small Patch\",'Calculator Table'!$L752,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E752=\"Matrix\",'Calculator Table'!$L752,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M752&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N752&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O752&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P752&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q752&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R752&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S752&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T752&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U752&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V752&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W752&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X752&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y752)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z752)&\", version_author=\"&AddQuotes('Calculator Table'!$AA752)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB752,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC752)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE752)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF752)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG752)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH752)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI752)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ752)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK752)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL752)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM752)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN752)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO752)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP752)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F752&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B752)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B752)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD752,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F752&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A752)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E752)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K752&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H752=\"Small Patch\",H752=\"Matrix\")),'Calculator Table'!$L752,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H752=\"Small Patch\",'Calculator Table'!$L752,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H752=\"Matrix\",'Calculator Table'!$L752,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M752&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N752&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O752&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P752&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q752&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R752&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S752&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T752&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U752&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V752&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W752&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X752&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y752)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z752)&\", version_author=\"&AddQuotes('Calculator Table'!$AA752)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB752,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC752)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE752)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF752)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG752)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH752)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI752)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ752)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK752)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL752)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM752)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN752)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO752)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP752)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F752&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B752)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B752)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD752,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F752&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A752)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E752)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K752&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K752=\"Small Patch\",K752=\"Matrix\")),'Calculator Table'!$L752,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K752=\"Small Patch\",'Calculator Table'!$L752,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K752=\"Matrix\",'Calculator Table'!$L752,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M752&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N752&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O752&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P752&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q752&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R752&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S752&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T752&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U752&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V752&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W752&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X752&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y752)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z752)&\", version_author=\"&AddQuotes('Calculator Table'!$AA752)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB752,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC752)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE752)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF752)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG752)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH752)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI752)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ752)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK752)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL752)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM752)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN752)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO752)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP752)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F752&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS761>0,'Rk Assign'!D761,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS761>0,Calculate!$AV761,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ761:$BL761<>\"U\")*($AQ761:$BL761>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ761:$BL761<>\"U\")*($AQ761:$BL761>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ761:$BL761<>\"U\")*($AQ761:$BL761>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K761:$R761<>\"Z\")*($K761:$R761>\"\")*NOT(ISERROR($K761:$R761)))+SUM(($K$4:$R$4=\"A\")*($K761:$R761<>\"A\")*($K761:$R761>\"\")*NOT(ISERROR($K761:$R761)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K761:$R761=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ761:$BL761=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B761)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B761)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD761,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F761&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A761)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E761)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K761&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E761=\"Small Patch\",E761=\"Matrix\")),'Calculator Table'!$L761,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E761=\"Small Patch\",'Calculator Table'!$L761,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E761=\"Matrix\",'Calculator Table'!$L761,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M761&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N761&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O761&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P761&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q761&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R761&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S761&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T761&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U761&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V761&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W761&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X761&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y761)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z761)&\", version_author=\"&AddQuotes('Calculator Table'!$AA761)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB761,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC761)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE761)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF761)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG761)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH761)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI761)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ761)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK761)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL761)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM761)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN761)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO761)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP761)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F761&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B761)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B761)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD761,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F761&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A761)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E761)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K761&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H761=\"Small Patch\",H761=\"Matrix\")),'Calculator Table'!$L761,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H761=\"Small Patch\",'Calculator Table'!$L761,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H761=\"Matrix\",'Calculator Table'!$L761,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M761&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N761&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O761&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P761&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q761&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R761&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S761&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T761&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U761&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V761&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W761&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X761&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y761)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z761)&\", version_author=\"&AddQuotes('Calculator Table'!$AA761)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB761,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC761)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE761)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF761)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG761)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH761)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI761)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ761)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK761)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL761)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM761)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN761)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO761)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP761)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F761&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B761)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B761)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD761,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F761&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A761)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E761)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K761&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K761=\"Small Patch\",K761=\"Matrix\")),'Calculator Table'!$L761,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K761=\"Small Patch\",'Calculator Table'!$L761,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K761=\"Matrix\",'Calculator Table'!$L761,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M761&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N761&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O761&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P761&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q761&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R761&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S761&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T761&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U761&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V761&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W761&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X761&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y761)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z761)&\", version_author=\"&AddQuotes('Calculator Table'!$AA761)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB761,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC761)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE761)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF761)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG761)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH761)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI761)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ761)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK761)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL761)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM761)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN761)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO761)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP761)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F761&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS766>0,'Rk Assign'!D766,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS766>0,Calculate!$AV766,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ766:$BL766<>\"U\")*($AQ766:$BL766>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ766:$BL766<>\"U\")*($AQ766:$BL766>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ766:$BL766<>\"U\")*($AQ766:$BL766>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K766:$R766<>\"Z\")*($K766:$R766>\"\")*NOT(ISERROR($K766:$R766)))+SUM(($K$4:$R$4=\"A\")*($K766:$R766<>\"A\")*($K766:$R766>\"\")*NOT(ISERROR($K766:$R766)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K766:$R766=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ766:$BL766=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B766)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B766)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD766,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F766&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A766)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E766)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K766&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E766=\"Small Patch\",E766=\"Matrix\")),'Calculator Table'!$L766,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E766=\"Small Patch\",'Calculator Table'!$L766,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E766=\"Matrix\",'Calculator Table'!$L766,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M766&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N766&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O766&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P766&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q766&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R766&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S766&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T766&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U766&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V766&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W766&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X766&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y766)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z766)&\", version_author=\"&AddQuotes('Calculator Table'!$AA766)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB766,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC766)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE766)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF766)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG766)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH766)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI766)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ766)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK766)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL766)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM766)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN766)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO766)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP766)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F766&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B766)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B766)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD766,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F766&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A766)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E766)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K766&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H766=\"Small Patch\",H766=\"Matrix\")),'Calculator Table'!$L766,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H766=\"Small Patch\",'Calculator Table'!$L766,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H766=\"Matrix\",'Calculator Table'!$L766,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M766&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N766&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O766&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P766&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q766&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R766&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S766&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T766&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U766&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V766&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W766&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X766&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y766)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z766)&\", version_author=\"&AddQuotes('Calculator Table'!$AA766)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB766,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC766)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE766)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF766)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG766)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH766)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI766)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ766)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK766)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL766)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM766)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN766)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO766)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP766)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F766&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B766)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B766)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD766,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F766&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A766)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E766)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K766&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K766=\"Small Patch\",K766=\"Matrix\")),'Calculator Table'!$L766,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K766=\"Small Patch\",'Calculator Table'!$L766,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K766=\"Matrix\",'Calculator Table'!$L766,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M766&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N766&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O766&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P766&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q766&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R766&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S766&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T766&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U766&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V766&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W766&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X766&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y766)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z766)&\", version_author=\"&AddQuotes('Calculator Table'!$AA766)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB766,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC766)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE766)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF766)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG766)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH766)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI766)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ766)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK766)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL766)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM766)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN766)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO766)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP766)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F766&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS778>0,'Rk Assign'!D778,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS778>0,Calculate!$AV778,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ778:$BL778<>\"U\")*($AQ778:$BL778>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ778:$BL778<>\"U\")*($AQ778:$BL778>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ778:$BL778<>\"U\")*($AQ778:$BL778>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K778:$R778<>\"Z\")*($K778:$R778>\"\")*NOT(ISERROR($K778:$R778)))+SUM(($K$4:$R$4=\"A\")*($K778:$R778<>\"A\")*($K778:$R778>\"\")*NOT(ISERROR($K778:$R778)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K778:$R778=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ778:$BL778=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B778)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B778)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD778,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F778&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A778)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E778)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K778&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E778=\"Small Patch\",E778=\"Matrix\")),'Calculator Table'!$L778,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E778=\"Small Patch\",'Calculator Table'!$L778,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E778=\"Matrix\",'Calculator Table'!$L778,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M778&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N778&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O778&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P778&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q778&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R778&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S778&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T778&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U778&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V778&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W778&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X778&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y778)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z778)&\", version_author=\"&AddQuotes('Calculator Table'!$AA778)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB778,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC778)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE778)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF778)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG778)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH778)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI778)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ778)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK778)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL778)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM778)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN778)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO778)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP778)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F778&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B778)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B778)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD778,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F778&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A778)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E778)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K778&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H778=\"Small Patch\",H778=\"Matrix\")),'Calculator Table'!$L778,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H778=\"Small Patch\",'Calculator Table'!$L778,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H778=\"Matrix\",'Calculator Table'!$L778,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M778&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N778&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O778&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P778&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q778&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R778&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S778&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T778&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U778&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V778&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W778&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X778&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y778)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z778)&\", version_author=\"&AddQuotes('Calculator Table'!$AA778)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB778,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC778)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE778)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF778)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG778)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH778)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI778)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ778)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK778)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL778)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM778)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN778)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO778)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP778)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F778&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B778)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B778)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD778,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F778&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A778)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E778)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K778&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K778=\"Small Patch\",K778=\"Matrix\")),'Calculator Table'!$L778,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K778=\"Small Patch\",'Calculator Table'!$L778,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K778=\"Matrix\",'Calculator Table'!$L778,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M778&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N778&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O778&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P778&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q778&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R778&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S778&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T778&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U778&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V778&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W778&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X778&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y778)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z778)&\", version_author=\"&AddQuotes('Calculator Table'!$AA778)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB778,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC778)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE778)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF778)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG778)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH778)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI778)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ778)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK778)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL778)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM778)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN778)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO778)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP778)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F778&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS780>0,'Rk Assign'!D780,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS780>0,Calculate!$AV780,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ780:$BL780<>\"U\")*($AQ780:$BL780>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ780:$BL780<>\"U\")*($AQ780:$BL780>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ780:$BL780<>\"U\")*($AQ780:$BL780>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K780:$R780<>\"Z\")*($K780:$R780>\"\")*NOT(ISERROR($K780:$R780)))+SUM(($K$4:$R$4=\"A\")*($K780:$R780<>\"A\")*($K780:$R780>\"\")*NOT(ISERROR($K780:$R780)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K780:$R780=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ780:$BL780=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B780)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B780)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD780,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F780&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A780)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E780)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K780&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E780=\"Small Patch\",E780=\"Matrix\")),'Calculator Table'!$L780,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E780=\"Small Patch\",'Calculator Table'!$L780,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E780=\"Matrix\",'Calculator Table'!$L780,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M780&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N780&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O780&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P780&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q780&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R780&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S780&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T780&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U780&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V780&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W780&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X780&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y780)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z780)&\", version_author=\"&AddQuotes('Calculator Table'!$AA780)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB780,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC780)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE780)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF780)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG780)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH780)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI780)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ780)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK780)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL780)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM780)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN780)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO780)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP780)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F780&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B780)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B780)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD780,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F780&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A780)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E780)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K780&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H780=\"Small Patch\",H780=\"Matrix\")),'Calculator Table'!$L780,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H780=\"Small Patch\",'Calculator Table'!$L780,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H780=\"Matrix\",'Calculator Table'!$L780,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M780&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N780&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O780&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P780&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q780&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R780&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S780&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T780&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U780&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V780&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W780&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X780&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y780)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z780)&\", version_author=\"&AddQuotes('Calculator Table'!$AA780)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB780,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC780)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE780)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF780)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG780)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH780)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI780)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ780)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK780)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL780)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM780)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN780)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO780)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP780)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F780&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B780)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B780)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD780,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F780&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A780)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E780)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K780&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K780=\"Small Patch\",K780=\"Matrix\")),'Calculator Table'!$L780,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K780=\"Small Patch\",'Calculator Table'!$L780,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K780=\"Matrix\",'Calculator Table'!$L780,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M780&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N780&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O780&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P780&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q780&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R780&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S780&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T780&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U780&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V780&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W780&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X780&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y780)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z780)&\", version_author=\"&AddQuotes('Calculator Table'!$AA780)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB780,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC780)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE780)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF780)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG780)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH780)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI780)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ780)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK780)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL780)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM780)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN780)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO780)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP780)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F780&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS787>0,'Rk Assign'!D787,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS787>0,Calculate!$AV787,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ787:$BL787<>\"U\")*($AQ787:$BL787>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ787:$BL787<>\"U\")*($AQ787:$BL787>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ787:$BL787<>\"U\")*($AQ787:$BL787>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K787:$R787<>\"Z\")*($K787:$R787>\"\")*NOT(ISERROR($K787:$R787)))+SUM(($K$4:$R$4=\"A\")*($K787:$R787<>\"A\")*($K787:$R787>\"\")*NOT(ISERROR($K787:$R787)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K787:$R787=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ787:$BL787=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B787)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B787)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD787,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F787&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A787)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E787)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K787&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E787=\"Small Patch\",E787=\"Matrix\")),'Calculator Table'!$L787,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E787=\"Small Patch\",'Calculator Table'!$L787,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E787=\"Matrix\",'Calculator Table'!$L787,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M787&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N787&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O787&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P787&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q787&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R787&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S787&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T787&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U787&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V787&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W787&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X787&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y787)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z787)&\", version_author=\"&AddQuotes('Calculator Table'!$AA787)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB787,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC787)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE787)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF787)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG787)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH787)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI787)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ787)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK787)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL787)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM787)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN787)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO787)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP787)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F787&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B787)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B787)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD787,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F787&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A787)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E787)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K787&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H787=\"Small Patch\",H787=\"Matrix\")),'Calculator Table'!$L787,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H787=\"Small Patch\",'Calculator Table'!$L787,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H787=\"Matrix\",'Calculator Table'!$L787,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M787&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N787&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O787&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P787&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q787&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R787&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S787&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T787&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U787&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V787&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W787&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X787&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y787)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z787)&\", version_author=\"&AddQuotes('Calculator Table'!$AA787)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB787,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC787)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE787)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF787)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG787)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH787)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI787)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ787)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK787)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL787)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM787)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN787)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO787)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP787)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F787&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B787)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B787)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD787,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F787&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A787)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E787)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K787&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K787=\"Small Patch\",K787=\"Matrix\")),'Calculator Table'!$L787,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K787=\"Small Patch\",'Calculator Table'!$L787,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K787=\"Matrix\",'Calculator Table'!$L787,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M787&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N787&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O787&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P787&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q787&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R787&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S787&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T787&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U787&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V787&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W787&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X787&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y787)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z787)&\", version_author=\"&AddQuotes('Calculator Table'!$AA787)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB787,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC787)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE787)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF787)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG787)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH787)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI787)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ787)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK787)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL787)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM787)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN787)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO787)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP787)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F787&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS801>0,'Rk Assign'!D801,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS801>0,Calculate!$AV801,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ801:$BL801<>\"U\")*($AQ801:$BL801>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ801:$BL801<>\"U\")*($AQ801:$BL801>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ801:$BL801<>\"U\")*($AQ801:$BL801>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K801:$R801<>\"Z\")*($K801:$R801>\"\")*NOT(ISERROR($K801:$R801)))+SUM(($K$4:$R$4=\"A\")*($K801:$R801<>\"A\")*($K801:$R801>\"\")*NOT(ISERROR($K801:$R801)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K801:$R801=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ801:$BL801=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B801)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B801)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD801,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F801&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A801)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E801)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K801&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E801=\"Small Patch\",E801=\"Matrix\")),'Calculator Table'!$L801,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E801=\"Small Patch\",'Calculator Table'!$L801,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E801=\"Matrix\",'Calculator Table'!$L801,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M801&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N801&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O801&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P801&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q801&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R801&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S801&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T801&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U801&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V801&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W801&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X801&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y801)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z801)&\", version_author=\"&AddQuotes('Calculator Table'!$AA801)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB801,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC801)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE801)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF801)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG801)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH801)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI801)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ801)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK801)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL801)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM801)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN801)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO801)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP801)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F801&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B801)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B801)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD801,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F801&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A801)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E801)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K801&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H801=\"Small Patch\",H801=\"Matrix\")),'Calculator Table'!$L801,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H801=\"Small Patch\",'Calculator Table'!$L801,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H801=\"Matrix\",'Calculator Table'!$L801,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M801&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N801&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O801&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P801&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q801&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R801&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S801&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T801&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U801&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V801&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W801&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X801&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y801)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z801)&\", version_author=\"&AddQuotes('Calculator Table'!$AA801)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB801,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC801)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE801)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF801)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG801)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH801)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI801)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ801)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK801)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL801)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM801)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN801)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO801)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP801)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F801&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B801)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B801)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD801,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F801&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A801)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E801)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K801&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K801=\"Small Patch\",K801=\"Matrix\")),'Calculator Table'!$L801,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K801=\"Small Patch\",'Calculator Table'!$L801,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K801=\"Matrix\",'Calculator Table'!$L801,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M801&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N801&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O801&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P801&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q801&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R801&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S801&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T801&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U801&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V801&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W801&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X801&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y801)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z801)&\", version_author=\"&AddQuotes('Calculator Table'!$AA801)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB801,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC801)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE801)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF801)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG801)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH801)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI801)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ801)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK801)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL801)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM801)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN801)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO801)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP801)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F801&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS804>0,'Rk Assign'!D804,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS804>0,Calculate!$AV804,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ804:$BL804<>\"U\")*($AQ804:$BL804>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ804:$BL804<>\"U\")*($AQ804:$BL804>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ804:$BL804<>\"U\")*($AQ804:$BL804>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K804:$R804<>\"Z\")*($K804:$R804>\"\")*NOT(ISERROR($K804:$R804)))+SUM(($K$4:$R$4=\"A\")*($K804:$R804<>\"A\")*($K804:$R804>\"\")*NOT(ISERROR($K804:$R804)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K804:$R804=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ804:$BL804=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B804)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B804)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD804,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F804&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A804)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E804)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K804&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E804=\"Small Patch\",E804=\"Matrix\")),'Calculator Table'!$L804,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E804=\"Small Patch\",'Calculator Table'!$L804,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E804=\"Matrix\",'Calculator Table'!$L804,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M804&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N804&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O804&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P804&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q804&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R804&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S804&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T804&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U804&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V804&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W804&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X804&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y804)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z804)&\", version_author=\"&AddQuotes('Calculator Table'!$AA804)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB804,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC804)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE804)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF804)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG804)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH804)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI804)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ804)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK804)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL804)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM804)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN804)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO804)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP804)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F804&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B804)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B804)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD804,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F804&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A804)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E804)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K804&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H804=\"Small Patch\",H804=\"Matrix\")),'Calculator Table'!$L804,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H804=\"Small Patch\",'Calculator Table'!$L804,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H804=\"Matrix\",'Calculator Table'!$L804,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M804&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N804&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O804&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P804&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q804&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R804&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S804&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T804&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U804&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V804&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W804&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X804&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y804)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z804)&\", version_author=\"&AddQuotes('Calculator Table'!$AA804)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB804,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC804)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE804)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF804)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG804)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH804)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI804)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ804)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK804)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL804)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM804)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN804)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO804)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP804)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F804&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B804)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B804)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD804,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F804&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A804)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E804)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K804&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K804=\"Small Patch\",K804=\"Matrix\")),'Calculator Table'!$L804,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K804=\"Small Patch\",'Calculator Table'!$L804,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K804=\"Matrix\",'Calculator Table'!$L804,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M804&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N804&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O804&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P804&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q804&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R804&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S804&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T804&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U804&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V804&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W804&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X804&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y804)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z804)&\", version_author=\"&AddQuotes('Calculator Table'!$AA804)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB804,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC804)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE804)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF804)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG804)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH804)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI804)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ804)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK804)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL804)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM804)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN804)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO804)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP804)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F804&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS813>0,'Rk Assign'!D813,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS813>0,Calculate!$AV813,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ813:$BL813<>\"U\")*($AQ813:$BL813>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ813:$BL813<>\"U\")*($AQ813:$BL813>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ813:$BL813<>\"U\")*($AQ813:$BL813>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K813:$R813<>\"Z\")*($K813:$R813>\"\")*NOT(ISERROR($K813:$R813)))+SUM(($K$4:$R$4=\"A\")*($K813:$R813<>\"A\")*($K813:$R813>\"\")*NOT(ISERROR($K813:$R813)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K813:$R813=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ813:$BL813=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B813)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B813)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD813,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F813&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A813)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E813)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K813&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E813=\"Small Patch\",E813=\"Matrix\")),'Calculator Table'!$L813,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E813=\"Small Patch\",'Calculator Table'!$L813,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E813=\"Matrix\",'Calculator Table'!$L813,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M813&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N813&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O813&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P813&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q813&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R813&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S813&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T813&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U813&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V813&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W813&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X813&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y813)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z813)&\", version_author=\"&AddQuotes('Calculator Table'!$AA813)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB813,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC813)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE813)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF813)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG813)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH813)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI813)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ813)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK813)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL813)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM813)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN813)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO813)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP813)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F813&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B813)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B813)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD813,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F813&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A813)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E813)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K813&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H813=\"Small Patch\",H813=\"Matrix\")),'Calculator Table'!$L813,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H813=\"Small Patch\",'Calculator Table'!$L813,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H813=\"Matrix\",'Calculator Table'!$L813,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M813&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N813&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O813&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P813&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q813&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R813&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S813&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T813&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U813&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V813&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W813&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X813&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y813)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z813)&\", version_author=\"&AddQuotes('Calculator Table'!$AA813)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB813,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC813)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE813)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF813)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG813)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH813)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI813)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ813)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK813)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL813)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM813)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN813)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO813)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP813)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F813&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B813)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B813)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD813,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F813&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A813)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E813)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K813&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K813=\"Small Patch\",K813=\"Matrix\")),'Calculator Table'!$L813,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K813=\"Small Patch\",'Calculator Table'!$L813,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K813=\"Matrix\",'Calculator Table'!$L813,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M813&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N813&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O813&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P813&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q813&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R813&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S813&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T813&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U813&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V813&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W813&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X813&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y813)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z813)&\", version_author=\"&AddQuotes('Calculator Table'!$AA813)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB813,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC813)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE813)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF813)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG813)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH813)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI813)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ813)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK813)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL813)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM813)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN813)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO813)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP813)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F813&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS824>0,'Rk Assign'!D824,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS824>0,Calculate!$AV824,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ824:$BL824<>\"U\")*($AQ824:$BL824>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ824:$BL824<>\"U\")*($AQ824:$BL824>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ824:$BL824<>\"U\")*($AQ824:$BL824>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K824:$R824<>\"Z\")*($K824:$R824>\"\")*NOT(ISERROR($K824:$R824)))+SUM(($K$4:$R$4=\"A\")*($K824:$R824<>\"A\")*($K824:$R824>\"\")*NOT(ISERROR($K824:$R824)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K824:$R824=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ824:$BL824=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B824)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B824)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD824,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F824&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A824)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E824)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K824&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E824=\"Small Patch\",E824=\"Matrix\")),'Calculator Table'!$L824,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E824=\"Small Patch\",'Calculator Table'!$L824,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E824=\"Matrix\",'Calculator Table'!$L824,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M824&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N824&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O824&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P824&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q824&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R824&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S824&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T824&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U824&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V824&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W824&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X824&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y824)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z824)&\", version_author=\"&AddQuotes('Calculator Table'!$AA824)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB824,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC824)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE824)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF824)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG824)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH824)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI824)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ824)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK824)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL824)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM824)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN824)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO824)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP824)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F824&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B824)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B824)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD824,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F824&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A824)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E824)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K824&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H824=\"Small Patch\",H824=\"Matrix\")),'Calculator Table'!$L824,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H824=\"Small Patch\",'Calculator Table'!$L824,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H824=\"Matrix\",'Calculator Table'!$L824,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M824&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N824&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O824&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P824&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q824&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R824&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S824&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T824&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U824&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V824&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W824&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X824&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y824)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z824)&\", version_author=\"&AddQuotes('Calculator Table'!$AA824)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB824,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC824)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE824)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF824)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG824)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH824)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI824)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ824)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK824)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL824)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM824)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN824)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO824)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP824)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F824&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B824)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B824)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD824,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F824&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A824)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E824)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K824&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K824=\"Small Patch\",K824=\"Matrix\")),'Calculator Table'!$L824,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K824=\"Small Patch\",'Calculator Table'!$L824,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K824=\"Matrix\",'Calculator Table'!$L824,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M824&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N824&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O824&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P824&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q824&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R824&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S824&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T824&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U824&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V824&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W824&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X824&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y824)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z824)&\", version_author=\"&AddQuotes('Calculator Table'!$AA824)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB824,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC824)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE824)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF824)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG824)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH824)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI824)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ824)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK824)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL824)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM824)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN824)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO824)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP824)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F824&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS830>0,'Rk Assign'!D830,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS830>0,Calculate!$AV830,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ830:$BL830<>\"U\")*($AQ830:$BL830>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ830:$BL830<>\"U\")*($AQ830:$BL830>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ830:$BL830<>\"U\")*($AQ830:$BL830>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K830:$R830<>\"Z\")*($K830:$R830>\"\")*NOT(ISERROR($K830:$R830)))+SUM(($K$4:$R$4=\"A\")*($K830:$R830<>\"A\")*($K830:$R830>\"\")*NOT(ISERROR($K830:$R830)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K830:$R830=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ830:$BL830=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B830)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B830)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD830,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F830&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A830)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E830)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K830&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E830=\"Small Patch\",E830=\"Matrix\")),'Calculator Table'!$L830,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E830=\"Small Patch\",'Calculator Table'!$L830,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E830=\"Matrix\",'Calculator Table'!$L830,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M830&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N830&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O830&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P830&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q830&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R830&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S830&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T830&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U830&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V830&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W830&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X830&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y830)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z830)&\", version_author=\"&AddQuotes('Calculator Table'!$AA830)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB830,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC830)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE830)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF830)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG830)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH830)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI830)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ830)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK830)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL830)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM830)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN830)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO830)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP830)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F830&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B830)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B830)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD830,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F830&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A830)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E830)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K830&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H830=\"Small Patch\",H830=\"Matrix\")),'Calculator Table'!$L830,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H830=\"Small Patch\",'Calculator Table'!$L830,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H830=\"Matrix\",'Calculator Table'!$L830,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M830&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N830&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O830&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P830&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q830&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R830&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S830&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T830&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U830&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V830&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W830&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X830&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y830)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z830)&\", version_author=\"&AddQuotes('Calculator Table'!$AA830)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB830,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC830)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE830)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF830)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG830)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH830)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI830)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ830)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK830)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL830)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM830)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN830)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO830)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP830)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F830&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B830)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B830)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD830,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F830&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A830)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E830)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K830&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K830=\"Small Patch\",K830=\"Matrix\")),'Calculator Table'!$L830,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K830=\"Small Patch\",'Calculator Table'!$L830,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K830=\"Matrix\",'Calculator Table'!$L830,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M830&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N830&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O830&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P830&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q830&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R830&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S830&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T830&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U830&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V830&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W830&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X830&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y830)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z830)&\", version_author=\"&AddQuotes('Calculator Table'!$AA830)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB830,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC830)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE830)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF830)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG830)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH830)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI830)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ830)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK830)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL830)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM830)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN830)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO830)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP830)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F830&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS838>0,'Rk Assign'!D838,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","",{"$f":"LEFT(L838&M838&N838,1)","v":""},{"$f":"RIGHT(L838&M838&N838,1)","v":""},"","","","","","","","","","","","","","","","","","",{"$f":"IF(BS838>0,Calculate!$AV838,\"\")","v":""},{"$f":"IF(BS838>0,BR838>1,\"\")","v":""},{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ838:$BL838<>\"U\")*($AQ838:$BL838>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ838:$BL838<>\"U\")*($AQ838:$BL838>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ838:$BL838<>\"U\")*($AQ838:$BL838>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K838:$R838<>\"Z\")*($K838:$R838>\"\")*NOT(ISERROR($K838:$R838)))+SUM(($K$4:$R$4=\"A\")*($K838:$R838<>\"A\")*($K838:$R838>\"\")*NOT(ISERROR($K838:$R838)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K838:$R838=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ838:$BL838=\"Z\"))","v":0},{"$f":"IF(AND(BU838>0,BT838>0),\"Z-ERROR\",\"\")","v":""}," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B838)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B838)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD838,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F838&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A838)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E838)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K838&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E838=\"Small Patch\",E838=\"Matrix\")),'Calculator Table'!$L838,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E838=\"Small Patch\",'Calculator Table'!$L838,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E838=\"Matrix\",'Calculator Table'!$L838,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M838&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N838&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O838&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P838&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q838&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R838&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S838&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T838&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U838&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V838&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W838&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X838&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y838)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z838)&\", version_author=\"&AddQuotes('Calculator Table'!$AA838)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB838,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC838)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE838)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF838)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG838)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH838)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI838)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ838)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK838)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL838)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM838)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN838)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO838)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP838)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F838&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B838)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B838)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD838,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F838&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A838)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E838)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K838&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H838=\"Small Patch\",H838=\"Matrix\")),'Calculator Table'!$L838,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H838=\"Small Patch\",'Calculator Table'!$L838,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H838=\"Matrix\",'Calculator Table'!$L838,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M838&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N838&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O838&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P838&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q838&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R838&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S838&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T838&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U838&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V838&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W838&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X838&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y838)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z838)&\", version_author=\"&AddQuotes('Calculator Table'!$AA838)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB838,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC838)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE838)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF838)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG838)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH838)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI838)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ838)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK838)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL838)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM838)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN838)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO838)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP838)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F838&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B838)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B838)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD838,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F838&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A838)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E838)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K838&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K838=\"Small Patch\",K838=\"Matrix\")),'Calculator Table'!$L838,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K838=\"Small Patch\",'Calculator Table'!$L838,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K838=\"Matrix\",'Calculator Table'!$L838,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M838&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N838&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O838&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P838&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q838&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R838&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S838&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T838&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U838&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V838&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W838&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X838&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y838)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z838)&\", version_author=\"&AddQuotes('Calculator Table'!$AA838)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB838,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC838)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE838)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF838)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG838)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH838)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI838)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ838)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK838)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL838)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM838)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN838)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO838)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP838)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F838&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS847>0,'Rk Assign'!D847,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS847>0,Calculate!$AV847,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ847:$BL847<>\"U\")*($AQ847:$BL847>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ847:$BL847<>\"U\")*($AQ847:$BL847>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ847:$BL847<>\"U\")*($AQ847:$BL847>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K847:$R847<>\"Z\")*($K847:$R847>\"\")*NOT(ISERROR($K847:$R847)))+SUM(($K$4:$R$4=\"A\")*($K847:$R847<>\"A\")*($K847:$R847>\"\")*NOT(ISERROR($K847:$R847)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K847:$R847=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ847:$BL847=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B847)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B847)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD847,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F847&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A847)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E847)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K847&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E847=\"Small Patch\",E847=\"Matrix\")),'Calculator Table'!$L847,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E847=\"Small Patch\",'Calculator Table'!$L847,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E847=\"Matrix\",'Calculator Table'!$L847,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M847&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N847&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O847&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P847&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q847&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R847&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S847&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T847&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U847&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V847&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W847&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X847&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y847)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z847)&\", version_author=\"&AddQuotes('Calculator Table'!$AA847)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB847,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC847)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE847)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF847)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG847)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH847)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI847)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ847)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK847)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL847)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM847)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN847)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO847)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP847)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F847&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B847)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B847)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD847,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F847&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A847)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E847)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K847&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H847=\"Small Patch\",H847=\"Matrix\")),'Calculator Table'!$L847,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H847=\"Small Patch\",'Calculator Table'!$L847,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H847=\"Matrix\",'Calculator Table'!$L847,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M847&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N847&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O847&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P847&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q847&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R847&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S847&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T847&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U847&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V847&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W847&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X847&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y847)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z847)&\", version_author=\"&AddQuotes('Calculator Table'!$AA847)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB847,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC847)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE847)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF847)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG847)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH847)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI847)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ847)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK847)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL847)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM847)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN847)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO847)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP847)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F847&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B847)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B847)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD847,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F847&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A847)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E847)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K847&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K847=\"Small Patch\",K847=\"Matrix\")),'Calculator Table'!$L847,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K847=\"Small Patch\",'Calculator Table'!$L847,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K847=\"Matrix\",'Calculator Table'!$L847,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M847&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N847&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O847&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P847&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q847&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R847&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S847&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T847&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U847&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V847&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W847&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X847&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y847)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z847)&\", version_author=\"&AddQuotes('Calculator Table'!$AA847)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB847,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC847)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE847)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF847)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG847)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH847)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI847)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ847)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK847)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL847)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM847)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN847)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO847)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP847)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F847&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS852>0,'Rk Assign'!D852,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS852>0,Calculate!$AV852,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ852:$BL852<>\"U\")*($AQ852:$BL852>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ852:$BL852<>\"U\")*($AQ852:$BL852>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ852:$BL852<>\"U\")*($AQ852:$BL852>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K852:$R852<>\"Z\")*($K852:$R852>\"\")*NOT(ISERROR($K852:$R852)))+SUM(($K$4:$R$4=\"A\")*($K852:$R852<>\"A\")*($K852:$R852>\"\")*NOT(ISERROR($K852:$R852)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K852:$R852=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ852:$BL852=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B852)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B852)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD852,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F852&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A852)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E852)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K852&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E852=\"Small Patch\",E852=\"Matrix\")),'Calculator Table'!$L852,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E852=\"Small Patch\",'Calculator Table'!$L852,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E852=\"Matrix\",'Calculator Table'!$L852,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M852&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N852&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O852&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P852&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q852&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R852&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S852&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T852&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U852&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V852&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W852&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X852&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y852)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z852)&\", version_author=\"&AddQuotes('Calculator Table'!$AA852)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB852,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC852)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE852)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF852)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG852)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH852)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI852)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ852)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK852)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL852)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM852)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN852)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO852)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP852)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F852&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B852)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B852)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD852,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F852&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A852)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E852)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K852&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H852=\"Small Patch\",H852=\"Matrix\")),'Calculator Table'!$L852,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H852=\"Small Patch\",'Calculator Table'!$L852,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H852=\"Matrix\",'Calculator Table'!$L852,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M852&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N852&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O852&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P852&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q852&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R852&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S852&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T852&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U852&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V852&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W852&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X852&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y852)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z852)&\", version_author=\"&AddQuotes('Calculator Table'!$AA852)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB852,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC852)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE852)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF852)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG852)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH852)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI852)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ852)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK852)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL852)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM852)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN852)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO852)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP852)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F852&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B852)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B852)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD852,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F852&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A852)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E852)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K852&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K852=\"Small Patch\",K852=\"Matrix\")),'Calculator Table'!$L852,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K852=\"Small Patch\",'Calculator Table'!$L852,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K852=\"Matrix\",'Calculator Table'!$L852,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M852&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N852&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O852&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P852&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q852&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R852&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S852&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T852&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U852&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V852&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W852&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X852&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y852)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z852)&\", version_author=\"&AddQuotes('Calculator Table'!$AA852)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB852,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC852)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE852)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF852)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG852)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH852)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI852)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ852)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK852)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL852)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM852)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN852)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO852)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP852)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F852&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS856>0,'Rk Assign'!D856,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS856>0,Calculate!$AV856,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ856:$BL856<>\"U\")*($AQ856:$BL856>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ856:$BL856<>\"U\")*($AQ856:$BL856>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ856:$BL856<>\"U\")*($AQ856:$BL856>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K856:$R856<>\"Z\")*($K856:$R856>\"\")*NOT(ISERROR($K856:$R856)))+SUM(($K$4:$R$4=\"A\")*($K856:$R856<>\"A\")*($K856:$R856>\"\")*NOT(ISERROR($K856:$R856)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K856:$R856=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ856:$BL856=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B856)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B856)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD856,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F856&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A856)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E856)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K856&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E856=\"Small Patch\",E856=\"Matrix\")),'Calculator Table'!$L856,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E856=\"Small Patch\",'Calculator Table'!$L856,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E856=\"Matrix\",'Calculator Table'!$L856,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M856&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N856&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O856&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P856&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q856&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R856&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S856&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T856&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U856&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V856&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W856&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X856&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y856)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z856)&\", version_author=\"&AddQuotes('Calculator Table'!$AA856)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB856,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC856)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE856)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF856)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG856)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH856)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI856)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ856)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK856)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL856)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM856)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN856)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO856)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP856)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F856&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B856)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B856)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD856,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F856&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A856)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E856)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K856&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H856=\"Small Patch\",H856=\"Matrix\")),'Calculator Table'!$L856,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H856=\"Small Patch\",'Calculator Table'!$L856,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H856=\"Matrix\",'Calculator Table'!$L856,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M856&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N856&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O856&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P856&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q856&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R856&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S856&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T856&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U856&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V856&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W856&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X856&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y856)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z856)&\", version_author=\"&AddQuotes('Calculator Table'!$AA856)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB856,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC856)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE856)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF856)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG856)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH856)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI856)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ856)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK856)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL856)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM856)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN856)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO856)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP856)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F856&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B856)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B856)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD856,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F856&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A856)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E856)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K856&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K856=\"Small Patch\",K856=\"Matrix\")),'Calculator Table'!$L856,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K856=\"Small Patch\",'Calculator Table'!$L856,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K856=\"Matrix\",'Calculator Table'!$L856,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M856&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N856&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O856&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P856&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q856&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R856&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S856&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T856&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U856&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V856&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W856&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X856&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y856)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z856)&\", version_author=\"&AddQuotes('Calculator Table'!$AA856)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB856,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC856)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE856)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF856)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG856)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH856)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI856)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ856)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK856)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL856)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM856)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN856)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO856)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP856)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F856&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS869>0,'Rk Assign'!D869,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS869>0,Calculate!$AV869,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ869:$BL869<>\"U\")*($AQ869:$BL869>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ869:$BL869<>\"U\")*($AQ869:$BL869>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ869:$BL869<>\"U\")*($AQ869:$BL869>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K869:$R869<>\"Z\")*($K869:$R869>\"\")*NOT(ISERROR($K869:$R869)))+SUM(($K$4:$R$4=\"A\")*($K869:$R869<>\"A\")*($K869:$R869>\"\")*NOT(ISERROR($K869:$R869)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K869:$R869=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ869:$BL869=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B869)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B869)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD869,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F869&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A869)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E869)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K869&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E869=\"Small Patch\",E869=\"Matrix\")),'Calculator Table'!$L869,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E869=\"Small Patch\",'Calculator Table'!$L869,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E869=\"Matrix\",'Calculator Table'!$L869,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M869&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N869&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O869&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P869&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q869&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R869&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S869&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T869&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U869&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V869&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W869&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X869&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y869)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z869)&\", version_author=\"&AddQuotes('Calculator Table'!$AA869)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB869,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC869)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE869)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF869)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG869)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH869)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI869)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ869)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK869)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL869)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM869)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN869)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO869)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP869)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F869&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B869)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B869)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD869,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F869&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A869)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E869)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K869&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H869=\"Small Patch\",H869=\"Matrix\")),'Calculator Table'!$L869,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H869=\"Small Patch\",'Calculator Table'!$L869,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H869=\"Matrix\",'Calculator Table'!$L869,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M869&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N869&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O869&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P869&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q869&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R869&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S869&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T869&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U869&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V869&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W869&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X869&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y869)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z869)&\", version_author=\"&AddQuotes('Calculator Table'!$AA869)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB869,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC869)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE869)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF869)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG869)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH869)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI869)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ869)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK869)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL869)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM869)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN869)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO869)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP869)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F869&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B869)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B869)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD869,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F869&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A869)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E869)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K869&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K869=\"Small Patch\",K869=\"Matrix\")),'Calculator Table'!$L869,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K869=\"Small Patch\",'Calculator Table'!$L869,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K869=\"Matrix\",'Calculator Table'!$L869,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M869&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N869&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O869&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P869&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q869&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R869&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S869&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T869&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U869&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V869&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W869&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X869&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y869)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z869)&\", version_author=\"&AddQuotes('Calculator Table'!$AA869)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB869,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC869)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE869)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF869)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG869)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH869)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI869)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ869)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK869)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL869)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM869)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN869)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO869)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP869)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F869&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS873>0,'Rk Assign'!D873,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS873>0,Calculate!$AV873,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ873:$BL873<>\"U\")*($AQ873:$BL873>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ873:$BL873<>\"U\")*($AQ873:$BL873>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ873:$BL873<>\"U\")*($AQ873:$BL873>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K873:$R873<>\"Z\")*($K873:$R873>\"\")*NOT(ISERROR($K873:$R873)))+SUM(($K$4:$R$4=\"A\")*($K873:$R873<>\"A\")*($K873:$R873>\"\")*NOT(ISERROR($K873:$R873)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K873:$R873=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ873:$BL873=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B873)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B873)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD873,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F873&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A873)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E873)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K873&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E873=\"Small Patch\",E873=\"Matrix\")),'Calculator Table'!$L873,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E873=\"Small Patch\",'Calculator Table'!$L873,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E873=\"Matrix\",'Calculator Table'!$L873,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M873&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N873&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O873&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P873&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q873&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R873&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S873&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T873&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U873&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V873&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W873&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X873&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y873)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z873)&\", version_author=\"&AddQuotes('Calculator Table'!$AA873)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB873,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC873)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE873)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF873)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG873)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH873)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI873)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ873)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK873)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL873)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM873)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN873)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO873)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP873)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F873&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B873)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B873)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD873,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F873&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A873)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E873)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K873&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H873=\"Small Patch\",H873=\"Matrix\")),'Calculator Table'!$L873,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H873=\"Small Patch\",'Calculator Table'!$L873,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H873=\"Matrix\",'Calculator Table'!$L873,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M873&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N873&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O873&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P873&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q873&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R873&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S873&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T873&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U873&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V873&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W873&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X873&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y873)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z873)&\", version_author=\"&AddQuotes('Calculator Table'!$AA873)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB873,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC873)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE873)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF873)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG873)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH873)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI873)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ873)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK873)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL873)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM873)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN873)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO873)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP873)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F873&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B873)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B873)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD873,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F873&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A873)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E873)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K873&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K873=\"Small Patch\",K873=\"Matrix\")),'Calculator Table'!$L873,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K873=\"Small Patch\",'Calculator Table'!$L873,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K873=\"Matrix\",'Calculator Table'!$L873,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M873&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N873&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O873&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P873&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q873&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R873&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S873&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T873&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U873&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V873&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W873&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X873&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y873)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z873)&\", version_author=\"&AddQuotes('Calculator Table'!$AA873)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB873,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC873)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE873)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF873)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG873)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH873)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI873)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ873)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK873)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL873)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM873)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN873)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO873)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP873)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F873&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS882>0,'Rk Assign'!D882,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS882>0,Calculate!$AV882,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ882:$BL882<>\"U\")*($AQ882:$BL882>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ882:$BL882<>\"U\")*($AQ882:$BL882>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ882:$BL882<>\"U\")*($AQ882:$BL882>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K882:$R882<>\"Z\")*($K882:$R882>\"\")*NOT(ISERROR($K882:$R882)))+SUM(($K$4:$R$4=\"A\")*($K882:$R882<>\"A\")*($K882:$R882>\"\")*NOT(ISERROR($K882:$R882)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K882:$R882=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ882:$BL882=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B882)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B882)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD882,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F882&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A882)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E882)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K882&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E882=\"Small Patch\",E882=\"Matrix\")),'Calculator Table'!$L882,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E882=\"Small Patch\",'Calculator Table'!$L882,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E882=\"Matrix\",'Calculator Table'!$L882,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M882&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N882&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O882&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P882&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q882&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R882&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S882&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T882&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U882&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V882&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W882&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X882&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y882)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z882)&\", version_author=\"&AddQuotes('Calculator Table'!$AA882)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB882,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC882)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE882)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF882)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG882)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH882)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI882)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ882)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK882)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL882)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM882)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN882)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO882)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP882)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F882&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B882)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B882)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD882,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F882&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A882)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E882)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K882&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H882=\"Small Patch\",H882=\"Matrix\")),'Calculator Table'!$L882,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H882=\"Small Patch\",'Calculator Table'!$L882,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H882=\"Matrix\",'Calculator Table'!$L882,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M882&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N882&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O882&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P882&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q882&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R882&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S882&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T882&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U882&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V882&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W882&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X882&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y882)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z882)&\", version_author=\"&AddQuotes('Calculator Table'!$AA882)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB882,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC882)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE882)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF882)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG882)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH882)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI882)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ882)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK882)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL882)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM882)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN882)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO882)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP882)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F882&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B882)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B882)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD882,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F882&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A882)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E882)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K882&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K882=\"Small Patch\",K882=\"Matrix\")),'Calculator Table'!$L882,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K882=\"Small Patch\",'Calculator Table'!$L882,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K882=\"Matrix\",'Calculator Table'!$L882,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M882&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N882&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O882&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P882&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q882&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R882&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S882&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T882&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U882&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V882&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W882&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X882&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y882)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z882)&\", version_author=\"&AddQuotes('Calculator Table'!$AA882)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB882,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC882)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE882)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF882)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG882)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH882)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI882)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ882)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK882)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL882)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM882)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN882)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO882)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP882)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F882&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS889>0,'Rk Assign'!D889,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS889>0,Calculate!$AV889,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ889:$BL889<>\"U\")*($AQ889:$BL889>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ889:$BL889<>\"U\")*($AQ889:$BL889>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ889:$BL889<>\"U\")*($AQ889:$BL889>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K889:$R889<>\"Z\")*($K889:$R889>\"\")*NOT(ISERROR($K889:$R889)))+SUM(($K$4:$R$4=\"A\")*($K889:$R889<>\"A\")*($K889:$R889>\"\")*NOT(ISERROR($K889:$R889)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K889:$R889=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ889:$BL889=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B889)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B889)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD889,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F889&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A889)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E889)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K889&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E889=\"Small Patch\",E889=\"Matrix\")),'Calculator Table'!$L889,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E889=\"Small Patch\",'Calculator Table'!$L889,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E889=\"Matrix\",'Calculator Table'!$L889,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M889&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N889&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O889&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P889&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q889&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R889&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S889&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T889&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U889&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V889&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W889&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X889&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y889)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z889)&\", version_author=\"&AddQuotes('Calculator Table'!$AA889)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB889,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC889)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE889)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF889)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG889)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH889)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI889)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ889)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK889)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL889)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM889)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN889)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO889)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP889)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F889&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B889)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B889)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD889,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F889&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A889)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E889)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K889&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H889=\"Small Patch\",H889=\"Matrix\")),'Calculator Table'!$L889,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H889=\"Small Patch\",'Calculator Table'!$L889,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H889=\"Matrix\",'Calculator Table'!$L889,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M889&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N889&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O889&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P889&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q889&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R889&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S889&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T889&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U889&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V889&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W889&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X889&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y889)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z889)&\", version_author=\"&AddQuotes('Calculator Table'!$AA889)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB889,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC889)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE889)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF889)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG889)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH889)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI889)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ889)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK889)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL889)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM889)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN889)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO889)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP889)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F889&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B889)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B889)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD889,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F889&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A889)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E889)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K889&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K889=\"Small Patch\",K889=\"Matrix\")),'Calculator Table'!$L889,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K889=\"Small Patch\",'Calculator Table'!$L889,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K889=\"Matrix\",'Calculator Table'!$L889,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M889&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N889&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O889&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P889&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q889&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R889&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S889&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T889&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U889&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V889&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W889&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X889&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y889)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z889)&\", version_author=\"&AddQuotes('Calculator Table'!$AA889)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB889,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC889)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE889)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF889)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG889)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH889)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI889)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ889)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK889)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL889)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM889)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN889)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO889)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP889)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F889&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS899>0,'Rk Assign'!D899,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS899>0,Calculate!$AV899,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ899:$BL899<>\"U\")*($AQ899:$BL899>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ899:$BL899<>\"U\")*($AQ899:$BL899>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ899:$BL899<>\"U\")*($AQ899:$BL899>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K899:$R899<>\"Z\")*($K899:$R899>\"\")*NOT(ISERROR($K899:$R899)))+SUM(($K$4:$R$4=\"A\")*($K899:$R899<>\"A\")*($K899:$R899>\"\")*NOT(ISERROR($K899:$R899)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K899:$R899=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ899:$BL899=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B899)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B899)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD899,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F899&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A899)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E899)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K899&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E899=\"Small Patch\",E899=\"Matrix\")),'Calculator Table'!$L899,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E899=\"Small Patch\",'Calculator Table'!$L899,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E899=\"Matrix\",'Calculator Table'!$L899,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M899&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N899&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O899&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P899&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q899&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R899&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S899&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T899&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U899&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V899&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W899&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X899&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y899)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z899)&\", version_author=\"&AddQuotes('Calculator Table'!$AA899)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB899,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC899)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE899)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF899)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG899)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH899)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI899)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ899)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK899)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL899)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM899)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN899)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO899)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP899)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F899&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B899)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B899)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD899,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F899&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A899)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E899)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K899&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H899=\"Small Patch\",H899=\"Matrix\")),'Calculator Table'!$L899,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H899=\"Small Patch\",'Calculator Table'!$L899,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H899=\"Matrix\",'Calculator Table'!$L899,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M899&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N899&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O899&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P899&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q899&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R899&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S899&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T899&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U899&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V899&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W899&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X899&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y899)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z899)&\", version_author=\"&AddQuotes('Calculator Table'!$AA899)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB899,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC899)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE899)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF899)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG899)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH899)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI899)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ899)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK899)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL899)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM899)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN899)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO899)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP899)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F899&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B899)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B899)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD899,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F899&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A899)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E899)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K899&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K899=\"Small Patch\",K899=\"Matrix\")),'Calculator Table'!$L899,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K899=\"Small Patch\",'Calculator Table'!$L899,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K899=\"Matrix\",'Calculator Table'!$L899,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M899&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N899&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O899&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P899&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q899&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R899&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S899&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T899&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U899&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V899&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W899&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X899&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y899)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z899)&\", version_author=\"&AddQuotes('Calculator Table'!$AA899)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB899,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC899)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE899)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF899)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG899)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH899)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI899)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ899)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK899)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL899)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM899)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN899)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO899)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP899)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F899&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS906>0,'Rk Assign'!D906,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS906>0,Calculate!$AV906,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ906:$BL906<>\"U\")*($AQ906:$BL906>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ906:$BL906<>\"U\")*($AQ906:$BL906>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ906:$BL906<>\"U\")*($AQ906:$BL906>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K906:$R906<>\"Z\")*($K906:$R906>\"\")*NOT(ISERROR($K906:$R906)))+SUM(($K$4:$R$4=\"A\")*($K906:$R906<>\"A\")*($K906:$R906>\"\")*NOT(ISERROR($K906:$R906)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K906:$R906=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ906:$BL906=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B906)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B906)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD906,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F906&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A906)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E906)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K906&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E906=\"Small Patch\",E906=\"Matrix\")),'Calculator Table'!$L906,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E906=\"Small Patch\",'Calculator Table'!$L906,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E906=\"Matrix\",'Calculator Table'!$L906,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M906&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N906&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O906&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P906&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q906&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R906&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S906&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T906&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U906&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V906&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W906&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X906&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y906)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z906)&\", version_author=\"&AddQuotes('Calculator Table'!$AA906)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB906,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC906)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE906)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF906)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG906)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH906)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI906)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ906)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK906)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL906)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM906)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN906)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO906)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP906)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F906&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B906)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B906)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD906,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F906&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A906)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E906)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K906&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H906=\"Small Patch\",H906=\"Matrix\")),'Calculator Table'!$L906,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H906=\"Small Patch\",'Calculator Table'!$L906,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H906=\"Matrix\",'Calculator Table'!$L906,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M906&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N906&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O906&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P906&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q906&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R906&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S906&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T906&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U906&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V906&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W906&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X906&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y906)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z906)&\", version_author=\"&AddQuotes('Calculator Table'!$AA906)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB906,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC906)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE906)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF906)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG906)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH906)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI906)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ906)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK906)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL906)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM906)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN906)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO906)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP906)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F906&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B906)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B906)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD906,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F906&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A906)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E906)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K906&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K906=\"Small Patch\",K906=\"Matrix\")),'Calculator Table'!$L906,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K906=\"Small Patch\",'Calculator Table'!$L906,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K906=\"Matrix\",'Calculator Table'!$L906,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M906&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N906&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O906&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P906&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q906&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R906&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S906&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T906&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U906&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V906&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W906&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X906&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y906)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z906)&\", version_author=\"&AddQuotes('Calculator Table'!$AA906)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB906,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC906)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE906)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF906)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG906)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH906)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI906)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ906)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK906)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL906)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM906)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN906)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO906)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP906)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F906&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS908>0,'Rk Assign'!D908,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS908>0,Calculate!$AV908,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ908:$BL908<>\"U\")*($AQ908:$BL908>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ908:$BL908<>\"U\")*($AQ908:$BL908>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ908:$BL908<>\"U\")*($AQ908:$BL908>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K908:$R908<>\"Z\")*($K908:$R908>\"\")*NOT(ISERROR($K908:$R908)))+SUM(($K$4:$R$4=\"A\")*($K908:$R908<>\"A\")*($K908:$R908>\"\")*NOT(ISERROR($K908:$R908)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K908:$R908=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ908:$BL908=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B908)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B908)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD908,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F908&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A908)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E908)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K908&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E908=\"Small Patch\",E908=\"Matrix\")),'Calculator Table'!$L908,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E908=\"Small Patch\",'Calculator Table'!$L908,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E908=\"Matrix\",'Calculator Table'!$L908,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M908&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N908&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O908&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P908&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q908&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R908&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S908&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T908&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U908&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V908&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W908&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X908&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y908)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z908)&\", version_author=\"&AddQuotes('Calculator Table'!$AA908)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB908,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC908)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE908)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF908)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG908)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH908)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI908)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ908)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK908)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL908)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM908)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN908)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO908)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP908)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F908&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B908)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B908)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD908,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F908&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A908)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E908)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K908&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H908=\"Small Patch\",H908=\"Matrix\")),'Calculator Table'!$L908,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H908=\"Small Patch\",'Calculator Table'!$L908,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H908=\"Matrix\",'Calculator Table'!$L908,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M908&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N908&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O908&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P908&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q908&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R908&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S908&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T908&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U908&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V908&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W908&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X908&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y908)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z908)&\", version_author=\"&AddQuotes('Calculator Table'!$AA908)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB908,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC908)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE908)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF908)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG908)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH908)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI908)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ908)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK908)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL908)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM908)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN908)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO908)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP908)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F908&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B908)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B908)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD908,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F908&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A908)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E908)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K908&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K908=\"Small Patch\",K908=\"Matrix\")),'Calculator Table'!$L908,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K908=\"Small Patch\",'Calculator Table'!$L908,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K908=\"Matrix\",'Calculator Table'!$L908,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M908&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N908&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O908&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P908&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q908&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R908&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S908&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T908&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U908&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V908&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W908&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X908&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y908)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z908)&\", version_author=\"&AddQuotes('Calculator Table'!$AA908)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB908,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC908)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE908)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF908)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG908)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH908)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI908)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ908)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK908)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL908)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM908)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN908)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO908)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP908)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F908&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS920>0,'Rk Assign'!D920,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS920>0,Calculate!$AV920,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ920:$BL920<>\"U\")*($AQ920:$BL920>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ920:$BL920<>\"U\")*($AQ920:$BL920>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ920:$BL920<>\"U\")*($AQ920:$BL920>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K920:$R920<>\"Z\")*($K920:$R920>\"\")*NOT(ISERROR($K920:$R920)))+SUM(($K$4:$R$4=\"A\")*($K920:$R920<>\"A\")*($K920:$R920>\"\")*NOT(ISERROR($K920:$R920)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K920:$R920=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ920:$BL920=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B920)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B920)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD920,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F920&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A920)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E920)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K920&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E920=\"Small Patch\",E920=\"Matrix\")),'Calculator Table'!$L920,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E920=\"Small Patch\",'Calculator Table'!$L920,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E920=\"Matrix\",'Calculator Table'!$L920,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M920&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N920&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O920&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P920&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q920&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R920&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S920&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T920&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U920&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V920&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W920&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X920&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y920)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z920)&\", version_author=\"&AddQuotes('Calculator Table'!$AA920)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB920,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC920)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE920)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF920)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG920)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH920)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI920)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ920)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK920)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL920)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM920)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN920)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO920)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP920)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F920&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B920)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B920)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD920,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F920&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A920)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E920)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K920&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H920=\"Small Patch\",H920=\"Matrix\")),'Calculator Table'!$L920,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H920=\"Small Patch\",'Calculator Table'!$L920,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H920=\"Matrix\",'Calculator Table'!$L920,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M920&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N920&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O920&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P920&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q920&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R920&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S920&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T920&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U920&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V920&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W920&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X920&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y920)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z920)&\", version_author=\"&AddQuotes('Calculator Table'!$AA920)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB920,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC920)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE920)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF920)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG920)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH920)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI920)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ920)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK920)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL920)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM920)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN920)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO920)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP920)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F920&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B920)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B920)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD920,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F920&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A920)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E920)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K920&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K920=\"Small Patch\",K920=\"Matrix\")),'Calculator Table'!$L920,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K920=\"Small Patch\",'Calculator Table'!$L920,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K920=\"Matrix\",'Calculator Table'!$L920,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M920&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N920&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O920&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P920&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q920&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R920&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S920&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T920&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U920&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V920&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W920&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X920&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y920)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z920)&\", version_author=\"&AddQuotes('Calculator Table'!$AA920)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB920,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC920)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE920)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF920)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG920)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH920)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI920)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ920)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK920)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL920)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM920)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN920)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO920)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP920)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F920&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS925>0,'Rk Assign'!D925,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS925>0,Calculate!$AV925,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ925:$BL925<>\"U\")*($AQ925:$BL925>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ925:$BL925<>\"U\")*($AQ925:$BL925>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ925:$BL925<>\"U\")*($AQ925:$BL925>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K925:$R925<>\"Z\")*($K925:$R925>\"\")*NOT(ISERROR($K925:$R925)))+SUM(($K$4:$R$4=\"A\")*($K925:$R925<>\"A\")*($K925:$R925>\"\")*NOT(ISERROR($K925:$R925)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K925:$R925=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ925:$BL925=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B925)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B925)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD925,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F925&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A925)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E925)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K925&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E925=\"Small Patch\",E925=\"Matrix\")),'Calculator Table'!$L925,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E925=\"Small Patch\",'Calculator Table'!$L925,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E925=\"Matrix\",'Calculator Table'!$L925,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M925&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N925&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O925&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P925&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q925&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R925&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S925&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T925&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U925&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V925&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W925&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X925&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y925)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z925)&\", version_author=\"&AddQuotes('Calculator Table'!$AA925)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB925,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC925)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE925)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF925)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG925)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH925)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI925)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ925)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK925)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL925)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM925)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN925)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO925)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP925)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F925&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B925)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B925)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD925,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F925&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A925)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E925)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K925&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H925=\"Small Patch\",H925=\"Matrix\")),'Calculator Table'!$L925,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H925=\"Small Patch\",'Calculator Table'!$L925,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H925=\"Matrix\",'Calculator Table'!$L925,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M925&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N925&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O925&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P925&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q925&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R925&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S925&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T925&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U925&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V925&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W925&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X925&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y925)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z925)&\", version_author=\"&AddQuotes('Calculator Table'!$AA925)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB925,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC925)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE925)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF925)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG925)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH925)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI925)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ925)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK925)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL925)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM925)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN925)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO925)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP925)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F925&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B925)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B925)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD925,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F925&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A925)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E925)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K925&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K925=\"Small Patch\",K925=\"Matrix\")),'Calculator Table'!$L925,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K925=\"Small Patch\",'Calculator Table'!$L925,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K925=\"Matrix\",'Calculator Table'!$L925,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M925&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N925&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O925&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P925&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q925&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R925&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S925&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T925&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U925&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V925&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W925&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X925&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y925)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z925)&\", version_author=\"&AddQuotes('Calculator Table'!$AA925)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB925,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC925)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE925)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF925)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG925)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH925)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI925)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ925)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK925)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL925)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM925)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN925)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO925)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP925)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F925&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS934>0,'Rk Assign'!D934,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS934>0,Calculate!$AV934,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ934:$BL934<>\"U\")*($AQ934:$BL934>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ934:$BL934<>\"U\")*($AQ934:$BL934>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ934:$BL934<>\"U\")*($AQ934:$BL934>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K934:$R934<>\"Z\")*($K934:$R934>\"\")*NOT(ISERROR($K934:$R934)))+SUM(($K$4:$R$4=\"A\")*($K934:$R934<>\"A\")*($K934:$R934>\"\")*NOT(ISERROR($K934:$R934)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K934:$R934=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ934:$BL934=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B934)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B934)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD934,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F934&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A934)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E934)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K934&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E934=\"Small Patch\",E934=\"Matrix\")),'Calculator Table'!$L934,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E934=\"Small Patch\",'Calculator Table'!$L934,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E934=\"Matrix\",'Calculator Table'!$L934,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M934&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N934&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O934&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P934&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q934&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R934&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S934&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T934&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U934&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V934&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W934&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X934&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y934)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z934)&\", version_author=\"&AddQuotes('Calculator Table'!$AA934)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB934,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC934)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE934)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF934)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG934)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH934)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI934)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ934)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK934)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL934)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM934)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN934)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO934)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP934)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F934&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B934)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B934)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD934,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F934&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A934)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E934)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K934&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H934=\"Small Patch\",H934=\"Matrix\")),'Calculator Table'!$L934,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H934=\"Small Patch\",'Calculator Table'!$L934,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H934=\"Matrix\",'Calculator Table'!$L934,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M934&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N934&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O934&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P934&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q934&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R934&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S934&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T934&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U934&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V934&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W934&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X934&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y934)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z934)&\", version_author=\"&AddQuotes('Calculator Table'!$AA934)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB934,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC934)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE934)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF934)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG934)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH934)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI934)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ934)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK934)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL934)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM934)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN934)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO934)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP934)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F934&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B934)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B934)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD934,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F934&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A934)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E934)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K934&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K934=\"Small Patch\",K934=\"Matrix\")),'Calculator Table'!$L934,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K934=\"Small Patch\",'Calculator Table'!$L934,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K934=\"Matrix\",'Calculator Table'!$L934,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M934&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N934&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O934&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P934&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q934&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R934&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S934&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T934&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U934&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V934&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W934&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X934&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y934)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z934)&\", version_author=\"&AddQuotes('Calculator Table'!$AA934)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB934,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC934)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE934)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF934)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG934)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH934)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI934)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ934)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK934)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL934)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM934)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN934)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO934)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP934)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F934&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS942>0,'Rk Assign'!D942,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS942>0,Calculate!$AV942,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ942:$BL942<>\"U\")*($AQ942:$BL942>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ942:$BL942<>\"U\")*($AQ942:$BL942>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ942:$BL942<>\"U\")*($AQ942:$BL942>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K942:$R942<>\"Z\")*($K942:$R942>\"\")*NOT(ISERROR($K942:$R942)))+SUM(($K$4:$R$4=\"A\")*($K942:$R942<>\"A\")*($K942:$R942>\"\")*NOT(ISERROR($K942:$R942)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K942:$R942=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ942:$BL942=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B942)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B942)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD942,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F942&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A942)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E942)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K942&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E942=\"Small Patch\",E942=\"Matrix\")),'Calculator Table'!$L942,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E942=\"Small Patch\",'Calculator Table'!$L942,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E942=\"Matrix\",'Calculator Table'!$L942,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M942&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N942&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O942&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P942&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q942&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R942&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S942&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T942&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U942&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V942&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W942&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X942&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y942)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z942)&\", version_author=\"&AddQuotes('Calculator Table'!$AA942)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB942,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC942)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE942)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF942)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG942)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH942)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI942)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ942)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK942)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL942)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM942)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN942)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO942)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP942)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F942&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B942)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B942)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD942,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F942&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A942)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E942)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K942&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H942=\"Small Patch\",H942=\"Matrix\")),'Calculator Table'!$L942,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H942=\"Small Patch\",'Calculator Table'!$L942,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H942=\"Matrix\",'Calculator Table'!$L942,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M942&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N942&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O942&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P942&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q942&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R942&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S942&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T942&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U942&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V942&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W942&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X942&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y942)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z942)&\", version_author=\"&AddQuotes('Calculator Table'!$AA942)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB942,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC942)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE942)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF942)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG942)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH942)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI942)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ942)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK942)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL942)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM942)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN942)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO942)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP942)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F942&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B942)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B942)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD942,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F942&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A942)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E942)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K942&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K942=\"Small Patch\",K942=\"Matrix\")),'Calculator Table'!$L942,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K942=\"Small Patch\",'Calculator Table'!$L942,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K942=\"Matrix\",'Calculator Table'!$L942,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M942&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N942&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O942&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P942&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q942&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R942&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S942&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T942&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U942&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V942&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W942&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X942&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y942)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z942)&\", version_author=\"&AddQuotes('Calculator Table'!$AA942)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB942,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC942)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE942)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF942)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG942)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH942)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI942)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ942)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK942)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL942)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM942)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN942)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO942)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP942)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F942&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS951>0,'Rk Assign'!D951,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS951>0,Calculate!$AV951,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ951:$BL951<>\"U\")*($AQ951:$BL951>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ951:$BL951<>\"U\")*($AQ951:$BL951>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ951:$BL951<>\"U\")*($AQ951:$BL951>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K951:$R951<>\"Z\")*($K951:$R951>\"\")*NOT(ISERROR($K951:$R951)))+SUM(($K$4:$R$4=\"A\")*($K951:$R951<>\"A\")*($K951:$R951>\"\")*NOT(ISERROR($K951:$R951)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K951:$R951=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ951:$BL951=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B951)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B951)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD951,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F951&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A951)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E951)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K951&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E951=\"Small Patch\",E951=\"Matrix\")),'Calculator Table'!$L951,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E951=\"Small Patch\",'Calculator Table'!$L951,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E951=\"Matrix\",'Calculator Table'!$L951,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M951&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N951&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O951&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P951&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q951&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R951&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S951&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T951&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U951&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V951&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W951&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X951&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y951)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z951)&\", version_author=\"&AddQuotes('Calculator Table'!$AA951)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB951,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC951)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE951)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF951)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG951)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH951)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI951)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ951)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK951)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL951)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM951)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN951)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO951)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP951)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F951&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B951)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B951)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD951,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F951&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A951)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E951)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K951&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H951=\"Small Patch\",H951=\"Matrix\")),'Calculator Table'!$L951,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H951=\"Small Patch\",'Calculator Table'!$L951,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H951=\"Matrix\",'Calculator Table'!$L951,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M951&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N951&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O951&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P951&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q951&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R951&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S951&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T951&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U951&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V951&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W951&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X951&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y951)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z951)&\", version_author=\"&AddQuotes('Calculator Table'!$AA951)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB951,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC951)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE951)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF951)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG951)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH951)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI951)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ951)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK951)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL951)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM951)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN951)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO951)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP951)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F951&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B951)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B951)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD951,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F951&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A951)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E951)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K951&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K951=\"Small Patch\",K951=\"Matrix\")),'Calculator Table'!$L951,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K951=\"Small Patch\",'Calculator Table'!$L951,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K951=\"Matrix\",'Calculator Table'!$L951,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M951&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N951&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O951&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P951&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q951&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R951&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S951&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T951&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U951&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V951&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W951&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X951&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y951)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z951)&\", version_author=\"&AddQuotes('Calculator Table'!$AA951)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB951,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC951)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE951)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF951)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG951)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH951)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI951)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ951)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK951)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL951)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM951)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN951)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO951)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP951)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F951&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS957>0,'Rk Assign'!D957,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS957>0,Calculate!$AV957,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ957:$BL957<>\"U\")*($AQ957:$BL957>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ957:$BL957<>\"U\")*($AQ957:$BL957>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ957:$BL957<>\"U\")*($AQ957:$BL957>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K957:$R957<>\"Z\")*($K957:$R957>\"\")*NOT(ISERROR($K957:$R957)))+SUM(($K$4:$R$4=\"A\")*($K957:$R957<>\"A\")*($K957:$R957>\"\")*NOT(ISERROR($K957:$R957)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K957:$R957=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ957:$BL957=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B957)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B957)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD957,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F957&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A957)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E957)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K957&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E957=\"Small Patch\",E957=\"Matrix\")),'Calculator Table'!$L957,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E957=\"Small Patch\",'Calculator Table'!$L957,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E957=\"Matrix\",'Calculator Table'!$L957,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M957&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N957&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O957&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P957&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q957&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R957&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S957&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T957&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U957&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V957&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W957&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X957&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y957)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z957)&\", version_author=\"&AddQuotes('Calculator Table'!$AA957)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB957,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC957)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE957)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF957)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG957)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH957)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI957)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ957)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK957)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL957)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM957)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN957)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO957)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP957)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F957&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B957)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B957)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD957,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F957&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A957)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E957)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K957&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H957=\"Small Patch\",H957=\"Matrix\")),'Calculator Table'!$L957,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H957=\"Small Patch\",'Calculator Table'!$L957,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H957=\"Matrix\",'Calculator Table'!$L957,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M957&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N957&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O957&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P957&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q957&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R957&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S957&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T957&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U957&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V957&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W957&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X957&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y957)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z957)&\", version_author=\"&AddQuotes('Calculator Table'!$AA957)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB957,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC957)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE957)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF957)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG957)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH957)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI957)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ957)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK957)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL957)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM957)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN957)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO957)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP957)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F957&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B957)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B957)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD957,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F957&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A957)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E957)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K957&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K957=\"Small Patch\",K957=\"Matrix\")),'Calculator Table'!$L957,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K957=\"Small Patch\",'Calculator Table'!$L957,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K957=\"Matrix\",'Calculator Table'!$L957,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M957&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N957&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O957&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P957&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q957&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R957&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S957&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T957&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U957&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V957&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W957&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X957&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y957)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z957)&\", version_author=\"&AddQuotes('Calculator Table'!$AA957)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB957,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC957)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE957)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF957)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG957)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH957)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI957)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ957)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK957)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL957)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM957)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN957)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO957)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP957)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F957&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS968>0,'Rk Assign'!D968,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS968>0,Calculate!$AV968,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ968:$BL968<>\"U\")*($AQ968:$BL968>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ968:$BL968<>\"U\")*($AQ968:$BL968>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ968:$BL968<>\"U\")*($AQ968:$BL968>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K968:$R968<>\"Z\")*($K968:$R968>\"\")*NOT(ISERROR($K968:$R968)))+SUM(($K$4:$R$4=\"A\")*($K968:$R968<>\"A\")*($K968:$R968>\"\")*NOT(ISERROR($K968:$R968)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K968:$R968=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ968:$BL968=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B968)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B968)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD968,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F968&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A968)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E968)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K968&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E968=\"Small Patch\",E968=\"Matrix\")),'Calculator Table'!$L968,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E968=\"Small Patch\",'Calculator Table'!$L968,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E968=\"Matrix\",'Calculator Table'!$L968,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M968&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N968&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O968&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P968&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q968&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R968&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S968&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T968&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U968&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V968&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W968&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X968&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y968)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z968)&\", version_author=\"&AddQuotes('Calculator Table'!$AA968)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB968,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC968)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE968)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF968)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG968)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH968)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI968)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ968)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK968)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL968)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM968)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN968)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO968)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP968)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F968&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B968)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B968)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD968,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F968&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A968)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E968)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K968&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H968=\"Small Patch\",H968=\"Matrix\")),'Calculator Table'!$L968,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H968=\"Small Patch\",'Calculator Table'!$L968,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H968=\"Matrix\",'Calculator Table'!$L968,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M968&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N968&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O968&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P968&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q968&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R968&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S968&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T968&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U968&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V968&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W968&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X968&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y968)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z968)&\", version_author=\"&AddQuotes('Calculator Table'!$AA968)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB968,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC968)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE968)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF968)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG968)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH968)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI968)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ968)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK968)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL968)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM968)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN968)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO968)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP968)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F968&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B968)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B968)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD968,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F968&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A968)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E968)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K968&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K968=\"Small Patch\",K968=\"Matrix\")),'Calculator Table'!$L968,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K968=\"Small Patch\",'Calculator Table'!$L968,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K968=\"Matrix\",'Calculator Table'!$L968,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M968&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N968&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O968&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P968&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q968&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R968&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S968&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T968&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U968&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V968&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W968&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X968&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y968)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z968)&\", version_author=\"&AddQuotes('Calculator Table'!$AA968)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB968,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC968)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE968)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF968)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG968)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH968)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI968)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ968)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK968)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL968)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM968)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN968)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO968)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP968)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F968&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS971>0,'Rk Assign'!D971,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS971>0,Calculate!$AV971,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ971:$BL971<>\"U\")*($AQ971:$BL971>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ971:$BL971<>\"U\")*($AQ971:$BL971>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ971:$BL971<>\"U\")*($AQ971:$BL971>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K971:$R971<>\"Z\")*($K971:$R971>\"\")*NOT(ISERROR($K971:$R971)))+SUM(($K$4:$R$4=\"A\")*($K971:$R971<>\"A\")*($K971:$R971>\"\")*NOT(ISERROR($K971:$R971)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K971:$R971=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ971:$BL971=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B971)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B971)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD971,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F971&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A971)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E971)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K971&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E971=\"Small Patch\",E971=\"Matrix\")),'Calculator Table'!$L971,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E971=\"Small Patch\",'Calculator Table'!$L971,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E971=\"Matrix\",'Calculator Table'!$L971,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M971&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N971&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O971&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P971&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q971&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R971&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S971&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T971&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U971&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V971&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W971&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X971&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y971)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z971)&\", version_author=\"&AddQuotes('Calculator Table'!$AA971)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB971,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC971)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE971)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF971)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG971)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH971)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI971)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ971)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK971)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL971)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM971)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN971)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO971)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP971)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F971&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B971)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B971)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD971,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F971&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A971)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E971)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K971&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H971=\"Small Patch\",H971=\"Matrix\")),'Calculator Table'!$L971,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H971=\"Small Patch\",'Calculator Table'!$L971,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H971=\"Matrix\",'Calculator Table'!$L971,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M971&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N971&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O971&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P971&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q971&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R971&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S971&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T971&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U971&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V971&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W971&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X971&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y971)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z971)&\", version_author=\"&AddQuotes('Calculator Table'!$AA971)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB971,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC971)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE971)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF971)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG971)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH971)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI971)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ971)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK971)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL971)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM971)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN971)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO971)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP971)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F971&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B971)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B971)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD971,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F971&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A971)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E971)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K971&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K971=\"Small Patch\",K971=\"Matrix\")),'Calculator Table'!$L971,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K971=\"Small Patch\",'Calculator Table'!$L971,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K971=\"Matrix\",'Calculator Table'!$L971,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M971&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N971&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O971&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P971&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q971&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R971&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S971&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T971&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U971&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V971&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W971&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X971&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y971)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z971)&\", version_author=\"&AddQuotes('Calculator Table'!$AA971)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB971,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC971)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE971)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF971)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG971)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH971)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI971)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ971)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK971)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL971)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM971)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN971)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO971)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP971)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F971&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS977>0,'Rk Assign'!D977,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS977>0,Calculate!$AV977,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ977:$BL977<>\"U\")*($AQ977:$BL977>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ977:$BL977<>\"U\")*($AQ977:$BL977>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ977:$BL977<>\"U\")*($AQ977:$BL977>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K977:$R977<>\"Z\")*($K977:$R977>\"\")*NOT(ISERROR($K977:$R977)))+SUM(($K$4:$R$4=\"A\")*($K977:$R977<>\"A\")*($K977:$R977>\"\")*NOT(ISERROR($K977:$R977)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K977:$R977=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ977:$BL977=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B977)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B977)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD977,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F977&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A977)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E977)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K977&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E977=\"Small Patch\",E977=\"Matrix\")),'Calculator Table'!$L977,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E977=\"Small Patch\",'Calculator Table'!$L977,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E977=\"Matrix\",'Calculator Table'!$L977,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M977&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N977&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O977&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P977&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q977&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R977&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S977&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T977&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U977&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V977&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W977&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X977&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y977)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z977)&\", version_author=\"&AddQuotes('Calculator Table'!$AA977)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB977,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC977)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE977)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF977)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG977)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH977)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI977)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ977)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK977)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL977)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM977)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN977)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO977)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP977)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F977&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B977)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B977)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD977,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F977&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A977)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E977)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K977&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H977=\"Small Patch\",H977=\"Matrix\")),'Calculator Table'!$L977,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H977=\"Small Patch\",'Calculator Table'!$L977,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H977=\"Matrix\",'Calculator Table'!$L977,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M977&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N977&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O977&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P977&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q977&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R977&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S977&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T977&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U977&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V977&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W977&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X977&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y977)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z977)&\", version_author=\"&AddQuotes('Calculator Table'!$AA977)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB977,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC977)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE977)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF977)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG977)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH977)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI977)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ977)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK977)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL977)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM977)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN977)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO977)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP977)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F977&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B977)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B977)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD977,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F977&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A977)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E977)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K977&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K977=\"Small Patch\",K977=\"Matrix\")),'Calculator Table'!$L977,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K977=\"Small Patch\",'Calculator Table'!$L977,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K977=\"Matrix\",'Calculator Table'!$L977,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M977&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N977&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O977&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P977&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q977&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R977&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S977&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T977&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U977&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V977&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W977&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X977&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y977)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z977)&\", version_author=\"&AddQuotes('Calculator Table'!$AA977)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB977,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC977)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE977)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF977)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG977)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH977)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI977)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ977)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK977)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL977)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM977)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN977)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO977)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP977)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F977&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS985>0,'Rk Assign'!D985,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS985>0,Calculate!$AV985,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ985:$BL985<>\"U\")*($AQ985:$BL985>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ985:$BL985<>\"U\")*($AQ985:$BL985>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ985:$BL985<>\"U\")*($AQ985:$BL985>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K985:$R985<>\"Z\")*($K985:$R985>\"\")*NOT(ISERROR($K985:$R985)))+SUM(($K$4:$R$4=\"A\")*($K985:$R985<>\"A\")*($K985:$R985>\"\")*NOT(ISERROR($K985:$R985)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K985:$R985=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ985:$BL985=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B985)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B985)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD985,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F985&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A985)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E985)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K985&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E985=\"Small Patch\",E985=\"Matrix\")),'Calculator Table'!$L985,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E985=\"Small Patch\",'Calculator Table'!$L985,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E985=\"Matrix\",'Calculator Table'!$L985,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M985&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N985&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O985&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P985&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q985&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R985&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S985&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T985&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U985&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V985&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W985&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X985&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y985)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z985)&\", version_author=\"&AddQuotes('Calculator Table'!$AA985)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB985,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC985)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE985)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF985)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG985)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH985)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI985)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ985)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK985)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL985)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM985)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN985)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO985)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP985)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F985&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B985)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B985)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD985,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F985&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A985)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E985)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K985&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H985=\"Small Patch\",H985=\"Matrix\")),'Calculator Table'!$L985,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H985=\"Small Patch\",'Calculator Table'!$L985,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H985=\"Matrix\",'Calculator Table'!$L985,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M985&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N985&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O985&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P985&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q985&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R985&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S985&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T985&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U985&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V985&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W985&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X985&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y985)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z985)&\", version_author=\"&AddQuotes('Calculator Table'!$AA985)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB985,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC985)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE985)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF985)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG985)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH985)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI985)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ985)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK985)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL985)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM985)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN985)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO985)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP985)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F985&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B985)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B985)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD985,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F985&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A985)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E985)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K985&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K985=\"Small Patch\",K985=\"Matrix\")),'Calculator Table'!$L985,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K985=\"Small Patch\",'Calculator Table'!$L985,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K985=\"Matrix\",'Calculator Table'!$L985,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M985&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N985&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O985&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P985&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q985&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R985&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S985&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T985&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U985&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V985&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W985&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X985&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y985)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z985)&\", version_author=\"&AddQuotes('Calculator Table'!$AA985)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB985,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC985)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE985)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF985)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG985)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH985)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI985)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ985)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK985)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL985)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM985)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN985)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO985)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP985)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F985&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS994>0,'Rk Assign'!D994,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS994>0,Calculate!$AV994,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ994:$BL994<>\"U\")*($AQ994:$BL994>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ994:$BL994<>\"U\")*($AQ994:$BL994>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ994:$BL994<>\"U\")*($AQ994:$BL994>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K994:$R994<>\"Z\")*($K994:$R994>\"\")*NOT(ISERROR($K994:$R994)))+SUM(($K$4:$R$4=\"A\")*($K994:$R994<>\"A\")*($K994:$R994>\"\")*NOT(ISERROR($K994:$R994)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K994:$R994=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ994:$BL994=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B994)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B994)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD994,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F994&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A994)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E994)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K994&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E994=\"Small Patch\",E994=\"Matrix\")),'Calculator Table'!$L994,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E994=\"Small Patch\",'Calculator Table'!$L994,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E994=\"Matrix\",'Calculator Table'!$L994,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M994&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N994&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O994&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P994&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q994&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R994&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S994&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T994&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U994&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V994&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W994&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X994&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y994)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z994)&\", version_author=\"&AddQuotes('Calculator Table'!$AA994)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB994,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC994)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE994)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF994)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG994)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH994)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI994)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ994)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK994)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL994)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM994)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN994)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO994)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP994)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F994&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B994)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B994)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD994,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F994&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A994)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E994)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K994&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H994=\"Small Patch\",H994=\"Matrix\")),'Calculator Table'!$L994,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H994=\"Small Patch\",'Calculator Table'!$L994,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H994=\"Matrix\",'Calculator Table'!$L994,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M994&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N994&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O994&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P994&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q994&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R994&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S994&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T994&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U994&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V994&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W994&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X994&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y994)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z994)&\", version_author=\"&AddQuotes('Calculator Table'!$AA994)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB994,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC994)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE994)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF994)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG994)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH994)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI994)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ994)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK994)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL994)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM994)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN994)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO994)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP994)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F994&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B994)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B994)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD994,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F994&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A994)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E994)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K994&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K994=\"Small Patch\",K994=\"Matrix\")),'Calculator Table'!$L994,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K994=\"Small Patch\",'Calculator Table'!$L994,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K994=\"Matrix\",'Calculator Table'!$L994,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M994&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N994&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O994&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P994&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q994&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R994&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S994&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T994&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U994&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V994&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W994&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X994&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y994)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z994)&\", version_author=\"&AddQuotes('Calculator Table'!$AA994)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB994,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC994)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE994)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF994)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG994)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH994)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI994)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ994)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK994)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL994)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM994)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN994)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO994)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP994)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F994&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1003>0,'Rk Assign'!D1003,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1003>0,Calculate!$AV1003,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1003:$BL1003<>\"U\")*($AQ1003:$BL1003>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1003:$BL1003<>\"U\")*($AQ1003:$BL1003>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1003:$BL1003<>\"U\")*($AQ1003:$BL1003>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1003:$R1003<>\"Z\")*($K1003:$R1003>\"\")*NOT(ISERROR($K1003:$R1003)))+SUM(($K$4:$R$4=\"A\")*($K1003:$R1003<>\"A\")*($K1003:$R1003>\"\")*NOT(ISERROR($K1003:$R1003)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1003:$R1003=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1003:$BL1003=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1003)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1003)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1003,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1003&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1003)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1003)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1003&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1003=\"Small Patch\",E1003=\"Matrix\")),'Calculator Table'!$L1003,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1003=\"Small Patch\",'Calculator Table'!$L1003,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1003=\"Matrix\",'Calculator Table'!$L1003,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1003&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1003&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1003&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1003&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1003&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1003&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1003&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1003&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1003&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1003&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1003&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1003&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1003)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1003)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1003)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1003,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1003)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1003)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1003)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1003)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1003)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1003)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1003)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1003)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1003)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1003)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1003)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1003)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1003)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1003&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1003)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1003)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1003,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1003&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1003)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1003)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1003&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1003=\"Small Patch\",H1003=\"Matrix\")),'Calculator Table'!$L1003,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1003=\"Small Patch\",'Calculator Table'!$L1003,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1003=\"Matrix\",'Calculator Table'!$L1003,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1003&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1003&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1003&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1003&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1003&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1003&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1003&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1003&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1003&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1003&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1003&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1003&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1003)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1003)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1003)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1003,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1003)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1003)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1003)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1003)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1003)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1003)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1003)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1003)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1003)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1003)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1003)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1003)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1003)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1003&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1003)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1003)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1003,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1003&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1003)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1003)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1003&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1003=\"Small Patch\",K1003=\"Matrix\")),'Calculator Table'!$L1003,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1003=\"Small Patch\",'Calculator Table'!$L1003,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1003=\"Matrix\",'Calculator Table'!$L1003,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1003&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1003&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1003&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1003&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1003&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1003&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1003&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1003&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1003&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1003&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1003&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1003&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1003)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1003)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1003)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1003,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1003)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1003)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1003)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1003)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1003)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1003)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1003)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1003)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1003)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1003)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1003)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1003)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1003)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1003&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1008>0,'Rk Assign'!D1008,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1008>0,Calculate!$AV1008,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1008:$BL1008<>\"U\")*($AQ1008:$BL1008>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1008:$BL1008<>\"U\")*($AQ1008:$BL1008>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1008:$BL1008<>\"U\")*($AQ1008:$BL1008>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1008:$R1008<>\"Z\")*($K1008:$R1008>\"\")*NOT(ISERROR($K1008:$R1008)))+SUM(($K$4:$R$4=\"A\")*($K1008:$R1008<>\"A\")*($K1008:$R1008>\"\")*NOT(ISERROR($K1008:$R1008)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1008:$R1008=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1008:$BL1008=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1008)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1008)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1008,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1008&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1008)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1008)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1008&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1008=\"Small Patch\",E1008=\"Matrix\")),'Calculator Table'!$L1008,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1008=\"Small Patch\",'Calculator Table'!$L1008,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1008=\"Matrix\",'Calculator Table'!$L1008,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1008&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1008&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1008&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1008&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1008&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1008&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1008&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1008&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1008&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1008&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1008&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1008&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1008)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1008)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1008)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1008,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1008)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1008)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1008)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1008)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1008)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1008)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1008)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1008)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1008)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1008)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1008)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1008)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1008)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1008&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1008)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1008)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1008,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1008&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1008)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1008)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1008&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1008=\"Small Patch\",H1008=\"Matrix\")),'Calculator Table'!$L1008,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1008=\"Small Patch\",'Calculator Table'!$L1008,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1008=\"Matrix\",'Calculator Table'!$L1008,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1008&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1008&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1008&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1008&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1008&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1008&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1008&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1008&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1008&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1008&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1008&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1008&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1008)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1008)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1008)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1008,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1008)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1008)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1008)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1008)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1008)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1008)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1008)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1008)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1008)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1008)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1008)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1008)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1008)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1008&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1008)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1008)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1008,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1008&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1008)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1008)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1008&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1008=\"Small Patch\",K1008=\"Matrix\")),'Calculator Table'!$L1008,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1008=\"Small Patch\",'Calculator Table'!$L1008,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1008=\"Matrix\",'Calculator Table'!$L1008,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1008&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1008&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1008&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1008&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1008&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1008&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1008&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1008&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1008&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1008&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1008&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1008&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1008)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1008)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1008)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1008,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1008)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1008)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1008)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1008)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1008)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1008)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1008)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1008)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1008)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1008)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1008)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1008)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1008)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1008&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1020>0,'Rk Assign'!D1020,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1020>0,Calculate!$AV1020,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1020:$BL1020<>\"U\")*($AQ1020:$BL1020>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1020:$BL1020<>\"U\")*($AQ1020:$BL1020>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1020:$BL1020<>\"U\")*($AQ1020:$BL1020>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1020:$R1020<>\"Z\")*($K1020:$R1020>\"\")*NOT(ISERROR($K1020:$R1020)))+SUM(($K$4:$R$4=\"A\")*($K1020:$R1020<>\"A\")*($K1020:$R1020>\"\")*NOT(ISERROR($K1020:$R1020)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1020:$R1020=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1020:$BL1020=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1020)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1020)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1020,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1020&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1020)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1020)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1020&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1020=\"Small Patch\",E1020=\"Matrix\")),'Calculator Table'!$L1020,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1020=\"Small Patch\",'Calculator Table'!$L1020,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1020=\"Matrix\",'Calculator Table'!$L1020,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1020&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1020&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1020&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1020&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1020&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1020&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1020&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1020&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1020&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1020&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1020&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1020&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1020)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1020)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1020)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1020,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1020)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1020)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1020)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1020)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1020)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1020)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1020)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1020)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1020)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1020)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1020)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1020)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1020)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1020&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1020)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1020)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1020,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1020&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1020)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1020)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1020&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1020=\"Small Patch\",H1020=\"Matrix\")),'Calculator Table'!$L1020,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1020=\"Small Patch\",'Calculator Table'!$L1020,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1020=\"Matrix\",'Calculator Table'!$L1020,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1020&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1020&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1020&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1020&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1020&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1020&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1020&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1020&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1020&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1020&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1020&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1020&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1020)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1020)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1020)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1020,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1020)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1020)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1020)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1020)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1020)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1020)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1020)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1020)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1020)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1020)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1020)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1020)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1020)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1020&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1020)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1020)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1020,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1020&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1020)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1020)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1020&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1020=\"Small Patch\",K1020=\"Matrix\")),'Calculator Table'!$L1020,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1020=\"Small Patch\",'Calculator Table'!$L1020,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1020=\"Matrix\",'Calculator Table'!$L1020,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1020&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1020&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1020&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1020&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1020&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1020&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1020&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1020&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1020&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1020&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1020&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1020&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1020)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1020)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1020)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1020,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1020)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1020)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1020)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1020)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1020)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1020)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1020)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1020)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1020)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1020)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1020)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1020)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1020)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1020&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1025>0,'Rk Assign'!D1025,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1025>0,Calculate!$AV1025,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1025:$BL1025<>\"U\")*($AQ1025:$BL1025>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1025:$BL1025<>\"U\")*($AQ1025:$BL1025>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1025:$BL1025<>\"U\")*($AQ1025:$BL1025>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1025:$R1025<>\"Z\")*($K1025:$R1025>\"\")*NOT(ISERROR($K1025:$R1025)))+SUM(($K$4:$R$4=\"A\")*($K1025:$R1025<>\"A\")*($K1025:$R1025>\"\")*NOT(ISERROR($K1025:$R1025)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1025:$R1025=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1025:$BL1025=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1025)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1025)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1025,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1025&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1025)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1025)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1025&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1025=\"Small Patch\",E1025=\"Matrix\")),'Calculator Table'!$L1025,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1025=\"Small Patch\",'Calculator Table'!$L1025,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1025=\"Matrix\",'Calculator Table'!$L1025,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1025&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1025&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1025&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1025&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1025&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1025&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1025&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1025&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1025&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1025&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1025&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1025&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1025)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1025)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1025)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1025,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1025)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1025)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1025)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1025)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1025)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1025)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1025)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1025)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1025)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1025)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1025)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1025)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1025)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1025&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1025)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1025)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1025,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1025&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1025)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1025)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1025&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1025=\"Small Patch\",H1025=\"Matrix\")),'Calculator Table'!$L1025,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1025=\"Small Patch\",'Calculator Table'!$L1025,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1025=\"Matrix\",'Calculator Table'!$L1025,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1025&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1025&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1025&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1025&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1025&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1025&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1025&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1025&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1025&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1025&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1025&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1025&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1025)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1025)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1025)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1025,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1025)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1025)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1025)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1025)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1025)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1025)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1025)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1025)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1025)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1025)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1025)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1025)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1025)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1025&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1025)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1025)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1025,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1025&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1025)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1025)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1025&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1025=\"Small Patch\",K1025=\"Matrix\")),'Calculator Table'!$L1025,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1025=\"Small Patch\",'Calculator Table'!$L1025,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1025=\"Matrix\",'Calculator Table'!$L1025,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1025&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1025&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1025&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1025&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1025&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1025&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1025&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1025&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1025&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1025&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1025&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1025&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1025)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1025)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1025)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1025,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1025)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1025)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1025)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1025)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1025)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1025)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1025)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1025)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1025)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1025)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1025)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1025)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1025)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1025&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1029>0,'Rk Assign'!D1029,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,{"$f":"LEFT(K1029,1)","v":""},{"$f":"RIGHT(K1029,1)","v":""},"","",{"$f":"LEFT(O1029,1)","v":""},{"$f":"RIGHT(O1029,1)","v":""},{"$f":"LEFT(Q1029,1)","v":""},{"$f":"RIGHT(Q1029,1)","v":""},{"$f":"IF(AND(AS1029>\"\",AS1029<>\"U\",AS1029<>\"0\"),LEFT(R1029,1),\"\")","v":""},{"$f":"IF(AND(AS1029>\"\",AS1029<>\"U\",AS1029<>\"0\"),RIGHT(R1029,1),\"\")","v":""},{"$f":"LEFT(P1029,1)","v":""},{"$f":"RIGHT(P1029,1)","v":""},{"$f":"LEFT(S1029,1)","v":""},{"$f":"RIGHT(S1029,1)","v":""},{"$f":"LEFT(W1029,1)","v":""},{"$f":"RIGHT(W1029,1)","v":""},{"$f":"LEFT(X1029,1)","v":""},{"$f":"RIGHT(X1029,1)","v":""},{"$f":"LEFT(V1029,1)","v":""},{"$f":"RIGHT(V1029,1)","v":""},"","",{"$f":"IF(BS1029>0,Calculate!$AV1029,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1029:$BL1029<>\"U\")*($AQ1029:$BL1029>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1029:$BL1029<>\"U\")*($AQ1029:$BL1029>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1029:$BL1029<>\"U\")*($AQ1029:$BL1029>\"\"))","v":0},{"$f":"COUNTIF(BO1029:BQ1029,\">0\")","v":0},{"$f":"COUNTIF(K1029:V1029,\">''\")","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1029:$R1029<>\"Z\")*($K1029:$R1029>\"\")*NOT(ISERROR($K1029:$R1029)))+SUM(($K$4:$R$4=\"A\")*($K1029:$R1029<>\"A\")*($K1029:$R1029>\"\")*NOT(ISERROR($K1029:$R1029)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1029:$R1029=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1029:$BL1029=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1029)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1029)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1029,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1029&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1029)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1029)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1029&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1029=\"Small Patch\",E1029=\"Matrix\")),'Calculator Table'!$L1029,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1029=\"Small Patch\",'Calculator Table'!$L1029,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1029=\"Matrix\",'Calculator Table'!$L1029,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1029&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1029&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1029&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1029&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1029&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1029&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1029&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1029&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1029&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1029&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1029&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1029&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1029)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1029)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1029)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1029,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1029)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1029)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1029)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1029)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1029)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1029)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1029)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1029)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1029)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1029)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1029)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1029)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1029)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1029&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1029)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1029)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1029,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1029&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1029)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1029)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1029&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1029=\"Small Patch\",H1029=\"Matrix\")),'Calculator Table'!$L1029,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1029=\"Small Patch\",'Calculator Table'!$L1029,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1029=\"Matrix\",'Calculator Table'!$L1029,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1029&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1029&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1029&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1029&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1029&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1029&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1029&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1029&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1029&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1029&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1029&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1029&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1029)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1029)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1029)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1029,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1029)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1029)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1029)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1029)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1029)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1029)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1029)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1029)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1029)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1029)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1029)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1029)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1029)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1029&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1029)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1029)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1029,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1029&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1029)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1029)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1029&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1029=\"Small Patch\",K1029=\"Matrix\")),'Calculator Table'!$L1029,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1029=\"Small Patch\",'Calculator Table'!$L1029,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1029=\"Matrix\",'Calculator Table'!$L1029,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1029&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1029&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1029&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1029&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1029&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1029&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1029&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1029&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1029&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1029&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1029&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1029&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1029)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1029)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1029)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1029,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1029)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1029)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1029)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1029)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1029)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1029)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1029)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1029)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1029)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1029)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1029)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1029)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1029)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1029&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1039>0,'Rk Assign'!D1039,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1039>0,Calculate!$AV1039,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1039:$BL1039<>\"U\")*($AQ1039:$BL1039>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1039:$BL1039<>\"U\")*($AQ1039:$BL1039>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1039:$BL1039<>\"U\")*($AQ1039:$BL1039>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1039:$R1039<>\"Z\")*($K1039:$R1039>\"\")*NOT(ISERROR($K1039:$R1039)))+SUM(($K$4:$R$4=\"A\")*($K1039:$R1039<>\"A\")*($K1039:$R1039>\"\")*NOT(ISERROR($K1039:$R1039)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1039:$R1039=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1039:$BL1039=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1039)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1039)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1039,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1039&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1039)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1039)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1039&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1039=\"Small Patch\",E1039=\"Matrix\")),'Calculator Table'!$L1039,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1039=\"Small Patch\",'Calculator Table'!$L1039,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1039=\"Matrix\",'Calculator Table'!$L1039,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1039&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1039&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1039&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1039&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1039&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1039&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1039&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1039&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1039&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1039&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1039&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1039&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1039)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1039)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1039)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1039,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1039)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1039)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1039)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1039)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1039)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1039)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1039)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1039)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1039)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1039)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1039)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1039)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1039)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1039&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1039)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1039)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1039,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1039&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1039)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1039)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1039&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1039=\"Small Patch\",H1039=\"Matrix\")),'Calculator Table'!$L1039,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1039=\"Small Patch\",'Calculator Table'!$L1039,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1039=\"Matrix\",'Calculator Table'!$L1039,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1039&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1039&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1039&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1039&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1039&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1039&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1039&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1039&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1039&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1039&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1039&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1039&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1039)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1039)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1039)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1039,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1039)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1039)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1039)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1039)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1039)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1039)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1039)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1039)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1039)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1039)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1039)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1039)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1039)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1039&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1039)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1039)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1039,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1039&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1039)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1039)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1039&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1039=\"Small Patch\",K1039=\"Matrix\")),'Calculator Table'!$L1039,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1039=\"Small Patch\",'Calculator Table'!$L1039,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1039=\"Matrix\",'Calculator Table'!$L1039,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1039&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1039&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1039&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1039&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1039&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1039&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1039&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1039&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1039&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1039&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1039&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1039&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1039)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1039)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1039)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1039,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1039)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1039)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1039)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1039)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1039)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1039)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1039)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1039)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1039)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1039)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1039)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1039)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1039)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1039&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1046>0,'Rk Assign'!D1046,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1046>0,Calculate!$AV1046,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1046:$BL1046<>\"U\")*($AQ1046:$BL1046>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1046:$BL1046<>\"U\")*($AQ1046:$BL1046>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1046:$BL1046<>\"U\")*($AQ1046:$BL1046>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1046:$R1046<>\"Z\")*($K1046:$R1046>\"\")*NOT(ISERROR($K1046:$R1046)))+SUM(($K$4:$R$4=\"A\")*($K1046:$R1046<>\"A\")*($K1046:$R1046>\"\")*NOT(ISERROR($K1046:$R1046)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1046:$R1046=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1046:$BL1046=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1046)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1046)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1046,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1046&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1046)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1046)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1046&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1046=\"Small Patch\",E1046=\"Matrix\")),'Calculator Table'!$L1046,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1046=\"Small Patch\",'Calculator Table'!$L1046,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1046=\"Matrix\",'Calculator Table'!$L1046,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1046&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1046&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1046&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1046&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1046&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1046&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1046&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1046&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1046&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1046&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1046&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1046&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1046)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1046)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1046)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1046,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1046)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1046)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1046)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1046)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1046)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1046)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1046)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1046)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1046)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1046)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1046)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1046)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1046)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1046&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1046)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1046)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1046,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1046&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1046)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1046)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1046&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1046=\"Small Patch\",H1046=\"Matrix\")),'Calculator Table'!$L1046,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1046=\"Small Patch\",'Calculator Table'!$L1046,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1046=\"Matrix\",'Calculator Table'!$L1046,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1046&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1046&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1046&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1046&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1046&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1046&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1046&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1046&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1046&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1046&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1046&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1046&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1046)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1046)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1046)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1046,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1046)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1046)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1046)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1046)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1046)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1046)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1046)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1046)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1046)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1046)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1046)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1046)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1046)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1046&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1046)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1046)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1046,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1046&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1046)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1046)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1046&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1046=\"Small Patch\",K1046=\"Matrix\")),'Calculator Table'!$L1046,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1046=\"Small Patch\",'Calculator Table'!$L1046,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1046=\"Matrix\",'Calculator Table'!$L1046,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1046&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1046&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1046&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1046&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1046&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1046&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1046&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1046&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1046&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1046&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1046&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1046&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1046)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1046)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1046)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1046,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1046)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1046)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1046)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1046)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1046)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1046)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1046)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1046)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1046)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1046)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1046)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1046)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1046)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1046&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1053>0,'Rk Assign'!D1053,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1053>0,Calculate!$AV1053,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1053:$BL1053<>\"U\")*($AQ1053:$BL1053>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1053:$BL1053<>\"U\")*($AQ1053:$BL1053>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1053:$BL1053<>\"U\")*($AQ1053:$BL1053>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1053:$R1053<>\"Z\")*($K1053:$R1053>\"\")*NOT(ISERROR($K1053:$R1053)))+SUM(($K$4:$R$4=\"A\")*($K1053:$R1053<>\"A\")*($K1053:$R1053>\"\")*NOT(ISERROR($K1053:$R1053)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1053:$R1053=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1053:$BL1053=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1053)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1053)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1053,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1053&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1053)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1053)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1053&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1053=\"Small Patch\",E1053=\"Matrix\")),'Calculator Table'!$L1053,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1053=\"Small Patch\",'Calculator Table'!$L1053,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1053=\"Matrix\",'Calculator Table'!$L1053,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1053&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1053&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1053&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1053&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1053&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1053&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1053&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1053&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1053&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1053&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1053&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1053&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1053)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1053)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1053)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1053,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1053)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1053)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1053)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1053)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1053)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1053)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1053)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1053)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1053)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1053)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1053)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1053)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1053)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1053&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1053)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1053)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1053,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1053&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1053)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1053)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1053&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1053=\"Small Patch\",H1053=\"Matrix\")),'Calculator Table'!$L1053,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1053=\"Small Patch\",'Calculator Table'!$L1053,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1053=\"Matrix\",'Calculator Table'!$L1053,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1053&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1053&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1053&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1053&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1053&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1053&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1053&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1053&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1053&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1053&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1053&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1053&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1053)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1053)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1053)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1053,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1053)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1053)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1053)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1053)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1053)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1053)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1053)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1053)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1053)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1053)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1053)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1053)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1053)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1053&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1053)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1053)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1053,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1053&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1053)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1053)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1053&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1053=\"Small Patch\",K1053=\"Matrix\")),'Calculator Table'!$L1053,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1053=\"Small Patch\",'Calculator Table'!$L1053,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1053=\"Matrix\",'Calculator Table'!$L1053,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1053&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1053&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1053&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1053&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1053&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1053&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1053&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1053&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1053&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1053&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1053&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1053&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1053)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1053)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1053)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1053,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1053)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1053)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1053)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1053)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1053)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1053)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1053)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1053)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1053)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1053)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1053)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1053)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1053)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1053&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1063>0,'Rk Assign'!D1063,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1063>0,Calculate!$AV1063,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1063:$BL1063<>\"U\")*($AQ1063:$BL1063>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1063:$BL1063<>\"U\")*($AQ1063:$BL1063>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1063:$BL1063<>\"U\")*($AQ1063:$BL1063>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1063:$R1063<>\"Z\")*($K1063:$R1063>\"\")*NOT(ISERROR($K1063:$R1063)))+SUM(($K$4:$R$4=\"A\")*($K1063:$R1063<>\"A\")*($K1063:$R1063>\"\")*NOT(ISERROR($K1063:$R1063)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1063:$R1063=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1063:$BL1063=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1063)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1063)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1063,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1063&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1063)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1063)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1063&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1063=\"Small Patch\",E1063=\"Matrix\")),'Calculator Table'!$L1063,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1063=\"Small Patch\",'Calculator Table'!$L1063,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1063=\"Matrix\",'Calculator Table'!$L1063,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1063&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1063&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1063&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1063&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1063&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1063&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1063&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1063&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1063&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1063&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1063&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1063&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1063)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1063)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1063)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1063,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1063)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1063)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1063)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1063)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1063)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1063)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1063)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1063)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1063)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1063)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1063)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1063)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1063)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1063&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1063)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1063)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1063,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1063&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1063)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1063)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1063&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1063=\"Small Patch\",H1063=\"Matrix\")),'Calculator Table'!$L1063,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1063=\"Small Patch\",'Calculator Table'!$L1063,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1063=\"Matrix\",'Calculator Table'!$L1063,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1063&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1063&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1063&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1063&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1063&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1063&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1063&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1063&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1063&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1063&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1063&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1063&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1063)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1063)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1063)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1063,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1063)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1063)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1063)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1063)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1063)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1063)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1063)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1063)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1063)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1063)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1063)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1063)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1063)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1063&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1063)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1063)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1063,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1063&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1063)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1063)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1063&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1063=\"Small Patch\",K1063=\"Matrix\")),'Calculator Table'!$L1063,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1063=\"Small Patch\",'Calculator Table'!$L1063,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1063=\"Matrix\",'Calculator Table'!$L1063,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1063&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1063&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1063&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1063&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1063&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1063&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1063&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1063&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1063&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1063&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1063&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1063&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1063)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1063)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1063)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1063,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1063)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1063)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1063)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1063)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1063)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1063)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1063)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1063)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1063)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1063)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1063)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1063)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1063)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1063&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1072>0,'Rk Assign'!D1072,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1072>0,Calculate!$AV1072,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1072:$BL1072<>\"U\")*($AQ1072:$BL1072>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1072:$BL1072<>\"U\")*($AQ1072:$BL1072>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1072:$BL1072<>\"U\")*($AQ1072:$BL1072>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1072:$R1072<>\"Z\")*($K1072:$R1072>\"\")*NOT(ISERROR($K1072:$R1072)))+SUM(($K$4:$R$4=\"A\")*($K1072:$R1072<>\"A\")*($K1072:$R1072>\"\")*NOT(ISERROR($K1072:$R1072)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1072:$R1072=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1072:$BL1072=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1072)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1072)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1072,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1072&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1072)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1072)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1072&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1072=\"Small Patch\",E1072=\"Matrix\")),'Calculator Table'!$L1072,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1072=\"Small Patch\",'Calculator Table'!$L1072,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1072=\"Matrix\",'Calculator Table'!$L1072,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1072&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1072&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1072&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1072&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1072&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1072&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1072&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1072&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1072&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1072&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1072&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1072&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1072)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1072)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1072)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1072,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1072)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1072)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1072)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1072)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1072)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1072)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1072)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1072)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1072)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1072)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1072)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1072)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1072)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1072&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1072)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1072)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1072,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1072&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1072)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1072)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1072&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1072=\"Small Patch\",H1072=\"Matrix\")),'Calculator Table'!$L1072,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1072=\"Small Patch\",'Calculator Table'!$L1072,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1072=\"Matrix\",'Calculator Table'!$L1072,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1072&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1072&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1072&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1072&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1072&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1072&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1072&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1072&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1072&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1072&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1072&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1072&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1072)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1072)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1072)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1072,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1072)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1072)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1072)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1072)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1072)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1072)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1072)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1072)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1072)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1072)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1072)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1072)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1072)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1072&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1072)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1072)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1072,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1072&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1072)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1072)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1072&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1072=\"Small Patch\",K1072=\"Matrix\")),'Calculator Table'!$L1072,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1072=\"Small Patch\",'Calculator Table'!$L1072,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1072=\"Matrix\",'Calculator Table'!$L1072,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1072&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1072&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1072&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1072&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1072&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1072&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1072&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1072&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1072&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1072&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1072&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1072&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1072)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1072)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1072)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1072,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1072)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1072)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1072)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1072)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1072)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1072)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1072)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1072)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1072)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1072)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1072)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1072)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1072)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1072&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1076>0,'Rk Assign'!D1076,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1076>0,Calculate!$AV1076,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1076:$BL1076<>\"U\")*($AQ1076:$BL1076>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1076:$BL1076<>\"U\")*($AQ1076:$BL1076>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1076:$BL1076<>\"U\")*($AQ1076:$BL1076>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1076:$R1076<>\"Z\")*($K1076:$R1076>\"\")*NOT(ISERROR($K1076:$R1076)))+SUM(($K$4:$R$4=\"A\")*($K1076:$R1076<>\"A\")*($K1076:$R1076>\"\")*NOT(ISERROR($K1076:$R1076)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1076:$R1076=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1076:$BL1076=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1076)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1076)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1076,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1076&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1076)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1076)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1076&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1076=\"Small Patch\",E1076=\"Matrix\")),'Calculator Table'!$L1076,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1076=\"Small Patch\",'Calculator Table'!$L1076,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1076=\"Matrix\",'Calculator Table'!$L1076,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1076&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1076&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1076&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1076&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1076&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1076&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1076&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1076&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1076&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1076&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1076&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1076&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1076)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1076)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1076)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1076,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1076)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1076)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1076)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1076)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1076)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1076)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1076)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1076)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1076)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1076)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1076)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1076)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1076)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1076&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1076)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1076)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1076,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1076&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1076)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1076)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1076&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1076=\"Small Patch\",H1076=\"Matrix\")),'Calculator Table'!$L1076,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1076=\"Small Patch\",'Calculator Table'!$L1076,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1076=\"Matrix\",'Calculator Table'!$L1076,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1076&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1076&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1076&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1076&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1076&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1076&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1076&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1076&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1076&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1076&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1076&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1076&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1076)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1076)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1076)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1076,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1076)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1076)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1076)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1076)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1076)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1076)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1076)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1076)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1076)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1076)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1076)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1076)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1076)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1076&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1076)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1076)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1076,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1076&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1076)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1076)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1076&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1076=\"Small Patch\",K1076=\"Matrix\")),'Calculator Table'!$L1076,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1076=\"Small Patch\",'Calculator Table'!$L1076,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1076=\"Matrix\",'Calculator Table'!$L1076,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1076&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1076&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1076&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1076&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1076&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1076&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1076&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1076&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1076&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1076&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1076&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1076&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1076)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1076)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1076)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1076,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1076)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1076)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1076)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1076)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1076)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1076)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1076)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1076)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1076)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1076)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1076)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1076)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1076)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1076&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1089>0,'Rk Assign'!D1089,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1089>0,Calculate!$AV1089,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1089:$BL1089<>\"U\")*($AQ1089:$BL1089>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1089:$BL1089<>\"U\")*($AQ1089:$BL1089>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1089:$BL1089<>\"U\")*($AQ1089:$BL1089>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1089:$R1089<>\"Z\")*($K1089:$R1089>\"\")*NOT(ISERROR($K1089:$R1089)))+SUM(($K$4:$R$4=\"A\")*($K1089:$R1089<>\"A\")*($K1089:$R1089>\"\")*NOT(ISERROR($K1089:$R1089)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1089:$R1089=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1089:$BL1089=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1089)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1089)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1089,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1089&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1089)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1089)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1089&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1089=\"Small Patch\",E1089=\"Matrix\")),'Calculator Table'!$L1089,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1089=\"Small Patch\",'Calculator Table'!$L1089,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1089=\"Matrix\",'Calculator Table'!$L1089,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1089&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1089&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1089&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1089&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1089&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1089&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1089&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1089&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1089&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1089&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1089&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1089&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1089)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1089)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1089)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1089,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1089)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1089)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1089)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1089)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1089)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1089)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1089)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1089)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1089)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1089)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1089)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1089)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1089)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1089&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1089)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1089)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1089,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1089&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1089)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1089)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1089&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1089=\"Small Patch\",H1089=\"Matrix\")),'Calculator Table'!$L1089,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1089=\"Small Patch\",'Calculator Table'!$L1089,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1089=\"Matrix\",'Calculator Table'!$L1089,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1089&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1089&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1089&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1089&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1089&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1089&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1089&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1089&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1089&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1089&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1089&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1089&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1089)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1089)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1089)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1089,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1089)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1089)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1089)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1089)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1089)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1089)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1089)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1089)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1089)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1089)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1089)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1089)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1089)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1089&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1089)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1089)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1089,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1089&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1089)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1089)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1089&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1089=\"Small Patch\",K1089=\"Matrix\")),'Calculator Table'!$L1089,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1089=\"Small Patch\",'Calculator Table'!$L1089,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1089=\"Matrix\",'Calculator Table'!$L1089,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1089&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1089&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1089&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1089&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1089&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1089&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1089&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1089&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1089&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1089&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1089&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1089&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1089)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1089)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1089)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1089,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1089)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1089)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1089)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1089)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1089)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1089)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1089)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1089)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1089)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1089)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1089)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1089)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1089)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1089&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1090>0,'Rk Assign'!D1090,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1090>0,Calculate!$AV1090,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1090:$BL1090<>\"U\")*($AQ1090:$BL1090>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1090:$BL1090<>\"U\")*($AQ1090:$BL1090>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1090:$BL1090<>\"U\")*($AQ1090:$BL1090>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1090:$R1090<>\"Z\")*($K1090:$R1090>\"\")*NOT(ISERROR($K1090:$R1090)))+SUM(($K$4:$R$4=\"A\")*($K1090:$R1090<>\"A\")*($K1090:$R1090>\"\")*NOT(ISERROR($K1090:$R1090)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1090:$R1090=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1090:$BL1090=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1090)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1090)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1090,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1090&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1090)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1090)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1090&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1090=\"Small Patch\",E1090=\"Matrix\")),'Calculator Table'!$L1090,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1090=\"Small Patch\",'Calculator Table'!$L1090,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1090=\"Matrix\",'Calculator Table'!$L1090,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1090&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1090&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1090&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1090&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1090&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1090&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1090&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1090&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1090&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1090&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1090&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1090&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1090)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1090)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1090)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1090,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1090)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1090)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1090)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1090)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1090)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1090)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1090)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1090)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1090)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1090)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1090)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1090)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1090)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1090&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1090)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1090)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1090,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1090&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1090)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1090)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1090&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1090=\"Small Patch\",H1090=\"Matrix\")),'Calculator Table'!$L1090,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1090=\"Small Patch\",'Calculator Table'!$L1090,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1090=\"Matrix\",'Calculator Table'!$L1090,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1090&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1090&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1090&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1090&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1090&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1090&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1090&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1090&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1090&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1090&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1090&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1090&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1090)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1090)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1090)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1090,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1090)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1090)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1090)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1090)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1090)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1090)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1090)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1090)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1090)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1090)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1090)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1090)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1090)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1090&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1090)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1090)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1090,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1090&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1090)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1090)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1090&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1090=\"Small Patch\",K1090=\"Matrix\")),'Calculator Table'!$L1090,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1090=\"Small Patch\",'Calculator Table'!$L1090,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1090=\"Matrix\",'Calculator Table'!$L1090,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1090&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1090&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1090&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1090&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1090&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1090&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1090&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1090&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1090&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1090&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1090&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1090&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1090)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1090)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1090)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1090,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1090)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1090)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1090)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1090)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1090)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1090)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1090)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1090)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1090)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1090)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1090)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1090)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1090)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1090&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1098>0,'Rk Assign'!D1098,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1098>0,Calculate!$AV1098,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1098:$BL1098<>\"U\")*($AQ1098:$BL1098>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1098:$BL1098<>\"U\")*($AQ1098:$BL1098>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1098:$BL1098<>\"U\")*($AQ1098:$BL1098>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1098:$R1098<>\"Z\")*($K1098:$R1098>\"\")*NOT(ISERROR($K1098:$R1098)))+SUM(($K$4:$R$4=\"A\")*($K1098:$R1098<>\"A\")*($K1098:$R1098>\"\")*NOT(ISERROR($K1098:$R1098)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1098:$R1098=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1098:$BL1098=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1098)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1098)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1098,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1098&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1098)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1098)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1098&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1098=\"Small Patch\",E1098=\"Matrix\")),'Calculator Table'!$L1098,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1098=\"Small Patch\",'Calculator Table'!$L1098,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1098=\"Matrix\",'Calculator Table'!$L1098,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1098&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1098&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1098&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1098&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1098&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1098&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1098&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1098&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1098&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1098&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1098&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1098&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1098)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1098)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1098)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1098,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1098)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1098)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1098)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1098)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1098)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1098)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1098)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1098)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1098)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1098)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1098)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1098)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1098)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1098&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1098)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1098)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1098,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1098&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1098)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1098)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1098&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1098=\"Small Patch\",H1098=\"Matrix\")),'Calculator Table'!$L1098,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1098=\"Small Patch\",'Calculator Table'!$L1098,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1098=\"Matrix\",'Calculator Table'!$L1098,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1098&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1098&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1098&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1098&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1098&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1098&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1098&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1098&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1098&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1098&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1098&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1098&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1098)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1098)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1098)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1098,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1098)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1098)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1098)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1098)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1098)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1098)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1098)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1098)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1098)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1098)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1098)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1098)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1098)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1098&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1098)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1098)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1098,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1098&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1098)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1098)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1098&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1098=\"Small Patch\",K1098=\"Matrix\")),'Calculator Table'!$L1098,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1098=\"Small Patch\",'Calculator Table'!$L1098,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1098=\"Matrix\",'Calculator Table'!$L1098,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1098&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1098&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1098&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1098&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1098&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1098&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1098&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1098&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1098&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1098&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1098&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1098&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1098)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1098)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1098)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1098,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1098)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1098)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1098)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1098)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1098)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1098)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1098)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1098)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1098)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1098)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1098)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1098)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1098)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1098&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1111>0,'Rk Assign'!D1111,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1111>0,Calculate!$AV1111,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1111:$BL1111<>\"U\")*($AQ1111:$BL1111>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1111:$BL1111<>\"U\")*($AQ1111:$BL1111>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1111:$BL1111<>\"U\")*($AQ1111:$BL1111>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1111:$R1111<>\"Z\")*($K1111:$R1111>\"\")*NOT(ISERROR($K1111:$R1111)))+SUM(($K$4:$R$4=\"A\")*($K1111:$R1111<>\"A\")*($K1111:$R1111>\"\")*NOT(ISERROR($K1111:$R1111)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1111:$R1111=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1111:$BL1111=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1111)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1111)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1111,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1111&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1111)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1111)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1111&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1111=\"Small Patch\",E1111=\"Matrix\")),'Calculator Table'!$L1111,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1111=\"Small Patch\",'Calculator Table'!$L1111,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1111=\"Matrix\",'Calculator Table'!$L1111,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1111&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1111&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1111&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1111&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1111&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1111&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1111&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1111&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1111&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1111&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1111&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1111&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1111)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1111)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1111)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1111,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1111)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1111)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1111)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1111)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1111)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1111)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1111)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1111)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1111)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1111)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1111)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1111)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1111)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1111&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1111)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1111)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1111,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1111&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1111)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1111)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1111&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1111=\"Small Patch\",H1111=\"Matrix\")),'Calculator Table'!$L1111,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1111=\"Small Patch\",'Calculator Table'!$L1111,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1111=\"Matrix\",'Calculator Table'!$L1111,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1111&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1111&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1111&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1111&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1111&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1111&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1111&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1111&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1111&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1111&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1111&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1111&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1111)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1111)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1111)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1111,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1111)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1111)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1111)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1111)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1111)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1111)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1111)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1111)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1111)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1111)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1111)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1111)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1111)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1111&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1111)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1111)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1111,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1111&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1111)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1111)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1111&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1111=\"Small Patch\",K1111=\"Matrix\")),'Calculator Table'!$L1111,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1111=\"Small Patch\",'Calculator Table'!$L1111,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1111=\"Matrix\",'Calculator Table'!$L1111,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1111&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1111&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1111&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1111&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1111&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1111&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1111&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1111&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1111&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1111&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1111&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1111&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1111)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1111)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1111)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1111,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1111)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1111)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1111)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1111)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1111)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1111)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1111)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1111)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1111)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1111)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1111)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1111)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1111)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1111&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1115>0,'Rk Assign'!D1115,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1115>0,Calculate!$AV1115,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1115:$BL1115<>\"U\")*($AQ1115:$BL1115>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1115:$BL1115<>\"U\")*($AQ1115:$BL1115>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1115:$BL1115<>\"U\")*($AQ1115:$BL1115>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1115:$R1115<>\"Z\")*($K1115:$R1115>\"\")*NOT(ISERROR($K1115:$R1115)))+SUM(($K$4:$R$4=\"A\")*($K1115:$R1115<>\"A\")*($K1115:$R1115>\"\")*NOT(ISERROR($K1115:$R1115)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1115:$R1115=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1115:$BL1115=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1115)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1115)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1115,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1115&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1115)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1115)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1115&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1115=\"Small Patch\",E1115=\"Matrix\")),'Calculator Table'!$L1115,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1115=\"Small Patch\",'Calculator Table'!$L1115,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1115=\"Matrix\",'Calculator Table'!$L1115,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1115&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1115&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1115&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1115&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1115&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1115&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1115&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1115&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1115&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1115&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1115&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1115&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1115)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1115)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1115)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1115,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1115)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1115)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1115)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1115)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1115)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1115)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1115)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1115)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1115)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1115)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1115)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1115)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1115)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1115&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1115)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1115)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1115,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1115&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1115)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1115)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1115&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1115=\"Small Patch\",H1115=\"Matrix\")),'Calculator Table'!$L1115,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1115=\"Small Patch\",'Calculator Table'!$L1115,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1115=\"Matrix\",'Calculator Table'!$L1115,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1115&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1115&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1115&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1115&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1115&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1115&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1115&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1115&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1115&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1115&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1115&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1115&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1115)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1115)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1115)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1115,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1115)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1115)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1115)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1115)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1115)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1115)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1115)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1115)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1115)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1115)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1115)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1115)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1115)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1115&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1115)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1115)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1115,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1115&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1115)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1115)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1115&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1115=\"Small Patch\",K1115=\"Matrix\")),'Calculator Table'!$L1115,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1115=\"Small Patch\",'Calculator Table'!$L1115,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1115=\"Matrix\",'Calculator Table'!$L1115,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1115&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1115&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1115&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1115&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1115&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1115&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1115&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1115&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1115&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1115&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1115&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1115&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1115)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1115)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1115)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1115,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1115)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1115)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1115)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1115)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1115)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1115)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1115)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1115)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1115)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1115)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1115)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1115)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1115)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1115&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1121>0,'Rk Assign'!D1121,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1121>0,Calculate!$AV1121,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1121:$BL1121<>\"U\")*($AQ1121:$BL1121>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1121:$BL1121<>\"U\")*($AQ1121:$BL1121>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1121:$BL1121<>\"U\")*($AQ1121:$BL1121>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1121:$R1121<>\"Z\")*($K1121:$R1121>\"\")*NOT(ISERROR($K1121:$R1121)))+SUM(($K$4:$R$4=\"A\")*($K1121:$R1121<>\"A\")*($K1121:$R1121>\"\")*NOT(ISERROR($K1121:$R1121)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1121:$R1121=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1121:$BL1121=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1121)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1121)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1121,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1121&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1121)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1121)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1121&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1121=\"Small Patch\",E1121=\"Matrix\")),'Calculator Table'!$L1121,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1121=\"Small Patch\",'Calculator Table'!$L1121,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1121=\"Matrix\",'Calculator Table'!$L1121,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1121&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1121&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1121&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1121&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1121&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1121&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1121&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1121&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1121&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1121&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1121&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1121&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1121)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1121)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1121)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1121,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1121)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1121)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1121)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1121)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1121)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1121)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1121)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1121)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1121)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1121)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1121)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1121)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1121)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1121&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1121)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1121)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1121,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1121&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1121)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1121)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1121&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1121=\"Small Patch\",H1121=\"Matrix\")),'Calculator Table'!$L1121,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1121=\"Small Patch\",'Calculator Table'!$L1121,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1121=\"Matrix\",'Calculator Table'!$L1121,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1121&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1121&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1121&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1121&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1121&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1121&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1121&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1121&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1121&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1121&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1121&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1121&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1121)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1121)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1121)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1121,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1121)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1121)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1121)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1121)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1121)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1121)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1121)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1121)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1121)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1121)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1121)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1121)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1121)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1121&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1121)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1121)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1121,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1121&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1121)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1121)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1121&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1121=\"Small Patch\",K1121=\"Matrix\")),'Calculator Table'!$L1121,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1121=\"Small Patch\",'Calculator Table'!$L1121,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1121=\"Matrix\",'Calculator Table'!$L1121,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1121&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1121&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1121&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1121&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1121&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1121&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1121&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1121&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1121&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1121&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1121&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1121&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1121)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1121)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1121)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1121,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1121)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1121)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1121)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1121)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1121)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1121)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1121)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1121)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1121)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1121)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1121)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1121)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1121)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1121&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1132>0,'Rk Assign'!D1132,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1132>0,Calculate!$AV1132,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1132:$BL1132<>\"U\")*($AQ1132:$BL1132>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1132:$BL1132<>\"U\")*($AQ1132:$BL1132>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1132:$BL1132<>\"U\")*($AQ1132:$BL1132>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1132:$R1132<>\"Z\")*($K1132:$R1132>\"\")*NOT(ISERROR($K1132:$R1132)))+SUM(($K$4:$R$4=\"A\")*($K1132:$R1132<>\"A\")*($K1132:$R1132>\"\")*NOT(ISERROR($K1132:$R1132)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1132:$R1132=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1132:$BL1132=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1132)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1132)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1132,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1132&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1132)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1132)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1132&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1132=\"Small Patch\",E1132=\"Matrix\")),'Calculator Table'!$L1132,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1132=\"Small Patch\",'Calculator Table'!$L1132,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1132=\"Matrix\",'Calculator Table'!$L1132,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1132&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1132&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1132&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1132&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1132&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1132&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1132&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1132&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1132&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1132&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1132&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1132&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1132)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1132)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1132)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1132,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1132)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1132)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1132)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1132)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1132)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1132)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1132)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1132)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1132)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1132)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1132)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1132)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1132)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1132&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1132)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1132)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1132,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1132&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1132)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1132)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1132&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1132=\"Small Patch\",H1132=\"Matrix\")),'Calculator Table'!$L1132,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1132=\"Small Patch\",'Calculator Table'!$L1132,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1132=\"Matrix\",'Calculator Table'!$L1132,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1132&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1132&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1132&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1132&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1132&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1132&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1132&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1132&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1132&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1132&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1132&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1132&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1132)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1132)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1132)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1132,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1132)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1132)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1132)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1132)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1132)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1132)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1132)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1132)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1132)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1132)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1132)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1132)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1132)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1132&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1132)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1132)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1132,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1132&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1132)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1132)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1132&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1132=\"Small Patch\",K1132=\"Matrix\")),'Calculator Table'!$L1132,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1132=\"Small Patch\",'Calculator Table'!$L1132,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1132=\"Matrix\",'Calculator Table'!$L1132,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1132&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1132&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1132&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1132&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1132&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1132&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1132&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1132&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1132&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1132&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1132&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1132&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1132)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1132)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1132)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1132,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1132)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1132)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1132)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1132)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1132)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1132)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1132)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1132)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1132)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1132)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1132)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1132)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1132)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1132&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1141>0,'Rk Assign'!D1141,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1141>0,Calculate!$AV1141,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1141:$BL1141<>\"U\")*($AQ1141:$BL1141>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1141:$BL1141<>\"U\")*($AQ1141:$BL1141>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1141:$BL1141<>\"U\")*($AQ1141:$BL1141>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1141:$R1141<>\"Z\")*($K1141:$R1141>\"\")*NOT(ISERROR($K1141:$R1141)))+SUM(($K$4:$R$4=\"A\")*($K1141:$R1141<>\"A\")*($K1141:$R1141>\"\")*NOT(ISERROR($K1141:$R1141)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1141:$R1141=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1141:$BL1141=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1141)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1141)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1141&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1141)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1141)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1141&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1141=\"Small Patch\",E1141=\"Matrix\")),'Calculator Table'!$L1141,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1141=\"Small Patch\",'Calculator Table'!$L1141,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1141=\"Matrix\",'Calculator Table'!$L1141,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1141&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1141&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1141&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1141&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1141&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1141&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1141&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1141&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1141&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1141&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1141&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1141&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1141)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1141)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1141)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1141)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1141)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1141)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1141)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1141)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1141)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1141)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1141)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1141)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1141)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1141)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1141)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1141)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1141&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1141)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1141)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1141&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1141)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1141)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1141&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1141=\"Small Patch\",H1141=\"Matrix\")),'Calculator Table'!$L1141,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1141=\"Small Patch\",'Calculator Table'!$L1141,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1141=\"Matrix\",'Calculator Table'!$L1141,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1141&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1141&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1141&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1141&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1141&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1141&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1141&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1141&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1141&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1141&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1141&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1141&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1141)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1141)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1141)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1141)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1141)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1141)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1141)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1141)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1141)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1141)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1141)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1141)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1141)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1141)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1141)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1141)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1141&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1141)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1141)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1141&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1141)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1141)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1141&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1141=\"Small Patch\",K1141=\"Matrix\")),'Calculator Table'!$L1141,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1141=\"Small Patch\",'Calculator Table'!$L1141,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1141=\"Matrix\",'Calculator Table'!$L1141,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1141&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1141&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1141&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1141&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1141&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1141&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1141&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1141&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1141&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1141&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1141&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1141&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1141)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1141)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1141)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1141)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1141)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1141)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1141)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1141)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1141)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1141)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1141)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1141)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1141)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1141)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1141)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1141)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1141&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1148>0,'Rk Assign'!D1148,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1148>0,Calculate!$AV1148,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1148:$BL1148<>\"U\")*($AQ1148:$BL1148>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1148:$BL1148<>\"U\")*($AQ1148:$BL1148>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1148:$BL1148<>\"U\")*($AQ1148:$BL1148>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1148:$R1148<>\"Z\")*($K1148:$R1148>\"\")*NOT(ISERROR($K1148:$R1148)))+SUM(($K$4:$R$4=\"A\")*($K1148:$R1148<>\"A\")*($K1148:$R1148>\"\")*NOT(ISERROR($K1148:$R1148)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1148:$R1148=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1148:$BL1148=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1148)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1148)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1148&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1148)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1148)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1148&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1148=\"Small Patch\",E1148=\"Matrix\")),'Calculator Table'!$L1148,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1148=\"Small Patch\",'Calculator Table'!$L1148,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1148=\"Matrix\",'Calculator Table'!$L1148,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1148&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1148&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1148&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1148&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1148&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1148&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1148&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1148&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1148&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1148&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1148&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1148&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1148)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1148)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1148)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1148)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1148)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1148)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1148)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1148)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1148)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1148)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1148)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1148)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1148)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1148)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1148)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1148)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1148&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1148)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1148)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1148&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1148)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1148)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1148&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1148=\"Small Patch\",H1148=\"Matrix\")),'Calculator Table'!$L1148,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1148=\"Small Patch\",'Calculator Table'!$L1148,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1148=\"Matrix\",'Calculator Table'!$L1148,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1148&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1148&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1148&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1148&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1148&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1148&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1148&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1148&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1148&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1148&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1148&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1148&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1148)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1148)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1148)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1148)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1148)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1148)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1148)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1148)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1148)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1148)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1148)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1148)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1148)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1148)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1148)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1148)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1148&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1148)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1148)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1148&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1148)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1148)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1148&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1148=\"Small Patch\",K1148=\"Matrix\")),'Calculator Table'!$L1148,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1148=\"Small Patch\",'Calculator Table'!$L1148,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1148=\"Matrix\",'Calculator Table'!$L1148,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1148&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1148&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1148&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1148&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1148&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1148&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1148&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1148&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1148&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1148&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1148&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1148&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1148)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1148)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1148)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1148)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1148)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1148)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1148)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1148)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1148)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1148)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1148)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1148)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1148)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1148)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1148)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1148)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1148&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1150>0,'Rk Assign'!D1150,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1150>0,Calculate!$AV1150,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1150:$BL1150<>\"U\")*($AQ1150:$BL1150>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1150:$BL1150<>\"U\")*($AQ1150:$BL1150>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1150:$BL1150<>\"U\")*($AQ1150:$BL1150>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1150:$R1150<>\"Z\")*($K1150:$R1150>\"\")*NOT(ISERROR($K1150:$R1150)))+SUM(($K$4:$R$4=\"A\")*($K1150:$R1150<>\"A\")*($K1150:$R1150>\"\")*NOT(ISERROR($K1150:$R1150)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1150:$R1150=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1150:$BL1150=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1150)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1150)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1150&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1150)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1150)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1150&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1150=\"Small Patch\",E1150=\"Matrix\")),'Calculator Table'!$L1150,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1150=\"Small Patch\",'Calculator Table'!$L1150,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1150=\"Matrix\",'Calculator Table'!$L1150,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1150&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1150&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1150&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1150&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1150&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1150&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1150&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1150&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1150&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1150&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1150&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1150&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1150)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1150)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1150)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1150)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1150)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1150)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1150)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1150)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1150)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1150)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1150)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1150)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1150)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1150)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1150)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1150)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1150&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1150)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1150)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1150&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1150)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1150)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1150&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1150=\"Small Patch\",H1150=\"Matrix\")),'Calculator Table'!$L1150,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1150=\"Small Patch\",'Calculator Table'!$L1150,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1150=\"Matrix\",'Calculator Table'!$L1150,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1150&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1150&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1150&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1150&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1150&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1150&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1150&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1150&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1150&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1150&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1150&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1150&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1150)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1150)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1150)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1150)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1150)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1150)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1150)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1150)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1150)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1150)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1150)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1150)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1150)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1150)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1150)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1150)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1150&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1150)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1150)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1150&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1150)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1150)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1150&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1150=\"Small Patch\",K1150=\"Matrix\")),'Calculator Table'!$L1150,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1150=\"Small Patch\",'Calculator Table'!$L1150,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1150=\"Matrix\",'Calculator Table'!$L1150,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1150&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1150&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1150&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1150&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1150&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1150&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1150&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1150&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1150&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1150&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1150&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1150&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1150)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1150)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1150)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1150)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1150)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1150)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1150)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1150)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1150)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1150)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1150)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1150)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1150)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1150)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1150)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1150)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1150&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1158>0,'Rk Assign'!D1158,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","",{"$f":"LEFT(L1158&M1158&N1158,1)","v":""},{"$f":"RIGHT(L1158&M1158&N1158,1)","v":""},"","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1158>0,Calculate!$AV1158,\"\")","v":""},{"$f":"IF(BS1158>0,BR1158>1,\"\")","v":""},{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1158:$BL1158<>\"U\")*($AQ1158:$BL1158>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1158:$BL1158<>\"U\")*($AQ1158:$BL1158>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1158:$BL1158<>\"U\")*($AQ1158:$BL1158>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1158:$R1158<>\"Z\")*($K1158:$R1158>\"\")*NOT(ISERROR($K1158:$R1158)))+SUM(($K$4:$R$4=\"A\")*($K1158:$R1158<>\"A\")*($K1158:$R1158>\"\")*NOT(ISERROR($K1158:$R1158)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1158:$R1158=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1158:$BL1158=\"Z\"))","v":0},{"$f":"IF(AND(BU1158>0,BT1158>0),\"Z-ERROR\",\"\")","v":""}," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1158)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1158)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1158&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1158)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1158)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1158&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1158=\"Small Patch\",E1158=\"Matrix\")),'Calculator Table'!$L1158,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1158=\"Small Patch\",'Calculator Table'!$L1158,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1158=\"Matrix\",'Calculator Table'!$L1158,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1158&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1158&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1158&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1158&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1158&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1158&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1158&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1158&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1158&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1158&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1158&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1158&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1158)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1158)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1158)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1158)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1158)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1158)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1158)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1158)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1158)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1158)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1158)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1158)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1158)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1158)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1158)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1158)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1158&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1158)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1158)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1158&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1158)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1158)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1158&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1158=\"Small Patch\",H1158=\"Matrix\")),'Calculator Table'!$L1158,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1158=\"Small Patch\",'Calculator Table'!$L1158,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1158=\"Matrix\",'Calculator Table'!$L1158,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1158&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1158&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1158&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1158&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1158&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1158&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1158&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1158&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1158&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1158&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1158&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1158&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1158)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1158)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1158)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1158)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1158)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1158)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1158)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1158)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1158)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1158)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1158)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1158)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1158)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1158)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1158)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1158)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1158&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1158)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1158)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1158&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1158)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1158)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1158&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1158=\"Small Patch\",K1158=\"Matrix\")),'Calculator Table'!$L1158,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1158=\"Small Patch\",'Calculator Table'!$L1158,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1158=\"Matrix\",'Calculator Table'!$L1158,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1158&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1158&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1158&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1158&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1158&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1158&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1158&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1158&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1158&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1158&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1158&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1158&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1158)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1158)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1158)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1158)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1158)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1158)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1158)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1158)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1158)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1158)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1158)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1158)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1158)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1158)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1158)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1158)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1158&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1167>0,'Rk Assign'!D1167,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1167>0,Calculate!$AV1167,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1167:$BL1167<>\"U\")*($AQ1167:$BL1167>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1167:$BL1167<>\"U\")*($AQ1167:$BL1167>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1167:$BL1167<>\"U\")*($AQ1167:$BL1167>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1167:$R1167<>\"Z\")*($K1167:$R1167>\"\")*NOT(ISERROR($K1167:$R1167)))+SUM(($K$4:$R$4=\"A\")*($K1167:$R1167<>\"A\")*($K1167:$R1167>\"\")*NOT(ISERROR($K1167:$R1167)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1167:$R1167=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1167:$BL1167=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1167)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1167)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1167&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1167)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1167)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1167&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1167=\"Small Patch\",E1167=\"Matrix\")),'Calculator Table'!$L1167,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1167=\"Small Patch\",'Calculator Table'!$L1167,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1167=\"Matrix\",'Calculator Table'!$L1167,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1167&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1167&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1167&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1167&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1167&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1167&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1167&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1167&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1167&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1167&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1167&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1167&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1167)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1167)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1167)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1167)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1167)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1167)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1167)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1167)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1167)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1167)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1167)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1167)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1167)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1167)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1167)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1167)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1167&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1167)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1167)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1167&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1167)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1167)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1167&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1167=\"Small Patch\",H1167=\"Matrix\")),'Calculator Table'!$L1167,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1167=\"Small Patch\",'Calculator Table'!$L1167,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1167=\"Matrix\",'Calculator Table'!$L1167,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1167&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1167&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1167&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1167&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1167&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1167&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1167&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1167&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1167&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1167&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1167&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1167&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1167)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1167)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1167)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1167)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1167)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1167)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1167)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1167)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1167)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1167)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1167)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1167)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1167)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1167)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1167)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1167)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1167&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1167)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1167)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1167&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1167)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1167)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1167&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1167=\"Small Patch\",K1167=\"Matrix\")),'Calculator Table'!$L1167,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1167=\"Small Patch\",'Calculator Table'!$L1167,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1167=\"Matrix\",'Calculator Table'!$L1167,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1167&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1167&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1167&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1167&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1167&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1167&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1167&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1167&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1167&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1167&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1167&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1167&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1167)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1167)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1167)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1167)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1167)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1167)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1167)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1167)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1167)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1167)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1167)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1167)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1167)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1167)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1167)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1167)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1167&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1179>0,'Rk Assign'!D1179,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1179>0,Calculate!$AV1179,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1179:$BL1179<>\"U\")*($AQ1179:$BL1179>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1179:$BL1179<>\"U\")*($AQ1179:$BL1179>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1179:$BL1179<>\"U\")*($AQ1179:$BL1179>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1179:$R1179<>\"Z\")*($K1179:$R1179>\"\")*NOT(ISERROR($K1179:$R1179)))+SUM(($K$4:$R$4=\"A\")*($K1179:$R1179<>\"A\")*($K1179:$R1179>\"\")*NOT(ISERROR($K1179:$R1179)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1179:$R1179=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1179:$BL1179=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1179)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1179)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1179&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1179)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1179)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1179&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1179=\"Small Patch\",E1179=\"Matrix\")),'Calculator Table'!$L1179,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1179=\"Small Patch\",'Calculator Table'!$L1179,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1179=\"Matrix\",'Calculator Table'!$L1179,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1179&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1179&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1179&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1179&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1179&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1179&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1179&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1179&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1179&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1179&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1179&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1179&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1179)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1179)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1179)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1179)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1179)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1179)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1179)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1179)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1179)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1179)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1179)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1179)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1179)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1179)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1179)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1179)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1179&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1179)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1179)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1179&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1179)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1179)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1179&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1179=\"Small Patch\",H1179=\"Matrix\")),'Calculator Table'!$L1179,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1179=\"Small Patch\",'Calculator Table'!$L1179,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1179=\"Matrix\",'Calculator Table'!$L1179,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1179&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1179&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1179&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1179&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1179&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1179&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1179&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1179&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1179&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1179&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1179&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1179&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1179)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1179)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1179)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1179)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1179)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1179)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1179)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1179)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1179)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1179)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1179)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1179)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1179)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1179)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1179)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1179)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1179&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1179)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1179)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1179&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1179)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1179)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1179&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1179=\"Small Patch\",K1179=\"Matrix\")),'Calculator Table'!$L1179,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1179=\"Small Patch\",'Calculator Table'!$L1179,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1179=\"Matrix\",'Calculator Table'!$L1179,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1179&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1179&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1179&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1179&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1179&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1179&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1179&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1179&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1179&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1179&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1179&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1179&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1179)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1179)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1179)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1179)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1179)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1179)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1179)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1179)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1179)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1179)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1179)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1179)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1179)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1179)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1179)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1179)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1179&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1184>0,'Rk Assign'!D1184,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1184>0,Calculate!$AV1184,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1184:$BL1184<>\"U\")*($AQ1184:$BL1184>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1184:$BL1184<>\"U\")*($AQ1184:$BL1184>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1184:$BL1184<>\"U\")*($AQ1184:$BL1184>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1184:$R1184<>\"Z\")*($K1184:$R1184>\"\")*NOT(ISERROR($K1184:$R1184)))+SUM(($K$4:$R$4=\"A\")*($K1184:$R1184<>\"A\")*($K1184:$R1184>\"\")*NOT(ISERROR($K1184:$R1184)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1184:$R1184=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1184:$BL1184=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1184)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1184)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1184&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1184)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1184)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1184&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1184=\"Small Patch\",E1184=\"Matrix\")),'Calculator Table'!$L1184,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1184=\"Small Patch\",'Calculator Table'!$L1184,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1184=\"Matrix\",'Calculator Table'!$L1184,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1184&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1184&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1184&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1184&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1184&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1184&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1184&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1184&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1184&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1184&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1184&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1184&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1184)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1184)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1184)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1184)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1184)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1184)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1184)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1184)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1184)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1184)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1184)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1184)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1184)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1184)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1184)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1184)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1184&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1184)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1184)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1184&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1184)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1184)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1184&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1184=\"Small Patch\",H1184=\"Matrix\")),'Calculator Table'!$L1184,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1184=\"Small Patch\",'Calculator Table'!$L1184,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1184=\"Matrix\",'Calculator Table'!$L1184,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1184&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1184&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1184&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1184&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1184&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1184&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1184&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1184&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1184&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1184&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1184&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1184&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1184)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1184)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1184)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1184)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1184)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1184)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1184)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1184)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1184)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1184)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1184)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1184)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1184)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1184)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1184)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1184)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1184&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1184)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1184)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1184&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1184)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1184)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1184&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1184=\"Small Patch\",K1184=\"Matrix\")),'Calculator Table'!$L1184,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1184=\"Small Patch\",'Calculator Table'!$L1184,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1184=\"Matrix\",'Calculator Table'!$L1184,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1184&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1184&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1184&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1184&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1184&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1184&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1184&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1184&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1184&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1184&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1184&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1184&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1184)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1184)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1184)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1184)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1184)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1184)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1184)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1184)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1184)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1184)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1184)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1184)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1184)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1184)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1184)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1184)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1184&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1193>0,'Rk Assign'!D1193,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1193>0,Calculate!$AV1193,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1193:$BL1193<>\"U\")*($AQ1193:$BL1193>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1193:$BL1193<>\"U\")*($AQ1193:$BL1193>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1193:$BL1193<>\"U\")*($AQ1193:$BL1193>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1193:$R1193<>\"Z\")*($K1193:$R1193>\"\")*NOT(ISERROR($K1193:$R1193)))+SUM(($K$4:$R$4=\"A\")*($K1193:$R1193<>\"A\")*($K1193:$R1193>\"\")*NOT(ISERROR($K1193:$R1193)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1193:$R1193=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1193:$BL1193=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1193)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1193)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1193&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1193)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1193)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1193&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1193=\"Small Patch\",E1193=\"Matrix\")),'Calculator Table'!$L1193,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1193=\"Small Patch\",'Calculator Table'!$L1193,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1193=\"Matrix\",'Calculator Table'!$L1193,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1193&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1193&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1193&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1193&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1193&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1193&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1193&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1193&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1193&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1193&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1193&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1193&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1193)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1193)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1193)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1193)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1193)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1193)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1193)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1193)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1193)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1193)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1193)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1193)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1193)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1193)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1193)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1193)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1193&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1193)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1193)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1193&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1193)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1193)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1193&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1193=\"Small Patch\",H1193=\"Matrix\")),'Calculator Table'!$L1193,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1193=\"Small Patch\",'Calculator Table'!$L1193,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1193=\"Matrix\",'Calculator Table'!$L1193,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1193&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1193&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1193&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1193&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1193&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1193&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1193&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1193&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1193&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1193&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1193&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1193&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1193)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1193)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1193)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1193)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1193)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1193)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1193)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1193)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1193)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1193)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1193)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1193)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1193)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1193)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1193)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1193)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1193&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1193)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1193)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1193&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1193)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1193)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1193&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1193=\"Small Patch\",K1193=\"Matrix\")),'Calculator Table'!$L1193,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1193=\"Small Patch\",'Calculator Table'!$L1193,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1193=\"Matrix\",'Calculator Table'!$L1193,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1193&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1193&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1193&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1193&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1193&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1193&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1193&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1193&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1193&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1193&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1193&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1193&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1193)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1193)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1193)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1193)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1193)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1193)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1193)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1193)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1193)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1193)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1193)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1193)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1193)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1193)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1193)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1193)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1193&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1202>0,'Rk Assign'!D1202,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1202>0,Calculate!$AV1202,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1202:$BL1202<>\"U\")*($AQ1202:$BL1202>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1202:$BL1202<>\"U\")*($AQ1202:$BL1202>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1202:$BL1202<>\"U\")*($AQ1202:$BL1202>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1202:$R1202<>\"Z\")*($K1202:$R1202>\"\")*NOT(ISERROR($K1202:$R1202)))+SUM(($K$4:$R$4=\"A\")*($K1202:$R1202<>\"A\")*($K1202:$R1202>\"\")*NOT(ISERROR($K1202:$R1202)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1202:$R1202=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1202:$BL1202=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1202)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1202)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1202,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1202&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1202)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1202)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1202&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1202=\"Small Patch\",E1202=\"Matrix\")),'Calculator Table'!$L1202,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1202=\"Small Patch\",'Calculator Table'!$L1202,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1202=\"Matrix\",'Calculator Table'!$L1202,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1202&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1202&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1202&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1202&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1202&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1202&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1202&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1202&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1202&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1202&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1202&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1202&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1202)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1202)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1202)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1202,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1202)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1202)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1202)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1202)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1202)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1202)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1202)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1202)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1202)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1202)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1202)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1202)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1202)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1202&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1202)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1202)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1202,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1202&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1202)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1202)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1202&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1202=\"Small Patch\",H1202=\"Matrix\")),'Calculator Table'!$L1202,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1202=\"Small Patch\",'Calculator Table'!$L1202,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1202=\"Matrix\",'Calculator Table'!$L1202,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1202&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1202&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1202&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1202&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1202&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1202&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1202&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1202&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1202&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1202&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1202&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1202&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1202)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1202)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1202)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1202,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1202)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1202)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1202)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1202)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1202)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1202)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1202)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1202)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1202)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1202)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1202)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1202)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1202)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1202&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1202)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1202)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1202,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1202&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1202)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1202)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1202&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1202=\"Small Patch\",K1202=\"Matrix\")),'Calculator Table'!$L1202,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1202=\"Small Patch\",'Calculator Table'!$L1202,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1202=\"Matrix\",'Calculator Table'!$L1202,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1202&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1202&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1202&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1202&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1202&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1202&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1202&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1202&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1202&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1202&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1202&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1202&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1202)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1202)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1202)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1202,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1202)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1202)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1202)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1202)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1202)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1202)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1202)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1202)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1202)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1202)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1202)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1202)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1202)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1202&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1210>0,'Rk Assign'!D1210,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1210>0,Calculate!$AV1210,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1210:$BL1210<>\"U\")*($AQ1210:$BL1210>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1210:$BL1210<>\"U\")*($AQ1210:$BL1210>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1210:$BL1210<>\"U\")*($AQ1210:$BL1210>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1210:$R1210<>\"Z\")*($K1210:$R1210>\"\")*NOT(ISERROR($K1210:$R1210)))+SUM(($K$4:$R$4=\"A\")*($K1210:$R1210<>\"A\")*($K1210:$R1210>\"\")*NOT(ISERROR($K1210:$R1210)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1210:$R1210=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1210:$BL1210=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1210)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1210)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1210,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1210&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1210)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1210)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1210&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1210=\"Small Patch\",E1210=\"Matrix\")),'Calculator Table'!$L1210,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1210=\"Small Patch\",'Calculator Table'!$L1210,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1210=\"Matrix\",'Calculator Table'!$L1210,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1210&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1210&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1210&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1210&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1210&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1210&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1210&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1210&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1210&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1210&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1210&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1210&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1210)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1210)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1210)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1210,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1210)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1210)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1210)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1210)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1210)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1210)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1210)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1210)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1210)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1210)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1210)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1210)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1210)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1210&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1210)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1210)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1210,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1210&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1210)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1210)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1210&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1210=\"Small Patch\",H1210=\"Matrix\")),'Calculator Table'!$L1210,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1210=\"Small Patch\",'Calculator Table'!$L1210,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1210=\"Matrix\",'Calculator Table'!$L1210,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1210&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1210&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1210&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1210&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1210&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1210&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1210&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1210&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1210&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1210&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1210&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1210&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1210)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1210)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1210)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1210,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1210)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1210)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1210)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1210)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1210)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1210)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1210)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1210)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1210)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1210)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1210)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1210)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1210)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1210&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1210)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1210)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1210,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1210&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1210)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1210)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1210&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1210=\"Small Patch\",K1210=\"Matrix\")),'Calculator Table'!$L1210,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1210=\"Small Patch\",'Calculator Table'!$L1210,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1210=\"Matrix\",'Calculator Table'!$L1210,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1210&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1210&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1210&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1210&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1210&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1210&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1210&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1210&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1210&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1210&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1210&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1210&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1210)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1210)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1210)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1210,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1210)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1210)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1210)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1210)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1210)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1210)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1210)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1210)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1210)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1210)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1210)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1210)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1210)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1210&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1216>0,'Rk Assign'!D1216,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1216>0,Calculate!$AV1216,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1216:$BL1216<>\"U\")*($AQ1216:$BL1216>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1216:$BL1216<>\"U\")*($AQ1216:$BL1216>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1216:$BL1216<>\"U\")*($AQ1216:$BL1216>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1216:$R1216<>\"Z\")*($K1216:$R1216>\"\")*NOT(ISERROR($K1216:$R1216)))+SUM(($K$4:$R$4=\"A\")*($K1216:$R1216<>\"A\")*($K1216:$R1216>\"\")*NOT(ISERROR($K1216:$R1216)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1216:$R1216=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1216:$BL1216=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1216)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1216)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1216,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1216&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1216)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1216)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1216&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1216=\"Small Patch\",E1216=\"Matrix\")),'Calculator Table'!$L1216,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1216=\"Small Patch\",'Calculator Table'!$L1216,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1216=\"Matrix\",'Calculator Table'!$L1216,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1216&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1216&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1216&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1216&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1216&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1216&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1216&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1216&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1216&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1216&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1216&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1216&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1216)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1216)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1216)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1216,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1216)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1216)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1216)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1216)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1216)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1216)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1216)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1216)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1216)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1216)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1216)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1216)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1216)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1216&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1216)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1216)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1216,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1216&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1216)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1216)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1216&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1216=\"Small Patch\",H1216=\"Matrix\")),'Calculator Table'!$L1216,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1216=\"Small Patch\",'Calculator Table'!$L1216,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1216=\"Matrix\",'Calculator Table'!$L1216,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1216&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1216&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1216&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1216&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1216&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1216&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1216&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1216&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1216&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1216&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1216&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1216&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1216)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1216)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1216)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1216,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1216)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1216)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1216)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1216)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1216)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1216)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1216)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1216)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1216)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1216)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1216)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1216)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1216)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1216&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1216)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1216)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1216,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1216&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1216)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1216)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1216&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1216=\"Small Patch\",K1216=\"Matrix\")),'Calculator Table'!$L1216,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1216=\"Small Patch\",'Calculator Table'!$L1216,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1216=\"Matrix\",'Calculator Table'!$L1216,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1216&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1216&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1216&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1216&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1216&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1216&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1216&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1216&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1216&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1216&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1216&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1216&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1216)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1216)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1216)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1216,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1216)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1216)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1216)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1216)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1216)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1216)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1216)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1216)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1216)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1216)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1216)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1216)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1216)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1216&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1219>0,'Rk Assign'!D1219,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1219>0,Calculate!$AV1219,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1219:$BL1219<>\"U\")*($AQ1219:$BL1219>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1219:$BL1219<>\"U\")*($AQ1219:$BL1219>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1219:$BL1219<>\"U\")*($AQ1219:$BL1219>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1219:$R1219<>\"Z\")*($K1219:$R1219>\"\")*NOT(ISERROR($K1219:$R1219)))+SUM(($K$4:$R$4=\"A\")*($K1219:$R1219<>\"A\")*($K1219:$R1219>\"\")*NOT(ISERROR($K1219:$R1219)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1219:$R1219=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1219:$BL1219=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1219)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1219)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1219,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1219&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1219)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1219)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1219&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1219=\"Small Patch\",E1219=\"Matrix\")),'Calculator Table'!$L1219,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1219=\"Small Patch\",'Calculator Table'!$L1219,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1219=\"Matrix\",'Calculator Table'!$L1219,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1219&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1219&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1219&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1219&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1219&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1219&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1219&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1219&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1219&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1219&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1219&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1219&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1219)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1219)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1219)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1219,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1219)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1219)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1219)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1219)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1219)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1219)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1219)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1219)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1219)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1219)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1219)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1219)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1219)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1219&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1219)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1219)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1219,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1219&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1219)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1219)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1219&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1219=\"Small Patch\",H1219=\"Matrix\")),'Calculator Table'!$L1219,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1219=\"Small Patch\",'Calculator Table'!$L1219,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1219=\"Matrix\",'Calculator Table'!$L1219,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1219&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1219&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1219&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1219&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1219&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1219&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1219&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1219&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1219&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1219&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1219&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1219&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1219)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1219)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1219)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1219,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1219)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1219)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1219)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1219)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1219)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1219)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1219)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1219)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1219)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1219)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1219)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1219)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1219)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1219&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1219)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1219)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1219,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1219&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1219)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1219)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1219&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1219=\"Small Patch\",K1219=\"Matrix\")),'Calculator Table'!$L1219,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1219=\"Small Patch\",'Calculator Table'!$L1219,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1219=\"Matrix\",'Calculator Table'!$L1219,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1219&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1219&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1219&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1219&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1219&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1219&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1219&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1219&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1219&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1219&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1219&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1219&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1219)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1219)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1219)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1219,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1219)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1219)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1219)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1219)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1219)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1219)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1219)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1219)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1219)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1219)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1219)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1219)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1219)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1219&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1230>0,'Rk Assign'!D1230,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1230>0,Calculate!$AV1230,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1230:$BL1230<>\"U\")*($AQ1230:$BL1230>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1230:$BL1230<>\"U\")*($AQ1230:$BL1230>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1230:$BL1230<>\"U\")*($AQ1230:$BL1230>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1230:$R1230<>\"Z\")*($K1230:$R1230>\"\")*NOT(ISERROR($K1230:$R1230)))+SUM(($K$4:$R$4=\"A\")*($K1230:$R1230<>\"A\")*($K1230:$R1230>\"\")*NOT(ISERROR($K1230:$R1230)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1230:$R1230=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1230:$BL1230=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1230)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1230)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1230,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1230&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1230)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1230)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1230&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1230=\"Small Patch\",E1230=\"Matrix\")),'Calculator Table'!$L1230,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1230=\"Small Patch\",'Calculator Table'!$L1230,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1230=\"Matrix\",'Calculator Table'!$L1230,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1230&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1230&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1230&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1230&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1230&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1230&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1230&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1230&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1230&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1230&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1230&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1230&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1230)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1230)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1230)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1230,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1230)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1230)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1230)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1230)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1230)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1230)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1230)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1230)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1230)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1230)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1230)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1230)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1230)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1230&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1230)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1230)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1230,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1230&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1230)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1230)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1230&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1230=\"Small Patch\",H1230=\"Matrix\")),'Calculator Table'!$L1230,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1230=\"Small Patch\",'Calculator Table'!$L1230,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1230=\"Matrix\",'Calculator Table'!$L1230,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1230&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1230&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1230&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1230&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1230&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1230&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1230&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1230&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1230&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1230&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1230&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1230&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1230)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1230)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1230)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1230,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1230)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1230)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1230)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1230)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1230)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1230)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1230)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1230)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1230)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1230)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1230)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1230)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1230)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1230&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1230)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1230)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1230,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1230&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1230)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1230)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1230&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1230=\"Small Patch\",K1230=\"Matrix\")),'Calculator Table'!$L1230,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1230=\"Small Patch\",'Calculator Table'!$L1230,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1230=\"Matrix\",'Calculator Table'!$L1230,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1230&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1230&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1230&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1230&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1230&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1230&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1230&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1230&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1230&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1230&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1230&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1230&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1230)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1230)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1230)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1230,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1230)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1230)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1230)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1230)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1230)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1230)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1230)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1230)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1230)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1230)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1230)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1230)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1230)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1230&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1236>0,'Rk Assign'!D1236,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1236>0,Calculate!$AV1236,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1236:$BL1236<>\"U\")*($AQ1236:$BL1236>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1236:$BL1236<>\"U\")*($AQ1236:$BL1236>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1236:$BL1236<>\"U\")*($AQ1236:$BL1236>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1236:$R1236<>\"Z\")*($K1236:$R1236>\"\")*NOT(ISERROR($K1236:$R1236)))+SUM(($K$4:$R$4=\"A\")*($K1236:$R1236<>\"A\")*($K1236:$R1236>\"\")*NOT(ISERROR($K1236:$R1236)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1236:$R1236=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1236:$BL1236=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1236)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1236)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1236,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1236&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1236)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1236)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1236&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1236=\"Small Patch\",E1236=\"Matrix\")),'Calculator Table'!$L1236,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1236=\"Small Patch\",'Calculator Table'!$L1236,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1236=\"Matrix\",'Calculator Table'!$L1236,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1236&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1236&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1236&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1236&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1236&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1236&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1236&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1236&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1236&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1236&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1236&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1236&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1236)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1236)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1236)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1236,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1236)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1236)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1236)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1236)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1236)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1236)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1236)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1236)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1236)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1236)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1236)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1236)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1236)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1236&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1236)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1236)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1236,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1236&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1236)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1236)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1236&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1236=\"Small Patch\",H1236=\"Matrix\")),'Calculator Table'!$L1236,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1236=\"Small Patch\",'Calculator Table'!$L1236,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1236=\"Matrix\",'Calculator Table'!$L1236,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1236&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1236&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1236&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1236&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1236&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1236&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1236&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1236&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1236&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1236&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1236&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1236&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1236)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1236)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1236)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1236,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1236)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1236)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1236)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1236)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1236)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1236)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1236)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1236)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1236)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1236)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1236)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1236)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1236)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1236&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1236)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1236)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1236,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1236&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1236)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1236)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1236&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1236=\"Small Patch\",K1236=\"Matrix\")),'Calculator Table'!$L1236,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1236=\"Small Patch\",'Calculator Table'!$L1236,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1236=\"Matrix\",'Calculator Table'!$L1236,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1236&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1236&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1236&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1236&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1236&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1236&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1236&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1236&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1236&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1236&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1236&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1236&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1236)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1236)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1236)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1236,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1236)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1236)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1236)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1236)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1236)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1236)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1236)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1236)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1236)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1236)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1236)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1236)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1236)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1236&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1244>0,'Rk Assign'!D1244,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1244>0,Calculate!$AV1244,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1244:$BL1244<>\"U\")*($AQ1244:$BL1244>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1244:$BL1244<>\"U\")*($AQ1244:$BL1244>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1244:$BL1244<>\"U\")*($AQ1244:$BL1244>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1244:$R1244<>\"Z\")*($K1244:$R1244>\"\")*NOT(ISERROR($K1244:$R1244)))+SUM(($K$4:$R$4=\"A\")*($K1244:$R1244<>\"A\")*($K1244:$R1244>\"\")*NOT(ISERROR($K1244:$R1244)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1244:$R1244=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1244:$BL1244=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1244)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1244)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1244,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1244&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1244)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1244)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1244&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1244=\"Small Patch\",E1244=\"Matrix\")),'Calculator Table'!$L1244,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1244=\"Small Patch\",'Calculator Table'!$L1244,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1244=\"Matrix\",'Calculator Table'!$L1244,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1244&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1244&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1244&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1244&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1244&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1244&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1244&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1244&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1244&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1244&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1244&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1244&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1244)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1244)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1244)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1244,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1244)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1244)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1244)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1244)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1244)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1244)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1244)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1244)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1244)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1244)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1244)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1244)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1244)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1244&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1244)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1244)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1244,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1244&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1244)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1244)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1244&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1244=\"Small Patch\",H1244=\"Matrix\")),'Calculator Table'!$L1244,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1244=\"Small Patch\",'Calculator Table'!$L1244,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1244=\"Matrix\",'Calculator Table'!$L1244,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1244&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1244&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1244&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1244&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1244&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1244&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1244&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1244&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1244&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1244&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1244&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1244&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1244)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1244)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1244)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1244,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1244)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1244)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1244)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1244)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1244)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1244)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1244)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1244)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1244)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1244)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1244)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1244)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1244)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1244&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1244)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1244)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1244,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1244&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1244)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1244)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1244&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1244=\"Small Patch\",K1244=\"Matrix\")),'Calculator Table'!$L1244,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1244=\"Small Patch\",'Calculator Table'!$L1244,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1244=\"Matrix\",'Calculator Table'!$L1244,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1244&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1244&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1244&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1244&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1244&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1244&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1244&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1244&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1244&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1244&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1244&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1244&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1244)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1244)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1244)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1244,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1244)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1244)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1244)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1244)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1244)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1244)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1244)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1244)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1244)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1244)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1244)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1244)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1244)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1244&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1253>0,'Rk Assign'!D1253,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1253>0,Calculate!$AV1253,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1253:$BL1253<>\"U\")*($AQ1253:$BL1253>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1253:$BL1253<>\"U\")*($AQ1253:$BL1253>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1253:$BL1253<>\"U\")*($AQ1253:$BL1253>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1253:$R1253<>\"Z\")*($K1253:$R1253>\"\")*NOT(ISERROR($K1253:$R1253)))+SUM(($K$4:$R$4=\"A\")*($K1253:$R1253<>\"A\")*($K1253:$R1253>\"\")*NOT(ISERROR($K1253:$R1253)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1253:$R1253=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1253:$BL1253=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1253)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1253)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1253,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1253&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1253)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1253)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1253&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1253=\"Small Patch\",E1253=\"Matrix\")),'Calculator Table'!$L1253,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1253=\"Small Patch\",'Calculator Table'!$L1253,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1253=\"Matrix\",'Calculator Table'!$L1253,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1253&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1253&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1253&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1253&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1253&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1253&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1253&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1253&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1253&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1253&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1253&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1253&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1253)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1253)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1253)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1253,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1253)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1253)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1253)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1253)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1253)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1253)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1253)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1253)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1253)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1253)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1253)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1253)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1253)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1253&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1253)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1253)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1253,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1253&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1253)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1253)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1253&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1253=\"Small Patch\",H1253=\"Matrix\")),'Calculator Table'!$L1253,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1253=\"Small Patch\",'Calculator Table'!$L1253,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1253=\"Matrix\",'Calculator Table'!$L1253,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1253&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1253&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1253&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1253&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1253&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1253&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1253&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1253&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1253&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1253&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1253&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1253&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1253)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1253)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1253)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1253,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1253)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1253)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1253)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1253)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1253)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1253)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1253)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1253)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1253)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1253)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1253)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1253)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1253)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1253&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1253)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1253)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1253,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1253&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1253)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1253)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1253&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1253=\"Small Patch\",K1253=\"Matrix\")),'Calculator Table'!$L1253,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1253=\"Small Patch\",'Calculator Table'!$L1253,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1253=\"Matrix\",'Calculator Table'!$L1253,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1253&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1253&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1253&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1253&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1253&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1253&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1253&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1253&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1253&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1253&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1253&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1253&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1253)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1253)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1253)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1253,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1253)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1253)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1253)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1253)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1253)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1253)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1253)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1253)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1253)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1253)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1253)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1253)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1253)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1253&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1262>0,'Rk Assign'!D1262,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1262>0,Calculate!$AV1262,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1262:$BL1262<>\"U\")*($AQ1262:$BL1262>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1262:$BL1262<>\"U\")*($AQ1262:$BL1262>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1262:$BL1262<>\"U\")*($AQ1262:$BL1262>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1262:$R1262<>\"Z\")*($K1262:$R1262>\"\")*NOT(ISERROR($K1262:$R1262)))+SUM(($K$4:$R$4=\"A\")*($K1262:$R1262<>\"A\")*($K1262:$R1262>\"\")*NOT(ISERROR($K1262:$R1262)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1262:$R1262=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1262:$BL1262=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1262)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1262)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1262,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1262&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1262)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1262)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1262&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1262=\"Small Patch\",E1262=\"Matrix\")),'Calculator Table'!$L1262,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1262=\"Small Patch\",'Calculator Table'!$L1262,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1262=\"Matrix\",'Calculator Table'!$L1262,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1262&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1262&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1262&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1262&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1262&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1262&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1262&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1262&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1262&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1262&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1262&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1262&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1262)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1262)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1262)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1262,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1262)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1262)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1262)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1262)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1262)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1262)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1262)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1262)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1262)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1262)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1262)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1262)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1262)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1262&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1262)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1262)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1262,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1262&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1262)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1262)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1262&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1262=\"Small Patch\",H1262=\"Matrix\")),'Calculator Table'!$L1262,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1262=\"Small Patch\",'Calculator Table'!$L1262,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1262=\"Matrix\",'Calculator Table'!$L1262,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1262&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1262&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1262&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1262&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1262&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1262&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1262&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1262&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1262&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1262&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1262&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1262&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1262)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1262)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1262)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1262,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1262)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1262)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1262)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1262)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1262)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1262)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1262)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1262)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1262)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1262)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1262)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1262)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1262)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1262&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1262)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1262)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1262,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1262&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1262)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1262)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1262&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1262=\"Small Patch\",K1262=\"Matrix\")),'Calculator Table'!$L1262,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1262=\"Small Patch\",'Calculator Table'!$L1262,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1262=\"Matrix\",'Calculator Table'!$L1262,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1262&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1262&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1262&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1262&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1262&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1262&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1262&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1262&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1262&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1262&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1262&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1262&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1262)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1262)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1262)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1262,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1262)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1262)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1262)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1262)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1262)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1262)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1262)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1262)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1262)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1262)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1262)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1262)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1262)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1262&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1267>0,'Rk Assign'!D1267,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1267>0,Calculate!$AV1267,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1267:$BL1267<>\"U\")*($AQ1267:$BL1267>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1267:$BL1267<>\"U\")*($AQ1267:$BL1267>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1267:$BL1267<>\"U\")*($AQ1267:$BL1267>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1267:$R1267<>\"Z\")*($K1267:$R1267>\"\")*NOT(ISERROR($K1267:$R1267)))+SUM(($K$4:$R$4=\"A\")*($K1267:$R1267<>\"A\")*($K1267:$R1267>\"\")*NOT(ISERROR($K1267:$R1267)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1267:$R1267=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1267:$BL1267=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1267)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1267)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1267,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1267&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1267)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1267)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1267&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1267=\"Small Patch\",E1267=\"Matrix\")),'Calculator Table'!$L1267,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1267=\"Small Patch\",'Calculator Table'!$L1267,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1267=\"Matrix\",'Calculator Table'!$L1267,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1267&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1267&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1267&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1267&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1267&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1267&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1267&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1267&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1267&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1267&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1267&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1267&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1267)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1267)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1267)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1267,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1267)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1267)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1267)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1267)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1267)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1267)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1267)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1267)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1267)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1267)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1267)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1267)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1267)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1267&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1267)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1267)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1267,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1267&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1267)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1267)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1267&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1267=\"Small Patch\",H1267=\"Matrix\")),'Calculator Table'!$L1267,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1267=\"Small Patch\",'Calculator Table'!$L1267,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1267=\"Matrix\",'Calculator Table'!$L1267,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1267&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1267&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1267&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1267&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1267&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1267&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1267&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1267&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1267&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1267&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1267&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1267&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1267)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1267)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1267)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1267,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1267)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1267)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1267)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1267)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1267)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1267)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1267)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1267)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1267)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1267)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1267)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1267)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1267)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1267&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1267)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1267)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1267,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1267&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1267)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1267)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1267&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1267=\"Small Patch\",K1267=\"Matrix\")),'Calculator Table'!$L1267,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1267=\"Small Patch\",'Calculator Table'!$L1267,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1267=\"Matrix\",'Calculator Table'!$L1267,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1267&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1267&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1267&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1267&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1267&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1267&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1267&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1267&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1267&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1267&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1267&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1267&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1267)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1267)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1267)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1267,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1267)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1267)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1267)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1267)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1267)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1267)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1267)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1267)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1267)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1267)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1267)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1267)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1267)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1267&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1271>0,'Rk Assign'!D1271,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1271>0,Calculate!$AV1271,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1271:$BL1271<>\"U\")*($AQ1271:$BL1271>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1271:$BL1271<>\"U\")*($AQ1271:$BL1271>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1271:$BL1271<>\"U\")*($AQ1271:$BL1271>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1271:$R1271<>\"Z\")*($K1271:$R1271>\"\")*NOT(ISERROR($K1271:$R1271)))+SUM(($K$4:$R$4=\"A\")*($K1271:$R1271<>\"A\")*($K1271:$R1271>\"\")*NOT(ISERROR($K1271:$R1271)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1271:$R1271=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1271:$BL1271=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1271)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1271)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1271,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1271&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1271)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1271)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1271&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1271=\"Small Patch\",E1271=\"Matrix\")),'Calculator Table'!$L1271,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1271=\"Small Patch\",'Calculator Table'!$L1271,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1271=\"Matrix\",'Calculator Table'!$L1271,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1271&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1271&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1271&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1271&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1271&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1271&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1271&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1271&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1271&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1271&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1271&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1271&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1271)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1271)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1271)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1271,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1271)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1271)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1271)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1271)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1271)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1271)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1271)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1271)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1271)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1271)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1271)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1271)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1271)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1271&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1271)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1271)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1271,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1271&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1271)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1271)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1271&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1271=\"Small Patch\",H1271=\"Matrix\")),'Calculator Table'!$L1271,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1271=\"Small Patch\",'Calculator Table'!$L1271,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1271=\"Matrix\",'Calculator Table'!$L1271,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1271&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1271&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1271&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1271&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1271&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1271&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1271&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1271&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1271&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1271&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1271&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1271&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1271)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1271)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1271)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1271,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1271)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1271)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1271)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1271)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1271)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1271)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1271)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1271)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1271)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1271)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1271)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1271)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1271)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1271&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1271)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1271)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1271,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1271&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1271)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1271)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1271&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1271=\"Small Patch\",K1271=\"Matrix\")),'Calculator Table'!$L1271,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1271=\"Small Patch\",'Calculator Table'!$L1271,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1271=\"Matrix\",'Calculator Table'!$L1271,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1271&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1271&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1271&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1271&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1271&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1271&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1271&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1271&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1271&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1271&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1271&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1271&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1271)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1271)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1271)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1271,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1271)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1271)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1271)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1271)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1271)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1271)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1271)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1271)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1271)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1271)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1271)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1271)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1271)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1271&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1284>0,'Rk Assign'!D1284,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1284>0,Calculate!$AV1284,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1284:$BL1284<>\"U\")*($AQ1284:$BL1284>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1284:$BL1284<>\"U\")*($AQ1284:$BL1284>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1284:$BL1284<>\"U\")*($AQ1284:$BL1284>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1284:$R1284<>\"Z\")*($K1284:$R1284>\"\")*NOT(ISERROR($K1284:$R1284)))+SUM(($K$4:$R$4=\"A\")*($K1284:$R1284<>\"A\")*($K1284:$R1284>\"\")*NOT(ISERROR($K1284:$R1284)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1284:$R1284=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1284:$BL1284=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1284)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1284)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1284,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1284&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1284)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1284)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1284&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1284=\"Small Patch\",E1284=\"Matrix\")),'Calculator Table'!$L1284,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1284=\"Small Patch\",'Calculator Table'!$L1284,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1284=\"Matrix\",'Calculator Table'!$L1284,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1284&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1284&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1284&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1284&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1284&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1284&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1284&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1284&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1284&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1284&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1284&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1284&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1284)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1284)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1284)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1284,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1284)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1284)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1284)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1284)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1284)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1284)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1284)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1284)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1284)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1284)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1284)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1284)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1284)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1284&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1284)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1284)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1284,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1284&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1284)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1284)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1284&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1284=\"Small Patch\",H1284=\"Matrix\")),'Calculator Table'!$L1284,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1284=\"Small Patch\",'Calculator Table'!$L1284,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1284=\"Matrix\",'Calculator Table'!$L1284,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1284&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1284&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1284&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1284&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1284&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1284&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1284&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1284&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1284&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1284&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1284&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1284&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1284)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1284)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1284)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1284,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1284)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1284)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1284)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1284)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1284)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1284)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1284)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1284)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1284)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1284)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1284)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1284)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1284)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1284&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1284)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1284)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1284,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1284&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1284)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1284)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1284&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1284=\"Small Patch\",K1284=\"Matrix\")),'Calculator Table'!$L1284,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1284=\"Small Patch\",'Calculator Table'!$L1284,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1284=\"Matrix\",'Calculator Table'!$L1284,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1284&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1284&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1284&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1284&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1284&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1284&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1284&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1284&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1284&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1284&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1284&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1284&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1284)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1284)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1284)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1284,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1284)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1284)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1284)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1284)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1284)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1284)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1284)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1284)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1284)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1284)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1284)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1284)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1284)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1284&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1288>0,'Rk Assign'!D1288,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1288>0,Calculate!$AV1288,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1288:$BL1288<>\"U\")*($AQ1288:$BL1288>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1288:$BL1288<>\"U\")*($AQ1288:$BL1288>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1288:$BL1288<>\"U\")*($AQ1288:$BL1288>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1288:$R1288<>\"Z\")*($K1288:$R1288>\"\")*NOT(ISERROR($K1288:$R1288)))+SUM(($K$4:$R$4=\"A\")*($K1288:$R1288<>\"A\")*($K1288:$R1288>\"\")*NOT(ISERROR($K1288:$R1288)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1288:$R1288=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1288:$BL1288=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1288)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1288)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1288,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1288&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1288)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1288)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1288&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1288=\"Small Patch\",E1288=\"Matrix\")),'Calculator Table'!$L1288,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1288=\"Small Patch\",'Calculator Table'!$L1288,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1288=\"Matrix\",'Calculator Table'!$L1288,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1288&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1288&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1288&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1288&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1288&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1288&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1288&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1288&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1288&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1288&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1288&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1288&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1288)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1288)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1288)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1288,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1288)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1288)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1288)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1288)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1288)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1288)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1288)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1288)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1288)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1288)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1288)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1288)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1288)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1288&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1288)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1288)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1288,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1288&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1288)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1288)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1288&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1288=\"Small Patch\",H1288=\"Matrix\")),'Calculator Table'!$L1288,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1288=\"Small Patch\",'Calculator Table'!$L1288,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1288=\"Matrix\",'Calculator Table'!$L1288,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1288&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1288&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1288&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1288&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1288&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1288&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1288&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1288&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1288&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1288&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1288&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1288&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1288)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1288)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1288)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1288,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1288)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1288)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1288)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1288)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1288)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1288)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1288)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1288)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1288)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1288)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1288)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1288)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1288)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1288&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1288)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1288)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1288,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1288&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1288)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1288)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1288&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1288=\"Small Patch\",K1288=\"Matrix\")),'Calculator Table'!$L1288,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1288=\"Small Patch\",'Calculator Table'!$L1288,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1288=\"Matrix\",'Calculator Table'!$L1288,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1288&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1288&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1288&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1288&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1288&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1288&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1288&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1288&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1288&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1288&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1288&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1288&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1288)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1288)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1288)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1288,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1288)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1288)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1288)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1288)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1288)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1288)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1288)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1288)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1288)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1288)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1288)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1288)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1288)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1288&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1298>0,'Rk Assign'!D1298,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1298>0,Calculate!$AV1298,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1298:$BL1298<>\"U\")*($AQ1298:$BL1298>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1298:$BL1298<>\"U\")*($AQ1298:$BL1298>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1298:$BL1298<>\"U\")*($AQ1298:$BL1298>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1298:$R1298<>\"Z\")*($K1298:$R1298>\"\")*NOT(ISERROR($K1298:$R1298)))+SUM(($K$4:$R$4=\"A\")*($K1298:$R1298<>\"A\")*($K1298:$R1298>\"\")*NOT(ISERROR($K1298:$R1298)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1298:$R1298=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1298:$BL1298=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1298)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1298)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1298,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1298&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1298)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1298)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1298&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1298=\"Small Patch\",E1298=\"Matrix\")),'Calculator Table'!$L1298,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1298=\"Small Patch\",'Calculator Table'!$L1298,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1298=\"Matrix\",'Calculator Table'!$L1298,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1298&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1298&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1298&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1298&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1298&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1298&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1298&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1298&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1298&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1298&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1298&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1298&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1298)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1298)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1298)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1298,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1298)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1298)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1298)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1298)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1298)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1298)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1298)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1298)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1298)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1298)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1298)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1298)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1298)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1298&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1298)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1298)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1298,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1298&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1298)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1298)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1298&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1298=\"Small Patch\",H1298=\"Matrix\")),'Calculator Table'!$L1298,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1298=\"Small Patch\",'Calculator Table'!$L1298,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1298=\"Matrix\",'Calculator Table'!$L1298,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1298&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1298&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1298&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1298&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1298&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1298&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1298&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1298&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1298&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1298&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1298&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1298&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1298)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1298)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1298)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1298,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1298)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1298)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1298)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1298)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1298)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1298)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1298)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1298)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1298)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1298)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1298)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1298)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1298)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1298&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1298)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1298)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1298,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1298&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1298)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1298)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1298&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1298=\"Small Patch\",K1298=\"Matrix\")),'Calculator Table'!$L1298,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1298=\"Small Patch\",'Calculator Table'!$L1298,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1298=\"Matrix\",'Calculator Table'!$L1298,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1298&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1298&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1298&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1298&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1298&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1298&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1298&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1298&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1298&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1298&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1298&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1298&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1298)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1298)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1298)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1298,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1298)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1298)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1298)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1298)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1298)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1298)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1298)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1298)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1298)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1298)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1298)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1298)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1298)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1298&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1305>0,'Rk Assign'!D1305,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1305>0,Calculate!$AV1305,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1305:$BL1305<>\"U\")*($AQ1305:$BL1305>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1305:$BL1305<>\"U\")*($AQ1305:$BL1305>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1305:$BL1305<>\"U\")*($AQ1305:$BL1305>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1305:$R1305<>\"Z\")*($K1305:$R1305>\"\")*NOT(ISERROR($K1305:$R1305)))+SUM(($K$4:$R$4=\"A\")*($K1305:$R1305<>\"A\")*($K1305:$R1305>\"\")*NOT(ISERROR($K1305:$R1305)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1305:$R1305=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1305:$BL1305=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1305)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1305)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1305,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1305&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1305)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1305)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1305&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1305=\"Small Patch\",E1305=\"Matrix\")),'Calculator Table'!$L1305,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1305=\"Small Patch\",'Calculator Table'!$L1305,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1305=\"Matrix\",'Calculator Table'!$L1305,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1305&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1305&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1305&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1305&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1305&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1305&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1305&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1305&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1305&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1305&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1305&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1305&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1305)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1305)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1305)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1305,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1305)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1305)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1305)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1305)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1305)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1305)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1305)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1305)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1305)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1305)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1305)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1305)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1305)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1305&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1305)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1305)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1305,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1305&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1305)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1305)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1305&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1305=\"Small Patch\",H1305=\"Matrix\")),'Calculator Table'!$L1305,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1305=\"Small Patch\",'Calculator Table'!$L1305,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1305=\"Matrix\",'Calculator Table'!$L1305,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1305&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1305&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1305&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1305&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1305&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1305&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1305&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1305&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1305&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1305&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1305&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1305&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1305)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1305)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1305)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1305,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1305)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1305)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1305)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1305)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1305)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1305)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1305)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1305)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1305)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1305)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1305)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1305)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1305)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1305&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1305)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1305)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1305,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1305&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1305)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1305)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1305&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1305=\"Small Patch\",K1305=\"Matrix\")),'Calculator Table'!$L1305,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1305=\"Small Patch\",'Calculator Table'!$L1305,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1305=\"Matrix\",'Calculator Table'!$L1305,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1305&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1305&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1305&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1305&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1305&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1305&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1305&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1305&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1305&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1305&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1305&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1305&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1305)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1305)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1305)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1305,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1305)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1305)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1305)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1305)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1305)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1305)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1305)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1305)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1305)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1305)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1305)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1305)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1305)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1305&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1312>0,'Rk Assign'!D1312,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1312>0,Calculate!$AV1312,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1312:$BL1312<>\"U\")*($AQ1312:$BL1312>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1312:$BL1312<>\"U\")*($AQ1312:$BL1312>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1312:$BL1312<>\"U\")*($AQ1312:$BL1312>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1312:$R1312<>\"Z\")*($K1312:$R1312>\"\")*NOT(ISERROR($K1312:$R1312)))+SUM(($K$4:$R$4=\"A\")*($K1312:$R1312<>\"A\")*($K1312:$R1312>\"\")*NOT(ISERROR($K1312:$R1312)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1312:$R1312=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1312:$BL1312=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1312)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1312)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1312,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1312&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1312)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1312)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1312&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1312=\"Small Patch\",E1312=\"Matrix\")),'Calculator Table'!$L1312,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1312=\"Small Patch\",'Calculator Table'!$L1312,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1312=\"Matrix\",'Calculator Table'!$L1312,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1312&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1312&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1312&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1312&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1312&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1312&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1312&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1312&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1312&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1312&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1312&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1312&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1312)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1312)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1312)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1312,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1312)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1312)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1312)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1312)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1312)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1312)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1312)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1312)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1312)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1312)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1312)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1312)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1312)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1312&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1312)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1312)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1312,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1312&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1312)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1312)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1312&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1312=\"Small Patch\",H1312=\"Matrix\")),'Calculator Table'!$L1312,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1312=\"Small Patch\",'Calculator Table'!$L1312,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1312=\"Matrix\",'Calculator Table'!$L1312,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1312&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1312&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1312&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1312&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1312&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1312&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1312&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1312&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1312&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1312&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1312&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1312&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1312)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1312)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1312)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1312,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1312)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1312)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1312)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1312)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1312)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1312)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1312)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1312)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1312)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1312)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1312)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1312)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1312)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1312&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1312)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1312)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1312,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1312&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1312)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1312)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1312&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1312=\"Small Patch\",K1312=\"Matrix\")),'Calculator Table'!$L1312,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1312=\"Small Patch\",'Calculator Table'!$L1312,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1312=\"Matrix\",'Calculator Table'!$L1312,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1312&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1312&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1312&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1312&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1312&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1312&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1312&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1312&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1312&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1312&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1312&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1312&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1312)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1312)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1312)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1312,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1312)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1312)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1312)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1312)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1312)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1312)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1312)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1312)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1312)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1312)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1312)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1312)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1312)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1312&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1322>0,'Rk Assign'!D1322,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,{"$f":"LEFT(K1322,1)","v":""},{"$f":"RIGHT(K1322,1)","v":""},{"$f":"LEFT(L1322&M1322&N1322,1)","v":""},{"$f":"RIGHT(L1322&M1322&N1322,1)","v":""},{"$f":"LEFT(O1322,1)","v":""},{"$f":"RIGHT(O1322,1)","v":""},{"$f":"LEFT(Q1322,1)","v":""},{"$f":"RIGHT(Q1322,1)","v":""},{"$f":"IF(AND(AS1322>\"\",AS1322<>\"U\",AS1322<>\"0\"),LEFT(R1322,1),\"\")","v":""},{"$f":"IF(AND(AS1322>\"\",AS1322<>\"U\",AS1322<>\"0\"),RIGHT(R1322,1),\"\")","v":""},{"$f":"LEFT(P1322,1)","v":""},{"$f":"RIGHT(P1322,1)","v":""},{"$f":"LEFT(S1322,1)","v":""},{"$f":"RIGHT(S1322,1)","v":""},{"$f":"LEFT(W1322,1)","v":""},{"$f":"RIGHT(W1322,1)","v":""},{"$f":"LEFT(X1322,1)","v":""},{"$f":"RIGHT(X1322,1)","v":""},{"$f":"LEFT(V1322,1)","v":""},{"$f":"RIGHT(V1322,1)","v":""},{"$f":"LEFT(T1322,1)","v":""},{"$f":"RIGHT(T1322,1)","v":""},{"$f":"IF(BS1322>0,Calculate!$AV1322,\"\")","v":""},{"$f":"IF(BS1322>0,BR1322>1,\"\")","v":""},{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1322:$BL1322<>\"U\")*($AQ1322:$BL1322>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1322:$BL1322<>\"U\")*($AQ1322:$BL1322>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1322:$BL1322<>\"U\")*($AQ1322:$BL1322>\"\"))","v":0},{"$f":"COUNTIF(BO1322:BQ1322,\">0\")","v":0},{"$f":"COUNTIF(K1322:V1322,\">''\")","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1322:$R1322<>\"Z\")*($K1322:$R1322>\"\")*NOT(ISERROR($K1322:$R1322)))+SUM(($K$4:$R$4=\"A\")*($K1322:$R1322<>\"A\")*($K1322:$R1322>\"\")*NOT(ISERROR($K1322:$R1322)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1322:$R1322=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1322:$BL1322=\"Z\"))","v":0},{"$f":"IF(AND(BU1322>0,BT1322>0),\"Z-ERROR\",\"\")","v":""}," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1322)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1322)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1322,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1322&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1322)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1322)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1322&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1322=\"Small Patch\",E1322=\"Matrix\")),'Calculator Table'!$L1322,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1322=\"Small Patch\",'Calculator Table'!$L1322,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1322=\"Matrix\",'Calculator Table'!$L1322,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1322&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1322&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1322&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1322&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1322&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1322&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1322&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1322&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1322&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1322&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1322&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1322&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1322)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1322)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1322)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1322,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1322)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1322)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1322)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1322)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1322)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1322)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1322)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1322)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1322)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1322)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1322)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1322)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1322)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1322&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1322)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1322)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1322,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1322&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1322)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1322)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1322&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1322=\"Small Patch\",H1322=\"Matrix\")),'Calculator Table'!$L1322,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1322=\"Small Patch\",'Calculator Table'!$L1322,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1322=\"Matrix\",'Calculator Table'!$L1322,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1322&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1322&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1322&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1322&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1322&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1322&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1322&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1322&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1322&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1322&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1322&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1322&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1322)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1322)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1322)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1322,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1322)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1322)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1322)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1322)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1322)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1322)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1322)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1322)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1322)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1322)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1322)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1322)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1322)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1322&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1322)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1322)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1322,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1322&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1322)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1322)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1322&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1322=\"Small Patch\",K1322=\"Matrix\")),'Calculator Table'!$L1322,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1322=\"Small Patch\",'Calculator Table'!$L1322,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1322=\"Matrix\",'Calculator Table'!$L1322,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1322&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1322&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1322&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1322&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1322&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1322&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1322&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1322&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1322&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1322&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1322&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1322&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1322)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1322)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1322)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1322,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1322)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1322)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1322)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1322)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1322)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1322)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1322)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1322)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1322)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1322)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1322)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1322)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1322)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1322&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1331>0,'Rk Assign'!D1331,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1331>0,Calculate!$AV1331,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1331:$BL1331<>\"U\")*($AQ1331:$BL1331>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1331:$BL1331<>\"U\")*($AQ1331:$BL1331>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1331:$BL1331<>\"U\")*($AQ1331:$BL1331>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1331:$R1331<>\"Z\")*($K1331:$R1331>\"\")*NOT(ISERROR($K1331:$R1331)))+SUM(($K$4:$R$4=\"A\")*($K1331:$R1331<>\"A\")*($K1331:$R1331>\"\")*NOT(ISERROR($K1331:$R1331)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1331:$R1331=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1331:$BL1331=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1331)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1331)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1331,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1331&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1331)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1331)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1331&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1331=\"Small Patch\",E1331=\"Matrix\")),'Calculator Table'!$L1331,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1331=\"Small Patch\",'Calculator Table'!$L1331,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1331=\"Matrix\",'Calculator Table'!$L1331,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1331&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1331&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1331&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1331&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1331&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1331&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1331&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1331&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1331&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1331&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1331&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1331&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1331)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1331)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1331)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1331,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1331)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1331)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1331)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1331)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1331)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1331)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1331)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1331)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1331)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1331)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1331)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1331)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1331)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1331&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1331)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1331)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1331,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1331&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1331)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1331)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1331&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1331=\"Small Patch\",H1331=\"Matrix\")),'Calculator Table'!$L1331,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1331=\"Small Patch\",'Calculator Table'!$L1331,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1331=\"Matrix\",'Calculator Table'!$L1331,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1331&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1331&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1331&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1331&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1331&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1331&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1331&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1331&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1331&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1331&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1331&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1331&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1331)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1331)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1331)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1331,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1331)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1331)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1331)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1331)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1331)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1331)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1331)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1331)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1331)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1331)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1331)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1331)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1331)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1331&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1331)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1331)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1331,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1331&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1331)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1331)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1331&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1331=\"Small Patch\",K1331=\"Matrix\")),'Calculator Table'!$L1331,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1331=\"Small Patch\",'Calculator Table'!$L1331,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1331=\"Matrix\",'Calculator Table'!$L1331,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1331&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1331&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1331&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1331&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1331&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1331&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1331&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1331&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1331&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1331&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1331&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1331&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1331)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1331)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1331)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1331,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1331)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1331)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1331)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1331)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1331)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1331)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1331)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1331)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1331)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1331)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1331)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1331)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1331)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1331&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1335>0,'Rk Assign'!D1335,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1335>0,Calculate!$AV1335,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1335:$BL1335<>\"U\")*($AQ1335:$BL1335>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1335:$BL1335<>\"U\")*($AQ1335:$BL1335>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1335:$BL1335<>\"U\")*($AQ1335:$BL1335>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1335:$R1335<>\"Z\")*($K1335:$R1335>\"\")*NOT(ISERROR($K1335:$R1335)))+SUM(($K$4:$R$4=\"A\")*($K1335:$R1335<>\"A\")*($K1335:$R1335>\"\")*NOT(ISERROR($K1335:$R1335)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1335:$R1335=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1335:$BL1335=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1335)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1335)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1335,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1335&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1335)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1335)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1335&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1335=\"Small Patch\",E1335=\"Matrix\")),'Calculator Table'!$L1335,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1335=\"Small Patch\",'Calculator Table'!$L1335,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1335=\"Matrix\",'Calculator Table'!$L1335,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1335&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1335&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1335&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1335&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1335&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1335&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1335&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1335&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1335&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1335&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1335&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1335&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1335)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1335)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1335)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1335,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1335)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1335)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1335)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1335)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1335)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1335)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1335)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1335)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1335)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1335)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1335)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1335)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1335)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1335&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1335)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1335)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1335,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1335&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1335)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1335)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1335&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1335=\"Small Patch\",H1335=\"Matrix\")),'Calculator Table'!$L1335,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1335=\"Small Patch\",'Calculator Table'!$L1335,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1335=\"Matrix\",'Calculator Table'!$L1335,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1335&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1335&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1335&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1335&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1335&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1335&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1335&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1335&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1335&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1335&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1335&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1335&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1335)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1335)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1335)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1335,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1335)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1335)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1335)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1335)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1335)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1335)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1335)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1335)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1335)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1335)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1335)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1335)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1335)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1335&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1335)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1335)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1335,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1335&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1335)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1335)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1335&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1335=\"Small Patch\",K1335=\"Matrix\")),'Calculator Table'!$L1335,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1335=\"Small Patch\",'Calculator Table'!$L1335,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1335=\"Matrix\",'Calculator Table'!$L1335,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1335&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1335&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1335&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1335&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1335&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1335&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1335&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1335&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1335&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1335&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1335&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1335&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1335)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1335)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1335)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1335,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1335)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1335)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1335)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1335)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1335)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1335)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1335)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1335)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1335)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1335)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1335)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1335)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1335)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1335&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1340>0,'Rk Assign'!D1340,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1340>0,Calculate!$AV1340,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1340:$BL1340<>\"U\")*($AQ1340:$BL1340>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1340:$BL1340<>\"U\")*($AQ1340:$BL1340>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1340:$BL1340<>\"U\")*($AQ1340:$BL1340>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1340:$R1340<>\"Z\")*($K1340:$R1340>\"\")*NOT(ISERROR($K1340:$R1340)))+SUM(($K$4:$R$4=\"A\")*($K1340:$R1340<>\"A\")*($K1340:$R1340>\"\")*NOT(ISERROR($K1340:$R1340)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1340:$R1340=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1340:$BL1340=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1340)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1340)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1340,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1340&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1340)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1340)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1340&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1340=\"Small Patch\",E1340=\"Matrix\")),'Calculator Table'!$L1340,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1340=\"Small Patch\",'Calculator Table'!$L1340,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1340=\"Matrix\",'Calculator Table'!$L1340,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1340&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1340&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1340&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1340&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1340&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1340&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1340&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1340&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1340&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1340&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1340&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1340&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1340)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1340)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1340)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1340,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1340)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1340)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1340)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1340)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1340)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1340)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1340)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1340)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1340)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1340)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1340)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1340)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1340)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1340&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1340)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1340)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1340,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1340&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1340)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1340)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1340&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1340=\"Small Patch\",H1340=\"Matrix\")),'Calculator Table'!$L1340,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1340=\"Small Patch\",'Calculator Table'!$L1340,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1340=\"Matrix\",'Calculator Table'!$L1340,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1340&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1340&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1340&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1340&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1340&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1340&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1340&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1340&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1340&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1340&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1340&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1340&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1340)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1340)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1340)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1340,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1340)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1340)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1340)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1340)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1340)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1340)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1340)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1340)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1340)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1340)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1340)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1340)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1340)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1340&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1340)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1340)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1340,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1340&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1340)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1340)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1340&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1340=\"Small Patch\",K1340=\"Matrix\")),'Calculator Table'!$L1340,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1340=\"Small Patch\",'Calculator Table'!$L1340,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1340=\"Matrix\",'Calculator Table'!$L1340,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1340&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1340&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1340&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1340&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1340&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1340&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1340&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1340&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1340&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1340&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1340&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1340&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1340)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1340)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1340)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1340,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1340)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1340)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1340)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1340)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1340)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1340)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1340)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1340)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1340)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1340)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1340)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1340)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1340)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1340&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1349>0,'Rk Assign'!D1349,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1349>0,Calculate!$AV1349,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1349:$BL1349<>\"U\")*($AQ1349:$BL1349>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1349:$BL1349<>\"U\")*($AQ1349:$BL1349>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1349:$BL1349<>\"U\")*($AQ1349:$BL1349>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1349:$R1349<>\"Z\")*($K1349:$R1349>\"\")*NOT(ISERROR($K1349:$R1349)))+SUM(($K$4:$R$4=\"A\")*($K1349:$R1349<>\"A\")*($K1349:$R1349>\"\")*NOT(ISERROR($K1349:$R1349)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1349:$R1349=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1349:$BL1349=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1349)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1349)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1349,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1349&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1349)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1349)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1349&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1349=\"Small Patch\",E1349=\"Matrix\")),'Calculator Table'!$L1349,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1349=\"Small Patch\",'Calculator Table'!$L1349,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1349=\"Matrix\",'Calculator Table'!$L1349,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1349&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1349&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1349&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1349&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1349&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1349&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1349&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1349&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1349&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1349&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1349&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1349&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1349)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1349)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1349)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1349,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1349)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1349)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1349)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1349)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1349)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1349)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1349)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1349)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1349)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1349)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1349)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1349)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1349)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1349&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1349)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1349)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1349,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1349&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1349)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1349)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1349&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1349=\"Small Patch\",H1349=\"Matrix\")),'Calculator Table'!$L1349,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1349=\"Small Patch\",'Calculator Table'!$L1349,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1349=\"Matrix\",'Calculator Table'!$L1349,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1349&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1349&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1349&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1349&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1349&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1349&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1349&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1349&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1349&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1349&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1349&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1349&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1349)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1349)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1349)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1349,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1349)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1349)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1349)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1349)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1349)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1349)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1349)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1349)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1349)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1349)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1349)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1349)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1349)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1349&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1349)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1349)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1349,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1349&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1349)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1349)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1349&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1349=\"Small Patch\",K1349=\"Matrix\")),'Calculator Table'!$L1349,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1349=\"Small Patch\",'Calculator Table'!$L1349,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1349=\"Matrix\",'Calculator Table'!$L1349,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1349&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1349&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1349&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1349&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1349&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1349&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1349&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1349&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1349&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1349&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1349&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1349&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1349)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1349)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1349)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1349,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1349)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1349)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1349)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1349)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1349)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1349)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1349)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1349)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1349)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1349)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1349)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1349)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1349)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1349&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1357>0,'Rk Assign'!D1357,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1357>0,Calculate!$AV1357,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1357:$BL1357<>\"U\")*($AQ1357:$BL1357>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1357:$BL1357<>\"U\")*($AQ1357:$BL1357>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1357:$BL1357<>\"U\")*($AQ1357:$BL1357>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1357:$R1357<>\"Z\")*($K1357:$R1357>\"\")*NOT(ISERROR($K1357:$R1357)))+SUM(($K$4:$R$4=\"A\")*($K1357:$R1357<>\"A\")*($K1357:$R1357>\"\")*NOT(ISERROR($K1357:$R1357)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1357:$R1357=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1357:$BL1357=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1357)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1357)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1357,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1357&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1357)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1357)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1357&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1357=\"Small Patch\",E1357=\"Matrix\")),'Calculator Table'!$L1357,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1357=\"Small Patch\",'Calculator Table'!$L1357,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1357=\"Matrix\",'Calculator Table'!$L1357,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1357&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1357&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1357&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1357&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1357&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1357&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1357&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1357&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1357&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1357&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1357&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1357&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1357)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1357)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1357)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1357,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1357)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1357)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1357)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1357)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1357)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1357)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1357)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1357)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1357)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1357)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1357)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1357)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1357)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1357&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1357)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1357)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1357,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1357&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1357)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1357)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1357&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1357=\"Small Patch\",H1357=\"Matrix\")),'Calculator Table'!$L1357,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1357=\"Small Patch\",'Calculator Table'!$L1357,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1357=\"Matrix\",'Calculator Table'!$L1357,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1357&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1357&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1357&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1357&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1357&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1357&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1357&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1357&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1357&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1357&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1357&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1357&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1357)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1357)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1357)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1357,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1357)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1357)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1357)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1357)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1357)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1357)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1357)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1357)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1357)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1357)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1357)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1357)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1357)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1357&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1357)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1357)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1357,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1357&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1357)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1357)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1357&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1357=\"Small Patch\",K1357=\"Matrix\")),'Calculator Table'!$L1357,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1357=\"Small Patch\",'Calculator Table'!$L1357,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1357=\"Matrix\",'Calculator Table'!$L1357,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1357&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1357&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1357&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1357&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1357&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1357&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1357&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1357&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1357&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1357&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1357&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1357&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1357)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1357)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1357)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1357,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1357)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1357)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1357)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1357)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1357)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1357)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1357)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1357)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1357)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1357)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1357)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1357)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1357)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1357&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1363>0,'Rk Assign'!D1363,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1363>0,Calculate!$AV1363,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1363:$BL1363<>\"U\")*($AQ1363:$BL1363>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1363:$BL1363<>\"U\")*($AQ1363:$BL1363>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1363:$BL1363<>\"U\")*($AQ1363:$BL1363>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1363:$R1363<>\"Z\")*($K1363:$R1363>\"\")*NOT(ISERROR($K1363:$R1363)))+SUM(($K$4:$R$4=\"A\")*($K1363:$R1363<>\"A\")*($K1363:$R1363>\"\")*NOT(ISERROR($K1363:$R1363)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1363:$R1363=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1363:$BL1363=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1363)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1363)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1363,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1363&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1363)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1363)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1363&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1363=\"Small Patch\",E1363=\"Matrix\")),'Calculator Table'!$L1363,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1363=\"Small Patch\",'Calculator Table'!$L1363,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1363=\"Matrix\",'Calculator Table'!$L1363,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1363&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1363&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1363&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1363&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1363&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1363&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1363&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1363&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1363&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1363&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1363&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1363&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1363)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1363)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1363)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1363,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1363)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1363)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1363)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1363)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1363)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1363)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1363)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1363)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1363)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1363)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1363)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1363)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1363)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1363&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1363)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1363)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1363,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1363&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1363)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1363)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1363&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1363=\"Small Patch\",H1363=\"Matrix\")),'Calculator Table'!$L1363,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1363=\"Small Patch\",'Calculator Table'!$L1363,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1363=\"Matrix\",'Calculator Table'!$L1363,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1363&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1363&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1363&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1363&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1363&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1363&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1363&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1363&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1363&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1363&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1363&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1363&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1363)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1363)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1363)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1363,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1363)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1363)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1363)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1363)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1363)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1363)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1363)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1363)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1363)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1363)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1363)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1363)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1363)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1363&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1363)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1363)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1363,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1363&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1363)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1363)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1363&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1363=\"Small Patch\",K1363=\"Matrix\")),'Calculator Table'!$L1363,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1363=\"Small Patch\",'Calculator Table'!$L1363,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1363=\"Matrix\",'Calculator Table'!$L1363,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1363&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1363&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1363&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1363&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1363&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1363&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1363&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1363&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1363&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1363&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1363&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1363&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1363)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1363)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1363)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1363,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1363)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1363)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1363)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1363)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1363)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1363)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1363)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1363)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1363)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1363)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1363)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1363)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1363)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1363&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1374>0,'Rk Assign'!D1374,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1374>0,Calculate!$AV1374,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1374:$BL1374<>\"U\")*($AQ1374:$BL1374>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1374:$BL1374<>\"U\")*($AQ1374:$BL1374>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1374:$BL1374<>\"U\")*($AQ1374:$BL1374>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1374:$R1374<>\"Z\")*($K1374:$R1374>\"\")*NOT(ISERROR($K1374:$R1374)))+SUM(($K$4:$R$4=\"A\")*($K1374:$R1374<>\"A\")*($K1374:$R1374>\"\")*NOT(ISERROR($K1374:$R1374)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1374:$R1374=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1374:$BL1374=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1374)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1374)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1374,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1374&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1374)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1374)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1374&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1374=\"Small Patch\",E1374=\"Matrix\")),'Calculator Table'!$L1374,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1374=\"Small Patch\",'Calculator Table'!$L1374,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1374=\"Matrix\",'Calculator Table'!$L1374,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1374&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1374&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1374&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1374&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1374&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1374&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1374&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1374&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1374&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1374&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1374&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1374&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1374)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1374)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1374)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1374,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1374)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1374)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1374)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1374)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1374)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1374)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1374)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1374)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1374)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1374)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1374)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1374)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1374)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1374&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1374)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1374)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1374,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1374&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1374)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1374)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1374&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1374=\"Small Patch\",H1374=\"Matrix\")),'Calculator Table'!$L1374,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1374=\"Small Patch\",'Calculator Table'!$L1374,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1374=\"Matrix\",'Calculator Table'!$L1374,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1374&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1374&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1374&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1374&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1374&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1374&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1374&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1374&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1374&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1374&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1374&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1374&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1374)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1374)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1374)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1374,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1374)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1374)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1374)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1374)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1374)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1374)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1374)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1374)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1374)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1374)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1374)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1374)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1374)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1374&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1374)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1374)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1374,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1374&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1374)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1374)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1374&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1374=\"Small Patch\",K1374=\"Matrix\")),'Calculator Table'!$L1374,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1374=\"Small Patch\",'Calculator Table'!$L1374,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1374=\"Matrix\",'Calculator Table'!$L1374,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1374&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1374&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1374&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1374&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1374&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1374&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1374&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1374&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1374&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1374&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1374&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1374&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1374)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1374)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1374)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1374,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1374)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1374)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1374)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1374)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1374)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1374)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1374)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1374)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1374)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1374)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1374)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1374)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1374)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1374&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1383>0,'Rk Assign'!D1383,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1383>0,Calculate!$AV1383,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1383:$BL1383<>\"U\")*($AQ1383:$BL1383>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1383:$BL1383<>\"U\")*($AQ1383:$BL1383>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1383:$BL1383<>\"U\")*($AQ1383:$BL1383>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1383:$R1383<>\"Z\")*($K1383:$R1383>\"\")*NOT(ISERROR($K1383:$R1383)))+SUM(($K$4:$R$4=\"A\")*($K1383:$R1383<>\"A\")*($K1383:$R1383>\"\")*NOT(ISERROR($K1383:$R1383)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1383:$R1383=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1383:$BL1383=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1383)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1383)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1383,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1383&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1383)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1383)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1383&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1383=\"Small Patch\",E1383=\"Matrix\")),'Calculator Table'!$L1383,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1383=\"Small Patch\",'Calculator Table'!$L1383,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1383=\"Matrix\",'Calculator Table'!$L1383,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1383&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1383&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1383&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1383&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1383&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1383&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1383&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1383&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1383&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1383&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1383&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1383&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1383)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1383)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1383)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1383,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1383)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1383)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1383)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1383)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1383)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1383)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1383)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1383)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1383)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1383)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1383)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1383)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1383)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1383&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1383)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1383)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1383,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1383&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1383)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1383)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1383&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1383=\"Small Patch\",H1383=\"Matrix\")),'Calculator Table'!$L1383,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1383=\"Small Patch\",'Calculator Table'!$L1383,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1383=\"Matrix\",'Calculator Table'!$L1383,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1383&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1383&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1383&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1383&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1383&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1383&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1383&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1383&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1383&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1383&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1383&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1383&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1383)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1383)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1383)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1383,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1383)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1383)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1383)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1383)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1383)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1383)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1383)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1383)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1383)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1383)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1383)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1383)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1383)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1383&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1383)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1383)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1383,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1383&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1383)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1383)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1383&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1383=\"Small Patch\",K1383=\"Matrix\")),'Calculator Table'!$L1383,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1383=\"Small Patch\",'Calculator Table'!$L1383,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1383=\"Matrix\",'Calculator Table'!$L1383,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1383&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1383&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1383&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1383&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1383&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1383&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1383&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1383&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1383&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1383&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1383&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1383&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1383)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1383)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1383)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1383,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1383)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1383)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1383)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1383)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1383)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1383)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1383)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1383)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1383)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1383)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1383)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1383)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1383)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1383&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1386>0,'Rk Assign'!D1386,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,{"$f":"LEFT(K1386,1)","v":""},{"$f":"RIGHT(K1386,1)","v":""},{"$f":"LEFT(L1386&M1386&N1386,1)","v":""},{"$f":"RIGHT(L1386&M1386&N1386,1)","v":""},{"$f":"LEFT(O1386,1)","v":""},{"$f":"RIGHT(O1386,1)","v":""},{"$f":"LEFT(Q1386,1)","v":""},{"$f":"RIGHT(Q1386,1)","v":""},{"$f":"IF(AND(AS1386>\"\",AS1386<>\"U\",AS1386<>\"0\"),LEFT(R1386,1),\"\")","v":""},{"$f":"IF(AND(AS1386>\"\",AS1386<>\"U\",AS1386<>\"0\"),RIGHT(R1386,1),\"\")","v":""},{"$f":"LEFT(P1386,1)","v":""},{"$f":"RIGHT(P1386,1)","v":""},{"$f":"LEFT(S1386,1)","v":""},{"$f":"RIGHT(S1386,1)","v":""},{"$f":"LEFT(W1386,1)","v":""},{"$f":"RIGHT(W1386,1)","v":""},{"$f":"LEFT(X1386,1)","v":""},{"$f":"RIGHT(X1386,1)","v":""},{"$f":"LEFT(V1386,1)","v":""},{"$f":"RIGHT(V1386,1)","v":""},{"$f":"LEFT(T1386,1)","v":""},{"$f":"RIGHT(T1386,1)","v":""},{"$f":"IF(BS1386>0,Calculate!$AV1386,\"\")","v":""},{"$f":"IF(BS1386>0,BR1386>1,\"\")","v":""},{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1386:$BL1386<>\"U\")*($AQ1386:$BL1386>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1386:$BL1386<>\"U\")*($AQ1386:$BL1386>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1386:$BL1386<>\"U\")*($AQ1386:$BL1386>\"\"))","v":0},{"$f":"COUNTIF(BO1386:BQ1386,\">0\")","v":0},{"$f":"COUNTIF(K1386:V1386,\">''\")","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1386:$R1386<>\"Z\")*($K1386:$R1386>\"\")*NOT(ISERROR($K1386:$R1386)))+SUM(($K$4:$R$4=\"A\")*($K1386:$R1386<>\"A\")*($K1386:$R1386>\"\")*NOT(ISERROR($K1386:$R1386)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1386:$R1386=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1386:$BL1386=\"Z\"))","v":0},{"$f":"IF(AND(BU1386>0,BT1386>0),\"Z-ERROR\",\"\")","v":""}," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1386)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1386)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1386,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1386&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1386)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1386)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1386&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1386=\"Small Patch\",E1386=\"Matrix\")),'Calculator Table'!$L1386,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1386=\"Small Patch\",'Calculator Table'!$L1386,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1386=\"Matrix\",'Calculator Table'!$L1386,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1386&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1386&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1386&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1386&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1386&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1386&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1386&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1386&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1386&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1386&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1386&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1386&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1386)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1386)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1386)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1386,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1386)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1386)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1386)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1386)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1386)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1386)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1386)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1386)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1386)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1386)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1386)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1386)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1386)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1386&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1386)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1386)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1386,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1386&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1386)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1386)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1386&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1386=\"Small Patch\",H1386=\"Matrix\")),'Calculator Table'!$L1386,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1386=\"Small Patch\",'Calculator Table'!$L1386,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1386=\"Matrix\",'Calculator Table'!$L1386,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1386&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1386&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1386&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1386&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1386&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1386&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1386&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1386&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1386&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1386&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1386&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1386&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1386)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1386)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1386)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1386,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1386)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1386)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1386)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1386)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1386)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1386)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1386)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1386)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1386)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1386)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1386)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1386)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1386)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1386&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1386)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1386)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1386,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1386&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1386)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1386)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1386&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1386=\"Small Patch\",K1386=\"Matrix\")),'Calculator Table'!$L1386,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1386=\"Small Patch\",'Calculator Table'!$L1386,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1386=\"Matrix\",'Calculator Table'!$L1386,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1386&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1386&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1386&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1386&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1386&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1386&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1386&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1386&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1386&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1386&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1386&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1386&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1386)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1386)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1386)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1386,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1386)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1386)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1386)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1386)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1386)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1386)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1386)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1386)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1386)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1386)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1386)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1386)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1386)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1386&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1392>0,'Rk Assign'!D1392,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1392>0,Calculate!$AV1392,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1392:$BL1392<>\"U\")*($AQ1392:$BL1392>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1392:$BL1392<>\"U\")*($AQ1392:$BL1392>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1392:$BL1392<>\"U\")*($AQ1392:$BL1392>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1392:$R1392<>\"Z\")*($K1392:$R1392>\"\")*NOT(ISERROR($K1392:$R1392)))+SUM(($K$4:$R$4=\"A\")*($K1392:$R1392<>\"A\")*($K1392:$R1392>\"\")*NOT(ISERROR($K1392:$R1392)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1392:$R1392=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1392:$BL1392=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1392)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1392)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1392,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1392&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1392)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1392)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1392&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1392=\"Small Patch\",E1392=\"Matrix\")),'Calculator Table'!$L1392,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1392=\"Small Patch\",'Calculator Table'!$L1392,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1392=\"Matrix\",'Calculator Table'!$L1392,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1392&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1392&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1392&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1392&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1392&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1392&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1392&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1392&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1392&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1392&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1392&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1392&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1392)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1392)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1392)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1392,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1392)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1392)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1392)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1392)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1392)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1392)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1392)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1392)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1392)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1392)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1392)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1392)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1392)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1392&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1392)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1392)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1392,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1392&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1392)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1392)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1392&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1392=\"Small Patch\",H1392=\"Matrix\")),'Calculator Table'!$L1392,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1392=\"Small Patch\",'Calculator Table'!$L1392,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1392=\"Matrix\",'Calculator Table'!$L1392,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1392&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1392&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1392&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1392&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1392&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1392&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1392&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1392&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1392&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1392&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1392&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1392&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1392)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1392)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1392)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1392,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1392)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1392)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1392)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1392)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1392)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1392)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1392)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1392)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1392)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1392)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1392)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1392)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1392)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1392&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1392)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1392)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1392,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1392&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1392)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1392)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1392&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1392=\"Small Patch\",K1392=\"Matrix\")),'Calculator Table'!$L1392,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1392=\"Small Patch\",'Calculator Table'!$L1392,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1392=\"Matrix\",'Calculator Table'!$L1392,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1392&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1392&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1392&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1392&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1392&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1392&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1392&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1392&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1392&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1392&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1392&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1392&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1392)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1392)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1392)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1392,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1392)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1392)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1392)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1392)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1392)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1392)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1392)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1392)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1392)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1392)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1392)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1392)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1392)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1392&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1400>0,'Rk Assign'!D1400,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1400>0,Calculate!$AV1400,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1400:$BL1400<>\"U\")*($AQ1400:$BL1400>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1400:$BL1400<>\"U\")*($AQ1400:$BL1400>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1400:$BL1400<>\"U\")*($AQ1400:$BL1400>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1400:$R1400<>\"Z\")*($K1400:$R1400>\"\")*NOT(ISERROR($K1400:$R1400)))+SUM(($K$4:$R$4=\"A\")*($K1400:$R1400<>\"A\")*($K1400:$R1400>\"\")*NOT(ISERROR($K1400:$R1400)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1400:$R1400=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1400:$BL1400=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1400)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1400)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1400,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1400&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1400)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1400)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1400&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1400=\"Small Patch\",E1400=\"Matrix\")),'Calculator Table'!$L1400,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1400=\"Small Patch\",'Calculator Table'!$L1400,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1400=\"Matrix\",'Calculator Table'!$L1400,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1400&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1400&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1400&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1400&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1400&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1400&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1400&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1400&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1400&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1400&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1400&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1400&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1400)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1400)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1400)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1400,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1400)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1400)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1400)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1400)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1400)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1400)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1400)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1400)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1400)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1400)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1400)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1400)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1400)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1400&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1400)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1400)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1400,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1400&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1400)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1400)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1400&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1400=\"Small Patch\",H1400=\"Matrix\")),'Calculator Table'!$L1400,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1400=\"Small Patch\",'Calculator Table'!$L1400,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1400=\"Matrix\",'Calculator Table'!$L1400,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1400&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1400&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1400&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1400&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1400&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1400&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1400&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1400&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1400&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1400&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1400&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1400&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1400)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1400)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1400)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1400,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1400)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1400)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1400)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1400)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1400)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1400)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1400)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1400)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1400)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1400)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1400)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1400)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1400)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1400&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1400)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1400)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1400,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1400&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1400)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1400)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1400&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1400=\"Small Patch\",K1400=\"Matrix\")),'Calculator Table'!$L1400,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1400=\"Small Patch\",'Calculator Table'!$L1400,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1400=\"Matrix\",'Calculator Table'!$L1400,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1400&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1400&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1400&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1400&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1400&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1400&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1400&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1400&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1400&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1400&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1400&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1400&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1400)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1400)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1400)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1400,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1400)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1400)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1400)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1400)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1400)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1400)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1400)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1400)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1400)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1400)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1400)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1400)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1400)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1400&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1409>0,'Rk Assign'!D1409,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1409>0,Calculate!$AV1409,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1409:$BL1409<>\"U\")*($AQ1409:$BL1409>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1409:$BL1409<>\"U\")*($AQ1409:$BL1409>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1409:$BL1409<>\"U\")*($AQ1409:$BL1409>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1409:$R1409<>\"Z\")*($K1409:$R1409>\"\")*NOT(ISERROR($K1409:$R1409)))+SUM(($K$4:$R$4=\"A\")*($K1409:$R1409<>\"A\")*($K1409:$R1409>\"\")*NOT(ISERROR($K1409:$R1409)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1409:$R1409=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1409:$BL1409=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1409)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1409)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1409,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1409&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1409)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1409)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1409&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1409=\"Small Patch\",E1409=\"Matrix\")),'Calculator Table'!$L1409,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1409=\"Small Patch\",'Calculator Table'!$L1409,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1409=\"Matrix\",'Calculator Table'!$L1409,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1409&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1409&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1409&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1409&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1409&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1409&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1409&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1409&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1409&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1409&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1409&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1409&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1409)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1409)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1409)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1409,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1409)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1409)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1409)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1409)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1409)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1409)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1409)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1409)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1409)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1409)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1409)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1409)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1409)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1409&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1409)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1409)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1409,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1409&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1409)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1409)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1409&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1409=\"Small Patch\",H1409=\"Matrix\")),'Calculator Table'!$L1409,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1409=\"Small Patch\",'Calculator Table'!$L1409,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1409=\"Matrix\",'Calculator Table'!$L1409,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1409&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1409&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1409&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1409&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1409&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1409&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1409&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1409&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1409&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1409&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1409&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1409&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1409)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1409)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1409)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1409,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1409)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1409)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1409)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1409)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1409)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1409)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1409)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1409)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1409)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1409)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1409)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1409)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1409)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1409&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1409)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1409)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1409,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1409&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1409)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1409)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1409&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1409=\"Small Patch\",K1409=\"Matrix\")),'Calculator Table'!$L1409,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1409=\"Small Patch\",'Calculator Table'!$L1409,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1409=\"Matrix\",'Calculator Table'!$L1409,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1409&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1409&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1409&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1409&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1409&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1409&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1409&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1409&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1409&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1409&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1409&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1409&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1409)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1409)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1409)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1409,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1409)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1409)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1409)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1409)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1409)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1409)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1409)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1409)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1409)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1409)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1409)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1409)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1409)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1409&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1417>0,'Rk Assign'!D1417,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1417>0,Calculate!$AV1417,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1417:$BL1417<>\"U\")*($AQ1417:$BL1417>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1417:$BL1417<>\"U\")*($AQ1417:$BL1417>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1417:$BL1417<>\"U\")*($AQ1417:$BL1417>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1417:$R1417<>\"Z\")*($K1417:$R1417>\"\")*NOT(ISERROR($K1417:$R1417)))+SUM(($K$4:$R$4=\"A\")*($K1417:$R1417<>\"A\")*($K1417:$R1417>\"\")*NOT(ISERROR($K1417:$R1417)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1417:$R1417=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1417:$BL1417=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1417)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1417)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1417,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1417&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1417)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1417)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1417&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1417=\"Small Patch\",E1417=\"Matrix\")),'Calculator Table'!$L1417,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1417=\"Small Patch\",'Calculator Table'!$L1417,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1417=\"Matrix\",'Calculator Table'!$L1417,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1417&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1417&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1417&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1417&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1417&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1417&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1417&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1417&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1417&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1417&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1417&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1417&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1417)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1417)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1417)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1417,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1417)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1417)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1417)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1417)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1417)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1417)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1417)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1417)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1417)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1417)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1417)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1417)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1417)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1417&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1417)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1417)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1417,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1417&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1417)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1417)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1417&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1417=\"Small Patch\",H1417=\"Matrix\")),'Calculator Table'!$L1417,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1417=\"Small Patch\",'Calculator Table'!$L1417,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1417=\"Matrix\",'Calculator Table'!$L1417,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1417&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1417&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1417&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1417&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1417&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1417&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1417&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1417&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1417&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1417&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1417&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1417&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1417)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1417)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1417)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1417,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1417)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1417)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1417)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1417)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1417)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1417)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1417)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1417)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1417)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1417)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1417)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1417)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1417)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1417&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1417)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1417)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1417,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1417&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1417)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1417)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1417&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1417=\"Small Patch\",K1417=\"Matrix\")),'Calculator Table'!$L1417,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1417=\"Small Patch\",'Calculator Table'!$L1417,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1417=\"Matrix\",'Calculator Table'!$L1417,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1417&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1417&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1417&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1417&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1417&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1417&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1417&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1417&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1417&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1417&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1417&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1417&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1417)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1417)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1417)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1417,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1417)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1417)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1417)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1417)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1417)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1417)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1417)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1417)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1417)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1417)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1417)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1417)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1417)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1417&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1426>0,'Rk Assign'!D1426,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1426>0,Calculate!$AV1426,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1426:$BL1426<>\"U\")*($AQ1426:$BL1426>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1426:$BL1426<>\"U\")*($AQ1426:$BL1426>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1426:$BL1426<>\"U\")*($AQ1426:$BL1426>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1426:$R1426<>\"Z\")*($K1426:$R1426>\"\")*NOT(ISERROR($K1426:$R1426)))+SUM(($K$4:$R$4=\"A\")*($K1426:$R1426<>\"A\")*($K1426:$R1426>\"\")*NOT(ISERROR($K1426:$R1426)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1426:$R1426=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1426:$BL1426=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1426)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1426)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1426,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1426&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1426)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1426)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1426&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1426=\"Small Patch\",E1426=\"Matrix\")),'Calculator Table'!$L1426,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1426=\"Small Patch\",'Calculator Table'!$L1426,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1426=\"Matrix\",'Calculator Table'!$L1426,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1426&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1426&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1426&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1426&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1426&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1426&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1426&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1426&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1426&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1426&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1426&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1426&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1426)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1426)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1426)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1426,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1426)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1426)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1426)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1426)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1426)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1426)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1426)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1426)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1426)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1426)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1426)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1426)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1426)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1426&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1426)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1426)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1426,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1426&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1426)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1426)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1426&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1426=\"Small Patch\",H1426=\"Matrix\")),'Calculator Table'!$L1426,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1426=\"Small Patch\",'Calculator Table'!$L1426,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1426=\"Matrix\",'Calculator Table'!$L1426,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1426&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1426&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1426&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1426&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1426&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1426&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1426&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1426&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1426&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1426&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1426&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1426&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1426)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1426)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1426)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1426,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1426)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1426)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1426)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1426)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1426)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1426)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1426)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1426)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1426)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1426)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1426)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1426)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1426)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1426&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1426)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1426)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1426,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1426&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1426)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1426)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1426&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1426=\"Small Patch\",K1426=\"Matrix\")),'Calculator Table'!$L1426,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1426=\"Small Patch\",'Calculator Table'!$L1426,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1426=\"Matrix\",'Calculator Table'!$L1426,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1426&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1426&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1426&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1426&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1426&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1426&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1426&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1426&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1426&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1426&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1426&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1426&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1426)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1426)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1426)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1426,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1426)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1426)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1426)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1426)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1426)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1426)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1426)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1426)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1426)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1426)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1426)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1426)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1426)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1426&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1431>0,'Rk Assign'!D1431,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1431>0,Calculate!$AV1431,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1431:$BL1431<>\"U\")*($AQ1431:$BL1431>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1431:$BL1431<>\"U\")*($AQ1431:$BL1431>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1431:$BL1431<>\"U\")*($AQ1431:$BL1431>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1431:$R1431<>\"Z\")*($K1431:$R1431>\"\")*NOT(ISERROR($K1431:$R1431)))+SUM(($K$4:$R$4=\"A\")*($K1431:$R1431<>\"A\")*($K1431:$R1431>\"\")*NOT(ISERROR($K1431:$R1431)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1431:$R1431=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1431:$BL1431=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1431)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1431)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1431,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1431&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1431)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1431)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1431&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1431=\"Small Patch\",E1431=\"Matrix\")),'Calculator Table'!$L1431,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1431=\"Small Patch\",'Calculator Table'!$L1431,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1431=\"Matrix\",'Calculator Table'!$L1431,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1431&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1431&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1431&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1431&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1431&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1431&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1431&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1431&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1431&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1431&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1431&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1431&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1431)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1431)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1431)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1431,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1431)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1431)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1431)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1431)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1431)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1431)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1431)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1431)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1431)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1431)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1431)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1431)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1431)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1431&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1431)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1431)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1431,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1431&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1431)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1431)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1431&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1431=\"Small Patch\",H1431=\"Matrix\")),'Calculator Table'!$L1431,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1431=\"Small Patch\",'Calculator Table'!$L1431,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1431=\"Matrix\",'Calculator Table'!$L1431,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1431&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1431&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1431&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1431&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1431&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1431&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1431&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1431&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1431&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1431&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1431&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1431&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1431)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1431)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1431)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1431,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1431)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1431)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1431)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1431)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1431)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1431)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1431)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1431)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1431)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1431)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1431)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1431)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1431)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1431&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1431)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1431)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1431,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1431&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1431)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1431)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1431&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1431=\"Small Patch\",K1431=\"Matrix\")),'Calculator Table'!$L1431,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1431=\"Small Patch\",'Calculator Table'!$L1431,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1431=\"Matrix\",'Calculator Table'!$L1431,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1431&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1431&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1431&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1431&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1431&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1431&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1431&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1431&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1431&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1431&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1431&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1431&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1431)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1431)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1431)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1431,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1431)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1431)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1431)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1431)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1431)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1431)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1431)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1431)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1431)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1431)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1431)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1431)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1431)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1431&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1443>0,'Rk Assign'!D1443,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1443>0,Calculate!$AV1443,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1443:$BL1443<>\"U\")*($AQ1443:$BL1443>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1443:$BL1443<>\"U\")*($AQ1443:$BL1443>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1443:$BL1443<>\"U\")*($AQ1443:$BL1443>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1443:$R1443<>\"Z\")*($K1443:$R1443>\"\")*NOT(ISERROR($K1443:$R1443)))+SUM(($K$4:$R$4=\"A\")*($K1443:$R1443<>\"A\")*($K1443:$R1443>\"\")*NOT(ISERROR($K1443:$R1443)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1443:$R1443=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1443:$BL1443=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1443)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1443)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1443,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1443&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1443)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1443)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1443&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1443=\"Small Patch\",E1443=\"Matrix\")),'Calculator Table'!$L1443,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1443=\"Small Patch\",'Calculator Table'!$L1443,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1443=\"Matrix\",'Calculator Table'!$L1443,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1443&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1443&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1443&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1443&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1443&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1443&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1443&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1443&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1443&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1443&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1443&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1443&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1443)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1443)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1443)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1443,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1443)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1443)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1443)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1443)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1443)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1443)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1443)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1443)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1443)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1443)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1443)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1443)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1443)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1443&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1443)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1443)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1443,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1443&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1443)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1443)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1443&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1443=\"Small Patch\",H1443=\"Matrix\")),'Calculator Table'!$L1443,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1443=\"Small Patch\",'Calculator Table'!$L1443,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1443=\"Matrix\",'Calculator Table'!$L1443,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1443&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1443&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1443&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1443&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1443&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1443&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1443&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1443&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1443&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1443&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1443&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1443&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1443)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1443)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1443)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1443,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1443)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1443)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1443)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1443)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1443)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1443)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1443)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1443)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1443)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1443)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1443)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1443)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1443)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1443&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1443)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1443)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1443,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1443&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1443)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1443)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1443&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1443=\"Small Patch\",K1443=\"Matrix\")),'Calculator Table'!$L1443,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1443=\"Small Patch\",'Calculator Table'!$L1443,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1443=\"Matrix\",'Calculator Table'!$L1443,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1443&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1443&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1443&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1443&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1443&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1443&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1443&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1443&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1443&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1443&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1443&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1443&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1443)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1443)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1443)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1443,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1443)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1443)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1443)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1443)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1443)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1443)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1443)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1443)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1443)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1443)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1443)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1443)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1443)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1443&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1452>0,'Rk Assign'!D1452,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1452>0,Calculate!$AV1452,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1452:$BL1452<>\"U\")*($AQ1452:$BL1452>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1452:$BL1452<>\"U\")*($AQ1452:$BL1452>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1452:$BL1452<>\"U\")*($AQ1452:$BL1452>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1452:$R1452<>\"Z\")*($K1452:$R1452>\"\")*NOT(ISERROR($K1452:$R1452)))+SUM(($K$4:$R$4=\"A\")*($K1452:$R1452<>\"A\")*($K1452:$R1452>\"\")*NOT(ISERROR($K1452:$R1452)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1452:$R1452=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1452:$BL1452=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1452)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1452)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1452,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1452&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1452)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1452)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1452&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1452=\"Small Patch\",E1452=\"Matrix\")),'Calculator Table'!$L1452,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1452=\"Small Patch\",'Calculator Table'!$L1452,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1452=\"Matrix\",'Calculator Table'!$L1452,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1452&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1452&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1452&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1452&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1452&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1452&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1452&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1452&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1452&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1452&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1452&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1452&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1452)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1452)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1452)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1452,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1452)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1452)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1452)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1452)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1452)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1452)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1452)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1452)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1452)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1452)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1452)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1452)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1452)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1452&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1452)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1452)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1452,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1452&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1452)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1452)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1452&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1452=\"Small Patch\",H1452=\"Matrix\")),'Calculator Table'!$L1452,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1452=\"Small Patch\",'Calculator Table'!$L1452,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1452=\"Matrix\",'Calculator Table'!$L1452,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1452&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1452&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1452&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1452&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1452&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1452&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1452&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1452&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1452&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1452&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1452&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1452&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1452)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1452)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1452)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1452,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1452)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1452)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1452)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1452)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1452)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1452)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1452)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1452)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1452)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1452)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1452)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1452)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1452)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1452&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1452)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1452)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1452,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1452&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1452)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1452)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1452&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1452=\"Small Patch\",K1452=\"Matrix\")),'Calculator Table'!$L1452,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1452=\"Small Patch\",'Calculator Table'!$L1452,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1452=\"Matrix\",'Calculator Table'!$L1452,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1452&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1452&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1452&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1452&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1452&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1452&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1452&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1452&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1452&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1452&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1452&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1452&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1452)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1452)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1452)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1452,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1452)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1452)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1452)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1452)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1452)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1452)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1452)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1452)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1452)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1452)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1452)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1452)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1452)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1452&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1454>0,'Rk Assign'!D1454,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1454>0,Calculate!$AV1454,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1454:$BL1454<>\"U\")*($AQ1454:$BL1454>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1454:$BL1454<>\"U\")*($AQ1454:$BL1454>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1454:$BL1454<>\"U\")*($AQ1454:$BL1454>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1454:$R1454<>\"Z\")*($K1454:$R1454>\"\")*NOT(ISERROR($K1454:$R1454)))+SUM(($K$4:$R$4=\"A\")*($K1454:$R1454<>\"A\")*($K1454:$R1454>\"\")*NOT(ISERROR($K1454:$R1454)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1454:$R1454=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1454:$BL1454=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1454)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1454)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1454,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1454&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1454)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1454)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1454&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1454=\"Small Patch\",E1454=\"Matrix\")),'Calculator Table'!$L1454,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1454=\"Small Patch\",'Calculator Table'!$L1454,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1454=\"Matrix\",'Calculator Table'!$L1454,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1454&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1454&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1454&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1454&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1454&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1454&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1454&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1454&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1454&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1454&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1454&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1454&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1454)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1454)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1454)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1454,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1454)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1454)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1454)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1454)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1454)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1454)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1454)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1454)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1454)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1454)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1454)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1454)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1454)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1454&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1454)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1454)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1454,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1454&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1454)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1454)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1454&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1454=\"Small Patch\",H1454=\"Matrix\")),'Calculator Table'!$L1454,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1454=\"Small Patch\",'Calculator Table'!$L1454,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1454=\"Matrix\",'Calculator Table'!$L1454,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1454&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1454&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1454&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1454&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1454&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1454&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1454&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1454&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1454&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1454&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1454&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1454&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1454)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1454)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1454)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1454,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1454)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1454)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1454)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1454)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1454)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1454)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1454)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1454)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1454)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1454)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1454)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1454)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1454)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1454&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1454)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1454)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1454,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1454&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1454)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1454)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1454&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1454=\"Small Patch\",K1454=\"Matrix\")),'Calculator Table'!$L1454,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1454=\"Small Patch\",'Calculator Table'!$L1454,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1454=\"Matrix\",'Calculator Table'!$L1454,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1454&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1454&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1454&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1454&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1454&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1454&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1454&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1454&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1454&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1454&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1454&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1454&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1454)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1454)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1454)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1454,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1454)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1454)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1454)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1454)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1454)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1454)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1454)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1454)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1454)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1454)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1454)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1454)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1454)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1454&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1461>0,'Rk Assign'!D1461,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1461>0,Calculate!$AV1461,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1461:$BL1461<>\"U\")*($AQ1461:$BL1461>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1461:$BL1461<>\"U\")*($AQ1461:$BL1461>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1461:$BL1461<>\"U\")*($AQ1461:$BL1461>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1461:$R1461<>\"Z\")*($K1461:$R1461>\"\")*NOT(ISERROR($K1461:$R1461)))+SUM(($K$4:$R$4=\"A\")*($K1461:$R1461<>\"A\")*($K1461:$R1461>\"\")*NOT(ISERROR($K1461:$R1461)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1461:$R1461=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1461:$BL1461=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1461)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1461)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1461,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1461&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1461)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1461)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1461&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1461=\"Small Patch\",E1461=\"Matrix\")),'Calculator Table'!$L1461,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1461=\"Small Patch\",'Calculator Table'!$L1461,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1461=\"Matrix\",'Calculator Table'!$L1461,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1461&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1461&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1461&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1461&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1461&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1461&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1461&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1461&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1461&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1461&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1461&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1461&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1461)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1461)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1461)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1461,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1461)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1461)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1461)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1461)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1461)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1461)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1461)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1461)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1461)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1461)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1461)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1461)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1461)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1461&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1461)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1461)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1461,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1461&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1461)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1461)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1461&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1461=\"Small Patch\",H1461=\"Matrix\")),'Calculator Table'!$L1461,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1461=\"Small Patch\",'Calculator Table'!$L1461,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1461=\"Matrix\",'Calculator Table'!$L1461,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1461&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1461&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1461&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1461&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1461&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1461&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1461&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1461&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1461&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1461&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1461&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1461&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1461)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1461)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1461)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1461,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1461)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1461)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1461)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1461)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1461)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1461)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1461)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1461)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1461)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1461)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1461)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1461)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1461)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1461&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1461)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1461)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1461,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1461&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1461)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1461)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1461&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1461=\"Small Patch\",K1461=\"Matrix\")),'Calculator Table'!$L1461,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1461=\"Small Patch\",'Calculator Table'!$L1461,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1461=\"Matrix\",'Calculator Table'!$L1461,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1461&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1461&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1461&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1461&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1461&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1461&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1461&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1461&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1461&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1461&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1461&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1461&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1461)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1461)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1461)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1461,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1461)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1461)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1461)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1461)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1461)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1461)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1461)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1461)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1461)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1461)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1461)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1461)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1461)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1461&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1468>0,'Rk Assign'!D1468,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1468>0,Calculate!$AV1468,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1468:$BL1468<>\"U\")*($AQ1468:$BL1468>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1468:$BL1468<>\"U\")*($AQ1468:$BL1468>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1468:$BL1468<>\"U\")*($AQ1468:$BL1468>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1468:$R1468<>\"Z\")*($K1468:$R1468>\"\")*NOT(ISERROR($K1468:$R1468)))+SUM(($K$4:$R$4=\"A\")*($K1468:$R1468<>\"A\")*($K1468:$R1468>\"\")*NOT(ISERROR($K1468:$R1468)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1468:$R1468=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1468:$BL1468=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1468)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1468)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1468,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1468&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1468)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1468)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1468&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1468=\"Small Patch\",E1468=\"Matrix\")),'Calculator Table'!$L1468,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1468=\"Small Patch\",'Calculator Table'!$L1468,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1468=\"Matrix\",'Calculator Table'!$L1468,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1468&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1468&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1468&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1468&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1468&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1468&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1468&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1468&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1468&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1468&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1468&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1468&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1468)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1468)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1468)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1468,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1468)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1468)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1468)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1468)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1468)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1468)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1468)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1468)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1468)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1468)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1468)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1468)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1468)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1468&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1468)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1468)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1468,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1468&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1468)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1468)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1468&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1468=\"Small Patch\",H1468=\"Matrix\")),'Calculator Table'!$L1468,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1468=\"Small Patch\",'Calculator Table'!$L1468,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1468=\"Matrix\",'Calculator Table'!$L1468,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1468&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1468&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1468&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1468&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1468&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1468&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1468&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1468&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1468&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1468&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1468&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1468&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1468)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1468)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1468)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1468,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1468)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1468)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1468)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1468)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1468)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1468)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1468)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1468)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1468)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1468)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1468)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1468)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1468)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1468&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1468)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1468)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1468,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1468&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1468)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1468)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1468&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1468=\"Small Patch\",K1468=\"Matrix\")),'Calculator Table'!$L1468,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1468=\"Small Patch\",'Calculator Table'!$L1468,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1468=\"Matrix\",'Calculator Table'!$L1468,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1468&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1468&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1468&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1468&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1468&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1468&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1468&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1468&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1468&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1468&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1468&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1468&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1468)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1468)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1468)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1468,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1468)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1468)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1468)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1468)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1468)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1468)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1468)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1468)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1468)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1468)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1468)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1468)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1468)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1468&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1478>0,'Rk Assign'!D1478,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1478>0,Calculate!$AV1478,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1478:$BL1478<>\"U\")*($AQ1478:$BL1478>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1478:$BL1478<>\"U\")*($AQ1478:$BL1478>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1478:$BL1478<>\"U\")*($AQ1478:$BL1478>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1478:$R1478<>\"Z\")*($K1478:$R1478>\"\")*NOT(ISERROR($K1478:$R1478)))+SUM(($K$4:$R$4=\"A\")*($K1478:$R1478<>\"A\")*($K1478:$R1478>\"\")*NOT(ISERROR($K1478:$R1478)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1478:$R1478=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1478:$BL1478=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1478)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1478)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1478,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1478&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1478)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1478)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1478&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1478=\"Small Patch\",E1478=\"Matrix\")),'Calculator Table'!$L1478,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1478=\"Small Patch\",'Calculator Table'!$L1478,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1478=\"Matrix\",'Calculator Table'!$L1478,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1478&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1478&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1478&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1478&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1478&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1478&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1478&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1478&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1478&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1478&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1478&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1478&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1478)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1478)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1478)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1478,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1478)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1478)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1478)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1478)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1478)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1478)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1478)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1478)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1478)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1478)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1478)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1478)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1478)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1478&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1478)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1478)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1478,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1478&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1478)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1478)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1478&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1478=\"Small Patch\",H1478=\"Matrix\")),'Calculator Table'!$L1478,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1478=\"Small Patch\",'Calculator Table'!$L1478,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1478=\"Matrix\",'Calculator Table'!$L1478,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1478&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1478&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1478&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1478&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1478&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1478&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1478&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1478&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1478&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1478&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1478&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1478&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1478)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1478)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1478)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1478,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1478)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1478)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1478)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1478)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1478)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1478)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1478)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1478)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1478)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1478)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1478)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1478)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1478)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1478&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1478)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1478)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1478,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1478&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1478)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1478)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1478&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1478=\"Small Patch\",K1478=\"Matrix\")),'Calculator Table'!$L1478,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1478=\"Small Patch\",'Calculator Table'!$L1478,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1478=\"Matrix\",'Calculator Table'!$L1478,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1478&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1478&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1478&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1478&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1478&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1478&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1478&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1478&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1478&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1478&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1478&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1478&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1478)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1478)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1478)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1478,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1478)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1478)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1478)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1478)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1478)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1478)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1478)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1478)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1478)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1478)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1478)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1478)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1478)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1478&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1489>0,'Rk Assign'!D1489,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1489>0,Calculate!$AV1489,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1489:$BL1489<>\"U\")*($AQ1489:$BL1489>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1489:$BL1489<>\"U\")*($AQ1489:$BL1489>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1489:$BL1489<>\"U\")*($AQ1489:$BL1489>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1489:$R1489<>\"Z\")*($K1489:$R1489>\"\")*NOT(ISERROR($K1489:$R1489)))+SUM(($K$4:$R$4=\"A\")*($K1489:$R1489<>\"A\")*($K1489:$R1489>\"\")*NOT(ISERROR($K1489:$R1489)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1489:$R1489=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1489:$BL1489=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1489)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1489)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1489,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1489&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1489)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1489)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1489&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1489=\"Small Patch\",E1489=\"Matrix\")),'Calculator Table'!$L1489,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1489=\"Small Patch\",'Calculator Table'!$L1489,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1489=\"Matrix\",'Calculator Table'!$L1489,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1489&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1489&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1489&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1489&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1489&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1489&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1489&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1489&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1489&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1489&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1489&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1489&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1489)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1489)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1489)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1489,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1489)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1489)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1489)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1489)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1489)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1489)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1489)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1489)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1489)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1489)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1489)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1489)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1489)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1489&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1489)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1489)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1489,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1489&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1489)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1489)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1489&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1489=\"Small Patch\",H1489=\"Matrix\")),'Calculator Table'!$L1489,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1489=\"Small Patch\",'Calculator Table'!$L1489,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1489=\"Matrix\",'Calculator Table'!$L1489,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1489&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1489&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1489&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1489&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1489&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1489&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1489&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1489&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1489&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1489&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1489&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1489&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1489)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1489)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1489)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1489,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1489)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1489)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1489)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1489)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1489)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1489)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1489)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1489)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1489)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1489)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1489)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1489)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1489)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1489&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1489)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1489)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1489,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1489&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1489)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1489)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1489&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1489=\"Small Patch\",K1489=\"Matrix\")),'Calculator Table'!$L1489,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1489=\"Small Patch\",'Calculator Table'!$L1489,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1489=\"Matrix\",'Calculator Table'!$L1489,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1489&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1489&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1489&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1489&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1489&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1489&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1489&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1489&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1489&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1489&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1489&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1489&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1489)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1489)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1489)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1489,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1489)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1489)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1489)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1489)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1489)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1489)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1489)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1489)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1489)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1489)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1489)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1489)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1489)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1489&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1495>0,'Rk Assign'!D1495,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1495>0,Calculate!$AV1495,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1495:$BL1495<>\"U\")*($AQ1495:$BL1495>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1495:$BL1495<>\"U\")*($AQ1495:$BL1495>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1495:$BL1495<>\"U\")*($AQ1495:$BL1495>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1495:$R1495<>\"Z\")*($K1495:$R1495>\"\")*NOT(ISERROR($K1495:$R1495)))+SUM(($K$4:$R$4=\"A\")*($K1495:$R1495<>\"A\")*($K1495:$R1495>\"\")*NOT(ISERROR($K1495:$R1495)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1495:$R1495=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1495:$BL1495=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1495)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1495)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1495,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1495&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1495)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1495)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1495&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1495=\"Small Patch\",E1495=\"Matrix\")),'Calculator Table'!$L1495,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1495=\"Small Patch\",'Calculator Table'!$L1495,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1495=\"Matrix\",'Calculator Table'!$L1495,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1495&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1495&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1495&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1495&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1495&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1495&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1495&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1495&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1495&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1495&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1495&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1495&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1495)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1495)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1495)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1495,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1495)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1495)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1495)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1495)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1495)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1495)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1495)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1495)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1495)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1495)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1495)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1495)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1495)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1495&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1495)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1495)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1495,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1495&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1495)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1495)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1495&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1495=\"Small Patch\",H1495=\"Matrix\")),'Calculator Table'!$L1495,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1495=\"Small Patch\",'Calculator Table'!$L1495,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1495=\"Matrix\",'Calculator Table'!$L1495,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1495&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1495&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1495&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1495&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1495&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1495&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1495&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1495&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1495&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1495&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1495&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1495&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1495)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1495)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1495)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1495,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1495)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1495)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1495)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1495)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1495)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1495)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1495)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1495)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1495)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1495)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1495)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1495)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1495)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1495&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1495)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1495)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1495,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1495&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1495)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1495)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1495&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1495=\"Small Patch\",K1495=\"Matrix\")),'Calculator Table'!$L1495,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1495=\"Small Patch\",'Calculator Table'!$L1495,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1495=\"Matrix\",'Calculator Table'!$L1495,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1495&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1495&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1495&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1495&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1495&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1495&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1495&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1495&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1495&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1495&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1495&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1495&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1495)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1495)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1495)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1495,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1495)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1495)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1495)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1495)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1495)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1495)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1495)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1495)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1495)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1495)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1495)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1495)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1495)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1495&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1503>0,'Rk Assign'!D1503,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1503>0,Calculate!$AV1503,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1503:$BL1503<>\"U\")*($AQ1503:$BL1503>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1503:$BL1503<>\"U\")*($AQ1503:$BL1503>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1503:$BL1503<>\"U\")*($AQ1503:$BL1503>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1503:$R1503<>\"Z\")*($K1503:$R1503>\"\")*NOT(ISERROR($K1503:$R1503)))+SUM(($K$4:$R$4=\"A\")*($K1503:$R1503<>\"A\")*($K1503:$R1503>\"\")*NOT(ISERROR($K1503:$R1503)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1503:$R1503=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1503:$BL1503=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1503)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1503)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1503,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1503&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1503)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1503)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1503&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1503=\"Small Patch\",E1503=\"Matrix\")),'Calculator Table'!$L1503,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1503=\"Small Patch\",'Calculator Table'!$L1503,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1503=\"Matrix\",'Calculator Table'!$L1503,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1503&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1503&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1503&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1503&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1503&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1503&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1503&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1503&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1503&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1503&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1503&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1503&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1503)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1503)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1503)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1503,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1503)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1503)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1503)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1503)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1503)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1503)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1503)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1503)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1503)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1503)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1503)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1503)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1503)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1503&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1503)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1503)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1503,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1503&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1503)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1503)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1503&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1503=\"Small Patch\",H1503=\"Matrix\")),'Calculator Table'!$L1503,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1503=\"Small Patch\",'Calculator Table'!$L1503,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1503=\"Matrix\",'Calculator Table'!$L1503,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1503&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1503&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1503&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1503&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1503&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1503&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1503&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1503&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1503&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1503&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1503&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1503&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1503)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1503)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1503)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1503,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1503)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1503)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1503)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1503)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1503)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1503)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1503)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1503)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1503)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1503)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1503)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1503)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1503)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1503&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1503)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1503)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1503,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1503&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1503)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1503)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1503&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1503=\"Small Patch\",K1503=\"Matrix\")),'Calculator Table'!$L1503,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1503=\"Small Patch\",'Calculator Table'!$L1503,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1503=\"Matrix\",'Calculator Table'!$L1503,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1503&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1503&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1503&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1503&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1503&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1503&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1503&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1503&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1503&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1503&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1503&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1503&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1503)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1503)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1503)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1503,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1503)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1503)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1503)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1503)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1503)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1503)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1503)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1503)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1503)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1503)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1503)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1503)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1503)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1503&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1512>0,'Rk Assign'!D1512,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1512>0,Calculate!$AV1512,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1512:$BL1512<>\"U\")*($AQ1512:$BL1512>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1512:$BL1512<>\"U\")*($AQ1512:$BL1512>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1512:$BL1512<>\"U\")*($AQ1512:$BL1512>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1512:$R1512<>\"Z\")*($K1512:$R1512>\"\")*NOT(ISERROR($K1512:$R1512)))+SUM(($K$4:$R$4=\"A\")*($K1512:$R1512<>\"A\")*($K1512:$R1512>\"\")*NOT(ISERROR($K1512:$R1512)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1512:$R1512=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1512:$BL1512=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1512)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1512)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1512,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1512&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1512)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1512)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1512&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1512=\"Small Patch\",E1512=\"Matrix\")),'Calculator Table'!$L1512,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1512=\"Small Patch\",'Calculator Table'!$L1512,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1512=\"Matrix\",'Calculator Table'!$L1512,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1512&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1512&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1512&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1512&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1512&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1512&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1512&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1512&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1512&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1512&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1512&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1512&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1512)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1512)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1512)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1512,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1512)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1512)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1512)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1512)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1512)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1512)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1512)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1512)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1512)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1512)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1512)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1512)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1512)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1512&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1512)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1512)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1512,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1512&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1512)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1512)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1512&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1512=\"Small Patch\",H1512=\"Matrix\")),'Calculator Table'!$L1512,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1512=\"Small Patch\",'Calculator Table'!$L1512,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1512=\"Matrix\",'Calculator Table'!$L1512,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1512&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1512&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1512&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1512&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1512&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1512&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1512&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1512&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1512&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1512&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1512&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1512&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1512)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1512)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1512)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1512,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1512)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1512)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1512)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1512)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1512)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1512)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1512)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1512)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1512)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1512)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1512)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1512)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1512)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1512&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1512)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1512)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1512,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1512&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1512)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1512)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1512&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1512=\"Small Patch\",K1512=\"Matrix\")),'Calculator Table'!$L1512,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1512=\"Small Patch\",'Calculator Table'!$L1512,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1512=\"Matrix\",'Calculator Table'!$L1512,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1512&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1512&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1512&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1512&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1512&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1512&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1512&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1512&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1512&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1512&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1512&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1512&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1512)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1512)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1512)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1512,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1512)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1512)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1512)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1512)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1512)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1512)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1512)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1512)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1512)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1512)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1512)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1512)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1512)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1512&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1513>0,'Rk Assign'!D1513,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1513>0,Calculate!$AV1513,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1513:$BL1513<>\"U\")*($AQ1513:$BL1513>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1513:$BL1513<>\"U\")*($AQ1513:$BL1513>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1513:$BL1513<>\"U\")*($AQ1513:$BL1513>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1513:$R1513<>\"Z\")*($K1513:$R1513>\"\")*NOT(ISERROR($K1513:$R1513)))+SUM(($K$4:$R$4=\"A\")*($K1513:$R1513<>\"A\")*($K1513:$R1513>\"\")*NOT(ISERROR($K1513:$R1513)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1513:$R1513=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1513:$BL1513=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1513)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1513)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1513,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1513&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1513)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1513)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1513&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1513=\"Small Patch\",E1513=\"Matrix\")),'Calculator Table'!$L1513,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1513=\"Small Patch\",'Calculator Table'!$L1513,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1513=\"Matrix\",'Calculator Table'!$L1513,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1513&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1513&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1513&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1513&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1513&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1513&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1513&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1513&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1513&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1513&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1513&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1513&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1513)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1513)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1513)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1513,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1513)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1513)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1513)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1513)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1513)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1513)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1513)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1513)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1513)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1513)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1513)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1513)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1513)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1513&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1513)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1513)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1513,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1513&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1513)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1513)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1513&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1513=\"Small Patch\",H1513=\"Matrix\")),'Calculator Table'!$L1513,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1513=\"Small Patch\",'Calculator Table'!$L1513,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1513=\"Matrix\",'Calculator Table'!$L1513,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1513&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1513&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1513&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1513&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1513&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1513&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1513&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1513&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1513&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1513&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1513&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1513&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1513)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1513)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1513)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1513,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1513)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1513)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1513)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1513)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1513)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1513)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1513)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1513)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1513)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1513)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1513)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1513)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1513)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1513&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1513)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1513)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1513,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1513&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1513)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1513)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1513&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1513=\"Small Patch\",K1513=\"Matrix\")),'Calculator Table'!$L1513,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1513=\"Small Patch\",'Calculator Table'!$L1513,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1513=\"Matrix\",'Calculator Table'!$L1513,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1513&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1513&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1513&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1513&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1513&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1513&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1513&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1513&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1513&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1513&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1513&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1513&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1513)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1513)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1513)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1513,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1513)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1513)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1513)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1513)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1513)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1513)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1513)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1513)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1513)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1513)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1513)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1513)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1513)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1513&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1526>0,'Rk Assign'!D1526,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1526>0,Calculate!$AV1526,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1526:$BL1526<>\"U\")*($AQ1526:$BL1526>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1526:$BL1526<>\"U\")*($AQ1526:$BL1526>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1526:$BL1526<>\"U\")*($AQ1526:$BL1526>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1526:$R1526<>\"Z\")*($K1526:$R1526>\"\")*NOT(ISERROR($K1526:$R1526)))+SUM(($K$4:$R$4=\"A\")*($K1526:$R1526<>\"A\")*($K1526:$R1526>\"\")*NOT(ISERROR($K1526:$R1526)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1526:$R1526=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1526:$BL1526=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1526)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1526)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1526,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1526&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1526)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1526)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1526&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1526=\"Small Patch\",E1526=\"Matrix\")),'Calculator Table'!$L1526,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1526=\"Small Patch\",'Calculator Table'!$L1526,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1526=\"Matrix\",'Calculator Table'!$L1526,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1526&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1526&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1526&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1526&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1526&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1526&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1526&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1526&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1526&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1526&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1526&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1526&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1526)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1526)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1526)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1526,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1526)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1526)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1526)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1526)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1526)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1526)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1526)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1526)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1526)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1526)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1526)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1526)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1526)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1526&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1526)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1526)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1526,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1526&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1526)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1526)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1526&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1526=\"Small Patch\",H1526=\"Matrix\")),'Calculator Table'!$L1526,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1526=\"Small Patch\",'Calculator Table'!$L1526,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1526=\"Matrix\",'Calculator Table'!$L1526,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1526&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1526&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1526&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1526&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1526&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1526&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1526&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1526&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1526&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1526&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1526&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1526&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1526)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1526)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1526)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1526,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1526)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1526)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1526)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1526)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1526)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1526)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1526)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1526)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1526)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1526)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1526)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1526)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1526)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1526&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1526)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1526)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1526,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1526&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1526)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1526)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1526&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1526=\"Small Patch\",K1526=\"Matrix\")),'Calculator Table'!$L1526,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1526=\"Small Patch\",'Calculator Table'!$L1526,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1526=\"Matrix\",'Calculator Table'!$L1526,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1526&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1526&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1526&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1526&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1526&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1526&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1526&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1526&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1526&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1526&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1526&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1526&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1526)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1526)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1526)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1526,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1526)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1526)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1526)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1526)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1526)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1526)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1526)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1526)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1526)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1526)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1526)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1526)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1526)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1526&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1530>0,'Rk Assign'!D1530,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1530>0,Calculate!$AV1530,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1530:$BL1530<>\"U\")*($AQ1530:$BL1530>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1530:$BL1530<>\"U\")*($AQ1530:$BL1530>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1530:$BL1530<>\"U\")*($AQ1530:$BL1530>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1530:$R1530<>\"Z\")*($K1530:$R1530>\"\")*NOT(ISERROR($K1530:$R1530)))+SUM(($K$4:$R$4=\"A\")*($K1530:$R1530<>\"A\")*($K1530:$R1530>\"\")*NOT(ISERROR($K1530:$R1530)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1530:$R1530=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1530:$BL1530=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1530)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1530)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1530,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1530&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1530)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1530)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1530&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1530=\"Small Patch\",E1530=\"Matrix\")),'Calculator Table'!$L1530,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1530=\"Small Patch\",'Calculator Table'!$L1530,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1530=\"Matrix\",'Calculator Table'!$L1530,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1530&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1530&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1530&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1530&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1530&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1530&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1530&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1530&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1530&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1530&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1530&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1530&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1530)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1530)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1530)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1530,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1530)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1530)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1530)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1530)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1530)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1530)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1530)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1530)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1530)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1530)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1530)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1530)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1530)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1530&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1530)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1530)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1530,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1530&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1530)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1530)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1530&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1530=\"Small Patch\",H1530=\"Matrix\")),'Calculator Table'!$L1530,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1530=\"Small Patch\",'Calculator Table'!$L1530,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1530=\"Matrix\",'Calculator Table'!$L1530,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1530&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1530&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1530&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1530&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1530&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1530&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1530&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1530&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1530&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1530&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1530&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1530&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1530)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1530)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1530)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1530,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1530)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1530)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1530)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1530)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1530)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1530)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1530)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1530)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1530)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1530)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1530)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1530)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1530)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1530&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1530)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1530)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1530,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1530&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1530)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1530)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1530&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1530=\"Small Patch\",K1530=\"Matrix\")),'Calculator Table'!$L1530,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1530=\"Small Patch\",'Calculator Table'!$L1530,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1530=\"Matrix\",'Calculator Table'!$L1530,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1530&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1530&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1530&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1530&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1530&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1530&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1530&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1530&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1530&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1530&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1530&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1530&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1530)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1530)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1530)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1530,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1530)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1530)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1530)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1530)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1530)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1530)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1530)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1530)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1530)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1530)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1530)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1530)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1530)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1530&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1536>0,'Rk Assign'!D1536,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1536>0,Calculate!$AV1536,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1536:$BL1536<>\"U\")*($AQ1536:$BL1536>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1536:$BL1536<>\"U\")*($AQ1536:$BL1536>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1536:$BL1536<>\"U\")*($AQ1536:$BL1536>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1536:$R1536<>\"Z\")*($K1536:$R1536>\"\")*NOT(ISERROR($K1536:$R1536)))+SUM(($K$4:$R$4=\"A\")*($K1536:$R1536<>\"A\")*($K1536:$R1536>\"\")*NOT(ISERROR($K1536:$R1536)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1536:$R1536=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1536:$BL1536=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1536)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1536)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1536,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1536&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1536)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1536)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1536&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1536=\"Small Patch\",E1536=\"Matrix\")),'Calculator Table'!$L1536,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1536=\"Small Patch\",'Calculator Table'!$L1536,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1536=\"Matrix\",'Calculator Table'!$L1536,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1536&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1536&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1536&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1536&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1536&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1536&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1536&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1536&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1536&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1536&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1536&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1536&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1536)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1536)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1536)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1536,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1536)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1536)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1536)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1536)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1536)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1536)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1536)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1536)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1536)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1536)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1536)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1536)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1536)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1536&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1536)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1536)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1536,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1536&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1536)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1536)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1536&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1536=\"Small Patch\",H1536=\"Matrix\")),'Calculator Table'!$L1536,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1536=\"Small Patch\",'Calculator Table'!$L1536,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1536=\"Matrix\",'Calculator Table'!$L1536,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1536&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1536&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1536&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1536&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1536&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1536&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1536&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1536&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1536&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1536&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1536&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1536&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1536)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1536)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1536)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1536,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1536)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1536)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1536)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1536)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1536)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1536)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1536)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1536)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1536)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1536)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1536)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1536)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1536)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1536&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1536)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1536)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1536,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1536&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1536)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1536)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1536&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1536=\"Small Patch\",K1536=\"Matrix\")),'Calculator Table'!$L1536,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1536=\"Small Patch\",'Calculator Table'!$L1536,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1536=\"Matrix\",'Calculator Table'!$L1536,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1536&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1536&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1536&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1536&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1536&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1536&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1536&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1536&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1536&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1536&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1536&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1536&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1536)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1536)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1536)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1536,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1536)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1536)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1536)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1536)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1536)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1536)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1536)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1536)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1536)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1536)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1536)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1536)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1536)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1536&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1547>0,'Rk Assign'!D1547,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1547>0,Calculate!$AV1547,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1547:$BL1547<>\"U\")*($AQ1547:$BL1547>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1547:$BL1547<>\"U\")*($AQ1547:$BL1547>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1547:$BL1547<>\"U\")*($AQ1547:$BL1547>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1547:$R1547<>\"Z\")*($K1547:$R1547>\"\")*NOT(ISERROR($K1547:$R1547)))+SUM(($K$4:$R$4=\"A\")*($K1547:$R1547<>\"A\")*($K1547:$R1547>\"\")*NOT(ISERROR($K1547:$R1547)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1547:$R1547=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1547:$BL1547=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1547)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1547)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1547,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1547&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1547)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1547)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1547&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1547=\"Small Patch\",E1547=\"Matrix\")),'Calculator Table'!$L1547,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1547=\"Small Patch\",'Calculator Table'!$L1547,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1547=\"Matrix\",'Calculator Table'!$L1547,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1547&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1547&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1547&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1547&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1547&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1547&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1547&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1547&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1547&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1547&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1547&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1547&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1547)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1547)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1547)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1547,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1547)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1547)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1547)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1547)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1547)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1547)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1547)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1547)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1547)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1547)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1547)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1547)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1547)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1547&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1547)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1547)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1547,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1547&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1547)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1547)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1547&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1547=\"Small Patch\",H1547=\"Matrix\")),'Calculator Table'!$L1547,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1547=\"Small Patch\",'Calculator Table'!$L1547,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1547=\"Matrix\",'Calculator Table'!$L1547,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1547&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1547&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1547&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1547&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1547&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1547&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1547&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1547&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1547&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1547&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1547&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1547&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1547)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1547)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1547)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1547,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1547)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1547)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1547)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1547)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1547)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1547)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1547)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1547)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1547)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1547)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1547)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1547)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1547)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1547&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1547)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1547)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1547,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1547&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1547)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1547)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1547&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1547=\"Small Patch\",K1547=\"Matrix\")),'Calculator Table'!$L1547,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1547=\"Small Patch\",'Calculator Table'!$L1547,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1547=\"Matrix\",'Calculator Table'!$L1547,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1547&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1547&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1547&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1547&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1547&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1547&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1547&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1547&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1547&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1547&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1547&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1547&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1547)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1547)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1547)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1547,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1547)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1547)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1547)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1547)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1547)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1547)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1547)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1547)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1547)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1547)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1547)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1547)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1547)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1547&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1557>0,'Rk Assign'!D1557,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1557>0,Calculate!$AV1557,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1557:$BL1557<>\"U\")*($AQ1557:$BL1557>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1557:$BL1557<>\"U\")*($AQ1557:$BL1557>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1557:$BL1557<>\"U\")*($AQ1557:$BL1557>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1557:$R1557<>\"Z\")*($K1557:$R1557>\"\")*NOT(ISERROR($K1557:$R1557)))+SUM(($K$4:$R$4=\"A\")*($K1557:$R1557<>\"A\")*($K1557:$R1557>\"\")*NOT(ISERROR($K1557:$R1557)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1557:$R1557=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1557:$BL1557=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1557)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1557)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1557,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1557&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1557)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1557)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1557&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1557=\"Small Patch\",E1557=\"Matrix\")),'Calculator Table'!$L1557,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1557=\"Small Patch\",'Calculator Table'!$L1557,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1557=\"Matrix\",'Calculator Table'!$L1557,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1557&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1557&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1557&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1557&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1557&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1557&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1557&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1557&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1557&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1557&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1557&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1557&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1557)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1557)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1557)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1557,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1557)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1557)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1557)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1557)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1557)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1557)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1557)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1557)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1557)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1557)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1557)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1557)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1557)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1557&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1557)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1557)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1557,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1557&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1557)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1557)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1557&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1557=\"Small Patch\",H1557=\"Matrix\")),'Calculator Table'!$L1557,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1557=\"Small Patch\",'Calculator Table'!$L1557,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1557=\"Matrix\",'Calculator Table'!$L1557,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1557&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1557&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1557&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1557&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1557&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1557&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1557&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1557&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1557&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1557&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1557&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1557&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1557)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1557)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1557)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1557,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1557)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1557)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1557)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1557)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1557)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1557)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1557)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1557)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1557)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1557)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1557)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1557)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1557)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1557&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1557)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1557)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1557,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1557&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1557)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1557)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1557&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1557=\"Small Patch\",K1557=\"Matrix\")),'Calculator Table'!$L1557,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1557=\"Small Patch\",'Calculator Table'!$L1557,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1557=\"Matrix\",'Calculator Table'!$L1557,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1557&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1557&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1557&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1557&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1557&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1557&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1557&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1557&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1557&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1557&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1557&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1557&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1557)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1557)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1557)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1557,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1557)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1557)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1557)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1557)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1557)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1557)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1557)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1557)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1557)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1557)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1557)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1557)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1557)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1557&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1564>0,'Rk Assign'!D1564,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1564>0,Calculate!$AV1564,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1564:$BL1564<>\"U\")*($AQ1564:$BL1564>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1564:$BL1564<>\"U\")*($AQ1564:$BL1564>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1564:$BL1564<>\"U\")*($AQ1564:$BL1564>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1564:$R1564<>\"Z\")*($K1564:$R1564>\"\")*NOT(ISERROR($K1564:$R1564)))+SUM(($K$4:$R$4=\"A\")*($K1564:$R1564<>\"A\")*($K1564:$R1564>\"\")*NOT(ISERROR($K1564:$R1564)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1564:$R1564=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1564:$BL1564=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1564)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1564)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1564,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1564&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1564)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1564)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1564&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1564=\"Small Patch\",E1564=\"Matrix\")),'Calculator Table'!$L1564,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1564=\"Small Patch\",'Calculator Table'!$L1564,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1564=\"Matrix\",'Calculator Table'!$L1564,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1564&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1564&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1564&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1564&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1564&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1564&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1564&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1564&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1564&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1564&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1564&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1564&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1564)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1564)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1564)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1564,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1564)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1564)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1564)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1564)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1564)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1564)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1564)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1564)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1564)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1564)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1564)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1564)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1564)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1564&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1564)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1564)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1564,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1564&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1564)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1564)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1564&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1564=\"Small Patch\",H1564=\"Matrix\")),'Calculator Table'!$L1564,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1564=\"Small Patch\",'Calculator Table'!$L1564,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1564=\"Matrix\",'Calculator Table'!$L1564,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1564&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1564&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1564&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1564&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1564&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1564&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1564&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1564&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1564&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1564&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1564&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1564&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1564)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1564)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1564)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1564,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1564)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1564)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1564)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1564)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1564)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1564)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1564)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1564)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1564)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1564)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1564)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1564)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1564)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1564&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1564)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1564)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1564,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1564&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1564)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1564)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1564&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1564=\"Small Patch\",K1564=\"Matrix\")),'Calculator Table'!$L1564,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1564=\"Small Patch\",'Calculator Table'!$L1564,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1564=\"Matrix\",'Calculator Table'!$L1564,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1564&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1564&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1564&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1564&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1564&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1564&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1564&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1564&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1564&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1564&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1564&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1564&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1564)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1564)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1564)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1564,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1564)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1564)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1564)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1564)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1564)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1564)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1564)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1564)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1564)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1564)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1564)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1564)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1564)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1564&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1573>0,'Rk Assign'!D1573,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1573>0,Calculate!$AV1573,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1573:$BL1573<>\"U\")*($AQ1573:$BL1573>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1573:$BL1573<>\"U\")*($AQ1573:$BL1573>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1573:$BL1573<>\"U\")*($AQ1573:$BL1573>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1573:$R1573<>\"Z\")*($K1573:$R1573>\"\")*NOT(ISERROR($K1573:$R1573)))+SUM(($K$4:$R$4=\"A\")*($K1573:$R1573<>\"A\")*($K1573:$R1573>\"\")*NOT(ISERROR($K1573:$R1573)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1573:$R1573=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1573:$BL1573=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1573)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1573)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1573,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1573&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1573)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1573)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1573&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1573=\"Small Patch\",E1573=\"Matrix\")),'Calculator Table'!$L1573,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1573=\"Small Patch\",'Calculator Table'!$L1573,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1573=\"Matrix\",'Calculator Table'!$L1573,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1573&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1573&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1573&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1573&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1573&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1573&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1573&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1573&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1573&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1573&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1573&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1573&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1573)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1573)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1573)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1573,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1573)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1573)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1573)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1573)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1573)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1573)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1573)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1573)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1573)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1573)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1573)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1573)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1573)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1573&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1573)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1573)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1573,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1573&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1573)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1573)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1573&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1573=\"Small Patch\",H1573=\"Matrix\")),'Calculator Table'!$L1573,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1573=\"Small Patch\",'Calculator Table'!$L1573,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1573=\"Matrix\",'Calculator Table'!$L1573,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1573&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1573&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1573&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1573&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1573&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1573&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1573&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1573&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1573&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1573&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1573&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1573&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1573)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1573)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1573)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1573,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1573)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1573)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1573)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1573)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1573)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1573)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1573)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1573)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1573)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1573)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1573)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1573)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1573)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1573&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1573)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1573)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1573,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1573&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1573)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1573)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1573&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1573=\"Small Patch\",K1573=\"Matrix\")),'Calculator Table'!$L1573,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1573=\"Small Patch\",'Calculator Table'!$L1573,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1573=\"Matrix\",'Calculator Table'!$L1573,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1573&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1573&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1573&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1573&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1573&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1573&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1573&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1573&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1573&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1573&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1573&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1573&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1573)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1573)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1573)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1573,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1573)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1573)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1573)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1573)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1573)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1573)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1573)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1573)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1573)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1573)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1573)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1573)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1573)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1573&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1580>0,'Rk Assign'!D1580,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1580>0,Calculate!$AV1580,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1580:$BL1580<>\"U\")*($AQ1580:$BL1580>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1580:$BL1580<>\"U\")*($AQ1580:$BL1580>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1580:$BL1580<>\"U\")*($AQ1580:$BL1580>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1580:$R1580<>\"Z\")*($K1580:$R1580>\"\")*NOT(ISERROR($K1580:$R1580)))+SUM(($K$4:$R$4=\"A\")*($K1580:$R1580<>\"A\")*($K1580:$R1580>\"\")*NOT(ISERROR($K1580:$R1580)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1580:$R1580=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1580:$BL1580=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1580)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1580)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1580,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1580&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1580)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1580)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1580&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1580=\"Small Patch\",E1580=\"Matrix\")),'Calculator Table'!$L1580,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1580=\"Small Patch\",'Calculator Table'!$L1580,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1580=\"Matrix\",'Calculator Table'!$L1580,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1580&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1580&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1580&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1580&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1580&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1580&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1580&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1580&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1580&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1580&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1580&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1580&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1580)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1580)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1580)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1580,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1580)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1580)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1580)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1580)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1580)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1580)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1580)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1580)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1580)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1580)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1580)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1580)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1580)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1580&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1580)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1580)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1580,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1580&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1580)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1580)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1580&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1580=\"Small Patch\",H1580=\"Matrix\")),'Calculator Table'!$L1580,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1580=\"Small Patch\",'Calculator Table'!$L1580,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1580=\"Matrix\",'Calculator Table'!$L1580,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1580&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1580&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1580&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1580&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1580&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1580&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1580&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1580&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1580&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1580&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1580&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1580&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1580)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1580)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1580)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1580,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1580)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1580)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1580)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1580)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1580)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1580)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1580)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1580)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1580)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1580)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1580)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1580)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1580)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1580&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1580)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1580)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1580,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1580&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1580)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1580)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1580&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1580=\"Small Patch\",K1580=\"Matrix\")),'Calculator Table'!$L1580,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1580=\"Small Patch\",'Calculator Table'!$L1580,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1580=\"Matrix\",'Calculator Table'!$L1580,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1580&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1580&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1580&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1580&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1580&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1580&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1580&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1580&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1580&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1580&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1580&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1580&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1580)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1580)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1580)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1580,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1580)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1580)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1580)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1580)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1580)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1580)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1580)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1580)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1580)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1580)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1580)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1580)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1580)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1580&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1582>0,'Rk Assign'!D1582,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1582>0,Calculate!$AV1582,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1582:$BL1582<>\"U\")*($AQ1582:$BL1582>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1582:$BL1582<>\"U\")*($AQ1582:$BL1582>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1582:$BL1582<>\"U\")*($AQ1582:$BL1582>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1582:$R1582<>\"Z\")*($K1582:$R1582>\"\")*NOT(ISERROR($K1582:$R1582)))+SUM(($K$4:$R$4=\"A\")*($K1582:$R1582<>\"A\")*($K1582:$R1582>\"\")*NOT(ISERROR($K1582:$R1582)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1582:$R1582=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1582:$BL1582=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1582)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1582)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1582,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1582&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1582)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1582)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1582&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1582=\"Small Patch\",E1582=\"Matrix\")),'Calculator Table'!$L1582,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1582=\"Small Patch\",'Calculator Table'!$L1582,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1582=\"Matrix\",'Calculator Table'!$L1582,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1582&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1582&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1582&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1582&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1582&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1582&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1582&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1582&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1582&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1582&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1582&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1582&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1582)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1582)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1582)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1582,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1582)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1582)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1582)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1582)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1582)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1582)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1582)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1582)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1582)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1582)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1582)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1582)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1582)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1582&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1582)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1582)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1582,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1582&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1582)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1582)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1582&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1582=\"Small Patch\",H1582=\"Matrix\")),'Calculator Table'!$L1582,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1582=\"Small Patch\",'Calculator Table'!$L1582,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1582=\"Matrix\",'Calculator Table'!$L1582,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1582&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1582&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1582&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1582&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1582&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1582&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1582&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1582&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1582&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1582&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1582&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1582&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1582)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1582)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1582)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1582,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1582)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1582)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1582)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1582)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1582)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1582)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1582)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1582)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1582)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1582)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1582)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1582)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1582)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1582&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1582)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1582)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1582,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1582&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1582)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1582)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1582&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1582=\"Small Patch\",K1582=\"Matrix\")),'Calculator Table'!$L1582,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1582=\"Small Patch\",'Calculator Table'!$L1582,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1582=\"Matrix\",'Calculator Table'!$L1582,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1582&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1582&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1582&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1582&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1582&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1582&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1582&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1582&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1582&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1582&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1582&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1582&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1582)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1582)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1582)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1582,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1582)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1582)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1582)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1582)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1582)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1582)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1582)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1582)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1582)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1582)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1582)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1582)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1582)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1582&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1594>0,'Rk Assign'!D1594,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1594>0,Calculate!$AV1594,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1594:$BL1594<>\"U\")*($AQ1594:$BL1594>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1594:$BL1594<>\"U\")*($AQ1594:$BL1594>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1594:$BL1594<>\"U\")*($AQ1594:$BL1594>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1594:$R1594<>\"Z\")*($K1594:$R1594>\"\")*NOT(ISERROR($K1594:$R1594)))+SUM(($K$4:$R$4=\"A\")*($K1594:$R1594<>\"A\")*($K1594:$R1594>\"\")*NOT(ISERROR($K1594:$R1594)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1594:$R1594=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1594:$BL1594=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1594)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1594)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1594,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1594&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1594)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1594)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1594&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1594=\"Small Patch\",E1594=\"Matrix\")),'Calculator Table'!$L1594,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1594=\"Small Patch\",'Calculator Table'!$L1594,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1594=\"Matrix\",'Calculator Table'!$L1594,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1594&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1594&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1594&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1594&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1594&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1594&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1594&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1594&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1594&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1594&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1594&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1594&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1594)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1594)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1594)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1594,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1594)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1594)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1594)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1594)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1594)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1594)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1594)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1594)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1594)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1594)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1594)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1594)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1594)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1594&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1594)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1594)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1594,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1594&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1594)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1594)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1594&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1594=\"Small Patch\",H1594=\"Matrix\")),'Calculator Table'!$L1594,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1594=\"Small Patch\",'Calculator Table'!$L1594,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1594=\"Matrix\",'Calculator Table'!$L1594,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1594&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1594&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1594&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1594&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1594&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1594&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1594&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1594&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1594&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1594&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1594&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1594&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1594)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1594)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1594)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1594,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1594)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1594)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1594)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1594)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1594)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1594)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1594)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1594)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1594)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1594)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1594)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1594)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1594)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1594&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1594)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1594)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1594,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1594&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1594)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1594)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1594&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1594=\"Small Patch\",K1594=\"Matrix\")),'Calculator Table'!$L1594,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1594=\"Small Patch\",'Calculator Table'!$L1594,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1594=\"Matrix\",'Calculator Table'!$L1594,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1594&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1594&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1594&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1594&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1594&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1594&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1594&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1594&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1594&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1594&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1594&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1594&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1594)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1594)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1594)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1594,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1594)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1594)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1594)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1594)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1594)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1594)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1594)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1594)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1594)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1594)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1594)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1594)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1594)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1594&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1599>0,'Rk Assign'!D1599,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1599>0,Calculate!$AV1599,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1599:$BL1599<>\"U\")*($AQ1599:$BL1599>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1599:$BL1599<>\"U\")*($AQ1599:$BL1599>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1599:$BL1599<>\"U\")*($AQ1599:$BL1599>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1599:$R1599<>\"Z\")*($K1599:$R1599>\"\")*NOT(ISERROR($K1599:$R1599)))+SUM(($K$4:$R$4=\"A\")*($K1599:$R1599<>\"A\")*($K1599:$R1599>\"\")*NOT(ISERROR($K1599:$R1599)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1599:$R1599=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1599:$BL1599=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1599)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1599)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1599,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1599&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1599)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1599)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1599&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1599=\"Small Patch\",E1599=\"Matrix\")),'Calculator Table'!$L1599,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1599=\"Small Patch\",'Calculator Table'!$L1599,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1599=\"Matrix\",'Calculator Table'!$L1599,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1599&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1599&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1599&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1599&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1599&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1599&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1599&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1599&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1599&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1599&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1599&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1599&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1599)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1599)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1599)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1599,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1599)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1599)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1599)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1599)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1599)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1599)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1599)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1599)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1599)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1599)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1599)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1599)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1599)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1599&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1599)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1599)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1599,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1599&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1599)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1599)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1599&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1599=\"Small Patch\",H1599=\"Matrix\")),'Calculator Table'!$L1599,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1599=\"Small Patch\",'Calculator Table'!$L1599,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1599=\"Matrix\",'Calculator Table'!$L1599,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1599&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1599&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1599&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1599&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1599&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1599&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1599&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1599&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1599&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1599&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1599&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1599&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1599)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1599)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1599)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1599,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1599)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1599)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1599)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1599)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1599)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1599)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1599)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1599)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1599)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1599)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1599)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1599)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1599)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1599&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1599)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1599)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1599,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1599&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1599)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1599)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1599&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1599=\"Small Patch\",K1599=\"Matrix\")),'Calculator Table'!$L1599,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1599=\"Small Patch\",'Calculator Table'!$L1599,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1599=\"Matrix\",'Calculator Table'!$L1599,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1599&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1599&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1599&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1599&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1599&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1599&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1599&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1599&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1599&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1599&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1599&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1599&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1599)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1599)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1599)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1599,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1599)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1599)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1599)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1599)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1599)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1599)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1599)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1599)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1599)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1599)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1599)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1599)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1599)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1599&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1608>0,'Rk Assign'!D1608,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1608>0,Calculate!$AV1608,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1608:$BL1608<>\"U\")*($AQ1608:$BL1608>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1608:$BL1608<>\"U\")*($AQ1608:$BL1608>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1608:$BL1608<>\"U\")*($AQ1608:$BL1608>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1608:$R1608<>\"Z\")*($K1608:$R1608>\"\")*NOT(ISERROR($K1608:$R1608)))+SUM(($K$4:$R$4=\"A\")*($K1608:$R1608<>\"A\")*($K1608:$R1608>\"\")*NOT(ISERROR($K1608:$R1608)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1608:$R1608=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1608:$BL1608=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1608)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1608)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1608,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1608&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1608)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1608)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1608&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1608=\"Small Patch\",E1608=\"Matrix\")),'Calculator Table'!$L1608,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1608=\"Small Patch\",'Calculator Table'!$L1608,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1608=\"Matrix\",'Calculator Table'!$L1608,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1608&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1608&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1608&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1608&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1608&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1608&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1608&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1608&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1608&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1608&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1608&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1608&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1608)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1608)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1608)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1608,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1608)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1608)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1608)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1608)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1608)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1608)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1608)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1608)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1608)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1608)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1608)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1608)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1608)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1608&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1608)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1608)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1608,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1608&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1608)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1608)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1608&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1608=\"Small Patch\",H1608=\"Matrix\")),'Calculator Table'!$L1608,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1608=\"Small Patch\",'Calculator Table'!$L1608,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1608=\"Matrix\",'Calculator Table'!$L1608,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1608&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1608&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1608&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1608&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1608&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1608&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1608&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1608&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1608&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1608&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1608&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1608&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1608)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1608)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1608)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1608,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1608)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1608)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1608)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1608)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1608)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1608)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1608)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1608)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1608)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1608)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1608)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1608)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1608)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1608&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1608)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1608)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1608,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1608&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1608)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1608)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1608&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1608=\"Small Patch\",K1608=\"Matrix\")),'Calculator Table'!$L1608,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1608=\"Small Patch\",'Calculator Table'!$L1608,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1608=\"Matrix\",'Calculator Table'!$L1608,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1608&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1608&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1608&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1608&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1608&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1608&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1608&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1608&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1608&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1608&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1608&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1608&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1608)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1608)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1608)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1608,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1608)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1608)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1608)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1608)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1608)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1608)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1608)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1608)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1608)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1608)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1608)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1608)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1608)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1608&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1616>0,'Rk Assign'!D1616,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1616>0,Calculate!$AV1616,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1616:$BL1616<>\"U\")*($AQ1616:$BL1616>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1616:$BL1616<>\"U\")*($AQ1616:$BL1616>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1616:$BL1616<>\"U\")*($AQ1616:$BL1616>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1616:$R1616<>\"Z\")*($K1616:$R1616>\"\")*NOT(ISERROR($K1616:$R1616)))+SUM(($K$4:$R$4=\"A\")*($K1616:$R1616<>\"A\")*($K1616:$R1616>\"\")*NOT(ISERROR($K1616:$R1616)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1616:$R1616=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1616:$BL1616=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1616)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1616)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1616,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1616&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1616)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1616)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1616&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1616=\"Small Patch\",E1616=\"Matrix\")),'Calculator Table'!$L1616,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1616=\"Small Patch\",'Calculator Table'!$L1616,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1616=\"Matrix\",'Calculator Table'!$L1616,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1616&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1616&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1616&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1616&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1616&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1616&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1616&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1616&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1616&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1616&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1616&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1616&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1616)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1616)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1616)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1616,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1616)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1616)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1616)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1616)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1616)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1616)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1616)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1616)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1616)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1616)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1616)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1616)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1616)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1616&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1616)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1616)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1616,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1616&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1616)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1616)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1616&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1616=\"Small Patch\",H1616=\"Matrix\")),'Calculator Table'!$L1616,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1616=\"Small Patch\",'Calculator Table'!$L1616,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1616=\"Matrix\",'Calculator Table'!$L1616,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1616&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1616&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1616&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1616&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1616&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1616&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1616&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1616&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1616&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1616&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1616&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1616&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1616)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1616)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1616)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1616,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1616)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1616)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1616)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1616)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1616)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1616)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1616)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1616)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1616)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1616)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1616)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1616)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1616)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1616&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1616)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1616)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1616,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1616&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1616)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1616)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1616&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1616=\"Small Patch\",K1616=\"Matrix\")),'Calculator Table'!$L1616,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1616=\"Small Patch\",'Calculator Table'!$L1616,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1616=\"Matrix\",'Calculator Table'!$L1616,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1616&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1616&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1616&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1616&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1616&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1616&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1616&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1616&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1616&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1616&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1616&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1616&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1616)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1616)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1616)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1616,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1616)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1616)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1616)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1616)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1616)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1616)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1616)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1616)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1616)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1616)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1616)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1616)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1616)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1616&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1622>0,'Rk Assign'!D1622,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1622>0,Calculate!$AV1622,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1622:$BL1622<>\"U\")*($AQ1622:$BL1622>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1622:$BL1622<>\"U\")*($AQ1622:$BL1622>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1622:$BL1622<>\"U\")*($AQ1622:$BL1622>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1622:$R1622<>\"Z\")*($K1622:$R1622>\"\")*NOT(ISERROR($K1622:$R1622)))+SUM(($K$4:$R$4=\"A\")*($K1622:$R1622<>\"A\")*($K1622:$R1622>\"\")*NOT(ISERROR($K1622:$R1622)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1622:$R1622=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1622:$BL1622=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1622)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1622)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1622,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1622&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1622)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1622)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1622&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1622=\"Small Patch\",E1622=\"Matrix\")),'Calculator Table'!$L1622,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1622=\"Small Patch\",'Calculator Table'!$L1622,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1622=\"Matrix\",'Calculator Table'!$L1622,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1622&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1622&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1622&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1622&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1622&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1622&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1622&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1622&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1622&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1622&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1622&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1622&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1622)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1622)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1622)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1622,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1622)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1622)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1622)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1622)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1622)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1622)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1622)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1622)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1622)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1622)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1622)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1622)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1622)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1622&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1622)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1622)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1622,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1622&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1622)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1622)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1622&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1622=\"Small Patch\",H1622=\"Matrix\")),'Calculator Table'!$L1622,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1622=\"Small Patch\",'Calculator Table'!$L1622,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1622=\"Matrix\",'Calculator Table'!$L1622,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1622&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1622&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1622&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1622&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1622&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1622&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1622&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1622&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1622&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1622&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1622&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1622&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1622)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1622)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1622)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1622,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1622)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1622)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1622)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1622)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1622)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1622)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1622)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1622)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1622)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1622)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1622)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1622)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1622)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1622&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1622)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1622)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1622,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1622&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1622)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1622)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1622&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1622=\"Small Patch\",K1622=\"Matrix\")),'Calculator Table'!$L1622,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1622=\"Small Patch\",'Calculator Table'!$L1622,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1622=\"Matrix\",'Calculator Table'!$L1622,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1622&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1622&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1622&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1622&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1622&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1622&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1622&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1622&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1622&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1622&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1622&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1622&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1622)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1622)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1622)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1622,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1622)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1622)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1622)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1622)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1622)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1622)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1622)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1622)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1622)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1622)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1622)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1622)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1622)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1622&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1633>0,'Rk Assign'!D1633,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1633>0,Calculate!$AV1633,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1633:$BL1633<>\"U\")*($AQ1633:$BL1633>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1633:$BL1633<>\"U\")*($AQ1633:$BL1633>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1633:$BL1633<>\"U\")*($AQ1633:$BL1633>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1633:$R1633<>\"Z\")*($K1633:$R1633>\"\")*NOT(ISERROR($K1633:$R1633)))+SUM(($K$4:$R$4=\"A\")*($K1633:$R1633<>\"A\")*($K1633:$R1633>\"\")*NOT(ISERROR($K1633:$R1633)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1633:$R1633=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1633:$BL1633=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1633)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1633)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1633,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1633&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1633)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1633)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1633&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1633=\"Small Patch\",E1633=\"Matrix\")),'Calculator Table'!$L1633,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1633=\"Small Patch\",'Calculator Table'!$L1633,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1633=\"Matrix\",'Calculator Table'!$L1633,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1633&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1633&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1633&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1633&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1633&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1633&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1633&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1633&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1633&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1633&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1633&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1633&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1633)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1633)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1633)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1633,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1633)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1633)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1633)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1633)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1633)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1633)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1633)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1633)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1633)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1633)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1633)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1633)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1633)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1633&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1633)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1633)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1633,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1633&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1633)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1633)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1633&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1633=\"Small Patch\",H1633=\"Matrix\")),'Calculator Table'!$L1633,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1633=\"Small Patch\",'Calculator Table'!$L1633,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1633=\"Matrix\",'Calculator Table'!$L1633,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1633&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1633&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1633&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1633&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1633&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1633&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1633&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1633&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1633&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1633&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1633&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1633&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1633)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1633)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1633)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1633,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1633)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1633)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1633)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1633)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1633)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1633)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1633)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1633)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1633)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1633)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1633)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1633)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1633)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1633&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1633)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1633)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1633,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1633&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1633)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1633)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1633&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1633=\"Small Patch\",K1633=\"Matrix\")),'Calculator Table'!$L1633,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1633=\"Small Patch\",'Calculator Table'!$L1633,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1633=\"Matrix\",'Calculator Table'!$L1633,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1633&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1633&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1633&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1633&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1633&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1633&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1633&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1633&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1633&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1633&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1633&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1633&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1633)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1633)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1633)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1633,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1633)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1633)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1633)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1633)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1633)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1633)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1633)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1633)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1633)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1633)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1633)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1633)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1633)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1633&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1634>0,'Rk Assign'!D1634,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1634>0,Calculate!$AV1634,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1634:$BL1634<>\"U\")*($AQ1634:$BL1634>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1634:$BL1634<>\"U\")*($AQ1634:$BL1634>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1634:$BL1634<>\"U\")*($AQ1634:$BL1634>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1634:$R1634<>\"Z\")*($K1634:$R1634>\"\")*NOT(ISERROR($K1634:$R1634)))+SUM(($K$4:$R$4=\"A\")*($K1634:$R1634<>\"A\")*($K1634:$R1634>\"\")*NOT(ISERROR($K1634:$R1634)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1634:$R1634=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1634:$BL1634=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1634)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1634)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1634,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1634&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1634)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1634)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1634&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1634=\"Small Patch\",E1634=\"Matrix\")),'Calculator Table'!$L1634,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1634=\"Small Patch\",'Calculator Table'!$L1634,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1634=\"Matrix\",'Calculator Table'!$L1634,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1634&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1634&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1634&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1634&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1634&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1634&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1634&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1634&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1634&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1634&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1634&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1634&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1634)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1634)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1634)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1634,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1634)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1634)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1634)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1634)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1634)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1634)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1634)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1634)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1634)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1634)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1634)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1634)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1634)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1634&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1634)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1634)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1634,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1634&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1634)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1634)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1634&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1634=\"Small Patch\",H1634=\"Matrix\")),'Calculator Table'!$L1634,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1634=\"Small Patch\",'Calculator Table'!$L1634,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1634=\"Matrix\",'Calculator Table'!$L1634,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1634&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1634&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1634&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1634&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1634&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1634&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1634&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1634&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1634&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1634&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1634&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1634&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1634)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1634)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1634)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1634,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1634)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1634)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1634)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1634)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1634)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1634)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1634)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1634)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1634)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1634)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1634)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1634)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1634)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1634&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1634)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1634)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1634,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1634&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1634)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1634)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1634&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1634=\"Small Patch\",K1634=\"Matrix\")),'Calculator Table'!$L1634,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1634=\"Small Patch\",'Calculator Table'!$L1634,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1634=\"Matrix\",'Calculator Table'!$L1634,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1634&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1634&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1634&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1634&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1634&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1634&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1634&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1634&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1634&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1634&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1634&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1634&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1634)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1634)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1634)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1634,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1634)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1634)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1634)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1634)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1634)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1634)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1634)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1634)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1634)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1634)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1634)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1634)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1634)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1634&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1645>0,'Rk Assign'!D1645,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1645>0,Calculate!$AV1645,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1645:$BL1645<>\"U\")*($AQ1645:$BL1645>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1645:$BL1645<>\"U\")*($AQ1645:$BL1645>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1645:$BL1645<>\"U\")*($AQ1645:$BL1645>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1645:$R1645<>\"Z\")*($K1645:$R1645>\"\")*NOT(ISERROR($K1645:$R1645)))+SUM(($K$4:$R$4=\"A\")*($K1645:$R1645<>\"A\")*($K1645:$R1645>\"\")*NOT(ISERROR($K1645:$R1645)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1645:$R1645=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1645:$BL1645=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1645)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1645)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1645,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1645&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1645)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1645)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1645&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1645=\"Small Patch\",E1645=\"Matrix\")),'Calculator Table'!$L1645,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1645=\"Small Patch\",'Calculator Table'!$L1645,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1645=\"Matrix\",'Calculator Table'!$L1645,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1645&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1645&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1645&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1645&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1645&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1645&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1645&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1645&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1645&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1645&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1645&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1645&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1645)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1645)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1645)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1645,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1645)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1645)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1645)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1645)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1645)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1645)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1645)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1645)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1645)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1645)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1645)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1645)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1645)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1645&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1645)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1645)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1645,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1645&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1645)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1645)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1645&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1645=\"Small Patch\",H1645=\"Matrix\")),'Calculator Table'!$L1645,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1645=\"Small Patch\",'Calculator Table'!$L1645,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1645=\"Matrix\",'Calculator Table'!$L1645,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1645&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1645&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1645&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1645&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1645&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1645&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1645&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1645&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1645&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1645&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1645&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1645&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1645)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1645)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1645)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1645,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1645)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1645)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1645)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1645)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1645)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1645)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1645)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1645)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1645)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1645)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1645)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1645)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1645)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1645&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1645)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1645)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1645,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1645&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1645)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1645)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1645&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1645=\"Small Patch\",K1645=\"Matrix\")),'Calculator Table'!$L1645,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1645=\"Small Patch\",'Calculator Table'!$L1645,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1645=\"Matrix\",'Calculator Table'!$L1645,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1645&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1645&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1645&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1645&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1645&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1645&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1645&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1645&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1645&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1645&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1645&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1645&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1645)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1645)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1645)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1645,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1645)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1645)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1645)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1645)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1645)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1645)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1645)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1645)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1645)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1645)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1645)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1645)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1645)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1645&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1651>0,'Rk Assign'!D1651,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1651>0,Calculate!$AV1651,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1651:$BL1651<>\"U\")*($AQ1651:$BL1651>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1651:$BL1651<>\"U\")*($AQ1651:$BL1651>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1651:$BL1651<>\"U\")*($AQ1651:$BL1651>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1651:$R1651<>\"Z\")*($K1651:$R1651>\"\")*NOT(ISERROR($K1651:$R1651)))+SUM(($K$4:$R$4=\"A\")*($K1651:$R1651<>\"A\")*($K1651:$R1651>\"\")*NOT(ISERROR($K1651:$R1651)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1651:$R1651=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1651:$BL1651=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1651)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1651)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1651,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1651&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1651)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1651)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1651&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1651=\"Small Patch\",E1651=\"Matrix\")),'Calculator Table'!$L1651,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1651=\"Small Patch\",'Calculator Table'!$L1651,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1651=\"Matrix\",'Calculator Table'!$L1651,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1651&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1651&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1651&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1651&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1651&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1651&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1651&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1651&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1651&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1651&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1651&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1651&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1651)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1651)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1651)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1651,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1651)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1651)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1651)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1651)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1651)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1651)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1651)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1651)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1651)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1651)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1651)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1651)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1651)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1651&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1651)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1651)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1651,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1651&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1651)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1651)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1651&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1651=\"Small Patch\",H1651=\"Matrix\")),'Calculator Table'!$L1651,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1651=\"Small Patch\",'Calculator Table'!$L1651,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1651=\"Matrix\",'Calculator Table'!$L1651,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1651&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1651&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1651&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1651&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1651&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1651&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1651&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1651&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1651&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1651&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1651&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1651&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1651)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1651)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1651)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1651,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1651)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1651)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1651)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1651)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1651)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1651)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1651)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1651)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1651)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1651)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1651)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1651)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1651)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1651&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1651)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1651)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1651,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1651&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1651)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1651)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1651&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1651=\"Small Patch\",K1651=\"Matrix\")),'Calculator Table'!$L1651,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1651=\"Small Patch\",'Calculator Table'!$L1651,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1651=\"Matrix\",'Calculator Table'!$L1651,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1651&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1651&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1651&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1651&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1651&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1651&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1651&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1651&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1651&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1651&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1651&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1651&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1651)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1651)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1651)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1651,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1651)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1651)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1651)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1651)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1651)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1651)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1651)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1651)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1651)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1651)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1651)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1651)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1651)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1651&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1659>0,'Rk Assign'!D1659,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1659>0,Calculate!$AV1659,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1659:$BL1659<>\"U\")*($AQ1659:$BL1659>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1659:$BL1659<>\"U\")*($AQ1659:$BL1659>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1659:$BL1659<>\"U\")*($AQ1659:$BL1659>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1659:$R1659<>\"Z\")*($K1659:$R1659>\"\")*NOT(ISERROR($K1659:$R1659)))+SUM(($K$4:$R$4=\"A\")*($K1659:$R1659<>\"A\")*($K1659:$R1659>\"\")*NOT(ISERROR($K1659:$R1659)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1659:$R1659=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1659:$BL1659=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1659)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1659)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1659,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1659&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1659)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1659)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1659&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1659=\"Small Patch\",E1659=\"Matrix\")),'Calculator Table'!$L1659,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1659=\"Small Patch\",'Calculator Table'!$L1659,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1659=\"Matrix\",'Calculator Table'!$L1659,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1659&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1659&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1659&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1659&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1659&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1659&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1659&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1659&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1659&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1659&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1659&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1659&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1659)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1659)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1659)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1659,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1659)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1659)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1659)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1659)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1659)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1659)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1659)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1659)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1659)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1659)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1659)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1659)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1659)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1659&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1659)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1659)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1659,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1659&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1659)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1659)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1659&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1659=\"Small Patch\",H1659=\"Matrix\")),'Calculator Table'!$L1659,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1659=\"Small Patch\",'Calculator Table'!$L1659,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1659=\"Matrix\",'Calculator Table'!$L1659,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1659&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1659&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1659&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1659&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1659&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1659&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1659&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1659&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1659&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1659&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1659&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1659&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1659)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1659)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1659)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1659,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1659)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1659)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1659)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1659)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1659)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1659)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1659)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1659)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1659)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1659)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1659)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1659)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1659)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1659&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1659)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1659)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1659,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1659&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1659)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1659)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1659&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1659=\"Small Patch\",K1659=\"Matrix\")),'Calculator Table'!$L1659,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1659=\"Small Patch\",'Calculator Table'!$L1659,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1659=\"Matrix\",'Calculator Table'!$L1659,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1659&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1659&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1659&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1659&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1659&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1659&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1659&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1659&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1659&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1659&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1659&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1659&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1659)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1659)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1659)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1659,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1659)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1659)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1659)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1659)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1659)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1659)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1659)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1659)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1659)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1659)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1659)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1659)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1659)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1659&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1668>0,'Rk Assign'!D1668,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1668>0,Calculate!$AV1668,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1668:$BL1668<>\"U\")*($AQ1668:$BL1668>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1668:$BL1668<>\"U\")*($AQ1668:$BL1668>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1668:$BL1668<>\"U\")*($AQ1668:$BL1668>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1668:$R1668<>\"Z\")*($K1668:$R1668>\"\")*NOT(ISERROR($K1668:$R1668)))+SUM(($K$4:$R$4=\"A\")*($K1668:$R1668<>\"A\")*($K1668:$R1668>\"\")*NOT(ISERROR($K1668:$R1668)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1668:$R1668=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1668:$BL1668=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1668)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1668)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1668,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1668&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1668)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1668)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1668&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1668=\"Small Patch\",E1668=\"Matrix\")),'Calculator Table'!$L1668,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1668=\"Small Patch\",'Calculator Table'!$L1668,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1668=\"Matrix\",'Calculator Table'!$L1668,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1668&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1668&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1668&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1668&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1668&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1668&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1668&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1668&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1668&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1668&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1668&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1668&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1668)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1668)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1668)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1668,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1668)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1668)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1668)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1668)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1668)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1668)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1668)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1668)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1668)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1668)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1668)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1668)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1668)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1668&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1668)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1668)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1668,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1668&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1668)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1668)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1668&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1668=\"Small Patch\",H1668=\"Matrix\")),'Calculator Table'!$L1668,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1668=\"Small Patch\",'Calculator Table'!$L1668,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1668=\"Matrix\",'Calculator Table'!$L1668,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1668&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1668&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1668&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1668&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1668&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1668&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1668&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1668&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1668&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1668&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1668&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1668&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1668)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1668)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1668)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1668,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1668)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1668)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1668)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1668)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1668)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1668)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1668)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1668)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1668)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1668)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1668)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1668)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1668)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1668&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1668)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1668)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1668,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1668&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1668)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1668)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1668&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1668=\"Small Patch\",K1668=\"Matrix\")),'Calculator Table'!$L1668,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1668=\"Small Patch\",'Calculator Table'!$L1668,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1668=\"Matrix\",'Calculator Table'!$L1668,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1668&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1668&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1668&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1668&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1668&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1668&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1668&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1668&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1668&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1668&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1668&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1668&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1668)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1668)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1668)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1668,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1668)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1668)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1668)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1668)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1668)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1668)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1668)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1668)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1668)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1668)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1668)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1668)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1668)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1668&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1676>0,'Rk Assign'!D1676,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1676>0,Calculate!$AV1676,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1676:$BL1676<>\"U\")*($AQ1676:$BL1676>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1676:$BL1676<>\"U\")*($AQ1676:$BL1676>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1676:$BL1676<>\"U\")*($AQ1676:$BL1676>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1676:$R1676<>\"Z\")*($K1676:$R1676>\"\")*NOT(ISERROR($K1676:$R1676)))+SUM(($K$4:$R$4=\"A\")*($K1676:$R1676<>\"A\")*($K1676:$R1676>\"\")*NOT(ISERROR($K1676:$R1676)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1676:$R1676=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1676:$BL1676=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1676)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1676)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1676,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1676&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1676)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1676)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1676&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1676=\"Small Patch\",E1676=\"Matrix\")),'Calculator Table'!$L1676,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1676=\"Small Patch\",'Calculator Table'!$L1676,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1676=\"Matrix\",'Calculator Table'!$L1676,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1676&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1676&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1676&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1676&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1676&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1676&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1676&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1676&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1676&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1676&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1676&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1676&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1676)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1676)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1676)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1676,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1676)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1676)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1676)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1676)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1676)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1676)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1676)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1676)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1676)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1676)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1676)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1676)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1676)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1676&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1676)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1676)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1676,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1676&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1676)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1676)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1676&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1676=\"Small Patch\",H1676=\"Matrix\")),'Calculator Table'!$L1676,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1676=\"Small Patch\",'Calculator Table'!$L1676,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1676=\"Matrix\",'Calculator Table'!$L1676,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1676&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1676&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1676&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1676&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1676&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1676&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1676&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1676&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1676&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1676&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1676&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1676&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1676)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1676)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1676)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1676,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1676)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1676)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1676)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1676)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1676)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1676)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1676)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1676)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1676)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1676)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1676)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1676)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1676)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1676&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1676)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1676)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1676,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1676&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1676)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1676)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1676&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1676=\"Small Patch\",K1676=\"Matrix\")),'Calculator Table'!$L1676,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1676=\"Small Patch\",'Calculator Table'!$L1676,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1676=\"Matrix\",'Calculator Table'!$L1676,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1676&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1676&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1676&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1676&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1676&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1676&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1676&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1676&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1676&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1676&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1676&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1676&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1676)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1676)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1676)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1676,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1676)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1676)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1676)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1676)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1676)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1676)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1676)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1676)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1676)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1676)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1676)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1676)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1676)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1676&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1685>0,'Rk Assign'!D1685,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1685>0,Calculate!$AV1685,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1685:$BL1685<>\"U\")*($AQ1685:$BL1685>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1685:$BL1685<>\"U\")*($AQ1685:$BL1685>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1685:$BL1685<>\"U\")*($AQ1685:$BL1685>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1685:$R1685<>\"Z\")*($K1685:$R1685>\"\")*NOT(ISERROR($K1685:$R1685)))+SUM(($K$4:$R$4=\"A\")*($K1685:$R1685<>\"A\")*($K1685:$R1685>\"\")*NOT(ISERROR($K1685:$R1685)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1685:$R1685=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1685:$BL1685=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1685)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1685)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1685,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1685&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1685)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1685)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1685&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1685=\"Small Patch\",E1685=\"Matrix\")),'Calculator Table'!$L1685,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1685=\"Small Patch\",'Calculator Table'!$L1685,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1685=\"Matrix\",'Calculator Table'!$L1685,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1685&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1685&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1685&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1685&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1685&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1685&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1685&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1685&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1685&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1685&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1685&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1685&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1685)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1685)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1685)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1685,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1685)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1685)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1685)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1685)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1685)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1685)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1685)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1685)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1685)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1685)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1685)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1685)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1685)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1685&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1685)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1685)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1685,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1685&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1685)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1685)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1685&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1685=\"Small Patch\",H1685=\"Matrix\")),'Calculator Table'!$L1685,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1685=\"Small Patch\",'Calculator Table'!$L1685,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1685=\"Matrix\",'Calculator Table'!$L1685,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1685&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1685&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1685&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1685&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1685&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1685&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1685&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1685&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1685&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1685&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1685&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1685&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1685)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1685)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1685)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1685,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1685)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1685)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1685)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1685)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1685)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1685)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1685)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1685)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1685)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1685)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1685)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1685)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1685)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1685&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1685)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1685)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1685,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1685&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1685)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1685)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1685&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1685=\"Small Patch\",K1685=\"Matrix\")),'Calculator Table'!$L1685,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1685=\"Small Patch\",'Calculator Table'!$L1685,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1685=\"Matrix\",'Calculator Table'!$L1685,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1685&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1685&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1685&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1685&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1685&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1685&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1685&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1685&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1685&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1685&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1685&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1685&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1685)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1685)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1685)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1685,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1685)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1685)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1685)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1685)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1685)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1685)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1685)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1685)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1685)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1685)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1685)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1685)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1685)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1685&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1690>0,'Rk Assign'!D1690,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1690>0,Calculate!$AV1690,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1690:$BL1690<>\"U\")*($AQ1690:$BL1690>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1690:$BL1690<>\"U\")*($AQ1690:$BL1690>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1690:$BL1690<>\"U\")*($AQ1690:$BL1690>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1690:$R1690<>\"Z\")*($K1690:$R1690>\"\")*NOT(ISERROR($K1690:$R1690)))+SUM(($K$4:$R$4=\"A\")*($K1690:$R1690<>\"A\")*($K1690:$R1690>\"\")*NOT(ISERROR($K1690:$R1690)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1690:$R1690=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1690:$BL1690=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1690)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1690)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1690,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1690&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1690)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1690)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1690&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1690=\"Small Patch\",E1690=\"Matrix\")),'Calculator Table'!$L1690,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1690=\"Small Patch\",'Calculator Table'!$L1690,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1690=\"Matrix\",'Calculator Table'!$L1690,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1690&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1690&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1690&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1690&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1690&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1690&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1690&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1690&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1690&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1690&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1690&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1690&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1690)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1690)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1690)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1690,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1690)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1690)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1690)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1690)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1690)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1690)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1690)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1690)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1690)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1690)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1690)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1690)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1690)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1690&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1690)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1690)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1690,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1690&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1690)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1690)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1690&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1690=\"Small Patch\",H1690=\"Matrix\")),'Calculator Table'!$L1690,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1690=\"Small Patch\",'Calculator Table'!$L1690,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1690=\"Matrix\",'Calculator Table'!$L1690,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1690&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1690&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1690&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1690&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1690&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1690&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1690&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1690&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1690&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1690&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1690&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1690&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1690)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1690)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1690)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1690,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1690)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1690)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1690)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1690)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1690)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1690)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1690)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1690)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1690)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1690)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1690)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1690)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1690)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1690&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1690)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1690)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1690,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1690&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1690)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1690)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1690&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1690=\"Small Patch\",K1690=\"Matrix\")),'Calculator Table'!$L1690,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1690=\"Small Patch\",'Calculator Table'!$L1690,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1690=\"Matrix\",'Calculator Table'!$L1690,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1690&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1690&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1690&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1690&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1690&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1690&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1690&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1690&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1690&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1690&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1690&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1690&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1690)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1690)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1690)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1690,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1690)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1690)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1690)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1690)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1690)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1690)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1690)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1690)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1690)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1690)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1690)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1690)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1690)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1690&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1694>0,'Rk Assign'!D1694,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1694>0,Calculate!$AV1694,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1694:$BL1694<>\"U\")*($AQ1694:$BL1694>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1694:$BL1694<>\"U\")*($AQ1694:$BL1694>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1694:$BL1694<>\"U\")*($AQ1694:$BL1694>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1694:$R1694<>\"Z\")*($K1694:$R1694>\"\")*NOT(ISERROR($K1694:$R1694)))+SUM(($K$4:$R$4=\"A\")*($K1694:$R1694<>\"A\")*($K1694:$R1694>\"\")*NOT(ISERROR($K1694:$R1694)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1694:$R1694=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1694:$BL1694=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1694)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1694)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1694,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1694&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1694)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1694)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1694&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1694=\"Small Patch\",E1694=\"Matrix\")),'Calculator Table'!$L1694,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1694=\"Small Patch\",'Calculator Table'!$L1694,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1694=\"Matrix\",'Calculator Table'!$L1694,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1694&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1694&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1694&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1694&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1694&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1694&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1694&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1694&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1694&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1694&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1694&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1694&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1694)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1694)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1694)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1694,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1694)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1694)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1694)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1694)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1694)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1694)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1694)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1694)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1694)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1694)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1694)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1694)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1694)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1694&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1694)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1694)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1694,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1694&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1694)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1694)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1694&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1694=\"Small Patch\",H1694=\"Matrix\")),'Calculator Table'!$L1694,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1694=\"Small Patch\",'Calculator Table'!$L1694,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1694=\"Matrix\",'Calculator Table'!$L1694,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1694&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1694&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1694&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1694&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1694&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1694&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1694&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1694&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1694&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1694&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1694&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1694&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1694)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1694)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1694)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1694,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1694)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1694)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1694)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1694)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1694)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1694)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1694)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1694)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1694)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1694)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1694)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1694)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1694)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1694&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1694)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1694)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1694,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1694&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1694)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1694)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1694&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1694=\"Small Patch\",K1694=\"Matrix\")),'Calculator Table'!$L1694,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1694=\"Small Patch\",'Calculator Table'!$L1694,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1694=\"Matrix\",'Calculator Table'!$L1694,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1694&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1694&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1694&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1694&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1694&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1694&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1694&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1694&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1694&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1694&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1694&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1694&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1694)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1694)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1694)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1694,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1694)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1694)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1694)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1694)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1694)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1694)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1694)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1694)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1694)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1694)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1694)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1694)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1694)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1694&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1703>0,'Rk Assign'!D1703,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1703>0,Calculate!$AV1703,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1703:$BL1703<>\"U\")*($AQ1703:$BL1703>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1703:$BL1703<>\"U\")*($AQ1703:$BL1703>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1703:$BL1703<>\"U\")*($AQ1703:$BL1703>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1703:$R1703<>\"Z\")*($K1703:$R1703>\"\")*NOT(ISERROR($K1703:$R1703)))+SUM(($K$4:$R$4=\"A\")*($K1703:$R1703<>\"A\")*($K1703:$R1703>\"\")*NOT(ISERROR($K1703:$R1703)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1703:$R1703=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1703:$BL1703=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1703)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1703)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1703,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1703&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1703)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1703)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1703&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1703=\"Small Patch\",E1703=\"Matrix\")),'Calculator Table'!$L1703,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1703=\"Small Patch\",'Calculator Table'!$L1703,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1703=\"Matrix\",'Calculator Table'!$L1703,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1703&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1703&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1703&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1703&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1703&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1703&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1703&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1703&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1703&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1703&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1703&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1703&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1703)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1703)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1703)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1703,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1703)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1703)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1703)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1703)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1703)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1703)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1703)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1703)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1703)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1703)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1703)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1703)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1703)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1703&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1703)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1703)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1703,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1703&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1703)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1703)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1703&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1703=\"Small Patch\",H1703=\"Matrix\")),'Calculator Table'!$L1703,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1703=\"Small Patch\",'Calculator Table'!$L1703,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1703=\"Matrix\",'Calculator Table'!$L1703,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1703&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1703&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1703&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1703&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1703&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1703&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1703&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1703&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1703&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1703&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1703&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1703&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1703)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1703)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1703)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1703,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1703)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1703)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1703)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1703)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1703)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1703)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1703)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1703)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1703)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1703)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1703)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1703)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1703)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1703&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1703)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1703)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1703,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1703&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1703)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1703)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1703&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1703=\"Small Patch\",K1703=\"Matrix\")),'Calculator Table'!$L1703,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1703=\"Small Patch\",'Calculator Table'!$L1703,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1703=\"Matrix\",'Calculator Table'!$L1703,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1703&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1703&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1703&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1703&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1703&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1703&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1703&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1703&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1703&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1703&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1703&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1703&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1703)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1703)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1703)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1703,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1703)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1703)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1703)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1703)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1703)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1703)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1703)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1703)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1703)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1703)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1703)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1703)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1703)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1703&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1713>0,'Rk Assign'!D1713,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1713>0,Calculate!$AV1713,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1713:$BL1713<>\"U\")*($AQ1713:$BL1713>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1713:$BL1713<>\"U\")*($AQ1713:$BL1713>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1713:$BL1713<>\"U\")*($AQ1713:$BL1713>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1713:$R1713<>\"Z\")*($K1713:$R1713>\"\")*NOT(ISERROR($K1713:$R1713)))+SUM(($K$4:$R$4=\"A\")*($K1713:$R1713<>\"A\")*($K1713:$R1713>\"\")*NOT(ISERROR($K1713:$R1713)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1713:$R1713=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1713:$BL1713=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1713)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1713)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1713,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1713&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1713)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1713)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1713&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1713=\"Small Patch\",E1713=\"Matrix\")),'Calculator Table'!$L1713,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1713=\"Small Patch\",'Calculator Table'!$L1713,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1713=\"Matrix\",'Calculator Table'!$L1713,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1713&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1713&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1713&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1713&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1713&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1713&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1713&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1713&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1713&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1713&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1713&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1713&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1713)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1713)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1713)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1713,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1713)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1713)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1713)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1713)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1713)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1713)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1713)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1713)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1713)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1713)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1713)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1713)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1713)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1713&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1713)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1713)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1713,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1713&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1713)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1713)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1713&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1713=\"Small Patch\",H1713=\"Matrix\")),'Calculator Table'!$L1713,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1713=\"Small Patch\",'Calculator Table'!$L1713,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1713=\"Matrix\",'Calculator Table'!$L1713,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1713&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1713&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1713&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1713&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1713&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1713&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1713&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1713&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1713&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1713&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1713&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1713&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1713)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1713)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1713)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1713,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1713)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1713)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1713)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1713)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1713)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1713)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1713)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1713)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1713)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1713)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1713)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1713)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1713)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1713&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1713)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1713)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1713,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1713&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1713)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1713)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1713&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1713=\"Small Patch\",K1713=\"Matrix\")),'Calculator Table'!$L1713,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1713=\"Small Patch\",'Calculator Table'!$L1713,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1713=\"Matrix\",'Calculator Table'!$L1713,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1713&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1713&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1713&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1713&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1713&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1713&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1713&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1713&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1713&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1713&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1713&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1713&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1713)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1713)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1713)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1713,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1713)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1713)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1713)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1713)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1713)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1713)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1713)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1713)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1713)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1713)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1713)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1713)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1713)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1713&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1720>0,'Rk Assign'!D1720,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1720>0,Calculate!$AV1720,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1720:$BL1720<>\"U\")*($AQ1720:$BL1720>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1720:$BL1720<>\"U\")*($AQ1720:$BL1720>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1720:$BL1720<>\"U\")*($AQ1720:$BL1720>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1720:$R1720<>\"Z\")*($K1720:$R1720>\"\")*NOT(ISERROR($K1720:$R1720)))+SUM(($K$4:$R$4=\"A\")*($K1720:$R1720<>\"A\")*($K1720:$R1720>\"\")*NOT(ISERROR($K1720:$R1720)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1720:$R1720=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1720:$BL1720=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1720)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1720)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1720,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1720&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1720)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1720)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1720&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1720=\"Small Patch\",E1720=\"Matrix\")),'Calculator Table'!$L1720,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1720=\"Small Patch\",'Calculator Table'!$L1720,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1720=\"Matrix\",'Calculator Table'!$L1720,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1720&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1720&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1720&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1720&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1720&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1720&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1720&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1720&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1720&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1720&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1720&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1720&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1720)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1720)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1720)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1720,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1720)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1720)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1720)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1720)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1720)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1720)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1720)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1720)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1720)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1720)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1720)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1720)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1720)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1720&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1720)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1720)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1720,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1720&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1720)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1720)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1720&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1720=\"Small Patch\",H1720=\"Matrix\")),'Calculator Table'!$L1720,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1720=\"Small Patch\",'Calculator Table'!$L1720,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1720=\"Matrix\",'Calculator Table'!$L1720,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1720&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1720&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1720&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1720&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1720&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1720&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1720&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1720&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1720&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1720&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1720&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1720&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1720)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1720)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1720)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1720,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1720)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1720)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1720)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1720)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1720)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1720)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1720)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1720)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1720)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1720)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1720)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1720)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1720)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1720&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1720)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1720)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1720,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1720&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1720)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1720)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1720&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1720=\"Small Patch\",K1720=\"Matrix\")),'Calculator Table'!$L1720,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1720=\"Small Patch\",'Calculator Table'!$L1720,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1720=\"Matrix\",'Calculator Table'!$L1720,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1720&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1720&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1720&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1720&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1720&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1720&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1720&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1720&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1720&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1720&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1720&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1720&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1720)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1720)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1720)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1720,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1720)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1720)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1720)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1720)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1720)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1720)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1720)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1720)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1720)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1720)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1720)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1720)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1720)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1720&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1727>0,'Rk Assign'!D1727,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1727>0,Calculate!$AV1727,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1727:$BL1727<>\"U\")*($AQ1727:$BL1727>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1727:$BL1727<>\"U\")*($AQ1727:$BL1727>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1727:$BL1727<>\"U\")*($AQ1727:$BL1727>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1727:$R1727<>\"Z\")*($K1727:$R1727>\"\")*NOT(ISERROR($K1727:$R1727)))+SUM(($K$4:$R$4=\"A\")*($K1727:$R1727<>\"A\")*($K1727:$R1727>\"\")*NOT(ISERROR($K1727:$R1727)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1727:$R1727=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1727:$BL1727=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1727)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1727)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1727,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1727&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1727)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1727)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1727&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1727=\"Small Patch\",E1727=\"Matrix\")),'Calculator Table'!$L1727,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1727=\"Small Patch\",'Calculator Table'!$L1727,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1727=\"Matrix\",'Calculator Table'!$L1727,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1727&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1727&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1727&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1727&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1727&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1727&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1727&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1727&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1727&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1727&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1727&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1727&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1727)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1727)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1727)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1727,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1727)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1727)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1727)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1727)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1727)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1727)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1727)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1727)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1727)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1727)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1727)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1727)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1727)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1727&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1727)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1727)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1727,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1727&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1727)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1727)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1727&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1727=\"Small Patch\",H1727=\"Matrix\")),'Calculator Table'!$L1727,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1727=\"Small Patch\",'Calculator Table'!$L1727,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1727=\"Matrix\",'Calculator Table'!$L1727,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1727&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1727&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1727&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1727&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1727&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1727&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1727&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1727&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1727&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1727&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1727&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1727&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1727)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1727)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1727)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1727,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1727)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1727)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1727)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1727)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1727)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1727)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1727)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1727)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1727)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1727)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1727)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1727)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1727)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1727&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1727)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1727)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1727,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1727&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1727)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1727)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1727&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1727=\"Small Patch\",K1727=\"Matrix\")),'Calculator Table'!$L1727,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1727=\"Small Patch\",'Calculator Table'!$L1727,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1727=\"Matrix\",'Calculator Table'!$L1727,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1727&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1727&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1727&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1727&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1727&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1727&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1727&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1727&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1727&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1727&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1727&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1727&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1727)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1727)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1727)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1727,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1727)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1727)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1727)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1727)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1727)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1727)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1727)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1727)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1727)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1727)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1727)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1727)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1727)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1727&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1737>0,'Rk Assign'!D1737,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1737>0,Calculate!$AV1737,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1737:$BL1737<>\"U\")*($AQ1737:$BL1737>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1737:$BL1737<>\"U\")*($AQ1737:$BL1737>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1737:$BL1737<>\"U\")*($AQ1737:$BL1737>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1737:$R1737<>\"Z\")*($K1737:$R1737>\"\")*NOT(ISERROR($K1737:$R1737)))+SUM(($K$4:$R$4=\"A\")*($K1737:$R1737<>\"A\")*($K1737:$R1737>\"\")*NOT(ISERROR($K1737:$R1737)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1737:$R1737=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1737:$BL1737=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1737)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1737)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1737,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1737&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1737)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1737)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1737&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1737=\"Small Patch\",E1737=\"Matrix\")),'Calculator Table'!$L1737,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1737=\"Small Patch\",'Calculator Table'!$L1737,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1737=\"Matrix\",'Calculator Table'!$L1737,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1737&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1737&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1737&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1737&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1737&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1737&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1737&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1737&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1737&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1737&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1737&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1737&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1737)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1737)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1737)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1737,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1737)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1737)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1737)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1737)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1737)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1737)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1737)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1737)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1737)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1737)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1737)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1737)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1737)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1737&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1737)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1737)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1737,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1737&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1737)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1737)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1737&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1737=\"Small Patch\",H1737=\"Matrix\")),'Calculator Table'!$L1737,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1737=\"Small Patch\",'Calculator Table'!$L1737,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1737=\"Matrix\",'Calculator Table'!$L1737,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1737&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1737&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1737&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1737&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1737&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1737&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1737&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1737&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1737&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1737&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1737&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1737&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1737)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1737)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1737)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1737,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1737)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1737)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1737)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1737)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1737)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1737)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1737)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1737)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1737)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1737)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1737)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1737)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1737)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1737&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1737)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1737)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1737,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1737&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1737)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1737)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1737&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1737=\"Small Patch\",K1737=\"Matrix\")),'Calculator Table'!$L1737,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1737=\"Small Patch\",'Calculator Table'!$L1737,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1737=\"Matrix\",'Calculator Table'!$L1737,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1737&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1737&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1737&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1737&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1737&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1737&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1737&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1737&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1737&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1737&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1737&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1737&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1737)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1737)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1737)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1737,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1737)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1737)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1737)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1737)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1737)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1737)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1737)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1737)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1737)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1737)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1737)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1737)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1737)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1737&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1741>0,'Rk Assign'!D1741,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1741>0,Calculate!$AV1741,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1741:$BL1741<>\"U\")*($AQ1741:$BL1741>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1741:$BL1741<>\"U\")*($AQ1741:$BL1741>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1741:$BL1741<>\"U\")*($AQ1741:$BL1741>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1741:$R1741<>\"Z\")*($K1741:$R1741>\"\")*NOT(ISERROR($K1741:$R1741)))+SUM(($K$4:$R$4=\"A\")*($K1741:$R1741<>\"A\")*($K1741:$R1741>\"\")*NOT(ISERROR($K1741:$R1741)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1741:$R1741=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1741:$BL1741=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1741)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1741)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1741,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1741&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1741)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1741)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1741&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1741=\"Small Patch\",E1741=\"Matrix\")),'Calculator Table'!$L1741,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1741=\"Small Patch\",'Calculator Table'!$L1741,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1741=\"Matrix\",'Calculator Table'!$L1741,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1741&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1741&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1741&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1741&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1741&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1741&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1741&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1741&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1741&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1741&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1741&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1741&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1741)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1741)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1741)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1741,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1741)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1741)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1741)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1741)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1741)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1741)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1741)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1741)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1741)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1741)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1741)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1741)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1741)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1741&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1741)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1741)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1741,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1741&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1741)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1741)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1741&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1741=\"Small Patch\",H1741=\"Matrix\")),'Calculator Table'!$L1741,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1741=\"Small Patch\",'Calculator Table'!$L1741,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1741=\"Matrix\",'Calculator Table'!$L1741,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1741&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1741&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1741&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1741&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1741&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1741&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1741&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1741&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1741&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1741&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1741&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1741&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1741)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1741)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1741)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1741,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1741)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1741)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1741)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1741)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1741)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1741)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1741)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1741)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1741)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1741)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1741)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1741)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1741)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1741&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1741)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1741)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1741,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1741&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1741)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1741)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1741&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1741=\"Small Patch\",K1741=\"Matrix\")),'Calculator Table'!$L1741,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1741=\"Small Patch\",'Calculator Table'!$L1741,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1741=\"Matrix\",'Calculator Table'!$L1741,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1741&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1741&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1741&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1741&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1741&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1741&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1741&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1741&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1741&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1741&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1741&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1741&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1741)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1741)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1741)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1741,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1741)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1741)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1741)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1741)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1741)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1741)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1741)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1741)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1741)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1741)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1741)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1741)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1741)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1741&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1754>0,'Rk Assign'!D1754,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1754>0,Calculate!$AV1754,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1754:$BL1754<>\"U\")*($AQ1754:$BL1754>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1754:$BL1754<>\"U\")*($AQ1754:$BL1754>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1754:$BL1754<>\"U\")*($AQ1754:$BL1754>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1754:$R1754<>\"Z\")*($K1754:$R1754>\"\")*NOT(ISERROR($K1754:$R1754)))+SUM(($K$4:$R$4=\"A\")*($K1754:$R1754<>\"A\")*($K1754:$R1754>\"\")*NOT(ISERROR($K1754:$R1754)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1754:$R1754=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1754:$BL1754=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1754)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1754)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1754,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1754&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1754)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1754)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1754&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1754=\"Small Patch\",E1754=\"Matrix\")),'Calculator Table'!$L1754,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1754=\"Small Patch\",'Calculator Table'!$L1754,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1754=\"Matrix\",'Calculator Table'!$L1754,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1754&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1754&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1754&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1754&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1754&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1754&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1754&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1754&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1754&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1754&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1754&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1754&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1754)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1754)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1754)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1754,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1754)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1754)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1754)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1754)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1754)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1754)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1754)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1754)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1754)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1754)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1754)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1754)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1754)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1754&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1754)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1754)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1754,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1754&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1754)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1754)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1754&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1754=\"Small Patch\",H1754=\"Matrix\")),'Calculator Table'!$L1754,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1754=\"Small Patch\",'Calculator Table'!$L1754,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1754=\"Matrix\",'Calculator Table'!$L1754,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1754&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1754&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1754&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1754&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1754&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1754&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1754&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1754&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1754&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1754&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1754&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1754&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1754)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1754)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1754)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1754,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1754)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1754)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1754)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1754)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1754)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1754)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1754)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1754)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1754)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1754)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1754)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1754)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1754)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1754&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1754)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1754)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1754,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1754&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1754)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1754)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1754&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1754=\"Small Patch\",K1754=\"Matrix\")),'Calculator Table'!$L1754,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1754=\"Small Patch\",'Calculator Table'!$L1754,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1754=\"Matrix\",'Calculator Table'!$L1754,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1754&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1754&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1754&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1754&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1754&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1754&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1754&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1754&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1754&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1754&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1754&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1754&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1754)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1754)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1754)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1754,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1754)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1754)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1754)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1754)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1754)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1754)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1754)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1754)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1754)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1754)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1754)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1754)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1754)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1754&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1755>0,'Rk Assign'!D1755,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1755>0,Calculate!$AV1755,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1755:$BL1755<>\"U\")*($AQ1755:$BL1755>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1755:$BL1755<>\"U\")*($AQ1755:$BL1755>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1755:$BL1755<>\"U\")*($AQ1755:$BL1755>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1755:$R1755<>\"Z\")*($K1755:$R1755>\"\")*NOT(ISERROR($K1755:$R1755)))+SUM(($K$4:$R$4=\"A\")*($K1755:$R1755<>\"A\")*($K1755:$R1755>\"\")*NOT(ISERROR($K1755:$R1755)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1755:$R1755=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1755:$BL1755=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1755)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1755)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1755,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1755&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1755)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1755)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1755&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1755=\"Small Patch\",E1755=\"Matrix\")),'Calculator Table'!$L1755,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1755=\"Small Patch\",'Calculator Table'!$L1755,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1755=\"Matrix\",'Calculator Table'!$L1755,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1755&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1755&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1755&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1755&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1755&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1755&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1755&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1755&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1755&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1755&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1755&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1755&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1755)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1755)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1755)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1755,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1755)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1755)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1755)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1755)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1755)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1755)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1755)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1755)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1755)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1755)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1755)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1755)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1755)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1755&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1755)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1755)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1755,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1755&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1755)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1755)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1755&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1755=\"Small Patch\",H1755=\"Matrix\")),'Calculator Table'!$L1755,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1755=\"Small Patch\",'Calculator Table'!$L1755,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1755=\"Matrix\",'Calculator Table'!$L1755,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1755&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1755&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1755&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1755&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1755&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1755&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1755&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1755&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1755&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1755&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1755&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1755&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1755)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1755)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1755)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1755,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1755)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1755)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1755)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1755)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1755)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1755)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1755)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1755)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1755)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1755)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1755)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1755)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1755)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1755&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1755)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1755)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1755,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1755&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1755)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1755)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1755&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1755=\"Small Patch\",K1755=\"Matrix\")),'Calculator Table'!$L1755,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1755=\"Small Patch\",'Calculator Table'!$L1755,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1755=\"Matrix\",'Calculator Table'!$L1755,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1755&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1755&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1755&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1755&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1755&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1755&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1755&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1755&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1755&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1755&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1755&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1755&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1755)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1755)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1755)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1755,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1755)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1755)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1755)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1755)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1755)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1755)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1755)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1755)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1755)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1755)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1755)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1755)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1755)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1755&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1764>0,'Rk Assign'!D1764,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1764>0,Calculate!$AV1764,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1764:$BL1764<>\"U\")*($AQ1764:$BL1764>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1764:$BL1764<>\"U\")*($AQ1764:$BL1764>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1764:$BL1764<>\"U\")*($AQ1764:$BL1764>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1764:$R1764<>\"Z\")*($K1764:$R1764>\"\")*NOT(ISERROR($K1764:$R1764)))+SUM(($K$4:$R$4=\"A\")*($K1764:$R1764<>\"A\")*($K1764:$R1764>\"\")*NOT(ISERROR($K1764:$R1764)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1764:$R1764=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1764:$BL1764=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1764)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1764)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1764,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1764&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1764)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1764)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1764&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1764=\"Small Patch\",E1764=\"Matrix\")),'Calculator Table'!$L1764,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1764=\"Small Patch\",'Calculator Table'!$L1764,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1764=\"Matrix\",'Calculator Table'!$L1764,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1764&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1764&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1764&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1764&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1764&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1764&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1764&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1764&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1764&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1764&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1764&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1764&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1764)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1764)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1764)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1764,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1764)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1764)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1764)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1764)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1764)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1764)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1764)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1764)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1764)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1764)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1764)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1764)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1764)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1764&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1764)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1764)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1764,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1764&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1764)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1764)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1764&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1764=\"Small Patch\",H1764=\"Matrix\")),'Calculator Table'!$L1764,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1764=\"Small Patch\",'Calculator Table'!$L1764,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1764=\"Matrix\",'Calculator Table'!$L1764,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1764&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1764&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1764&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1764&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1764&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1764&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1764&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1764&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1764&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1764&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1764&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1764&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1764)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1764)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1764)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1764,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1764)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1764)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1764)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1764)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1764)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1764)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1764)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1764)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1764)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1764)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1764)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1764)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1764)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1764&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1764)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1764)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1764,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1764&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1764)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1764)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1764&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1764=\"Small Patch\",K1764=\"Matrix\")),'Calculator Table'!$L1764,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1764=\"Small Patch\",'Calculator Table'!$L1764,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1764=\"Matrix\",'Calculator Table'!$L1764,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1764&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1764&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1764&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1764&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1764&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1764&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1764&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1764&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1764&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1764&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1764&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1764&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1764)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1764)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1764)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1764,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1764)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1764)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1764)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1764)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1764)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1764)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1764)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1764)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1764)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1764)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1764)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1764)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1764)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1764&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1772>0,'Rk Assign'!D1772,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1772>0,Calculate!$AV1772,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1772:$BL1772<>\"U\")*($AQ1772:$BL1772>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1772:$BL1772<>\"U\")*($AQ1772:$BL1772>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1772:$BL1772<>\"U\")*($AQ1772:$BL1772>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1772:$R1772<>\"Z\")*($K1772:$R1772>\"\")*NOT(ISERROR($K1772:$R1772)))+SUM(($K$4:$R$4=\"A\")*($K1772:$R1772<>\"A\")*($K1772:$R1772>\"\")*NOT(ISERROR($K1772:$R1772)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1772:$R1772=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1772:$BL1772=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1772)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1772)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1772,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1772&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1772)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1772)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1772&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1772=\"Small Patch\",E1772=\"Matrix\")),'Calculator Table'!$L1772,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1772=\"Small Patch\",'Calculator Table'!$L1772,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1772=\"Matrix\",'Calculator Table'!$L1772,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1772&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1772&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1772&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1772&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1772&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1772&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1772&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1772&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1772&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1772&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1772&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1772&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1772)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1772)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1772)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1772,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1772)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1772)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1772)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1772)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1772)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1772)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1772)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1772)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1772)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1772)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1772)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1772)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1772)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1772&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1772)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1772)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1772,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1772&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1772)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1772)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1772&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1772=\"Small Patch\",H1772=\"Matrix\")),'Calculator Table'!$L1772,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1772=\"Small Patch\",'Calculator Table'!$L1772,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1772=\"Matrix\",'Calculator Table'!$L1772,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1772&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1772&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1772&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1772&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1772&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1772&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1772&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1772&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1772&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1772&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1772&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1772&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1772)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1772)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1772)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1772,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1772)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1772)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1772)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1772)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1772)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1772)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1772)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1772)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1772)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1772)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1772)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1772)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1772)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1772&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1772)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1772)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1772,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1772&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1772)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1772)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1772&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1772=\"Small Patch\",K1772=\"Matrix\")),'Calculator Table'!$L1772,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1772=\"Small Patch\",'Calculator Table'!$L1772,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1772=\"Matrix\",'Calculator Table'!$L1772,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1772&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1772&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1772&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1772&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1772&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1772&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1772&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1772&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1772&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1772&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1772&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1772&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1772)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1772)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1772)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1772,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1772)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1772)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1772)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1772)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1772)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1772)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1772)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1772)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1772)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1772)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1772)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1772)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1772)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1772&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1778>0,'Rk Assign'!D1778,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1778>0,Calculate!$AV1778,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1778:$BL1778<>\"U\")*($AQ1778:$BL1778>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1778:$BL1778<>\"U\")*($AQ1778:$BL1778>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1778:$BL1778<>\"U\")*($AQ1778:$BL1778>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1778:$R1778<>\"Z\")*($K1778:$R1778>\"\")*NOT(ISERROR($K1778:$R1778)))+SUM(($K$4:$R$4=\"A\")*($K1778:$R1778<>\"A\")*($K1778:$R1778>\"\")*NOT(ISERROR($K1778:$R1778)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1778:$R1778=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1778:$BL1778=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1778)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1778)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1778,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1778&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1778)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1778)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1778&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1778=\"Small Patch\",E1778=\"Matrix\")),'Calculator Table'!$L1778,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1778=\"Small Patch\",'Calculator Table'!$L1778,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1778=\"Matrix\",'Calculator Table'!$L1778,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1778&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1778&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1778&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1778&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1778&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1778&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1778&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1778&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1778&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1778&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1778&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1778&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1778)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1778)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1778)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1778,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1778)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1778)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1778)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1778)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1778)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1778)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1778)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1778)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1778)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1778)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1778)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1778)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1778)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1778&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1778)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1778)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1778,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1778&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1778)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1778)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1778&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1778=\"Small Patch\",H1778=\"Matrix\")),'Calculator Table'!$L1778,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1778=\"Small Patch\",'Calculator Table'!$L1778,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1778=\"Matrix\",'Calculator Table'!$L1778,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1778&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1778&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1778&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1778&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1778&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1778&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1778&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1778&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1778&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1778&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1778&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1778&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1778)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1778)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1778)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1778,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1778)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1778)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1778)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1778)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1778)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1778)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1778)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1778)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1778)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1778)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1778)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1778)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1778)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1778&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1778)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1778)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1778,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1778&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1778)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1778)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1778&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1778=\"Small Patch\",K1778=\"Matrix\")),'Calculator Table'!$L1778,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1778=\"Small Patch\",'Calculator Table'!$L1778,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1778=\"Matrix\",'Calculator Table'!$L1778,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1778&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1778&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1778&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1778&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1778&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1778&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1778&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1778&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1778&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1778&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1778&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1778&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1778)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1778)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1778)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1778,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1778)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1778)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1778)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1778)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1778)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1778)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1778)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1778)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1778)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1778)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1778)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1778)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1778)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1778&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1789>0,'Rk Assign'!D1789,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1789>0,Calculate!$AV1789,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1789:$BL1789<>\"U\")*($AQ1789:$BL1789>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1789:$BL1789<>\"U\")*($AQ1789:$BL1789>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1789:$BL1789<>\"U\")*($AQ1789:$BL1789>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1789:$R1789<>\"Z\")*($K1789:$R1789>\"\")*NOT(ISERROR($K1789:$R1789)))+SUM(($K$4:$R$4=\"A\")*($K1789:$R1789<>\"A\")*($K1789:$R1789>\"\")*NOT(ISERROR($K1789:$R1789)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1789:$R1789=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1789:$BL1789=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1789)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1789)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1789,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1789&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1789)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1789)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1789&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1789=\"Small Patch\",E1789=\"Matrix\")),'Calculator Table'!$L1789,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1789=\"Small Patch\",'Calculator Table'!$L1789,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1789=\"Matrix\",'Calculator Table'!$L1789,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1789&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1789&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1789&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1789&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1789&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1789&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1789&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1789&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1789&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1789&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1789&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1789&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1789)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1789)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1789)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1789,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1789)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1789)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1789)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1789)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1789)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1789)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1789)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1789)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1789)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1789)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1789)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1789)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1789)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1789&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1789)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1789)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1789,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1789&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1789)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1789)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1789&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1789=\"Small Patch\",H1789=\"Matrix\")),'Calculator Table'!$L1789,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1789=\"Small Patch\",'Calculator Table'!$L1789,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1789=\"Matrix\",'Calculator Table'!$L1789,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1789&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1789&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1789&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1789&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1789&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1789&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1789&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1789&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1789&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1789&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1789&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1789&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1789)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1789)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1789)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1789,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1789)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1789)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1789)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1789)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1789)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1789)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1789)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1789)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1789)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1789)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1789)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1789)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1789)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1789&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1789)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1789)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1789,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1789&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1789)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1789)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1789&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1789=\"Small Patch\",K1789=\"Matrix\")),'Calculator Table'!$L1789,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1789=\"Small Patch\",'Calculator Table'!$L1789,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1789=\"Matrix\",'Calculator Table'!$L1789,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1789&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1789&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1789&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1789&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1789&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1789&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1789&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1789&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1789&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1789&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1789&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1789&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1789)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1789)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1789)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1789,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1789)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1789)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1789)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1789)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1789)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1789)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1789)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1789)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1789)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1789)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1789)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1789)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1789)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1789&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1795>0,'Rk Assign'!D1795,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1795>0,Calculate!$AV1795,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1795:$BL1795<>\"U\")*($AQ1795:$BL1795>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1795:$BL1795<>\"U\")*($AQ1795:$BL1795>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1795:$BL1795<>\"U\")*($AQ1795:$BL1795>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1795:$R1795<>\"Z\")*($K1795:$R1795>\"\")*NOT(ISERROR($K1795:$R1795)))+SUM(($K$4:$R$4=\"A\")*($K1795:$R1795<>\"A\")*($K1795:$R1795>\"\")*NOT(ISERROR($K1795:$R1795)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1795:$R1795=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1795:$BL1795=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1795)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1795)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1795,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1795&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1795)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1795)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1795&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1795=\"Small Patch\",E1795=\"Matrix\")),'Calculator Table'!$L1795,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1795=\"Small Patch\",'Calculator Table'!$L1795,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1795=\"Matrix\",'Calculator Table'!$L1795,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1795&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1795&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1795&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1795&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1795&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1795&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1795&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1795&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1795&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1795&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1795&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1795&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1795)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1795)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1795)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1795,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1795)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1795)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1795)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1795)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1795)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1795)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1795)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1795)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1795)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1795)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1795)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1795)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1795)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1795&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1795)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1795)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1795,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1795&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1795)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1795)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1795&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1795=\"Small Patch\",H1795=\"Matrix\")),'Calculator Table'!$L1795,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1795=\"Small Patch\",'Calculator Table'!$L1795,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1795=\"Matrix\",'Calculator Table'!$L1795,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1795&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1795&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1795&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1795&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1795&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1795&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1795&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1795&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1795&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1795&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1795&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1795&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1795)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1795)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1795)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1795,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1795)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1795)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1795)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1795)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1795)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1795)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1795)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1795)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1795)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1795)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1795)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1795)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1795)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1795&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1795)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1795)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1795,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1795&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1795)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1795)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1795&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1795=\"Small Patch\",K1795=\"Matrix\")),'Calculator Table'!$L1795,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1795=\"Small Patch\",'Calculator Table'!$L1795,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1795=\"Matrix\",'Calculator Table'!$L1795,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1795&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1795&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1795&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1795&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1795&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1795&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1795&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1795&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1795&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1795&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1795&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1795&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1795)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1795)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1795)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1795,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1795)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1795)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1795)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1795)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1795)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1795)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1795)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1795)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1795)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1795)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1795)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1795)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1795)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1795&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1806>0,'Rk Assign'!D1806,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1806>0,Calculate!$AV1806,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1806:$BL1806<>\"U\")*($AQ1806:$BL1806>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1806:$BL1806<>\"U\")*($AQ1806:$BL1806>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1806:$BL1806<>\"U\")*($AQ1806:$BL1806>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1806:$R1806<>\"Z\")*($K1806:$R1806>\"\")*NOT(ISERROR($K1806:$R1806)))+SUM(($K$4:$R$4=\"A\")*($K1806:$R1806<>\"A\")*($K1806:$R1806>\"\")*NOT(ISERROR($K1806:$R1806)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1806:$R1806=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1806:$BL1806=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1806)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1806)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1806,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1806&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1806)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1806)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1806&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1806=\"Small Patch\",E1806=\"Matrix\")),'Calculator Table'!$L1806,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1806=\"Small Patch\",'Calculator Table'!$L1806,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1806=\"Matrix\",'Calculator Table'!$L1806,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1806&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1806&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1806&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1806&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1806&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1806&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1806&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1806&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1806&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1806&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1806&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1806&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1806)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1806)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1806)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1806,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1806)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1806)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1806)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1806)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1806)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1806)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1806)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1806)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1806)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1806)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1806)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1806)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1806)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1806&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1806)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1806)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1806,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1806&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1806)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1806)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1806&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1806=\"Small Patch\",H1806=\"Matrix\")),'Calculator Table'!$L1806,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1806=\"Small Patch\",'Calculator Table'!$L1806,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1806=\"Matrix\",'Calculator Table'!$L1806,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1806&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1806&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1806&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1806&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1806&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1806&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1806&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1806&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1806&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1806&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1806&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1806&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1806)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1806)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1806)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1806,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1806)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1806)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1806)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1806)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1806)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1806)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1806)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1806)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1806)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1806)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1806)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1806)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1806)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1806&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1806)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1806)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1806,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1806&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1806)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1806)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1806&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1806=\"Small Patch\",K1806=\"Matrix\")),'Calculator Table'!$L1806,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1806=\"Small Patch\",'Calculator Table'!$L1806,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1806=\"Matrix\",'Calculator Table'!$L1806,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1806&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1806&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1806&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1806&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1806&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1806&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1806&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1806&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1806&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1806&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1806&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1806&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1806)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1806)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1806)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1806,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1806)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1806)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1806)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1806)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1806)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1806)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1806)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1806)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1806)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1806)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1806)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1806)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1806)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1806&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1809>0,'Rk Assign'!D1809,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1809>0,Calculate!$AV1809,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1809:$BL1809<>\"U\")*($AQ1809:$BL1809>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1809:$BL1809<>\"U\")*($AQ1809:$BL1809>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1809:$BL1809<>\"U\")*($AQ1809:$BL1809>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1809:$R1809<>\"Z\")*($K1809:$R1809>\"\")*NOT(ISERROR($K1809:$R1809)))+SUM(($K$4:$R$4=\"A\")*($K1809:$R1809<>\"A\")*($K1809:$R1809>\"\")*NOT(ISERROR($K1809:$R1809)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1809:$R1809=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1809:$BL1809=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1809)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1809)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1809,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1809&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1809)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1809)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1809&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1809=\"Small Patch\",E1809=\"Matrix\")),'Calculator Table'!$L1809,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1809=\"Small Patch\",'Calculator Table'!$L1809,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1809=\"Matrix\",'Calculator Table'!$L1809,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1809&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1809&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1809&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1809&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1809&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1809&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1809&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1809&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1809&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1809&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1809&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1809&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1809)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1809)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1809)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1809,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1809)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1809)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1809)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1809)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1809)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1809)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1809)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1809)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1809)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1809)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1809)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1809)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1809)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1809&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1809)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1809)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1809,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1809&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1809)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1809)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1809&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1809=\"Small Patch\",H1809=\"Matrix\")),'Calculator Table'!$L1809,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1809=\"Small Patch\",'Calculator Table'!$L1809,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1809=\"Matrix\",'Calculator Table'!$L1809,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1809&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1809&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1809&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1809&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1809&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1809&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1809&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1809&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1809&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1809&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1809&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1809&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1809)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1809)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1809)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1809,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1809)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1809)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1809)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1809)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1809)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1809)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1809)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1809)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1809)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1809)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1809)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1809)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1809)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1809&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1809)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1809)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1809,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1809&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1809)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1809)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1809&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1809=\"Small Patch\",K1809=\"Matrix\")),'Calculator Table'!$L1809,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1809=\"Small Patch\",'Calculator Table'!$L1809,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1809=\"Matrix\",'Calculator Table'!$L1809,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1809&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1809&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1809&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1809&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1809&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1809&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1809&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1809&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1809&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1809&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1809&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1809&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1809)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1809)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1809)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1809,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1809)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1809)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1809)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1809)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1809)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1809)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1809)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1809)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1809)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1809)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1809)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1809)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1809)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1809&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1815>0,'Rk Assign'!D1815,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1815>0,Calculate!$AV1815,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1815:$BL1815<>\"U\")*($AQ1815:$BL1815>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1815:$BL1815<>\"U\")*($AQ1815:$BL1815>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1815:$BL1815<>\"U\")*($AQ1815:$BL1815>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1815:$R1815<>\"Z\")*($K1815:$R1815>\"\")*NOT(ISERROR($K1815:$R1815)))+SUM(($K$4:$R$4=\"A\")*($K1815:$R1815<>\"A\")*($K1815:$R1815>\"\")*NOT(ISERROR($K1815:$R1815)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1815:$R1815=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1815:$BL1815=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1815)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1815)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1815,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1815&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1815)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1815)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1815&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1815=\"Small Patch\",E1815=\"Matrix\")),'Calculator Table'!$L1815,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1815=\"Small Patch\",'Calculator Table'!$L1815,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1815=\"Matrix\",'Calculator Table'!$L1815,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1815&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1815&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1815&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1815&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1815&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1815&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1815&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1815&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1815&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1815&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1815&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1815&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1815)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1815)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1815)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1815,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1815)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1815)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1815)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1815)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1815)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1815)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1815)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1815)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1815)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1815)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1815)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1815)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1815)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1815&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1815)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1815)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1815,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1815&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1815)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1815)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1815&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1815=\"Small Patch\",H1815=\"Matrix\")),'Calculator Table'!$L1815,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1815=\"Small Patch\",'Calculator Table'!$L1815,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1815=\"Matrix\",'Calculator Table'!$L1815,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1815&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1815&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1815&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1815&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1815&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1815&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1815&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1815&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1815&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1815&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1815&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1815&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1815)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1815)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1815)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1815,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1815)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1815)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1815)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1815)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1815)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1815)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1815)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1815)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1815)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1815)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1815)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1815)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1815)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1815&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1815)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1815)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1815,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1815&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1815)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1815)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1815&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1815=\"Small Patch\",K1815=\"Matrix\")),'Calculator Table'!$L1815,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1815=\"Small Patch\",'Calculator Table'!$L1815,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1815=\"Matrix\",'Calculator Table'!$L1815,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1815&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1815&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1815&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1815&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1815&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1815&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1815&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1815&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1815&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1815&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1815&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1815&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1815)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1815)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1815)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1815,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1815)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1815)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1815)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1815)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1815)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1815)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1815)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1815)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1815)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1815)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1815)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1815)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1815)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1815&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1824>0,'Rk Assign'!D1824,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1824>0,Calculate!$AV1824,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1824:$BL1824<>\"U\")*($AQ1824:$BL1824>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1824:$BL1824<>\"U\")*($AQ1824:$BL1824>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1824:$BL1824<>\"U\")*($AQ1824:$BL1824>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1824:$R1824<>\"Z\")*($K1824:$R1824>\"\")*NOT(ISERROR($K1824:$R1824)))+SUM(($K$4:$R$4=\"A\")*($K1824:$R1824<>\"A\")*($K1824:$R1824>\"\")*NOT(ISERROR($K1824:$R1824)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1824:$R1824=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1824:$BL1824=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1824)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1824)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1824,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1824&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1824)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1824)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1824&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1824=\"Small Patch\",E1824=\"Matrix\")),'Calculator Table'!$L1824,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1824=\"Small Patch\",'Calculator Table'!$L1824,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1824=\"Matrix\",'Calculator Table'!$L1824,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1824&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1824&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1824&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1824&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1824&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1824&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1824&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1824&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1824&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1824&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1824&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1824&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1824)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1824)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1824)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1824,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1824)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1824)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1824)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1824)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1824)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1824)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1824)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1824)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1824)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1824)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1824)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1824)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1824)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1824&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1824)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1824)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1824,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1824&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1824)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1824)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1824&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1824=\"Small Patch\",H1824=\"Matrix\")),'Calculator Table'!$L1824,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1824=\"Small Patch\",'Calculator Table'!$L1824,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1824=\"Matrix\",'Calculator Table'!$L1824,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1824&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1824&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1824&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1824&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1824&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1824&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1824&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1824&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1824&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1824&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1824&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1824&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1824)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1824)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1824)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1824,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1824)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1824)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1824)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1824)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1824)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1824)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1824)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1824)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1824)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1824)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1824)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1824)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1824)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1824&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1824)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1824)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1824,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1824&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1824)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1824)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1824&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1824=\"Small Patch\",K1824=\"Matrix\")),'Calculator Table'!$L1824,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1824=\"Small Patch\",'Calculator Table'!$L1824,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1824=\"Matrix\",'Calculator Table'!$L1824,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1824&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1824&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1824&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1824&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1824&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1824&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1824&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1824&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1824&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1824&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1824&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1824&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1824)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1824)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1824)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1824,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1824)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1824)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1824)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1824)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1824)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1824)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1824)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1824)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1824)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1824)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1824)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1824)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1824)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1824&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1832>0,'Rk Assign'!D1832,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1832>0,Calculate!$AV1832,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1832:$BL1832<>\"U\")*($AQ1832:$BL1832>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1832:$BL1832<>\"U\")*($AQ1832:$BL1832>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1832:$BL1832<>\"U\")*($AQ1832:$BL1832>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1832:$R1832<>\"Z\")*($K1832:$R1832>\"\")*NOT(ISERROR($K1832:$R1832)))+SUM(($K$4:$R$4=\"A\")*($K1832:$R1832<>\"A\")*($K1832:$R1832>\"\")*NOT(ISERROR($K1832:$R1832)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1832:$R1832=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1832:$BL1832=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1832)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1832)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1832,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1832&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1832)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1832)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1832&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1832=\"Small Patch\",E1832=\"Matrix\")),'Calculator Table'!$L1832,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1832=\"Small Patch\",'Calculator Table'!$L1832,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1832=\"Matrix\",'Calculator Table'!$L1832,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1832&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1832&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1832&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1832&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1832&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1832&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1832&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1832&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1832&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1832&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1832&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1832&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1832)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1832)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1832)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1832,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1832)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1832)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1832)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1832)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1832)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1832)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1832)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1832)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1832)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1832)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1832)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1832)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1832)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1832&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1832)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1832)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1832,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1832&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1832)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1832)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1832&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1832=\"Small Patch\",H1832=\"Matrix\")),'Calculator Table'!$L1832,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1832=\"Small Patch\",'Calculator Table'!$L1832,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1832=\"Matrix\",'Calculator Table'!$L1832,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1832&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1832&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1832&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1832&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1832&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1832&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1832&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1832&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1832&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1832&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1832&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1832&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1832)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1832)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1832)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1832,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1832)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1832)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1832)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1832)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1832)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1832)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1832)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1832)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1832)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1832)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1832)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1832)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1832)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1832&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1832)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1832)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1832,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1832&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1832)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1832)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1832&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1832=\"Small Patch\",K1832=\"Matrix\")),'Calculator Table'!$L1832,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1832=\"Small Patch\",'Calculator Table'!$L1832,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1832=\"Matrix\",'Calculator Table'!$L1832,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1832&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1832&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1832&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1832&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1832&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1832&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1832&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1832&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1832&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1832&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1832&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1832&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1832)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1832)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1832)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1832,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1832)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1832)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1832)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1832)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1832)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1832)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1832)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1832)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1832)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1832)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1832)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1832)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1832)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1832&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1841>0,'Rk Assign'!D1841,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1841>0,Calculate!$AV1841,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1841:$BL1841<>\"U\")*($AQ1841:$BL1841>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1841:$BL1841<>\"U\")*($AQ1841:$BL1841>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1841:$BL1841<>\"U\")*($AQ1841:$BL1841>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1841:$R1841<>\"Z\")*($K1841:$R1841>\"\")*NOT(ISERROR($K1841:$R1841)))+SUM(($K$4:$R$4=\"A\")*($K1841:$R1841<>\"A\")*($K1841:$R1841>\"\")*NOT(ISERROR($K1841:$R1841)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1841:$R1841=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1841:$BL1841=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1841)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1841)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1841,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1841&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1841)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1841)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1841&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1841=\"Small Patch\",E1841=\"Matrix\")),'Calculator Table'!$L1841,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1841=\"Small Patch\",'Calculator Table'!$L1841,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1841=\"Matrix\",'Calculator Table'!$L1841,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1841&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1841&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1841&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1841&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1841&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1841&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1841&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1841&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1841&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1841&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1841&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1841&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1841)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1841)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1841)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1841,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1841)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1841)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1841)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1841)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1841)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1841)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1841)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1841)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1841)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1841)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1841)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1841)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1841)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1841&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1841)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1841)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1841,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1841&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1841)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1841)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1841&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1841=\"Small Patch\",H1841=\"Matrix\")),'Calculator Table'!$L1841,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1841=\"Small Patch\",'Calculator Table'!$L1841,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1841=\"Matrix\",'Calculator Table'!$L1841,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1841&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1841&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1841&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1841&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1841&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1841&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1841&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1841&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1841&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1841&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1841&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1841&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1841)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1841)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1841)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1841,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1841)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1841)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1841)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1841)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1841)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1841)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1841)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1841)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1841)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1841)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1841)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1841)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1841)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1841&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1841)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1841)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1841,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1841&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1841)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1841)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1841&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1841=\"Small Patch\",K1841=\"Matrix\")),'Calculator Table'!$L1841,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1841=\"Small Patch\",'Calculator Table'!$L1841,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1841=\"Matrix\",'Calculator Table'!$L1841,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1841&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1841&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1841&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1841&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1841&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1841&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1841&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1841&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1841&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1841&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1841&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1841&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1841)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1841)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1841)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1841,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1841)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1841)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1841)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1841)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1841)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1841)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1841)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1841)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1841)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1841)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1841)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1841)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1841)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1841&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1846>0,'Rk Assign'!D1846,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1846>0,Calculate!$AV1846,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1846:$BL1846<>\"U\")*($AQ1846:$BL1846>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1846:$BL1846<>\"U\")*($AQ1846:$BL1846>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1846:$BL1846<>\"U\")*($AQ1846:$BL1846>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1846:$R1846<>\"Z\")*($K1846:$R1846>\"\")*NOT(ISERROR($K1846:$R1846)))+SUM(($K$4:$R$4=\"A\")*($K1846:$R1846<>\"A\")*($K1846:$R1846>\"\")*NOT(ISERROR($K1846:$R1846)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1846:$R1846=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1846:$BL1846=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1846)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1846)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1846,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1846&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1846)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1846)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1846&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1846=\"Small Patch\",E1846=\"Matrix\")),'Calculator Table'!$L1846,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1846=\"Small Patch\",'Calculator Table'!$L1846,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1846=\"Matrix\",'Calculator Table'!$L1846,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1846&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1846&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1846&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1846&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1846&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1846&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1846&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1846&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1846&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1846&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1846&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1846&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1846)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1846)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1846)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1846,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1846)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1846)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1846)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1846)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1846)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1846)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1846)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1846)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1846)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1846)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1846)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1846)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1846)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1846&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1846)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1846)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1846,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1846&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1846)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1846)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1846&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1846=\"Small Patch\",H1846=\"Matrix\")),'Calculator Table'!$L1846,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1846=\"Small Patch\",'Calculator Table'!$L1846,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1846=\"Matrix\",'Calculator Table'!$L1846,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1846&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1846&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1846&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1846&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1846&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1846&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1846&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1846&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1846&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1846&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1846&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1846&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1846)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1846)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1846)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1846,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1846)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1846)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1846)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1846)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1846)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1846)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1846)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1846)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1846)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1846)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1846)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1846)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1846)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1846&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1846)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1846)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1846,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1846&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1846)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1846)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1846&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1846=\"Small Patch\",K1846=\"Matrix\")),'Calculator Table'!$L1846,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1846=\"Small Patch\",'Calculator Table'!$L1846,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1846=\"Matrix\",'Calculator Table'!$L1846,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1846&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1846&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1846&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1846&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1846&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1846&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1846&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1846&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1846&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1846&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1846&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1846&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1846)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1846)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1846)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1846,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1846)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1846)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1846)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1846)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1846)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1846)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1846)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1846)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1846)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1846)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1846)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1846)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1846)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1846&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1858>0,'Rk Assign'!D1858,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1858>0,Calculate!$AV1858,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1858:$BL1858<>\"U\")*($AQ1858:$BL1858>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1858:$BL1858<>\"U\")*($AQ1858:$BL1858>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1858:$BL1858<>\"U\")*($AQ1858:$BL1858>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1858:$R1858<>\"Z\")*($K1858:$R1858>\"\")*NOT(ISERROR($K1858:$R1858)))+SUM(($K$4:$R$4=\"A\")*($K1858:$R1858<>\"A\")*($K1858:$R1858>\"\")*NOT(ISERROR($K1858:$R1858)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1858:$R1858=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1858:$BL1858=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1858)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1858)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1858,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1858&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1858)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1858)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1858&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1858=\"Small Patch\",E1858=\"Matrix\")),'Calculator Table'!$L1858,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1858=\"Small Patch\",'Calculator Table'!$L1858,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1858=\"Matrix\",'Calculator Table'!$L1858,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1858&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1858&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1858&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1858&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1858&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1858&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1858&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1858&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1858&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1858&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1858&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1858&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1858)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1858)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1858)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1858,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1858)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1858)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1858)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1858)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1858)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1858)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1858)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1858)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1858)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1858)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1858)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1858)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1858)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1858&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1858)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1858)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1858,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1858&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1858)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1858)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1858&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1858=\"Small Patch\",H1858=\"Matrix\")),'Calculator Table'!$L1858,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1858=\"Small Patch\",'Calculator Table'!$L1858,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1858=\"Matrix\",'Calculator Table'!$L1858,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1858&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1858&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1858&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1858&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1858&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1858&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1858&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1858&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1858&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1858&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1858&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1858&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1858)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1858)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1858)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1858,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1858)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1858)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1858)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1858)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1858)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1858)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1858)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1858)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1858)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1858)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1858)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1858)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1858)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1858&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1858)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1858)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1858,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1858&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1858)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1858)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1858&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1858=\"Small Patch\",K1858=\"Matrix\")),'Calculator Table'!$L1858,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1858=\"Small Patch\",'Calculator Table'!$L1858,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1858=\"Matrix\",'Calculator Table'!$L1858,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1858&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1858&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1858&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1858&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1858&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1858&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1858&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1858&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1858&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1858&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1858&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1858&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1858)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1858)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1858)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1858,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1858)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1858)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1858)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1858)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1858)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1858)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1858)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1858)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1858)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1858)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1858)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1858)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1858)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1858&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1867>0,'Rk Assign'!D1867,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1867>0,Calculate!$AV1867,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1867:$BL1867<>\"U\")*($AQ1867:$BL1867>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1867:$BL1867<>\"U\")*($AQ1867:$BL1867>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1867:$BL1867<>\"U\")*($AQ1867:$BL1867>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1867:$R1867<>\"Z\")*($K1867:$R1867>\"\")*NOT(ISERROR($K1867:$R1867)))+SUM(($K$4:$R$4=\"A\")*($K1867:$R1867<>\"A\")*($K1867:$R1867>\"\")*NOT(ISERROR($K1867:$R1867)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1867:$R1867=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1867:$BL1867=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1867)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1867)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1867,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1867&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1867)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1867)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1867&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1867=\"Small Patch\",E1867=\"Matrix\")),'Calculator Table'!$L1867,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1867=\"Small Patch\",'Calculator Table'!$L1867,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1867=\"Matrix\",'Calculator Table'!$L1867,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1867&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1867&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1867&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1867&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1867&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1867&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1867&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1867&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1867&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1867&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1867&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1867&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1867)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1867)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1867)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1867,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1867)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1867)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1867)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1867)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1867)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1867)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1867)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1867)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1867)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1867)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1867)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1867)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1867)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1867&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1867)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1867)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1867,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1867&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1867)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1867)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1867&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1867=\"Small Patch\",H1867=\"Matrix\")),'Calculator Table'!$L1867,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1867=\"Small Patch\",'Calculator Table'!$L1867,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1867=\"Matrix\",'Calculator Table'!$L1867,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1867&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1867&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1867&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1867&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1867&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1867&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1867&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1867&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1867&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1867&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1867&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1867&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1867)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1867)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1867)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1867,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1867)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1867)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1867)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1867)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1867)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1867)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1867)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1867)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1867)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1867)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1867)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1867)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1867)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1867&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1867)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1867)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1867,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1867&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1867)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1867)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1867&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1867=\"Small Patch\",K1867=\"Matrix\")),'Calculator Table'!$L1867,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1867=\"Small Patch\",'Calculator Table'!$L1867,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1867=\"Matrix\",'Calculator Table'!$L1867,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1867&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1867&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1867&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1867&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1867&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1867&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1867&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1867&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1867&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1867&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1867&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1867&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1867)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1867)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1867)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1867,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1867)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1867)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1867)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1867)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1867)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1867)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1867)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1867)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1867)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1867)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1867)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1867)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1867)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1867&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1875>0,'Rk Assign'!D1875,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1875>0,Calculate!$AV1875,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1875:$BL1875<>\"U\")*($AQ1875:$BL1875>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1875:$BL1875<>\"U\")*($AQ1875:$BL1875>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1875:$BL1875<>\"U\")*($AQ1875:$BL1875>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1875:$R1875<>\"Z\")*($K1875:$R1875>\"\")*NOT(ISERROR($K1875:$R1875)))+SUM(($K$4:$R$4=\"A\")*($K1875:$R1875<>\"A\")*($K1875:$R1875>\"\")*NOT(ISERROR($K1875:$R1875)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1875:$R1875=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1875:$BL1875=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1875)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1875)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1875,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1875&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1875)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1875)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1875&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1875=\"Small Patch\",E1875=\"Matrix\")),'Calculator Table'!$L1875,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1875=\"Small Patch\",'Calculator Table'!$L1875,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1875=\"Matrix\",'Calculator Table'!$L1875,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1875&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1875&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1875&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1875&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1875&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1875&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1875&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1875&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1875&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1875&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1875&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1875&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1875)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1875)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1875)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1875,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1875)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1875)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1875)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1875)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1875)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1875)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1875)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1875)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1875)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1875)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1875)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1875)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1875)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1875&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1875)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1875)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1875,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1875&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1875)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1875)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1875&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1875=\"Small Patch\",H1875=\"Matrix\")),'Calculator Table'!$L1875,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1875=\"Small Patch\",'Calculator Table'!$L1875,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1875=\"Matrix\",'Calculator Table'!$L1875,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1875&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1875&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1875&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1875&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1875&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1875&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1875&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1875&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1875&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1875&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1875&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1875&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1875)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1875)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1875)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1875,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1875)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1875)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1875)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1875)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1875)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1875)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1875)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1875)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1875)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1875)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1875)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1875)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1875)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1875&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1875)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1875)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1875,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1875&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1875)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1875)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1875&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1875=\"Small Patch\",K1875=\"Matrix\")),'Calculator Table'!$L1875,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1875=\"Small Patch\",'Calculator Table'!$L1875,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1875=\"Matrix\",'Calculator Table'!$L1875,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1875&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1875&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1875&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1875&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1875&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1875&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1875&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1875&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1875&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1875&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1875&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1875&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1875)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1875)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1875)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1875,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1875)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1875)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1875)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1875)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1875)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1875)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1875)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1875)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1875)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1875)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1875)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1875)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1875)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1875&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1881>0,'Rk Assign'!D1881,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1881>0,Calculate!$AV1881,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1881:$BL1881<>\"U\")*($AQ1881:$BL1881>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1881:$BL1881<>\"U\")*($AQ1881:$BL1881>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1881:$BL1881<>\"U\")*($AQ1881:$BL1881>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1881:$R1881<>\"Z\")*($K1881:$R1881>\"\")*NOT(ISERROR($K1881:$R1881)))+SUM(($K$4:$R$4=\"A\")*($K1881:$R1881<>\"A\")*($K1881:$R1881>\"\")*NOT(ISERROR($K1881:$R1881)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1881:$R1881=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1881:$BL1881=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1881)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1881)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1881,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1881&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1881)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1881)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1881&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1881=\"Small Patch\",E1881=\"Matrix\")),'Calculator Table'!$L1881,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1881=\"Small Patch\",'Calculator Table'!$L1881,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1881=\"Matrix\",'Calculator Table'!$L1881,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1881&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1881&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1881&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1881&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1881&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1881&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1881&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1881&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1881&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1881&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1881&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1881&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1881)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1881)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1881)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1881,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1881)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1881)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1881)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1881)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1881)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1881)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1881)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1881)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1881)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1881)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1881)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1881)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1881)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1881&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1881)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1881)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1881,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1881&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1881)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1881)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1881&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1881=\"Small Patch\",H1881=\"Matrix\")),'Calculator Table'!$L1881,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1881=\"Small Patch\",'Calculator Table'!$L1881,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1881=\"Matrix\",'Calculator Table'!$L1881,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1881&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1881&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1881&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1881&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1881&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1881&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1881&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1881&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1881&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1881&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1881&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1881&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1881)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1881)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1881)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1881,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1881)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1881)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1881)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1881)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1881)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1881)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1881)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1881)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1881)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1881)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1881)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1881)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1881)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1881&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1881)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1881)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1881,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1881&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1881)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1881)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1881&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1881=\"Small Patch\",K1881=\"Matrix\")),'Calculator Table'!$L1881,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1881=\"Small Patch\",'Calculator Table'!$L1881,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1881=\"Matrix\",'Calculator Table'!$L1881,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1881&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1881&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1881&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1881&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1881&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1881&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1881&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1881&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1881&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1881&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1881&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1881&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1881)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1881)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1881)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1881,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1881)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1881)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1881)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1881)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1881)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1881)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1881)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1881)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1881)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1881)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1881)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1881)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1881)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1881&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1884>0,'Rk Assign'!D1884,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1884>0,Calculate!$AV1884,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1884:$BL1884<>\"U\")*($AQ1884:$BL1884>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1884:$BL1884<>\"U\")*($AQ1884:$BL1884>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1884:$BL1884<>\"U\")*($AQ1884:$BL1884>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1884:$R1884<>\"Z\")*($K1884:$R1884>\"\")*NOT(ISERROR($K1884:$R1884)))+SUM(($K$4:$R$4=\"A\")*($K1884:$R1884<>\"A\")*($K1884:$R1884>\"\")*NOT(ISERROR($K1884:$R1884)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1884:$R1884=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1884:$BL1884=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1884)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1884)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1884,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1884&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1884)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1884)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1884&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1884=\"Small Patch\",E1884=\"Matrix\")),'Calculator Table'!$L1884,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1884=\"Small Patch\",'Calculator Table'!$L1884,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1884=\"Matrix\",'Calculator Table'!$L1884,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1884&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1884&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1884&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1884&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1884&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1884&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1884&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1884&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1884&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1884&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1884&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1884&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1884)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1884)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1884)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1884,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1884)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1884)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1884)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1884)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1884)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1884)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1884)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1884)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1884)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1884)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1884)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1884)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1884)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1884&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1884)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1884)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1884,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1884&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1884)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1884)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1884&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1884=\"Small Patch\",H1884=\"Matrix\")),'Calculator Table'!$L1884,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1884=\"Small Patch\",'Calculator Table'!$L1884,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1884=\"Matrix\",'Calculator Table'!$L1884,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1884&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1884&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1884&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1884&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1884&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1884&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1884&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1884&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1884&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1884&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1884&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1884&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1884)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1884)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1884)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1884,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1884)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1884)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1884)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1884)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1884)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1884)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1884)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1884)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1884)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1884)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1884)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1884)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1884)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1884&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1884)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1884)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1884,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1884&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1884)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1884)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1884&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1884=\"Small Patch\",K1884=\"Matrix\")),'Calculator Table'!$L1884,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1884=\"Small Patch\",'Calculator Table'!$L1884,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1884=\"Matrix\",'Calculator Table'!$L1884,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1884&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1884&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1884&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1884&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1884&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1884&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1884&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1884&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1884&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1884&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1884&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1884&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1884)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1884)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1884)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1884,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1884)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1884)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1884)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1884)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1884)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1884)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1884)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1884)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1884)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1884)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1884)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1884)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1884)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1884&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1893>0,'Rk Assign'!D1893,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1893>0,Calculate!$AV1893,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1893:$BL1893<>\"U\")*($AQ1893:$BL1893>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1893:$BL1893<>\"U\")*($AQ1893:$BL1893>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1893:$BL1893<>\"U\")*($AQ1893:$BL1893>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1893:$R1893<>\"Z\")*($K1893:$R1893>\"\")*NOT(ISERROR($K1893:$R1893)))+SUM(($K$4:$R$4=\"A\")*($K1893:$R1893<>\"A\")*($K1893:$R1893>\"\")*NOT(ISERROR($K1893:$R1893)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1893:$R1893=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1893:$BL1893=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1893)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1893)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1893,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1893&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1893)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1893)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1893&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1893=\"Small Patch\",E1893=\"Matrix\")),'Calculator Table'!$L1893,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1893=\"Small Patch\",'Calculator Table'!$L1893,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1893=\"Matrix\",'Calculator Table'!$L1893,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1893&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1893&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1893&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1893&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1893&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1893&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1893&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1893&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1893&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1893&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1893&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1893&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1893)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1893)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1893)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1893,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1893)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1893)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1893)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1893)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1893)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1893)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1893)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1893)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1893)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1893)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1893)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1893)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1893)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1893&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1893)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1893)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1893,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1893&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1893)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1893)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1893&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1893=\"Small Patch\",H1893=\"Matrix\")),'Calculator Table'!$L1893,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1893=\"Small Patch\",'Calculator Table'!$L1893,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1893=\"Matrix\",'Calculator Table'!$L1893,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1893&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1893&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1893&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1893&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1893&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1893&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1893&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1893&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1893&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1893&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1893&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1893&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1893)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1893)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1893)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1893,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1893)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1893)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1893)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1893)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1893)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1893)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1893)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1893)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1893)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1893)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1893)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1893)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1893)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1893&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1893)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1893)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1893,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1893&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1893)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1893)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1893&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1893=\"Small Patch\",K1893=\"Matrix\")),'Calculator Table'!$L1893,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1893=\"Small Patch\",'Calculator Table'!$L1893,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1893=\"Matrix\",'Calculator Table'!$L1893,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1893&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1893&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1893&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1893&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1893&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1893&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1893&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1893&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1893&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1893&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1893&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1893&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1893)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1893)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1893)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1893,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1893)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1893)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1893)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1893)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1893)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1893)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1893)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1893)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1893)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1893)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1893)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1893)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1893)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1893&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1904>0,'Rk Assign'!D1904,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1904>0,Calculate!$AV1904,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1904:$BL1904<>\"U\")*($AQ1904:$BL1904>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1904:$BL1904<>\"U\")*($AQ1904:$BL1904>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1904:$BL1904<>\"U\")*($AQ1904:$BL1904>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1904:$R1904<>\"Z\")*($K1904:$R1904>\"\")*NOT(ISERROR($K1904:$R1904)))+SUM(($K$4:$R$4=\"A\")*($K1904:$R1904<>\"A\")*($K1904:$R1904>\"\")*NOT(ISERROR($K1904:$R1904)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1904:$R1904=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1904:$BL1904=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1904)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1904)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1904,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1904&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1904)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1904)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1904&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1904=\"Small Patch\",E1904=\"Matrix\")),'Calculator Table'!$L1904,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1904=\"Small Patch\",'Calculator Table'!$L1904,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1904=\"Matrix\",'Calculator Table'!$L1904,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1904&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1904&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1904&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1904&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1904&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1904&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1904&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1904&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1904&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1904&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1904&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1904&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1904)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1904)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1904)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1904,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1904)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1904)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1904)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1904)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1904)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1904)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1904)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1904)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1904)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1904)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1904)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1904)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1904)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1904&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1904)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1904)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1904,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1904&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1904)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1904)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1904&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1904=\"Small Patch\",H1904=\"Matrix\")),'Calculator Table'!$L1904,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1904=\"Small Patch\",'Calculator Table'!$L1904,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1904=\"Matrix\",'Calculator Table'!$L1904,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1904&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1904&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1904&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1904&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1904&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1904&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1904&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1904&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1904&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1904&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1904&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1904&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1904)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1904)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1904)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1904,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1904)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1904)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1904)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1904)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1904)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1904)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1904)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1904)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1904)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1904)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1904)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1904)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1904)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1904&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1904)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1904)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1904,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1904&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1904)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1904)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1904&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1904=\"Small Patch\",K1904=\"Matrix\")),'Calculator Table'!$L1904,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1904=\"Small Patch\",'Calculator Table'!$L1904,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1904=\"Matrix\",'Calculator Table'!$L1904,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1904&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1904&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1904&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1904&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1904&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1904&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1904&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1904&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1904&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1904&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1904&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1904&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1904)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1904)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1904)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1904,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1904)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1904)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1904)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1904)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1904)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1904)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1904)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1904)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1904)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1904)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1904)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1904)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1904)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1904&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1910>0,'Rk Assign'!D1910,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1910>0,Calculate!$AV1910,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1910:$BL1910<>\"U\")*($AQ1910:$BL1910>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1910:$BL1910<>\"U\")*($AQ1910:$BL1910>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1910:$BL1910<>\"U\")*($AQ1910:$BL1910>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1910:$R1910<>\"Z\")*($K1910:$R1910>\"\")*NOT(ISERROR($K1910:$R1910)))+SUM(($K$4:$R$4=\"A\")*($K1910:$R1910<>\"A\")*($K1910:$R1910>\"\")*NOT(ISERROR($K1910:$R1910)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1910:$R1910=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1910:$BL1910=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1910)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1910)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1910,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1910&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1910)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1910)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1910&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1910=\"Small Patch\",E1910=\"Matrix\")),'Calculator Table'!$L1910,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1910=\"Small Patch\",'Calculator Table'!$L1910,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1910=\"Matrix\",'Calculator Table'!$L1910,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1910&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1910&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1910&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1910&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1910&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1910&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1910&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1910&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1910&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1910&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1910&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1910&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1910)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1910)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1910)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1910,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1910)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1910)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1910)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1910)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1910)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1910)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1910)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1910)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1910)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1910)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1910)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1910)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1910)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1910&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1910)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1910)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1910,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1910&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1910)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1910)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1910&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1910=\"Small Patch\",H1910=\"Matrix\")),'Calculator Table'!$L1910,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1910=\"Small Patch\",'Calculator Table'!$L1910,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1910=\"Matrix\",'Calculator Table'!$L1910,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1910&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1910&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1910&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1910&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1910&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1910&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1910&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1910&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1910&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1910&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1910&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1910&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1910)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1910)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1910)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1910,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1910)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1910)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1910)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1910)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1910)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1910)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1910)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1910)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1910)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1910)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1910)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1910)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1910)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1910&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1910)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1910)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1910,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1910&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1910)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1910)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1910&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1910=\"Small Patch\",K1910=\"Matrix\")),'Calculator Table'!$L1910,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1910=\"Small Patch\",'Calculator Table'!$L1910,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1910=\"Matrix\",'Calculator Table'!$L1910,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1910&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1910&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1910&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1910&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1910&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1910&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1910&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1910&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1910&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1910&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1910&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1910&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1910)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1910)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1910)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1910,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1910)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1910)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1910)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1910)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1910)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1910)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1910)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1910)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1910)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1910)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1910)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1910)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1910)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1910&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1918>0,'Rk Assign'!D1918,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1918>0,Calculate!$AV1918,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1918:$BL1918<>\"U\")*($AQ1918:$BL1918>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1918:$BL1918<>\"U\")*($AQ1918:$BL1918>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1918:$BL1918<>\"U\")*($AQ1918:$BL1918>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1918:$R1918<>\"Z\")*($K1918:$R1918>\"\")*NOT(ISERROR($K1918:$R1918)))+SUM(($K$4:$R$4=\"A\")*($K1918:$R1918<>\"A\")*($K1918:$R1918>\"\")*NOT(ISERROR($K1918:$R1918)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1918:$R1918=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1918:$BL1918=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1918)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1918)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1918,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1918&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1918)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1918)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1918&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1918=\"Small Patch\",E1918=\"Matrix\")),'Calculator Table'!$L1918,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1918=\"Small Patch\",'Calculator Table'!$L1918,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1918=\"Matrix\",'Calculator Table'!$L1918,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1918&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1918&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1918&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1918&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1918&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1918&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1918&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1918&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1918&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1918&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1918&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1918&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1918)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1918)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1918)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1918,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1918)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1918)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1918)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1918)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1918)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1918)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1918)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1918)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1918)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1918)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1918)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1918)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1918)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1918&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1918)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1918)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1918,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1918&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1918)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1918)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1918&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1918=\"Small Patch\",H1918=\"Matrix\")),'Calculator Table'!$L1918,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1918=\"Small Patch\",'Calculator Table'!$L1918,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1918=\"Matrix\",'Calculator Table'!$L1918,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1918&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1918&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1918&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1918&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1918&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1918&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1918&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1918&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1918&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1918&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1918&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1918&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1918)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1918)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1918)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1918,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1918)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1918)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1918)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1918)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1918)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1918)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1918)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1918)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1918)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1918)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1918)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1918)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1918)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1918&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1918)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1918)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1918,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1918&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1918)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1918)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1918&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1918=\"Small Patch\",K1918=\"Matrix\")),'Calculator Table'!$L1918,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1918=\"Small Patch\",'Calculator Table'!$L1918,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1918=\"Matrix\",'Calculator Table'!$L1918,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1918&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1918&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1918&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1918&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1918&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1918&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1918&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1918&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1918&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1918&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1918&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1918&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1918)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1918)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1918)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1918,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1918)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1918)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1918)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1918)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1918)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1918)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1918)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1918)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1918)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1918)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1918)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1918)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1918)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1918&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1927>0,'Rk Assign'!D1927,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1927>0,Calculate!$AV1927,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1927:$BL1927<>\"U\")*($AQ1927:$BL1927>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1927:$BL1927<>\"U\")*($AQ1927:$BL1927>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1927:$BL1927<>\"U\")*($AQ1927:$BL1927>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1927:$R1927<>\"Z\")*($K1927:$R1927>\"\")*NOT(ISERROR($K1927:$R1927)))+SUM(($K$4:$R$4=\"A\")*($K1927:$R1927<>\"A\")*($K1927:$R1927>\"\")*NOT(ISERROR($K1927:$R1927)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1927:$R1927=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1927:$BL1927=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1927)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1927)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1927,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1927&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1927)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1927)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1927&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1927=\"Small Patch\",E1927=\"Matrix\")),'Calculator Table'!$L1927,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1927=\"Small Patch\",'Calculator Table'!$L1927,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1927=\"Matrix\",'Calculator Table'!$L1927,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1927&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1927&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1927&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1927&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1927&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1927&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1927&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1927&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1927&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1927&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1927&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1927&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1927)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1927)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1927)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1927,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1927)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1927)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1927)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1927)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1927)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1927)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1927)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1927)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1927)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1927)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1927)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1927)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1927)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1927&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1927)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1927)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1927,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1927&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1927)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1927)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1927&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1927=\"Small Patch\",H1927=\"Matrix\")),'Calculator Table'!$L1927,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1927=\"Small Patch\",'Calculator Table'!$L1927,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1927=\"Matrix\",'Calculator Table'!$L1927,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1927&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1927&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1927&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1927&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1927&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1927&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1927&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1927&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1927&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1927&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1927&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1927&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1927)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1927)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1927)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1927,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1927)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1927)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1927)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1927)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1927)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1927)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1927)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1927)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1927)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1927)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1927)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1927)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1927)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1927&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1927)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1927)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1927,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1927&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1927)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1927)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1927&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1927=\"Small Patch\",K1927=\"Matrix\")),'Calculator Table'!$L1927,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1927=\"Small Patch\",'Calculator Table'!$L1927,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1927=\"Matrix\",'Calculator Table'!$L1927,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1927&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1927&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1927&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1927&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1927&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1927&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1927&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1927&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1927&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1927&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1927&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1927&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1927)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1927)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1927)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1927,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1927)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1927)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1927)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1927)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1927)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1927)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1927)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1927)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1927)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1927)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1927)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1927)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1927)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1927&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1935>0,'Rk Assign'!D1935,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1935>0,Calculate!$AV1935,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1935:$BL1935<>\"U\")*($AQ1935:$BL1935>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1935:$BL1935<>\"U\")*($AQ1935:$BL1935>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1935:$BL1935<>\"U\")*($AQ1935:$BL1935>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1935:$R1935<>\"Z\")*($K1935:$R1935>\"\")*NOT(ISERROR($K1935:$R1935)))+SUM(($K$4:$R$4=\"A\")*($K1935:$R1935<>\"A\")*($K1935:$R1935>\"\")*NOT(ISERROR($K1935:$R1935)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1935:$R1935=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1935:$BL1935=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1935)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1935)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1935,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1935&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1935)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1935)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1935&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1935=\"Small Patch\",E1935=\"Matrix\")),'Calculator Table'!$L1935,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1935=\"Small Patch\",'Calculator Table'!$L1935,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1935=\"Matrix\",'Calculator Table'!$L1935,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1935&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1935&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1935&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1935&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1935&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1935&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1935&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1935&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1935&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1935&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1935&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1935&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1935)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1935)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1935)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1935,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1935)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1935)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1935)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1935)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1935)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1935)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1935)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1935)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1935)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1935)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1935)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1935)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1935)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1935&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1935)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1935)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1935,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1935&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1935)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1935)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1935&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1935=\"Small Patch\",H1935=\"Matrix\")),'Calculator Table'!$L1935,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1935=\"Small Patch\",'Calculator Table'!$L1935,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1935=\"Matrix\",'Calculator Table'!$L1935,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1935&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1935&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1935&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1935&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1935&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1935&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1935&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1935&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1935&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1935&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1935&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1935&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1935)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1935)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1935)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1935,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1935)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1935)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1935)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1935)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1935)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1935)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1935)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1935)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1935)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1935)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1935)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1935)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1935)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1935&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1935)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1935)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1935,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1935&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1935)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1935)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1935&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1935=\"Small Patch\",K1935=\"Matrix\")),'Calculator Table'!$L1935,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1935=\"Small Patch\",'Calculator Table'!$L1935,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1935=\"Matrix\",'Calculator Table'!$L1935,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1935&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1935&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1935&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1935&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1935&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1935&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1935&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1935&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1935&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1935&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1935&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1935&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1935)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1935)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1935)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1935,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1935)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1935)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1935)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1935)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1935)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1935)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1935)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1935)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1935)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1935)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1935)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1935)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1935)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1935&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1936>0,'Rk Assign'!D1936,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1936>0,Calculate!$AV1936,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1936:$BL1936<>\"U\")*($AQ1936:$BL1936>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1936:$BL1936<>\"U\")*($AQ1936:$BL1936>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1936:$BL1936<>\"U\")*($AQ1936:$BL1936>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1936:$R1936<>\"Z\")*($K1936:$R1936>\"\")*NOT(ISERROR($K1936:$R1936)))+SUM(($K$4:$R$4=\"A\")*($K1936:$R1936<>\"A\")*($K1936:$R1936>\"\")*NOT(ISERROR($K1936:$R1936)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1936:$R1936=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1936:$BL1936=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1936)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1936)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1936,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1936&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1936)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1936)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1936&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1936=\"Small Patch\",E1936=\"Matrix\")),'Calculator Table'!$L1936,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1936=\"Small Patch\",'Calculator Table'!$L1936,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1936=\"Matrix\",'Calculator Table'!$L1936,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1936&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1936&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1936&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1936&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1936&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1936&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1936&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1936&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1936&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1936&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1936&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1936&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1936)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1936)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1936)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1936,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1936)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1936)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1936)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1936)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1936)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1936)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1936)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1936)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1936)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1936)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1936)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1936)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1936)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1936&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1936)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1936)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1936,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1936&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1936)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1936)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1936&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1936=\"Small Patch\",H1936=\"Matrix\")),'Calculator Table'!$L1936,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1936=\"Small Patch\",'Calculator Table'!$L1936,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1936=\"Matrix\",'Calculator Table'!$L1936,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1936&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1936&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1936&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1936&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1936&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1936&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1936&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1936&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1936&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1936&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1936&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1936&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1936)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1936)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1936)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1936,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1936)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1936)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1936)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1936)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1936)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1936)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1936)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1936)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1936)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1936)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1936)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1936)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1936)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1936&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1936)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1936)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1936,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1936&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1936)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1936)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1936&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1936=\"Small Patch\",K1936=\"Matrix\")),'Calculator Table'!$L1936,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1936=\"Small Patch\",'Calculator Table'!$L1936,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1936=\"Matrix\",'Calculator Table'!$L1936,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1936&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1936&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1936&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1936&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1936&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1936&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1936&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1936&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1936&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1936&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1936&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1936&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1936)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1936)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1936)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1936,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1936)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1936)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1936)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1936)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1936)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1936)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1936)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1936)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1936)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1936)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1936)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1936)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1936)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1936&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1945>0,'Rk Assign'!D1945,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1945>0,Calculate!$AV1945,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1945:$BL1945<>\"U\")*($AQ1945:$BL1945>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1945:$BL1945<>\"U\")*($AQ1945:$BL1945>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1945:$BL1945<>\"U\")*($AQ1945:$BL1945>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1945:$R1945<>\"Z\")*($K1945:$R1945>\"\")*NOT(ISERROR($K1945:$R1945)))+SUM(($K$4:$R$4=\"A\")*($K1945:$R1945<>\"A\")*($K1945:$R1945>\"\")*NOT(ISERROR($K1945:$R1945)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1945:$R1945=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1945:$BL1945=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1945)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1945)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1945,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1945&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1945)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1945)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1945&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1945=\"Small Patch\",E1945=\"Matrix\")),'Calculator Table'!$L1945,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1945=\"Small Patch\",'Calculator Table'!$L1945,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1945=\"Matrix\",'Calculator Table'!$L1945,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1945&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1945&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1945&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1945&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1945&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1945&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1945&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1945&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1945&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1945&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1945&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1945&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1945)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1945)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1945)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1945,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1945)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1945)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1945)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1945)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1945)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1945)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1945)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1945)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1945)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1945)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1945)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1945)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1945)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1945&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1945)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1945)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1945,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1945&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1945)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1945)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1945&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1945=\"Small Patch\",H1945=\"Matrix\")),'Calculator Table'!$L1945,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1945=\"Small Patch\",'Calculator Table'!$L1945,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1945=\"Matrix\",'Calculator Table'!$L1945,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1945&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1945&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1945&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1945&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1945&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1945&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1945&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1945&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1945&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1945&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1945&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1945&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1945)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1945)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1945)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1945,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1945)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1945)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1945)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1945)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1945)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1945)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1945)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1945)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1945)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1945)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1945)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1945)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1945)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1945&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1945)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1945)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1945,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1945&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1945)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1945)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1945&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1945=\"Small Patch\",K1945=\"Matrix\")),'Calculator Table'!$L1945,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1945=\"Small Patch\",'Calculator Table'!$L1945,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1945=\"Matrix\",'Calculator Table'!$L1945,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1945&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1945&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1945&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1945&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1945&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1945&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1945&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1945&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1945&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1945&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1945&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1945&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1945)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1945)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1945)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1945,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1945)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1945)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1945)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1945)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1945)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1945)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1945)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1945)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1945)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1945)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1945)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1945)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1945)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1945&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1958>0,'Rk Assign'!D1958,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1958>0,Calculate!$AV1958,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1958:$BL1958<>\"U\")*($AQ1958:$BL1958>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1958:$BL1958<>\"U\")*($AQ1958:$BL1958>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1958:$BL1958<>\"U\")*($AQ1958:$BL1958>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1958:$R1958<>\"Z\")*($K1958:$R1958>\"\")*NOT(ISERROR($K1958:$R1958)))+SUM(($K$4:$R$4=\"A\")*($K1958:$R1958<>\"A\")*($K1958:$R1958>\"\")*NOT(ISERROR($K1958:$R1958)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1958:$R1958=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1958:$BL1958=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1958)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1958)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1958,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1958&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1958)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1958)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1958&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1958=\"Small Patch\",E1958=\"Matrix\")),'Calculator Table'!$L1958,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1958=\"Small Patch\",'Calculator Table'!$L1958,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1958=\"Matrix\",'Calculator Table'!$L1958,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1958&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1958&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1958&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1958&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1958&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1958&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1958&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1958&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1958&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1958&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1958&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1958&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1958)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1958)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1958)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1958,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1958)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1958)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1958)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1958)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1958)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1958)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1958)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1958)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1958)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1958)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1958)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1958)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1958)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1958&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1958)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1958)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1958,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1958&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1958)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1958)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1958&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1958=\"Small Patch\",H1958=\"Matrix\")),'Calculator Table'!$L1958,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1958=\"Small Patch\",'Calculator Table'!$L1958,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1958=\"Matrix\",'Calculator Table'!$L1958,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1958&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1958&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1958&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1958&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1958&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1958&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1958&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1958&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1958&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1958&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1958&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1958&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1958)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1958)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1958)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1958,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1958)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1958)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1958)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1958)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1958)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1958)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1958)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1958)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1958)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1958)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1958)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1958)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1958)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1958&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1958)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1958)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1958,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1958&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1958)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1958)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1958&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1958=\"Small Patch\",K1958=\"Matrix\")),'Calculator Table'!$L1958,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1958=\"Small Patch\",'Calculator Table'!$L1958,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1958=\"Matrix\",'Calculator Table'!$L1958,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1958&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1958&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1958&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1958&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1958&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1958&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1958&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1958&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1958&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1958&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1958&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1958&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1958)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1958)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1958)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1958,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1958)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1958)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1958)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1958)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1958)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1958)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1958)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1958)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1958)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1958)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1958)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1958)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1958)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1958&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1962>0,'Rk Assign'!D1962,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,{"$f":"LEFT(K1962,1)","v":""},{"$f":"RIGHT(K1962,1)","v":""},{"$f":"LEFT(L1962&M1962&N1962,1)","v":""},{"$f":"RIGHT(L1962&M1962&N1962,1)","v":""},{"$f":"LEFT(O1962,1)","v":""},{"$f":"RIGHT(O1962,1)","v":""},{"$f":"LEFT(Q1962,1)","v":""},{"$f":"RIGHT(Q1962,1)","v":""},{"$f":"IF(AND(AS1962>\"\",AS1962<>\"U\",AS1962<>\"0\"),LEFT(R1962,1),\"\")","v":""},{"$f":"IF(AND(AS1962>\"\",AS1962<>\"U\",AS1962<>\"0\"),RIGHT(R1962,1),\"\")","v":""},{"$f":"LEFT(P1962,1)","v":""},{"$f":"RIGHT(P1962,1)","v":""},{"$f":"LEFT(S1962,1)","v":""},{"$f":"RIGHT(S1962,1)","v":""},{"$f":"LEFT(W1962,1)","v":""},{"$f":"RIGHT(W1962,1)","v":""},{"$f":"LEFT(X1962,1)","v":""},{"$f":"RIGHT(X1962,1)","v":""},{"$f":"LEFT(V1962,1)","v":""},{"$f":"RIGHT(V1962,1)","v":""},{"$f":"LEFT(T1962,1)","v":""},{"$f":"RIGHT(T1962,1)","v":""},{"$f":"IF(BS1962>0,Calculate!$AV1962,\"\")","v":""},{"$f":"IF(BS1962>0,BR1962>1,\"\")","v":""},{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1962:$BL1962<>\"U\")*($AQ1962:$BL1962>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1962:$BL1962<>\"U\")*($AQ1962:$BL1962>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1962:$BL1962<>\"U\")*($AQ1962:$BL1962>\"\"))","v":0},{"$f":"COUNTIF(BO1962:BQ1962,\">0\")","v":0},{"$f":"COUNTIF(K1962:V1962,\">''\")","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1962:$R1962<>\"Z\")*($K1962:$R1962>\"\")*NOT(ISERROR($K1962:$R1962)))+SUM(($K$4:$R$4=\"A\")*($K1962:$R1962<>\"A\")*($K1962:$R1962>\"\")*NOT(ISERROR($K1962:$R1962)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1962:$R1962=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1962:$BL1962=\"Z\"))","v":0},{"$f":"IF(AND(BU1962>0,BT1962>0),\"Z-ERROR\",\"\")","v":""}," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1962)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1962)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1962,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1962&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1962)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1962)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1962&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1962=\"Small Patch\",E1962=\"Matrix\")),'Calculator Table'!$L1962,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1962=\"Small Patch\",'Calculator Table'!$L1962,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1962=\"Matrix\",'Calculator Table'!$L1962,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1962&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1962&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1962&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1962&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1962&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1962&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1962&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1962&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1962&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1962&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1962&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1962&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1962)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1962)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1962)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1962,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1962)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1962)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1962)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1962)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1962)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1962)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1962)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1962)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1962)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1962)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1962)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1962)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1962)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1962&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1962)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1962)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1962,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1962&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1962)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1962)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1962&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1962=\"Small Patch\",H1962=\"Matrix\")),'Calculator Table'!$L1962,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1962=\"Small Patch\",'Calculator Table'!$L1962,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1962=\"Matrix\",'Calculator Table'!$L1962,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1962&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1962&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1962&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1962&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1962&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1962&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1962&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1962&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1962&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1962&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1962&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1962&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1962)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1962)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1962)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1962,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1962)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1962)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1962)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1962)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1962)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1962)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1962)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1962)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1962)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1962)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1962)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1962)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1962)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1962&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1962)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1962)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1962,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1962&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1962)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1962)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1962&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1962=\"Small Patch\",K1962=\"Matrix\")),'Calculator Table'!$L1962,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1962=\"Small Patch\",'Calculator Table'!$L1962,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1962=\"Matrix\",'Calculator Table'!$L1962,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1962&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1962&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1962&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1962&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1962&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1962&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1962&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1962&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1962&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1962&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1962&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1962&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1962)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1962)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1962)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1962,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1962)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1962)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1962)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1962)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1962)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1962)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1962)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1962)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1962)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1962)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1962)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1962)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1962)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1962&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1972>0,'Rk Assign'!D1972,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1972>0,Calculate!$AV1972,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1972:$BL1972<>\"U\")*($AQ1972:$BL1972>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1972:$BL1972<>\"U\")*($AQ1972:$BL1972>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1972:$BL1972<>\"U\")*($AQ1972:$BL1972>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1972:$R1972<>\"Z\")*($K1972:$R1972>\"\")*NOT(ISERROR($K1972:$R1972)))+SUM(($K$4:$R$4=\"A\")*($K1972:$R1972<>\"A\")*($K1972:$R1972>\"\")*NOT(ISERROR($K1972:$R1972)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1972:$R1972=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1972:$BL1972=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1972)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1972)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1972,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1972&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1972)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1972)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1972&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1972=\"Small Patch\",E1972=\"Matrix\")),'Calculator Table'!$L1972,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1972=\"Small Patch\",'Calculator Table'!$L1972,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1972=\"Matrix\",'Calculator Table'!$L1972,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1972&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1972&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1972&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1972&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1972&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1972&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1972&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1972&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1972&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1972&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1972&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1972&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1972)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1972)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1972)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1972,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1972)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1972)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1972)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1972)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1972)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1972)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1972)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1972)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1972)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1972)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1972)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1972)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1972)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1972&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1972)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1972)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1972,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1972&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1972)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1972)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1972&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1972=\"Small Patch\",H1972=\"Matrix\")),'Calculator Table'!$L1972,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1972=\"Small Patch\",'Calculator Table'!$L1972,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1972=\"Matrix\",'Calculator Table'!$L1972,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1972&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1972&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1972&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1972&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1972&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1972&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1972&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1972&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1972&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1972&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1972&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1972&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1972)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1972)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1972)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1972,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1972)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1972)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1972)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1972)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1972)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1972)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1972)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1972)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1972)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1972)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1972)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1972)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1972)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1972&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1972)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1972)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1972,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1972&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1972)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1972)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1972&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1972=\"Small Patch\",K1972=\"Matrix\")),'Calculator Table'!$L1972,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1972=\"Small Patch\",'Calculator Table'!$L1972,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1972=\"Matrix\",'Calculator Table'!$L1972,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1972&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1972&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1972&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1972&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1972&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1972&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1972&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1972&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1972&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1972&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1972&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1972&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1972)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1972)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1972)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1972,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1972)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1972)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1972)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1972)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1972)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1972)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1972)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1972)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1972)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1972)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1972)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1972)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1972)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1972&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1979>0,'Rk Assign'!D1979,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1979>0,Calculate!$AV1979,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1979:$BL1979<>\"U\")*($AQ1979:$BL1979>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1979:$BL1979<>\"U\")*($AQ1979:$BL1979>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1979:$BL1979<>\"U\")*($AQ1979:$BL1979>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1979:$R1979<>\"Z\")*($K1979:$R1979>\"\")*NOT(ISERROR($K1979:$R1979)))+SUM(($K$4:$R$4=\"A\")*($K1979:$R1979<>\"A\")*($K1979:$R1979>\"\")*NOT(ISERROR($K1979:$R1979)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1979:$R1979=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1979:$BL1979=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1979)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1979)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1979,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1979&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1979)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1979)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1979&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1979=\"Small Patch\",E1979=\"Matrix\")),'Calculator Table'!$L1979,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1979=\"Small Patch\",'Calculator Table'!$L1979,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1979=\"Matrix\",'Calculator Table'!$L1979,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1979&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1979&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1979&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1979&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1979&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1979&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1979&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1979&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1979&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1979&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1979&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1979&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1979)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1979)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1979)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1979,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1979)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1979)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1979)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1979)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1979)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1979)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1979)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1979)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1979)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1979)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1979)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1979)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1979)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1979&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1979)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1979)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1979,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1979&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1979)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1979)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1979&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1979=\"Small Patch\",H1979=\"Matrix\")),'Calculator Table'!$L1979,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1979=\"Small Patch\",'Calculator Table'!$L1979,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1979=\"Matrix\",'Calculator Table'!$L1979,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1979&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1979&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1979&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1979&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1979&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1979&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1979&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1979&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1979&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1979&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1979&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1979&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1979)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1979)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1979)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1979,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1979)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1979)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1979)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1979)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1979)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1979)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1979)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1979)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1979)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1979)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1979)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1979)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1979)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1979&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1979)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1979)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1979,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1979&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1979)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1979)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1979&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1979=\"Small Patch\",K1979=\"Matrix\")),'Calculator Table'!$L1979,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1979=\"Small Patch\",'Calculator Table'!$L1979,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1979=\"Matrix\",'Calculator Table'!$L1979,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1979&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1979&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1979&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1979&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1979&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1979&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1979&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1979&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1979&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1979&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1979&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1979&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1979)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1979)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1979)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1979,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1979)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1979)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1979)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1979)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1979)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1979)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1979)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1979)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1979)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1979)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1979)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1979)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1979)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1979&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1986>0,'Rk Assign'!D1986,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1986>0,Calculate!$AV1986,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1986:$BL1986<>\"U\")*($AQ1986:$BL1986>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1986:$BL1986<>\"U\")*($AQ1986:$BL1986>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1986:$BL1986<>\"U\")*($AQ1986:$BL1986>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1986:$R1986<>\"Z\")*($K1986:$R1986>\"\")*NOT(ISERROR($K1986:$R1986)))+SUM(($K$4:$R$4=\"A\")*($K1986:$R1986<>\"A\")*($K1986:$R1986>\"\")*NOT(ISERROR($K1986:$R1986)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1986:$R1986=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1986:$BL1986=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1986)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1986)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1986,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1986&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1986)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1986)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1986&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1986=\"Small Patch\",E1986=\"Matrix\")),'Calculator Table'!$L1986,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1986=\"Small Patch\",'Calculator Table'!$L1986,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1986=\"Matrix\",'Calculator Table'!$L1986,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1986&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1986&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1986&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1986&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1986&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1986&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1986&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1986&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1986&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1986&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1986&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1986&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1986)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1986)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1986)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1986,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1986)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1986)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1986)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1986)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1986)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1986)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1986)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1986)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1986)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1986)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1986)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1986)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1986)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1986&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1986)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1986)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1986,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1986&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1986)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1986)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1986&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1986=\"Small Patch\",H1986=\"Matrix\")),'Calculator Table'!$L1986,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1986=\"Small Patch\",'Calculator Table'!$L1986,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1986=\"Matrix\",'Calculator Table'!$L1986,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1986&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1986&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1986&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1986&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1986&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1986&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1986&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1986&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1986&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1986&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1986&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1986&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1986)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1986)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1986)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1986,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1986)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1986)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1986)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1986)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1986)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1986)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1986)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1986)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1986)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1986)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1986)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1986)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1986)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1986&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1986)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1986)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1986,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1986&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1986)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1986)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1986&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1986=\"Small Patch\",K1986=\"Matrix\")),'Calculator Table'!$L1986,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1986=\"Small Patch\",'Calculator Table'!$L1986,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1986=\"Matrix\",'Calculator Table'!$L1986,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1986&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1986&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1986&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1986&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1986&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1986&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1986&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1986&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1986&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1986&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1986&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1986&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1986)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1986)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1986)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1986,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1986)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1986)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1986)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1986)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1986)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1986)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1986)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1986)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1986)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1986)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1986)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1986)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1986)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1986&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS1996>0,'Rk Assign'!D1996,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS1996>0,Calculate!$AV1996,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ1996:$BL1996<>\"U\")*($AQ1996:$BL1996>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ1996:$BL1996<>\"U\")*($AQ1996:$BL1996>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ1996:$BL1996<>\"U\")*($AQ1996:$BL1996>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1996:$R1996<>\"Z\")*($K1996:$R1996>\"\")*NOT(ISERROR($K1996:$R1996)))+SUM(($K$4:$R$4=\"A\")*($K1996:$R1996<>\"A\")*($K1996:$R1996>\"\")*NOT(ISERROR($K1996:$R1996)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K1996:$R1996=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ1996:$BL1996=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B1996)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B1996)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1996,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F1996&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A1996)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1996)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1996&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E1996=\"Small Patch\",E1996=\"Matrix\")),'Calculator Table'!$L1996,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E1996=\"Small Patch\",'Calculator Table'!$L1996,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E1996=\"Matrix\",'Calculator Table'!$L1996,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1996&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1996&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1996&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1996&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1996&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1996&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1996&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1996&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1996&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1996&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1996&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1996&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1996)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1996)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1996)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1996,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1996)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1996)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF1996)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1996)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1996)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1996)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1996)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1996)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL1996)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1996)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1996)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1996)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1996)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F1996&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1996)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B1996)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1996,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F1996&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A1996)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1996)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1996&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H1996=\"Small Patch\",H1996=\"Matrix\")),'Calculator Table'!$L1996,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H1996=\"Small Patch\",'Calculator Table'!$L1996,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H1996=\"Matrix\",'Calculator Table'!$L1996,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1996&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1996&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1996&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1996&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1996&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1996&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1996&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1996&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1996&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1996&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1996&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1996&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1996)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1996)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1996)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1996,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1996)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1996)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF1996)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1996)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1996)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1996)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1996)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1996)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL1996)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1996)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1996)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1996)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1996)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F1996&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B1996)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B1996)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD1996,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F1996&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A1996)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E1996)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K1996&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K1996=\"Small Patch\",K1996=\"Matrix\")),'Calculator Table'!$L1996,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K1996=\"Small Patch\",'Calculator Table'!$L1996,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K1996=\"Matrix\",'Calculator Table'!$L1996,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M1996&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N1996&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O1996&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P1996&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q1996&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R1996&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S1996&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T1996&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U1996&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V1996&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W1996&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X1996&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y1996)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z1996)&\", version_author=\"&AddQuotes('Calculator Table'!$AA1996)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB1996,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC1996)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE1996)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF1996)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG1996)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH1996)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI1996)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ1996)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK1996)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL1996)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM1996)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN1996)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO1996)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP1996)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F1996&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2000>0,'Rk Assign'!D2000,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2000>0,Calculate!$AV2000,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2000:$BL2000<>\"U\")*($AQ2000:$BL2000>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2000:$BL2000<>\"U\")*($AQ2000:$BL2000>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2000:$BL2000<>\"U\")*($AQ2000:$BL2000>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2000:$R2000<>\"Z\")*($K2000:$R2000>\"\")*NOT(ISERROR($K2000:$R2000)))+SUM(($K$4:$R$4=\"A\")*($K2000:$R2000<>\"A\")*($K2000:$R2000>\"\")*NOT(ISERROR($K2000:$R2000)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2000:$R2000=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2000:$BL2000=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2000)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2000)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2000,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2000&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2000)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2000)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2000&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2000=\"Small Patch\",E2000=\"Matrix\")),'Calculator Table'!$L2000,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2000=\"Small Patch\",'Calculator Table'!$L2000,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2000=\"Matrix\",'Calculator Table'!$L2000,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2000&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2000&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2000&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2000&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2000&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2000&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2000&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2000&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2000&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2000&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2000&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2000&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2000)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2000)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2000)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2000,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2000)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2000)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2000)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2000)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2000)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2000)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2000)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2000)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2000)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2000)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2000)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2000)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2000)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2000&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2000)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2000)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2000,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2000&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2000)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2000)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2000&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2000=\"Small Patch\",H2000=\"Matrix\")),'Calculator Table'!$L2000,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2000=\"Small Patch\",'Calculator Table'!$L2000,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2000=\"Matrix\",'Calculator Table'!$L2000,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2000&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2000&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2000&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2000&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2000&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2000&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2000&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2000&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2000&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2000&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2000&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2000&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2000)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2000)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2000)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2000,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2000)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2000)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2000)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2000)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2000)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2000)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2000)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2000)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2000)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2000)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2000)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2000)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2000)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2000&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2000)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2000)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2000,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2000&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2000)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2000)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2000&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2000=\"Small Patch\",K2000=\"Matrix\")),'Calculator Table'!$L2000,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2000=\"Small Patch\",'Calculator Table'!$L2000,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2000=\"Matrix\",'Calculator Table'!$L2000,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2000&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2000&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2000&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2000&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2000&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2000&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2000&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2000&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2000&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2000&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2000&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2000&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2000)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2000)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2000)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2000,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2000)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2000)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2000)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2000)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2000)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2000)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2000)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2000)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2000)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2000)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2000)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2000)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2000)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2000&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2005>0,'Rk Assign'!D2005,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2005>0,Calculate!$AV2005,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2005:$BL2005<>\"U\")*($AQ2005:$BL2005>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2005:$BL2005<>\"U\")*($AQ2005:$BL2005>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2005:$BL2005<>\"U\")*($AQ2005:$BL2005>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2005:$R2005<>\"Z\")*($K2005:$R2005>\"\")*NOT(ISERROR($K2005:$R2005)))+SUM(($K$4:$R$4=\"A\")*($K2005:$R2005<>\"A\")*($K2005:$R2005>\"\")*NOT(ISERROR($K2005:$R2005)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2005:$R2005=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2005:$BL2005=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2005)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2005)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2005,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2005&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2005)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2005)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2005&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2005=\"Small Patch\",E2005=\"Matrix\")),'Calculator Table'!$L2005,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2005=\"Small Patch\",'Calculator Table'!$L2005,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2005=\"Matrix\",'Calculator Table'!$L2005,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2005&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2005&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2005&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2005&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2005&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2005&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2005&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2005&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2005&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2005&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2005&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2005&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2005)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2005)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2005)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2005,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2005)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2005)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2005)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2005)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2005)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2005)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2005)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2005)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2005)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2005)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2005)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2005)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2005)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2005&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2005)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2005)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2005,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2005&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2005)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2005)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2005&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2005=\"Small Patch\",H2005=\"Matrix\")),'Calculator Table'!$L2005,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2005=\"Small Patch\",'Calculator Table'!$L2005,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2005=\"Matrix\",'Calculator Table'!$L2005,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2005&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2005&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2005&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2005&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2005&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2005&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2005&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2005&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2005&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2005&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2005&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2005&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2005)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2005)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2005)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2005,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2005)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2005)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2005)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2005)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2005)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2005)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2005)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2005)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2005)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2005)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2005)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2005)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2005)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2005&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2005)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2005)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2005,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2005&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2005)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2005)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2005&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2005=\"Small Patch\",K2005=\"Matrix\")),'Calculator Table'!$L2005,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2005=\"Small Patch\",'Calculator Table'!$L2005,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2005=\"Matrix\",'Calculator Table'!$L2005,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2005&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2005&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2005&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2005&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2005&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2005&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2005&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2005&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2005&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2005&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2005&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2005&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2005)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2005)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2005)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2005,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2005)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2005)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2005)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2005)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2005)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2005)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2005)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2005)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2005)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2005)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2005)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2005)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2005)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2005&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2014>0,'Rk Assign'!D2014,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2014>0,Calculate!$AV2014,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2014:$BL2014<>\"U\")*($AQ2014:$BL2014>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2014:$BL2014<>\"U\")*($AQ2014:$BL2014>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2014:$BL2014<>\"U\")*($AQ2014:$BL2014>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2014:$R2014<>\"Z\")*($K2014:$R2014>\"\")*NOT(ISERROR($K2014:$R2014)))+SUM(($K$4:$R$4=\"A\")*($K2014:$R2014<>\"A\")*($K2014:$R2014>\"\")*NOT(ISERROR($K2014:$R2014)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2014:$R2014=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2014:$BL2014=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2014)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2014)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2014,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2014&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2014)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2014)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2014&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2014=\"Small Patch\",E2014=\"Matrix\")),'Calculator Table'!$L2014,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2014=\"Small Patch\",'Calculator Table'!$L2014,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2014=\"Matrix\",'Calculator Table'!$L2014,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2014&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2014&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2014&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2014&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2014&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2014&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2014&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2014&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2014&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2014&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2014&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2014&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2014)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2014)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2014)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2014,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2014)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2014)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2014)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2014)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2014)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2014)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2014)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2014)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2014)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2014)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2014)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2014)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2014)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2014&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2014)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2014)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2014,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2014&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2014)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2014)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2014&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2014=\"Small Patch\",H2014=\"Matrix\")),'Calculator Table'!$L2014,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2014=\"Small Patch\",'Calculator Table'!$L2014,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2014=\"Matrix\",'Calculator Table'!$L2014,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2014&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2014&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2014&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2014&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2014&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2014&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2014&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2014&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2014&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2014&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2014&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2014&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2014)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2014)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2014)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2014,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2014)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2014)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2014)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2014)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2014)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2014)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2014)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2014)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2014)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2014)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2014)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2014)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2014)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2014&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2014)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2014)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2014,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2014&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2014)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2014)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2014&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2014=\"Small Patch\",K2014=\"Matrix\")),'Calculator Table'!$L2014,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2014=\"Small Patch\",'Calculator Table'!$L2014,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2014=\"Matrix\",'Calculator Table'!$L2014,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2014&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2014&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2014&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2014&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2014&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2014&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2014&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2014&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2014&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2014&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2014&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2014&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2014)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2014)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2014)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2014,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2014)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2014)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2014)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2014)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2014)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2014)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2014)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2014)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2014)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2014)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2014)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2014)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2014)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2014&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2023>0,'Rk Assign'!D2023,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2023>0,Calculate!$AV2023,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2023:$BL2023<>\"U\")*($AQ2023:$BL2023>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2023:$BL2023<>\"U\")*($AQ2023:$BL2023>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2023:$BL2023<>\"U\")*($AQ2023:$BL2023>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2023:$R2023<>\"Z\")*($K2023:$R2023>\"\")*NOT(ISERROR($K2023:$R2023)))+SUM(($K$4:$R$4=\"A\")*($K2023:$R2023<>\"A\")*($K2023:$R2023>\"\")*NOT(ISERROR($K2023:$R2023)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2023:$R2023=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2023:$BL2023=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2023)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2023)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2023,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2023&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2023)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2023)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2023&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2023=\"Small Patch\",E2023=\"Matrix\")),'Calculator Table'!$L2023,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2023=\"Small Patch\",'Calculator Table'!$L2023,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2023=\"Matrix\",'Calculator Table'!$L2023,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2023&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2023&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2023&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2023&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2023&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2023&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2023&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2023&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2023&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2023&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2023&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2023&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2023)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2023)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2023)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2023,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2023)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2023)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2023)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2023)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2023)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2023)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2023)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2023)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2023)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2023)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2023)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2023)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2023)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2023&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2023)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2023)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2023,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2023&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2023)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2023)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2023&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2023=\"Small Patch\",H2023=\"Matrix\")),'Calculator Table'!$L2023,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2023=\"Small Patch\",'Calculator Table'!$L2023,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2023=\"Matrix\",'Calculator Table'!$L2023,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2023&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2023&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2023&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2023&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2023&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2023&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2023&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2023&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2023&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2023&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2023&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2023&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2023)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2023)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2023)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2023,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2023)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2023)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2023)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2023)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2023)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2023)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2023)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2023)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2023)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2023)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2023)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2023)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2023)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2023&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2023)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2023)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2023,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2023&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2023)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2023)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2023&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2023=\"Small Patch\",K2023=\"Matrix\")),'Calculator Table'!$L2023,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2023=\"Small Patch\",'Calculator Table'!$L2023,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2023=\"Matrix\",'Calculator Table'!$L2023,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2023&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2023&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2023&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2023&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2023&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2023&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2023&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2023&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2023&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2023&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2023&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2023&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2023)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2023)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2023)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2023,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2023)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2023)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2023)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2023)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2023)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2023)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2023)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2023)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2023)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2023)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2023)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2023)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2023)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2023&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2031>0,'Rk Assign'!D2031,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2031>0,Calculate!$AV2031,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2031:$BL2031<>\"U\")*($AQ2031:$BL2031>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2031:$BL2031<>\"U\")*($AQ2031:$BL2031>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2031:$BL2031<>\"U\")*($AQ2031:$BL2031>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2031:$R2031<>\"Z\")*($K2031:$R2031>\"\")*NOT(ISERROR($K2031:$R2031)))+SUM(($K$4:$R$4=\"A\")*($K2031:$R2031<>\"A\")*($K2031:$R2031>\"\")*NOT(ISERROR($K2031:$R2031)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2031:$R2031=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2031:$BL2031=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2031)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2031)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2031,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2031&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2031)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2031)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2031&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2031=\"Small Patch\",E2031=\"Matrix\")),'Calculator Table'!$L2031,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2031=\"Small Patch\",'Calculator Table'!$L2031,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2031=\"Matrix\",'Calculator Table'!$L2031,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2031&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2031&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2031&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2031&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2031&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2031&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2031&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2031&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2031&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2031&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2031&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2031&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2031)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2031)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2031)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2031,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2031)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2031)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2031)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2031)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2031)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2031)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2031)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2031)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2031)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2031)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2031)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2031)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2031)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2031&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2031)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2031)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2031,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2031&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2031)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2031)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2031&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2031=\"Small Patch\",H2031=\"Matrix\")),'Calculator Table'!$L2031,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2031=\"Small Patch\",'Calculator Table'!$L2031,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2031=\"Matrix\",'Calculator Table'!$L2031,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2031&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2031&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2031&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2031&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2031&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2031&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2031&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2031&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2031&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2031&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2031&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2031&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2031)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2031)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2031)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2031,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2031)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2031)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2031)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2031)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2031)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2031)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2031)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2031)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2031)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2031)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2031)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2031)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2031)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2031&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2031)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2031)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2031,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2031&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2031)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2031)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2031&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2031=\"Small Patch\",K2031=\"Matrix\")),'Calculator Table'!$L2031,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2031=\"Small Patch\",'Calculator Table'!$L2031,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2031=\"Matrix\",'Calculator Table'!$L2031,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2031&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2031&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2031&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2031&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2031&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2031&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2031&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2031&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2031&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2031&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2031&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2031&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2031)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2031)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2031)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2031,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2031)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2031)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2031)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2031)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2031)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2031)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2031)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2031)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2031)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2031)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2031)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2031)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2031)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2031&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2037>0,'Rk Assign'!D2037,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2037>0,Calculate!$AV2037,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2037:$BL2037<>\"U\")*($AQ2037:$BL2037>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2037:$BL2037<>\"U\")*($AQ2037:$BL2037>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2037:$BL2037<>\"U\")*($AQ2037:$BL2037>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2037:$R2037<>\"Z\")*($K2037:$R2037>\"\")*NOT(ISERROR($K2037:$R2037)))+SUM(($K$4:$R$4=\"A\")*($K2037:$R2037<>\"A\")*($K2037:$R2037>\"\")*NOT(ISERROR($K2037:$R2037)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2037:$R2037=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2037:$BL2037=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2037)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2037)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2037,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2037&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2037)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2037)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2037&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2037=\"Small Patch\",E2037=\"Matrix\")),'Calculator Table'!$L2037,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2037=\"Small Patch\",'Calculator Table'!$L2037,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2037=\"Matrix\",'Calculator Table'!$L2037,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2037&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2037&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2037&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2037&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2037&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2037&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2037&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2037&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2037&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2037&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2037&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2037&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2037)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2037)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2037)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2037,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2037)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2037)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2037)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2037)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2037)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2037)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2037)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2037)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2037)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2037)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2037)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2037)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2037)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2037&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2037)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2037)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2037,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2037&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2037)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2037)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2037&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2037=\"Small Patch\",H2037=\"Matrix\")),'Calculator Table'!$L2037,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2037=\"Small Patch\",'Calculator Table'!$L2037,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2037=\"Matrix\",'Calculator Table'!$L2037,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2037&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2037&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2037&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2037&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2037&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2037&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2037&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2037&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2037&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2037&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2037&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2037&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2037)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2037)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2037)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2037,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2037)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2037)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2037)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2037)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2037)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2037)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2037)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2037)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2037)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2037)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2037)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2037)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2037)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2037&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2037)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2037)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2037,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2037&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2037)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2037)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2037&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2037=\"Small Patch\",K2037=\"Matrix\")),'Calculator Table'!$L2037,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2037=\"Small Patch\",'Calculator Table'!$L2037,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2037=\"Matrix\",'Calculator Table'!$L2037,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2037&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2037&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2037&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2037&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2037&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2037&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2037&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2037&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2037&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2037&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2037&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2037&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2037)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2037)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2037)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2037,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2037)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2037)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2037)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2037)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2037)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2037)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2037)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2037)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2037)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2037)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2037)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2037)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2037)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2037&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2048>0,'Rk Assign'!D2048,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2048>0,Calculate!$AV2048,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2048:$BL2048<>\"U\")*($AQ2048:$BL2048>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2048:$BL2048<>\"U\")*($AQ2048:$BL2048>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2048:$BL2048<>\"U\")*($AQ2048:$BL2048>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2048:$R2048<>\"Z\")*($K2048:$R2048>\"\")*NOT(ISERROR($K2048:$R2048)))+SUM(($K$4:$R$4=\"A\")*($K2048:$R2048<>\"A\")*($K2048:$R2048>\"\")*NOT(ISERROR($K2048:$R2048)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2048:$R2048=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2048:$BL2048=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2048)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2048)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2048,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2048&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2048)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2048)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2048&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2048=\"Small Patch\",E2048=\"Matrix\")),'Calculator Table'!$L2048,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2048=\"Small Patch\",'Calculator Table'!$L2048,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2048=\"Matrix\",'Calculator Table'!$L2048,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2048&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2048&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2048&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2048&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2048&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2048&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2048&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2048&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2048&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2048&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2048&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2048&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2048)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2048)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2048)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2048,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2048)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2048)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2048)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2048)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2048)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2048)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2048)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2048)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2048)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2048)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2048)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2048)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2048)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2048&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2048)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2048)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2048,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2048&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2048)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2048)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2048&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2048=\"Small Patch\",H2048=\"Matrix\")),'Calculator Table'!$L2048,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2048=\"Small Patch\",'Calculator Table'!$L2048,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2048=\"Matrix\",'Calculator Table'!$L2048,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2048&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2048&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2048&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2048&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2048&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2048&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2048&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2048&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2048&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2048&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2048&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2048&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2048)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2048)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2048)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2048,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2048)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2048)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2048)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2048)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2048)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2048)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2048)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2048)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2048)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2048)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2048)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2048)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2048)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2048&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2048)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2048)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2048,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2048&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2048)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2048)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2048&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2048=\"Small Patch\",K2048=\"Matrix\")),'Calculator Table'!$L2048,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2048=\"Small Patch\",'Calculator Table'!$L2048,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2048=\"Matrix\",'Calculator Table'!$L2048,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2048&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2048&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2048&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2048&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2048&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2048&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2048&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2048&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2048&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2048&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2048&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2048&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2048)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2048)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2048)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2048,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2048)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2048)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2048)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2048)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2048)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2048)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2048)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2048)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2048)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2048)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2048)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2048)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2048)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2048&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2054>0,'Rk Assign'!D2054,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2054>0,Calculate!$AV2054,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2054:$BL2054<>\"U\")*($AQ2054:$BL2054>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2054:$BL2054<>\"U\")*($AQ2054:$BL2054>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2054:$BL2054<>\"U\")*($AQ2054:$BL2054>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2054:$R2054<>\"Z\")*($K2054:$R2054>\"\")*NOT(ISERROR($K2054:$R2054)))+SUM(($K$4:$R$4=\"A\")*($K2054:$R2054<>\"A\")*($K2054:$R2054>\"\")*NOT(ISERROR($K2054:$R2054)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2054:$R2054=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2054:$BL2054=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2054)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2054)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2054,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2054&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2054)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2054)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2054&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2054=\"Small Patch\",E2054=\"Matrix\")),'Calculator Table'!$L2054,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2054=\"Small Patch\",'Calculator Table'!$L2054,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2054=\"Matrix\",'Calculator Table'!$L2054,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2054&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2054&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2054&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2054&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2054&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2054&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2054&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2054&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2054&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2054&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2054&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2054&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2054)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2054)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2054)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2054,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2054)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2054)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2054)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2054)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2054)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2054)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2054)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2054)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2054)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2054)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2054)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2054)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2054)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2054&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2054)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2054)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2054,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2054&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2054)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2054)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2054&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2054=\"Small Patch\",H2054=\"Matrix\")),'Calculator Table'!$L2054,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2054=\"Small Patch\",'Calculator Table'!$L2054,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2054=\"Matrix\",'Calculator Table'!$L2054,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2054&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2054&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2054&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2054&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2054&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2054&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2054&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2054&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2054&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2054&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2054&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2054&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2054)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2054)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2054)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2054,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2054)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2054)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2054)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2054)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2054)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2054)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2054)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2054)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2054)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2054)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2054)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2054)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2054)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2054&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2054)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2054)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2054,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2054&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2054)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2054)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2054&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2054=\"Small Patch\",K2054=\"Matrix\")),'Calculator Table'!$L2054,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2054=\"Small Patch\",'Calculator Table'!$L2054,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2054=\"Matrix\",'Calculator Table'!$L2054,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2054&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2054&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2054&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2054&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2054&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2054&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2054&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2054&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2054&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2054&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2054&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2054&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2054)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2054)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2054)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2054,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2054)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2054)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2054)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2054)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2054)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2054)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2054)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2054)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2054)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2054)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2054)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2054)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2054)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2054&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2057>0,'Rk Assign'!D2057,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2057>0,Calculate!$AV2057,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2057:$BL2057<>\"U\")*($AQ2057:$BL2057>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2057:$BL2057<>\"U\")*($AQ2057:$BL2057>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2057:$BL2057<>\"U\")*($AQ2057:$BL2057>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2057:$R2057<>\"Z\")*($K2057:$R2057>\"\")*NOT(ISERROR($K2057:$R2057)))+SUM(($K$4:$R$4=\"A\")*($K2057:$R2057<>\"A\")*($K2057:$R2057>\"\")*NOT(ISERROR($K2057:$R2057)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2057:$R2057=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2057:$BL2057=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2057)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2057)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2057,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2057&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2057)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2057)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2057&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2057=\"Small Patch\",E2057=\"Matrix\")),'Calculator Table'!$L2057,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2057=\"Small Patch\",'Calculator Table'!$L2057,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2057=\"Matrix\",'Calculator Table'!$L2057,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2057&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2057&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2057&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2057&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2057&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2057&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2057&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2057&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2057&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2057&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2057&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2057&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2057)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2057)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2057)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2057,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2057)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2057)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2057)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2057)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2057)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2057)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2057)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2057)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2057)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2057)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2057)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2057)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2057)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2057&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2057)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2057)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2057,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2057&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2057)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2057)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2057&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2057=\"Small Patch\",H2057=\"Matrix\")),'Calculator Table'!$L2057,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2057=\"Small Patch\",'Calculator Table'!$L2057,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2057=\"Matrix\",'Calculator Table'!$L2057,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2057&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2057&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2057&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2057&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2057&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2057&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2057&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2057&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2057&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2057&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2057&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2057&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2057)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2057)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2057)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2057,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2057)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2057)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2057)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2057)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2057)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2057)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2057)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2057)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2057)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2057)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2057)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2057)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2057)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2057&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2057)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2057)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2057,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2057&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2057)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2057)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2057&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2057=\"Small Patch\",K2057=\"Matrix\")),'Calculator Table'!$L2057,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2057=\"Small Patch\",'Calculator Table'!$L2057,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2057=\"Matrix\",'Calculator Table'!$L2057,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2057&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2057&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2057&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2057&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2057&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2057&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2057&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2057&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2057&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2057&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2057&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2057&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2057)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2057)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2057)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2057,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2057)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2057)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2057)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2057)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2057)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2057)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2057)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2057)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2057)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2057)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2057)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2057)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2057)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2057&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2068>0,'Rk Assign'!D2068,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2068>0,Calculate!$AV2068,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2068:$BL2068<>\"U\")*($AQ2068:$BL2068>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2068:$BL2068<>\"U\")*($AQ2068:$BL2068>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2068:$BL2068<>\"U\")*($AQ2068:$BL2068>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2068:$R2068<>\"Z\")*($K2068:$R2068>\"\")*NOT(ISERROR($K2068:$R2068)))+SUM(($K$4:$R$4=\"A\")*($K2068:$R2068<>\"A\")*($K2068:$R2068>\"\")*NOT(ISERROR($K2068:$R2068)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2068:$R2068=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2068:$BL2068=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2068)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2068)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2068,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2068&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2068)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2068)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2068&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2068=\"Small Patch\",E2068=\"Matrix\")),'Calculator Table'!$L2068,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2068=\"Small Patch\",'Calculator Table'!$L2068,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2068=\"Matrix\",'Calculator Table'!$L2068,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2068&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2068&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2068&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2068&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2068&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2068&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2068&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2068&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2068&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2068&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2068&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2068&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2068)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2068)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2068)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2068,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2068)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2068)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2068)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2068)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2068)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2068)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2068)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2068)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2068)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2068)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2068)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2068)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2068)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2068&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2068)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2068)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2068,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2068&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2068)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2068)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2068&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2068=\"Small Patch\",H2068=\"Matrix\")),'Calculator Table'!$L2068,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2068=\"Small Patch\",'Calculator Table'!$L2068,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2068=\"Matrix\",'Calculator Table'!$L2068,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2068&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2068&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2068&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2068&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2068&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2068&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2068&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2068&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2068&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2068&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2068&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2068&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2068)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2068)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2068)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2068,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2068)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2068)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2068)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2068)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2068)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2068)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2068)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2068)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2068)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2068)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2068)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2068)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2068)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2068&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2068)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2068)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2068,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2068&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2068)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2068)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2068&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2068=\"Small Patch\",K2068=\"Matrix\")),'Calculator Table'!$L2068,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2068=\"Small Patch\",'Calculator Table'!$L2068,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2068=\"Matrix\",'Calculator Table'!$L2068,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2068&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2068&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2068&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2068&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2068&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2068&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2068&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2068&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2068&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2068&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2068&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2068&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2068)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2068)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2068)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2068,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2068)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2068)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2068)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2068)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2068)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2068)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2068)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2068)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2068)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2068)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2068)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2068)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2068)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2068&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2074>0,'Rk Assign'!D2074,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2074>0,Calculate!$AV2074,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2074:$BL2074<>\"U\")*($AQ2074:$BL2074>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2074:$BL2074<>\"U\")*($AQ2074:$BL2074>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2074:$BL2074<>\"U\")*($AQ2074:$BL2074>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2074:$R2074<>\"Z\")*($K2074:$R2074>\"\")*NOT(ISERROR($K2074:$R2074)))+SUM(($K$4:$R$4=\"A\")*($K2074:$R2074<>\"A\")*($K2074:$R2074>\"\")*NOT(ISERROR($K2074:$R2074)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2074:$R2074=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2074:$BL2074=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2074)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2074)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2074,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2074&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2074)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2074)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2074&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2074=\"Small Patch\",E2074=\"Matrix\")),'Calculator Table'!$L2074,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2074=\"Small Patch\",'Calculator Table'!$L2074,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2074=\"Matrix\",'Calculator Table'!$L2074,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2074&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2074&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2074&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2074&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2074&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2074&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2074&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2074&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2074&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2074&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2074&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2074&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2074)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2074)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2074)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2074,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2074)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2074)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2074)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2074)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2074)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2074)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2074)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2074)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2074)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2074)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2074)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2074)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2074)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2074&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2074)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2074)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2074,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2074&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2074)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2074)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2074&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2074=\"Small Patch\",H2074=\"Matrix\")),'Calculator Table'!$L2074,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2074=\"Small Patch\",'Calculator Table'!$L2074,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2074=\"Matrix\",'Calculator Table'!$L2074,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2074&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2074&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2074&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2074&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2074&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2074&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2074&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2074&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2074&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2074&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2074&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2074&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2074)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2074)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2074)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2074,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2074)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2074)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2074)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2074)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2074)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2074)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2074)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2074)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2074)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2074)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2074)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2074)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2074)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2074&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2074)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2074)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2074,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2074&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2074)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2074)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2074&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2074=\"Small Patch\",K2074=\"Matrix\")),'Calculator Table'!$L2074,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2074=\"Small Patch\",'Calculator Table'!$L2074,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2074=\"Matrix\",'Calculator Table'!$L2074,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2074&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2074&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2074&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2074&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2074&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2074&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2074&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2074&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2074&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2074&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2074&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2074&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2074)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2074)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2074)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2074,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2074)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2074)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2074)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2074)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2074)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2074)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2074)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2074)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2074)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2074)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2074)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2074)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2074)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2074&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2083>0,'Rk Assign'!D2083,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2083>0,Calculate!$AV2083,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2083:$BL2083<>\"U\")*($AQ2083:$BL2083>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2083:$BL2083<>\"U\")*($AQ2083:$BL2083>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2083:$BL2083<>\"U\")*($AQ2083:$BL2083>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2083:$R2083<>\"Z\")*($K2083:$R2083>\"\")*NOT(ISERROR($K2083:$R2083)))+SUM(($K$4:$R$4=\"A\")*($K2083:$R2083<>\"A\")*($K2083:$R2083>\"\")*NOT(ISERROR($K2083:$R2083)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2083:$R2083=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2083:$BL2083=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2083)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2083)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2083,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2083&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2083)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2083)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2083&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2083=\"Small Patch\",E2083=\"Matrix\")),'Calculator Table'!$L2083,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2083=\"Small Patch\",'Calculator Table'!$L2083,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2083=\"Matrix\",'Calculator Table'!$L2083,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2083&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2083&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2083&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2083&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2083&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2083&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2083&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2083&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2083&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2083&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2083&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2083&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2083)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2083)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2083)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2083,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2083)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2083)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2083)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2083)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2083)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2083)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2083)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2083)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2083)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2083)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2083)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2083)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2083)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2083&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2083)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2083)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2083,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2083&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2083)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2083)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2083&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2083=\"Small Patch\",H2083=\"Matrix\")),'Calculator Table'!$L2083,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2083=\"Small Patch\",'Calculator Table'!$L2083,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2083=\"Matrix\",'Calculator Table'!$L2083,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2083&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2083&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2083&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2083&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2083&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2083&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2083&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2083&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2083&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2083&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2083&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2083&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2083)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2083)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2083)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2083,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2083)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2083)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2083)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2083)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2083)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2083)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2083)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2083)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2083)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2083)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2083)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2083)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2083)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2083&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2083)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2083)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2083,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2083&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2083)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2083)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2083&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2083=\"Small Patch\",K2083=\"Matrix\")),'Calculator Table'!$L2083,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2083=\"Small Patch\",'Calculator Table'!$L2083,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2083=\"Matrix\",'Calculator Table'!$L2083,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2083&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2083&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2083&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2083&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2083&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2083&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2083&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2083&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2083&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2083&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2083&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2083&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2083)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2083)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2083)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2083,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2083)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2083)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2083)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2083)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2083)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2083)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2083)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2083)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2083)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2083)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2083)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2083)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2083)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2083&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2091>0,'Rk Assign'!D2091,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2091>0,Calculate!$AV2091,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2091:$BL2091<>\"U\")*($AQ2091:$BL2091>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2091:$BL2091<>\"U\")*($AQ2091:$BL2091>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2091:$BL2091<>\"U\")*($AQ2091:$BL2091>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2091:$R2091<>\"Z\")*($K2091:$R2091>\"\")*NOT(ISERROR($K2091:$R2091)))+SUM(($K$4:$R$4=\"A\")*($K2091:$R2091<>\"A\")*($K2091:$R2091>\"\")*NOT(ISERROR($K2091:$R2091)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2091:$R2091=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2091:$BL2091=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2091)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2091)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2091,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2091&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2091)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2091)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2091&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2091=\"Small Patch\",E2091=\"Matrix\")),'Calculator Table'!$L2091,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2091=\"Small Patch\",'Calculator Table'!$L2091,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2091=\"Matrix\",'Calculator Table'!$L2091,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2091&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2091&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2091&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2091&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2091&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2091&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2091&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2091&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2091&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2091&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2091&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2091&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2091)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2091)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2091)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2091,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2091)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2091)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2091)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2091)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2091)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2091)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2091)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2091)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2091)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2091)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2091)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2091)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2091)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2091&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2091)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2091)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2091,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2091&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2091)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2091)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2091&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2091=\"Small Patch\",H2091=\"Matrix\")),'Calculator Table'!$L2091,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2091=\"Small Patch\",'Calculator Table'!$L2091,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2091=\"Matrix\",'Calculator Table'!$L2091,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2091&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2091&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2091&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2091&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2091&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2091&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2091&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2091&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2091&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2091&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2091&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2091&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2091)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2091)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2091)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2091,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2091)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2091)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2091)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2091)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2091)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2091)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2091)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2091)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2091)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2091)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2091)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2091)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2091)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2091&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2091)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2091)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2091,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2091&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2091)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2091)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2091&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2091=\"Small Patch\",K2091=\"Matrix\")),'Calculator Table'!$L2091,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2091=\"Small Patch\",'Calculator Table'!$L2091,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2091=\"Matrix\",'Calculator Table'!$L2091,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2091&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2091&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2091&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2091&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2091&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2091&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2091&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2091&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2091&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2091&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2091&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2091&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2091)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2091)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2091)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2091,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2091)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2091)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2091)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2091)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2091)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2091)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2091)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2091)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2091)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2091)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2091)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2091)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2091)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2091&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2100>0,'Rk Assign'!D2100,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2100>0,Calculate!$AV2100,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2100:$BL2100<>\"U\")*($AQ2100:$BL2100>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2100:$BL2100<>\"U\")*($AQ2100:$BL2100>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2100:$BL2100<>\"U\")*($AQ2100:$BL2100>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2100:$R2100<>\"Z\")*($K2100:$R2100>\"\")*NOT(ISERROR($K2100:$R2100)))+SUM(($K$4:$R$4=\"A\")*($K2100:$R2100<>\"A\")*($K2100:$R2100>\"\")*NOT(ISERROR($K2100:$R2100)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2100:$R2100=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2100:$BL2100=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2100)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2100)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2100,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2100&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2100)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2100)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2100&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2100=\"Small Patch\",E2100=\"Matrix\")),'Calculator Table'!$L2100,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2100=\"Small Patch\",'Calculator Table'!$L2100,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2100=\"Matrix\",'Calculator Table'!$L2100,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2100&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2100&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2100&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2100&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2100&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2100&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2100&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2100&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2100&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2100&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2100&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2100&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2100)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2100)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2100)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2100,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2100)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2100)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2100)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2100)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2100)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2100)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2100)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2100)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2100)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2100)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2100)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2100)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2100)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2100&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2100)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2100)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2100,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2100&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2100)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2100)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2100&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2100=\"Small Patch\",H2100=\"Matrix\")),'Calculator Table'!$L2100,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2100=\"Small Patch\",'Calculator Table'!$L2100,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2100=\"Matrix\",'Calculator Table'!$L2100,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2100&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2100&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2100&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2100&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2100&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2100&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2100&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2100&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2100&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2100&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2100&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2100&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2100)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2100)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2100)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2100,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2100)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2100)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2100)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2100)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2100)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2100)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2100)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2100)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2100)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2100)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2100)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2100)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2100)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2100&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2100)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2100)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2100,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2100&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2100)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2100)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2100&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2100=\"Small Patch\",K2100=\"Matrix\")),'Calculator Table'!$L2100,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2100=\"Small Patch\",'Calculator Table'!$L2100,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2100=\"Matrix\",'Calculator Table'!$L2100,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2100&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2100&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2100&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2100&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2100&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2100&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2100&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2100&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2100&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2100&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2100&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2100&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2100)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2100)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2100)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2100,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2100)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2100)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2100)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2100)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2100)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2100)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2100)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2100)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2100)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2100)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2100)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2100)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2100)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2100&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2105>0,'Rk Assign'!D2105,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2105>0,Calculate!$AV2105,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2105:$BL2105<>\"U\")*($AQ2105:$BL2105>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2105:$BL2105<>\"U\")*($AQ2105:$BL2105>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2105:$BL2105<>\"U\")*($AQ2105:$BL2105>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2105:$R2105<>\"Z\")*($K2105:$R2105>\"\")*NOT(ISERROR($K2105:$R2105)))+SUM(($K$4:$R$4=\"A\")*($K2105:$R2105<>\"A\")*($K2105:$R2105>\"\")*NOT(ISERROR($K2105:$R2105)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2105:$R2105=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2105:$BL2105=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2105)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2105)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2105,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2105&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2105)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2105)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2105&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2105=\"Small Patch\",E2105=\"Matrix\")),'Calculator Table'!$L2105,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2105=\"Small Patch\",'Calculator Table'!$L2105,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2105=\"Matrix\",'Calculator Table'!$L2105,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2105&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2105&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2105&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2105&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2105&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2105&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2105&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2105&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2105&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2105&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2105&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2105&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2105)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2105)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2105)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2105,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2105)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2105)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2105)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2105)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2105)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2105)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2105)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2105)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2105)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2105)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2105)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2105)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2105)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2105&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2105)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2105)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2105,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2105&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2105)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2105)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2105&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2105=\"Small Patch\",H2105=\"Matrix\")),'Calculator Table'!$L2105,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2105=\"Small Patch\",'Calculator Table'!$L2105,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2105=\"Matrix\",'Calculator Table'!$L2105,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2105&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2105&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2105&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2105&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2105&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2105&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2105&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2105&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2105&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2105&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2105&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2105&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2105)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2105)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2105)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2105,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2105)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2105)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2105)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2105)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2105)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2105)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2105)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2105)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2105)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2105)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2105)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2105)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2105)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2105&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2105)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2105)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2105,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2105&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2105)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2105)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2105&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2105=\"Small Patch\",K2105=\"Matrix\")),'Calculator Table'!$L2105,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2105=\"Small Patch\",'Calculator Table'!$L2105,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2105=\"Matrix\",'Calculator Table'!$L2105,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2105&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2105&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2105&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2105&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2105&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2105&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2105&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2105&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2105&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2105&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2105&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2105&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2105)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2105)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2105)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2105,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2105)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2105)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2105)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2105)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2105)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2105)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2105)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2105)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2105)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2105)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2105)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2105)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2105)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2105&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2117>0,'Rk Assign'!D2117,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2117>0,Calculate!$AV2117,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2117:$BL2117<>\"U\")*($AQ2117:$BL2117>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2117:$BL2117<>\"U\")*($AQ2117:$BL2117>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2117:$BL2117<>\"U\")*($AQ2117:$BL2117>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2117:$R2117<>\"Z\")*($K2117:$R2117>\"\")*NOT(ISERROR($K2117:$R2117)))+SUM(($K$4:$R$4=\"A\")*($K2117:$R2117<>\"A\")*($K2117:$R2117>\"\")*NOT(ISERROR($K2117:$R2117)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2117:$R2117=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2117:$BL2117=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2117)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2117)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2117,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2117&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2117)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2117)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2117&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2117=\"Small Patch\",E2117=\"Matrix\")),'Calculator Table'!$L2117,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2117=\"Small Patch\",'Calculator Table'!$L2117,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2117=\"Matrix\",'Calculator Table'!$L2117,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2117&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2117&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2117&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2117&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2117&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2117&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2117&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2117&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2117&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2117&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2117&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2117&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2117)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2117)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2117)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2117,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2117)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2117)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2117)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2117)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2117)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2117)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2117)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2117)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2117)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2117)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2117)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2117)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2117)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2117&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2117)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2117)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2117,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2117&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2117)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2117)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2117&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2117=\"Small Patch\",H2117=\"Matrix\")),'Calculator Table'!$L2117,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2117=\"Small Patch\",'Calculator Table'!$L2117,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2117=\"Matrix\",'Calculator Table'!$L2117,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2117&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2117&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2117&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2117&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2117&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2117&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2117&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2117&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2117&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2117&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2117&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2117&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2117)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2117)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2117)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2117,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2117)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2117)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2117)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2117)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2117)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2117)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2117)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2117)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2117)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2117)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2117)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2117)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2117)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2117&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2117)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2117)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2117,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2117&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2117)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2117)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2117&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2117=\"Small Patch\",K2117=\"Matrix\")),'Calculator Table'!$L2117,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2117=\"Small Patch\",'Calculator Table'!$L2117,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2117=\"Matrix\",'Calculator Table'!$L2117,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2117&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2117&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2117&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2117&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2117&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2117&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2117&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2117&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2117&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2117&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2117&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2117&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2117)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2117)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2117)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2117,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2117)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2117)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2117)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2117)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2117)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2117)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2117)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2117)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2117)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2117)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2117)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2117)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2117)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2117&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2119>0,'Rk Assign'!D2119,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2119>0,Calculate!$AV2119,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2119:$BL2119<>\"U\")*($AQ2119:$BL2119>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2119:$BL2119<>\"U\")*($AQ2119:$BL2119>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2119:$BL2119<>\"U\")*($AQ2119:$BL2119>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2119:$R2119<>\"Z\")*($K2119:$R2119>\"\")*NOT(ISERROR($K2119:$R2119)))+SUM(($K$4:$R$4=\"A\")*($K2119:$R2119<>\"A\")*($K2119:$R2119>\"\")*NOT(ISERROR($K2119:$R2119)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2119:$R2119=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2119:$BL2119=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2119)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2119)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2119,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2119&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2119)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2119)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2119&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2119=\"Small Patch\",E2119=\"Matrix\")),'Calculator Table'!$L2119,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2119=\"Small Patch\",'Calculator Table'!$L2119,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2119=\"Matrix\",'Calculator Table'!$L2119,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2119&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2119&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2119&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2119&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2119&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2119&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2119&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2119&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2119&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2119&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2119&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2119&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2119)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2119)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2119)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2119,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2119)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2119)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2119)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2119)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2119)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2119)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2119)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2119)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2119)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2119)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2119)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2119)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2119)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2119&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2119)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2119)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2119,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2119&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2119)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2119)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2119&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2119=\"Small Patch\",H2119=\"Matrix\")),'Calculator Table'!$L2119,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2119=\"Small Patch\",'Calculator Table'!$L2119,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2119=\"Matrix\",'Calculator Table'!$L2119,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2119&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2119&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2119&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2119&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2119&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2119&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2119&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2119&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2119&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2119&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2119&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2119&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2119)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2119)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2119)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2119,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2119)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2119)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2119)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2119)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2119)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2119)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2119)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2119)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2119)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2119)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2119)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2119)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2119)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2119&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2119)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2119)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2119,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2119&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2119)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2119)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2119&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2119=\"Small Patch\",K2119=\"Matrix\")),'Calculator Table'!$L2119,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2119=\"Small Patch\",'Calculator Table'!$L2119,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2119=\"Matrix\",'Calculator Table'!$L2119,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2119&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2119&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2119&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2119&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2119&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2119&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2119&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2119&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2119&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2119&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2119&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2119&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2119)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2119)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2119)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2119,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2119)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2119)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2119)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2119)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2119)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2119)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2119)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2119)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2119)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2119)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2119)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2119)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2119)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2119&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2126>0,'Rk Assign'!D2126,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2126>0,Calculate!$AV2126,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2126:$BL2126<>\"U\")*($AQ2126:$BL2126>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2126:$BL2126<>\"U\")*($AQ2126:$BL2126>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2126:$BL2126<>\"U\")*($AQ2126:$BL2126>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2126:$R2126<>\"Z\")*($K2126:$R2126>\"\")*NOT(ISERROR($K2126:$R2126)))+SUM(($K$4:$R$4=\"A\")*($K2126:$R2126<>\"A\")*($K2126:$R2126>\"\")*NOT(ISERROR($K2126:$R2126)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2126:$R2126=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2126:$BL2126=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2126)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2126)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2126,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2126&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2126)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2126)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2126&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2126=\"Small Patch\",E2126=\"Matrix\")),'Calculator Table'!$L2126,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2126=\"Small Patch\",'Calculator Table'!$L2126,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2126=\"Matrix\",'Calculator Table'!$L2126,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2126&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2126&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2126&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2126&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2126&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2126&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2126&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2126&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2126&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2126&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2126&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2126&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2126)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2126)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2126)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2126,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2126)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2126)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2126)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2126)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2126)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2126)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2126)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2126)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2126)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2126)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2126)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2126)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2126)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2126&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2126)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2126)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2126,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2126&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2126)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2126)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2126&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2126=\"Small Patch\",H2126=\"Matrix\")),'Calculator Table'!$L2126,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2126=\"Small Patch\",'Calculator Table'!$L2126,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2126=\"Matrix\",'Calculator Table'!$L2126,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2126&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2126&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2126&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2126&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2126&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2126&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2126&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2126&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2126&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2126&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2126&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2126&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2126)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2126)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2126)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2126,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2126)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2126)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2126)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2126)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2126)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2126)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2126)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2126)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2126)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2126)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2126)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2126)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2126)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2126&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2126)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2126)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2126,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2126&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2126)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2126)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2126&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2126=\"Small Patch\",K2126=\"Matrix\")),'Calculator Table'!$L2126,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2126=\"Small Patch\",'Calculator Table'!$L2126,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2126=\"Matrix\",'Calculator Table'!$L2126,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2126&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2126&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2126&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2126&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2126&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2126&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2126&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2126&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2126&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2126&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2126&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2126&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2126)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2126)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2126)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2126,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2126)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2126)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2126)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2126)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2126)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2126)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2126)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2126)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2126)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2126)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2126)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2126)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2126)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2126&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2135>0,'Rk Assign'!D2135,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2135>0,Calculate!$AV2135,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2135:$BL2135<>\"U\")*($AQ2135:$BL2135>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2135:$BL2135<>\"U\")*($AQ2135:$BL2135>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2135:$BL2135<>\"U\")*($AQ2135:$BL2135>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2135:$R2135<>\"Z\")*($K2135:$R2135>\"\")*NOT(ISERROR($K2135:$R2135)))+SUM(($K$4:$R$4=\"A\")*($K2135:$R2135<>\"A\")*($K2135:$R2135>\"\")*NOT(ISERROR($K2135:$R2135)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2135:$R2135=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2135:$BL2135=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2135)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2135)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2135,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2135&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2135)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2135)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2135&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2135=\"Small Patch\",E2135=\"Matrix\")),'Calculator Table'!$L2135,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2135=\"Small Patch\",'Calculator Table'!$L2135,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2135=\"Matrix\",'Calculator Table'!$L2135,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2135&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2135&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2135&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2135&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2135&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2135&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2135&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2135&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2135&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2135&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2135&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2135&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2135)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2135)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2135)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2135,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2135)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2135)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2135)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2135)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2135)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2135)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2135)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2135)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2135)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2135)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2135)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2135)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2135)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2135&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2135)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2135)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2135,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2135&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2135)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2135)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2135&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2135=\"Small Patch\",H2135=\"Matrix\")),'Calculator Table'!$L2135,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2135=\"Small Patch\",'Calculator Table'!$L2135,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2135=\"Matrix\",'Calculator Table'!$L2135,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2135&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2135&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2135&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2135&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2135&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2135&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2135&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2135&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2135&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2135&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2135&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2135&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2135)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2135)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2135)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2135,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2135)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2135)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2135)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2135)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2135)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2135)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2135)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2135)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2135)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2135)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2135)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2135)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2135)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2135&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2135)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2135)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2135,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2135&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2135)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2135)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2135&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2135=\"Small Patch\",K2135=\"Matrix\")),'Calculator Table'!$L2135,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2135=\"Small Patch\",'Calculator Table'!$L2135,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2135=\"Matrix\",'Calculator Table'!$L2135,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2135&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2135&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2135&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2135&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2135&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2135&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2135&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2135&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2135&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2135&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2135&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2135&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2135)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2135)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2135)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2135,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2135)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2135)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2135)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2135)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2135)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2135)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2135)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2135)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2135)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2135)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2135)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2135)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2135)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2135&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2141>0,'Rk Assign'!D2141,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2141>0,Calculate!$AV2141,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2141:$BL2141<>\"U\")*($AQ2141:$BL2141>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2141:$BL2141<>\"U\")*($AQ2141:$BL2141>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2141:$BL2141<>\"U\")*($AQ2141:$BL2141>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2141:$R2141<>\"Z\")*($K2141:$R2141>\"\")*NOT(ISERROR($K2141:$R2141)))+SUM(($K$4:$R$4=\"A\")*($K2141:$R2141<>\"A\")*($K2141:$R2141>\"\")*NOT(ISERROR($K2141:$R2141)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2141:$R2141=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2141:$BL2141=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2141)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2141)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2141&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2141)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2141)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2141&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2141=\"Small Patch\",E2141=\"Matrix\")),'Calculator Table'!$L2141,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2141=\"Small Patch\",'Calculator Table'!$L2141,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2141=\"Matrix\",'Calculator Table'!$L2141,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2141&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2141&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2141&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2141&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2141&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2141&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2141&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2141&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2141&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2141&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2141&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2141&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2141)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2141)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2141)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2141)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2141)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2141)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2141)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2141)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2141)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2141)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2141)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2141)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2141)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2141)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2141)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2141)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2141&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2141)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2141)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2141&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2141)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2141)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2141&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2141=\"Small Patch\",H2141=\"Matrix\")),'Calculator Table'!$L2141,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2141=\"Small Patch\",'Calculator Table'!$L2141,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2141=\"Matrix\",'Calculator Table'!$L2141,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2141&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2141&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2141&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2141&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2141&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2141&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2141&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2141&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2141&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2141&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2141&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2141&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2141)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2141)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2141)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2141)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2141)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2141)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2141)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2141)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2141)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2141)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2141)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2141)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2141)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2141)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2141)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2141)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2141&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2141)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2141)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2141&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2141)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2141)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2141&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2141=\"Small Patch\",K2141=\"Matrix\")),'Calculator Table'!$L2141,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2141=\"Small Patch\",'Calculator Table'!$L2141,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2141=\"Matrix\",'Calculator Table'!$L2141,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2141&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2141&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2141&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2141&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2141&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2141&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2141&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2141&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2141&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2141&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2141&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2141&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2141)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2141)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2141)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2141,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2141)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2141)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2141)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2141)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2141)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2141)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2141)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2141)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2141)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2141)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2141)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2141)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2141)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2141&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2142>0,'Rk Assign'!D2142,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2142>0,Calculate!$AV2142,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2142:$BL2142<>\"U\")*($AQ2142:$BL2142>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2142:$BL2142<>\"U\")*($AQ2142:$BL2142>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2142:$BL2142<>\"U\")*($AQ2142:$BL2142>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2142:$R2142<>\"Z\")*($K2142:$R2142>\"\")*NOT(ISERROR($K2142:$R2142)))+SUM(($K$4:$R$4=\"A\")*($K2142:$R2142<>\"A\")*($K2142:$R2142>\"\")*NOT(ISERROR($K2142:$R2142)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2142:$R2142=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2142:$BL2142=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2142)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2142)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2142,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2142&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2142)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2142)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2142&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2142=\"Small Patch\",E2142=\"Matrix\")),'Calculator Table'!$L2142,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2142=\"Small Patch\",'Calculator Table'!$L2142,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2142=\"Matrix\",'Calculator Table'!$L2142,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2142&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2142&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2142&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2142&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2142&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2142&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2142&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2142&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2142&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2142&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2142&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2142&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2142)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2142)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2142)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2142,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2142)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2142)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2142)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2142)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2142)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2142)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2142)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2142)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2142)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2142)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2142)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2142)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2142)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2142&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2142)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2142)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2142,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2142&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2142)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2142)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2142&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2142=\"Small Patch\",H2142=\"Matrix\")),'Calculator Table'!$L2142,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2142=\"Small Patch\",'Calculator Table'!$L2142,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2142=\"Matrix\",'Calculator Table'!$L2142,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2142&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2142&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2142&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2142&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2142&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2142&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2142&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2142&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2142&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2142&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2142&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2142&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2142)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2142)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2142)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2142,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2142)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2142)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2142)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2142)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2142)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2142)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2142)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2142)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2142)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2142)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2142)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2142)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2142)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2142&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2142)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2142)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2142,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2142&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2142)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2142)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2142&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2142=\"Small Patch\",K2142=\"Matrix\")),'Calculator Table'!$L2142,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2142=\"Small Patch\",'Calculator Table'!$L2142,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2142=\"Matrix\",'Calculator Table'!$L2142,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2142&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2142&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2142&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2142&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2142&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2142&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2142&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2142&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2142&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2142&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2142&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2142&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2142)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2142)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2142)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2142,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2142)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2142)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2142)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2142)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2142)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2142)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2142)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2142)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2142)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2142)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2142)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2142)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2142)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2142&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2143>0,'Rk Assign'!D2143,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2143>0,Calculate!$AV2143,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2143:$BL2143<>\"U\")*($AQ2143:$BL2143>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2143:$BL2143<>\"U\")*($AQ2143:$BL2143>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2143:$BL2143<>\"U\")*($AQ2143:$BL2143>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2143:$R2143<>\"Z\")*($K2143:$R2143>\"\")*NOT(ISERROR($K2143:$R2143)))+SUM(($K$4:$R$4=\"A\")*($K2143:$R2143<>\"A\")*($K2143:$R2143>\"\")*NOT(ISERROR($K2143:$R2143)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2143:$R2143=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2143:$BL2143=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2143)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2143)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2143,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2143&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2143)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2143)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2143&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2143=\"Small Patch\",E2143=\"Matrix\")),'Calculator Table'!$L2143,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2143=\"Small Patch\",'Calculator Table'!$L2143,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2143=\"Matrix\",'Calculator Table'!$L2143,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2143&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2143&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2143&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2143&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2143&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2143&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2143&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2143&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2143&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2143&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2143&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2143&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2143)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2143)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2143)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2143,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2143)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2143)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2143)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2143)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2143)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2143)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2143)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2143)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2143)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2143)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2143)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2143)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2143)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2143&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2143)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2143)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2143,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2143&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2143)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2143)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2143&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2143=\"Small Patch\",H2143=\"Matrix\")),'Calculator Table'!$L2143,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2143=\"Small Patch\",'Calculator Table'!$L2143,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2143=\"Matrix\",'Calculator Table'!$L2143,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2143&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2143&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2143&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2143&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2143&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2143&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2143&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2143&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2143&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2143&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2143&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2143&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2143)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2143)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2143)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2143,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2143)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2143)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2143)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2143)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2143)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2143)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2143)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2143)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2143)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2143)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2143)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2143)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2143)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2143&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2143)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2143)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2143,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2143&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2143)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2143)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2143&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2143=\"Small Patch\",K2143=\"Matrix\")),'Calculator Table'!$L2143,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2143=\"Small Patch\",'Calculator Table'!$L2143,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2143=\"Matrix\",'Calculator Table'!$L2143,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2143&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2143&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2143&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2143&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2143&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2143&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2143&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2143&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2143&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2143&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2143&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2143&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2143)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2143)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2143)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2143,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2143)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2143)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2143)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2143)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2143)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2143)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2143)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2143)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2143)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2143)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2143)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2143)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2143)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2143&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2144>0,'Rk Assign'!D2144,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2144>0,Calculate!$AV2144,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2144:$BL2144<>\"U\")*($AQ2144:$BL2144>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2144:$BL2144<>\"U\")*($AQ2144:$BL2144>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2144:$BL2144<>\"U\")*($AQ2144:$BL2144>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2144:$R2144<>\"Z\")*($K2144:$R2144>\"\")*NOT(ISERROR($K2144:$R2144)))+SUM(($K$4:$R$4=\"A\")*($K2144:$R2144<>\"A\")*($K2144:$R2144>\"\")*NOT(ISERROR($K2144:$R2144)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2144:$R2144=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2144:$BL2144=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2144)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2144)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2144,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2144&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2144)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2144)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2144&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2144=\"Small Patch\",E2144=\"Matrix\")),'Calculator Table'!$L2144,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2144=\"Small Patch\",'Calculator Table'!$L2144,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2144=\"Matrix\",'Calculator Table'!$L2144,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2144&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2144&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2144&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2144&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2144&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2144&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2144&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2144&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2144&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2144&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2144&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2144&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2144)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2144)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2144)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2144,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2144)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2144)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2144)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2144)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2144)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2144)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2144)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2144)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2144)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2144)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2144)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2144)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2144)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2144&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2144)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2144)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2144,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2144&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2144)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2144)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2144&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2144=\"Small Patch\",H2144=\"Matrix\")),'Calculator Table'!$L2144,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2144=\"Small Patch\",'Calculator Table'!$L2144,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2144=\"Matrix\",'Calculator Table'!$L2144,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2144&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2144&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2144&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2144&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2144&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2144&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2144&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2144&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2144&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2144&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2144&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2144&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2144)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2144)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2144)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2144,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2144)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2144)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2144)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2144)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2144)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2144)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2144)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2144)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2144)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2144)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2144)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2144)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2144)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2144&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2144)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2144)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2144,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2144&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2144)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2144)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2144&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2144=\"Small Patch\",K2144=\"Matrix\")),'Calculator Table'!$L2144,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2144=\"Small Patch\",'Calculator Table'!$L2144,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2144=\"Matrix\",'Calculator Table'!$L2144,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2144&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2144&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2144&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2144&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2144&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2144&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2144&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2144&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2144&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2144&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2144&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2144&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2144)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2144)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2144)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2144,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2144)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2144)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2144)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2144)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2144)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2144)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2144)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2144)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2144)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2144)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2144)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2144)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2144)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2144&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2145>0,'Rk Assign'!D2145,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2145>0,Calculate!$AV2145,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2145:$BL2145<>\"U\")*($AQ2145:$BL2145>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2145:$BL2145<>\"U\")*($AQ2145:$BL2145>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2145:$BL2145<>\"U\")*($AQ2145:$BL2145>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2145:$R2145<>\"Z\")*($K2145:$R2145>\"\")*NOT(ISERROR($K2145:$R2145)))+SUM(($K$4:$R$4=\"A\")*($K2145:$R2145<>\"A\")*($K2145:$R2145>\"\")*NOT(ISERROR($K2145:$R2145)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2145:$R2145=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2145:$BL2145=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2145)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2145)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2145,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2145&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2145)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2145)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2145&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2145=\"Small Patch\",E2145=\"Matrix\")),'Calculator Table'!$L2145,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2145=\"Small Patch\",'Calculator Table'!$L2145,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2145=\"Matrix\",'Calculator Table'!$L2145,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2145&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2145&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2145&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2145&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2145&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2145&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2145&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2145&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2145&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2145&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2145&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2145&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2145)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2145)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2145)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2145,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2145)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2145)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2145)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2145)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2145)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2145)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2145)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2145)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2145)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2145)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2145)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2145)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2145)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2145&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2145)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2145)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2145,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2145&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2145)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2145)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2145&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2145=\"Small Patch\",H2145=\"Matrix\")),'Calculator Table'!$L2145,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2145=\"Small Patch\",'Calculator Table'!$L2145,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2145=\"Matrix\",'Calculator Table'!$L2145,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2145&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2145&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2145&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2145&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2145&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2145&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2145&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2145&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2145&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2145&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2145&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2145&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2145)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2145)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2145)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2145,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2145)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2145)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2145)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2145)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2145)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2145)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2145)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2145)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2145)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2145)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2145)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2145)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2145)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2145&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2145)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2145)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2145,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2145&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2145)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2145)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2145&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2145=\"Small Patch\",K2145=\"Matrix\")),'Calculator Table'!$L2145,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2145=\"Small Patch\",'Calculator Table'!$L2145,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2145=\"Matrix\",'Calculator Table'!$L2145,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2145&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2145&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2145&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2145&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2145&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2145&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2145&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2145&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2145&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2145&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2145&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2145&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2145)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2145)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2145)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2145,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2145)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2145)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2145)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2145)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2145)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2145)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2145)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2145)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2145)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2145)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2145)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2145)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2145)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2145&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2146>0,'Rk Assign'!D2146,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2146>0,Calculate!$AV2146,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2146:$BL2146<>\"U\")*($AQ2146:$BL2146>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2146:$BL2146<>\"U\")*($AQ2146:$BL2146>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2146:$BL2146<>\"U\")*($AQ2146:$BL2146>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2146:$R2146<>\"Z\")*($K2146:$R2146>\"\")*NOT(ISERROR($K2146:$R2146)))+SUM(($K$4:$R$4=\"A\")*($K2146:$R2146<>\"A\")*($K2146:$R2146>\"\")*NOT(ISERROR($K2146:$R2146)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2146:$R2146=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2146:$BL2146=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2146)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2146)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2146,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2146&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2146)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2146)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2146&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2146=\"Small Patch\",E2146=\"Matrix\")),'Calculator Table'!$L2146,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2146=\"Small Patch\",'Calculator Table'!$L2146,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2146=\"Matrix\",'Calculator Table'!$L2146,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2146&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2146&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2146&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2146&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2146&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2146&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2146&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2146&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2146&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2146&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2146&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2146&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2146)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2146)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2146)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2146,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2146)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2146)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2146)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2146)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2146)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2146)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2146)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2146)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2146)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2146)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2146)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2146)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2146)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2146&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2146)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2146)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2146,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2146&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2146)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2146)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2146&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2146=\"Small Patch\",H2146=\"Matrix\")),'Calculator Table'!$L2146,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2146=\"Small Patch\",'Calculator Table'!$L2146,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2146=\"Matrix\",'Calculator Table'!$L2146,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2146&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2146&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2146&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2146&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2146&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2146&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2146&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2146&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2146&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2146&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2146&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2146&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2146)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2146)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2146)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2146,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2146)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2146)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2146)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2146)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2146)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2146)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2146)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2146)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2146)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2146)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2146)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2146)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2146)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2146&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2146)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2146)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2146,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2146&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2146)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2146)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2146&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2146=\"Small Patch\",K2146=\"Matrix\")),'Calculator Table'!$L2146,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2146=\"Small Patch\",'Calculator Table'!$L2146,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2146=\"Matrix\",'Calculator Table'!$L2146,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2146&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2146&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2146&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2146&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2146&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2146&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2146&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2146&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2146&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2146&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2146&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2146&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2146)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2146)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2146)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2146,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2146)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2146)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2146)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2146)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2146)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2146)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2146)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2146)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2146)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2146)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2146)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2146)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2146)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2146&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2147>0,'Rk Assign'!D2147,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2147>0,Calculate!$AV2147,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2147:$BL2147<>\"U\")*($AQ2147:$BL2147>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2147:$BL2147<>\"U\")*($AQ2147:$BL2147>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2147:$BL2147<>\"U\")*($AQ2147:$BL2147>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2147:$R2147<>\"Z\")*($K2147:$R2147>\"\")*NOT(ISERROR($K2147:$R2147)))+SUM(($K$4:$R$4=\"A\")*($K2147:$R2147<>\"A\")*($K2147:$R2147>\"\")*NOT(ISERROR($K2147:$R2147)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2147:$R2147=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2147:$BL2147=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2147)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2147)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2147,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2147&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2147)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2147)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2147&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2147=\"Small Patch\",E2147=\"Matrix\")),'Calculator Table'!$L2147,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2147=\"Small Patch\",'Calculator Table'!$L2147,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2147=\"Matrix\",'Calculator Table'!$L2147,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2147&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2147&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2147&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2147&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2147&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2147&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2147&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2147&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2147&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2147&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2147&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2147&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2147)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2147)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2147)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2147,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2147)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2147)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2147)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2147)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2147)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2147)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2147)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2147)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2147)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2147)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2147)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2147)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2147)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2147&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2147)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2147)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2147,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2147&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2147)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2147)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2147&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2147=\"Small Patch\",H2147=\"Matrix\")),'Calculator Table'!$L2147,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2147=\"Small Patch\",'Calculator Table'!$L2147,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2147=\"Matrix\",'Calculator Table'!$L2147,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2147&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2147&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2147&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2147&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2147&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2147&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2147&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2147&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2147&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2147&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2147&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2147&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2147)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2147)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2147)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2147,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2147)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2147)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2147)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2147)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2147)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2147)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2147)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2147)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2147)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2147)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2147)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2147)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2147)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2147&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2147)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2147)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2147,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2147&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2147)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2147)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2147&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2147=\"Small Patch\",K2147=\"Matrix\")),'Calculator Table'!$L2147,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2147=\"Small Patch\",'Calculator Table'!$L2147,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2147=\"Matrix\",'Calculator Table'!$L2147,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2147&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2147&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2147&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2147&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2147&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2147&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2147&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2147&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2147&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2147&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2147&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2147&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2147)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2147)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2147)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2147,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2147)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2147)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2147)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2147)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2147)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2147)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2147)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2147)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2147)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2147)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2147)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2147)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2147)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2147&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2148>0,'Rk Assign'!D2148,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2148>0,Calculate!$AV2148,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2148:$BL2148<>\"U\")*($AQ2148:$BL2148>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2148:$BL2148<>\"U\")*($AQ2148:$BL2148>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2148:$BL2148<>\"U\")*($AQ2148:$BL2148>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2148:$R2148<>\"Z\")*($K2148:$R2148>\"\")*NOT(ISERROR($K2148:$R2148)))+SUM(($K$4:$R$4=\"A\")*($K2148:$R2148<>\"A\")*($K2148:$R2148>\"\")*NOT(ISERROR($K2148:$R2148)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2148:$R2148=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2148:$BL2148=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2148)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2148)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2148&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2148)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2148)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2148&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2148=\"Small Patch\",E2148=\"Matrix\")),'Calculator Table'!$L2148,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2148=\"Small Patch\",'Calculator Table'!$L2148,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2148=\"Matrix\",'Calculator Table'!$L2148,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2148&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2148&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2148&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2148&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2148&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2148&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2148&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2148&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2148&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2148&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2148&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2148&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2148)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2148)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2148)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2148)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2148)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2148)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2148)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2148)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2148)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2148)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2148)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2148)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2148)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2148)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2148)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2148)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2148&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2148)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2148)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2148&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2148)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2148)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2148&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2148=\"Small Patch\",H2148=\"Matrix\")),'Calculator Table'!$L2148,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2148=\"Small Patch\",'Calculator Table'!$L2148,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2148=\"Matrix\",'Calculator Table'!$L2148,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2148&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2148&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2148&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2148&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2148&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2148&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2148&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2148&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2148&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2148&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2148&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2148&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2148)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2148)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2148)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2148)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2148)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2148)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2148)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2148)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2148)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2148)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2148)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2148)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2148)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2148)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2148)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2148)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2148&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2148)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2148)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2148&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2148)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2148)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2148&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2148=\"Small Patch\",K2148=\"Matrix\")),'Calculator Table'!$L2148,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2148=\"Small Patch\",'Calculator Table'!$L2148,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2148=\"Matrix\",'Calculator Table'!$L2148,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2148&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2148&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2148&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2148&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2148&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2148&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2148&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2148&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2148&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2148&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2148&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2148&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2148)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2148)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2148)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2148,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2148)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2148)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2148)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2148)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2148)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2148)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2148)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2148)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2148)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2148)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2148)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2148)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2148)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2148&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2149>0,'Rk Assign'!D2149,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2149>0,Calculate!$AV2149,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2149:$BL2149<>\"U\")*($AQ2149:$BL2149>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2149:$BL2149<>\"U\")*($AQ2149:$BL2149>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2149:$BL2149<>\"U\")*($AQ2149:$BL2149>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2149:$R2149<>\"Z\")*($K2149:$R2149>\"\")*NOT(ISERROR($K2149:$R2149)))+SUM(($K$4:$R$4=\"A\")*($K2149:$R2149<>\"A\")*($K2149:$R2149>\"\")*NOT(ISERROR($K2149:$R2149)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2149:$R2149=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2149:$BL2149=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2149)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2149)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2149,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2149&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2149)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2149)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2149&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2149=\"Small Patch\",E2149=\"Matrix\")),'Calculator Table'!$L2149,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2149=\"Small Patch\",'Calculator Table'!$L2149,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2149=\"Matrix\",'Calculator Table'!$L2149,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2149&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2149&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2149&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2149&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2149&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2149&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2149&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2149&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2149&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2149&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2149&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2149&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2149)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2149)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2149)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2149,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2149)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2149)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2149)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2149)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2149)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2149)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2149)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2149)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2149)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2149)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2149)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2149)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2149)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2149&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2149)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2149)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2149,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2149&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2149)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2149)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2149&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2149=\"Small Patch\",H2149=\"Matrix\")),'Calculator Table'!$L2149,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2149=\"Small Patch\",'Calculator Table'!$L2149,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2149=\"Matrix\",'Calculator Table'!$L2149,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2149&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2149&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2149&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2149&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2149&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2149&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2149&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2149&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2149&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2149&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2149&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2149&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2149)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2149)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2149)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2149,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2149)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2149)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2149)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2149)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2149)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2149)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2149)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2149)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2149)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2149)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2149)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2149)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2149)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2149&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2149)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2149)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2149,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2149&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2149)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2149)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2149&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2149=\"Small Patch\",K2149=\"Matrix\")),'Calculator Table'!$L2149,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2149=\"Small Patch\",'Calculator Table'!$L2149,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2149=\"Matrix\",'Calculator Table'!$L2149,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2149&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2149&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2149&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2149&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2149&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2149&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2149&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2149&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2149&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2149&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2149&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2149&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2149)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2149)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2149)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2149,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2149)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2149)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2149)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2149)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2149)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2149)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2149)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2149)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2149)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2149)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2149)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2149)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2149)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2149&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2150>0,'Rk Assign'!D2150,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2150>0,Calculate!$AV2150,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2150:$BL2150<>\"U\")*($AQ2150:$BL2150>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2150:$BL2150<>\"U\")*($AQ2150:$BL2150>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2150:$BL2150<>\"U\")*($AQ2150:$BL2150>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2150:$R2150<>\"Z\")*($K2150:$R2150>\"\")*NOT(ISERROR($K2150:$R2150)))+SUM(($K$4:$R$4=\"A\")*($K2150:$R2150<>\"A\")*($K2150:$R2150>\"\")*NOT(ISERROR($K2150:$R2150)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2150:$R2150=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2150:$BL2150=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2150)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2150)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2150&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2150)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2150)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2150&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2150=\"Small Patch\",E2150=\"Matrix\")),'Calculator Table'!$L2150,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2150=\"Small Patch\",'Calculator Table'!$L2150,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2150=\"Matrix\",'Calculator Table'!$L2150,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2150&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2150&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2150&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2150&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2150&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2150&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2150&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2150&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2150&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2150&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2150&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2150&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2150)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2150)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2150)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2150)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2150)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2150)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2150)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2150)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2150)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2150)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2150)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2150)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2150)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2150)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2150)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2150)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2150&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2150)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2150)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2150&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2150)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2150)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2150&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2150=\"Small Patch\",H2150=\"Matrix\")),'Calculator Table'!$L2150,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2150=\"Small Patch\",'Calculator Table'!$L2150,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2150=\"Matrix\",'Calculator Table'!$L2150,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2150&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2150&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2150&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2150&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2150&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2150&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2150&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2150&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2150&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2150&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2150&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2150&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2150)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2150)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2150)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2150)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2150)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2150)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2150)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2150)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2150)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2150)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2150)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2150)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2150)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2150)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2150)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2150)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2150&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2150)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2150)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2150&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2150)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2150)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2150&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2150=\"Small Patch\",K2150=\"Matrix\")),'Calculator Table'!$L2150,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2150=\"Small Patch\",'Calculator Table'!$L2150,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2150=\"Matrix\",'Calculator Table'!$L2150,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2150&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2150&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2150&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2150&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2150&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2150&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2150&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2150&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2150&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2150&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2150&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2150&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2150)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2150)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2150)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2150,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2150)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2150)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2150)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2150)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2150)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2150)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2150)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2150)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2150)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2150)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2150)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2150)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2150)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2150&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2151>0,'Rk Assign'!D2151,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2151>0,Calculate!$AV2151,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2151:$BL2151<>\"U\")*($AQ2151:$BL2151>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2151:$BL2151<>\"U\")*($AQ2151:$BL2151>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2151:$BL2151<>\"U\")*($AQ2151:$BL2151>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2151:$R2151<>\"Z\")*($K2151:$R2151>\"\")*NOT(ISERROR($K2151:$R2151)))+SUM(($K$4:$R$4=\"A\")*($K2151:$R2151<>\"A\")*($K2151:$R2151>\"\")*NOT(ISERROR($K2151:$R2151)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2151:$R2151=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2151:$BL2151=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2151)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2151)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2151,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2151&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2151)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2151)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2151&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2151=\"Small Patch\",E2151=\"Matrix\")),'Calculator Table'!$L2151,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2151=\"Small Patch\",'Calculator Table'!$L2151,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2151=\"Matrix\",'Calculator Table'!$L2151,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2151&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2151&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2151&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2151&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2151&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2151&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2151&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2151&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2151&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2151&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2151&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2151&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2151)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2151)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2151)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2151,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2151)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2151)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2151)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2151)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2151)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2151)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2151)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2151)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2151)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2151)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2151)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2151)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2151)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2151&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2151)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2151)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2151,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2151&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2151)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2151)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2151&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2151=\"Small Patch\",H2151=\"Matrix\")),'Calculator Table'!$L2151,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2151=\"Small Patch\",'Calculator Table'!$L2151,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2151=\"Matrix\",'Calculator Table'!$L2151,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2151&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2151&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2151&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2151&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2151&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2151&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2151&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2151&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2151&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2151&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2151&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2151&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2151)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2151)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2151)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2151,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2151)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2151)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2151)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2151)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2151)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2151)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2151)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2151)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2151)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2151)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2151)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2151)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2151)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2151&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2151)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2151)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2151,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2151&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2151)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2151)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2151&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2151=\"Small Patch\",K2151=\"Matrix\")),'Calculator Table'!$L2151,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2151=\"Small Patch\",'Calculator Table'!$L2151,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2151=\"Matrix\",'Calculator Table'!$L2151,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2151&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2151&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2151&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2151&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2151&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2151&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2151&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2151&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2151&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2151&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2151&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2151&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2151)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2151)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2151)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2151,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2151)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2151)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2151)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2151)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2151)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2151)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2151)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2151)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2151)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2151)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2151)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2151)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2151)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2151&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2152>0,'Rk Assign'!D2152,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2152>0,Calculate!$AV2152,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2152:$BL2152<>\"U\")*($AQ2152:$BL2152>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2152:$BL2152<>\"U\")*($AQ2152:$BL2152>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2152:$BL2152<>\"U\")*($AQ2152:$BL2152>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2152:$R2152<>\"Z\")*($K2152:$R2152>\"\")*NOT(ISERROR($K2152:$R2152)))+SUM(($K$4:$R$4=\"A\")*($K2152:$R2152<>\"A\")*($K2152:$R2152>\"\")*NOT(ISERROR($K2152:$R2152)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2152:$R2152=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2152:$BL2152=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2152)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2152)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2152,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2152&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2152)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2152)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2152&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2152=\"Small Patch\",E2152=\"Matrix\")),'Calculator Table'!$L2152,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2152=\"Small Patch\",'Calculator Table'!$L2152,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2152=\"Matrix\",'Calculator Table'!$L2152,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2152&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2152&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2152&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2152&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2152&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2152&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2152&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2152&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2152&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2152&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2152&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2152&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2152)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2152)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2152)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2152,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2152)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2152)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2152)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2152)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2152)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2152)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2152)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2152)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2152)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2152)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2152)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2152)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2152)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2152&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2152)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2152)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2152,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2152&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2152)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2152)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2152&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2152=\"Small Patch\",H2152=\"Matrix\")),'Calculator Table'!$L2152,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2152=\"Small Patch\",'Calculator Table'!$L2152,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2152=\"Matrix\",'Calculator Table'!$L2152,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2152&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2152&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2152&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2152&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2152&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2152&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2152&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2152&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2152&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2152&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2152&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2152&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2152)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2152)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2152)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2152,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2152)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2152)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2152)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2152)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2152)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2152)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2152)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2152)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2152)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2152)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2152)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2152)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2152)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2152&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2152)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2152)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2152,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2152&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2152)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2152)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2152&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2152=\"Small Patch\",K2152=\"Matrix\")),'Calculator Table'!$L2152,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2152=\"Small Patch\",'Calculator Table'!$L2152,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2152=\"Matrix\",'Calculator Table'!$L2152,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2152&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2152&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2152&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2152&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2152&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2152&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2152&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2152&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2152&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2152&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2152&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2152&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2152)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2152)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2152)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2152,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2152)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2152)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2152)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2152)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2152)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2152)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2152)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2152)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2152)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2152)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2152)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2152)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2152)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2152&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2153>0,'Rk Assign'!D2153,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2153>0,Calculate!$AV2153,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2153:$BL2153<>\"U\")*($AQ2153:$BL2153>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2153:$BL2153<>\"U\")*($AQ2153:$BL2153>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2153:$BL2153<>\"U\")*($AQ2153:$BL2153>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2153:$R2153<>\"Z\")*($K2153:$R2153>\"\")*NOT(ISERROR($K2153:$R2153)))+SUM(($K$4:$R$4=\"A\")*($K2153:$R2153<>\"A\")*($K2153:$R2153>\"\")*NOT(ISERROR($K2153:$R2153)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2153:$R2153=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2153:$BL2153=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2153)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2153)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2153,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2153&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2153)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2153)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2153&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2153=\"Small Patch\",E2153=\"Matrix\")),'Calculator Table'!$L2153,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2153=\"Small Patch\",'Calculator Table'!$L2153,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2153=\"Matrix\",'Calculator Table'!$L2153,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2153&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2153&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2153&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2153&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2153&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2153&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2153&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2153&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2153&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2153&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2153&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2153&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2153)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2153)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2153)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2153,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2153)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2153)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2153)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2153)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2153)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2153)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2153)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2153)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2153)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2153)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2153)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2153)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2153)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2153&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2153)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2153)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2153,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2153&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2153)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2153)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2153&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2153=\"Small Patch\",H2153=\"Matrix\")),'Calculator Table'!$L2153,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2153=\"Small Patch\",'Calculator Table'!$L2153,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2153=\"Matrix\",'Calculator Table'!$L2153,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2153&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2153&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2153&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2153&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2153&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2153&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2153&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2153&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2153&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2153&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2153&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2153&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2153)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2153)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2153)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2153,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2153)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2153)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2153)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2153)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2153)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2153)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2153)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2153)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2153)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2153)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2153)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2153)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2153)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2153&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2153)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2153)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2153,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2153&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2153)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2153)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2153&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2153=\"Small Patch\",K2153=\"Matrix\")),'Calculator Table'!$L2153,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2153=\"Small Patch\",'Calculator Table'!$L2153,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2153=\"Matrix\",'Calculator Table'!$L2153,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2153&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2153&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2153&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2153&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2153&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2153&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2153&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2153&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2153&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2153&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2153&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2153&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2153)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2153)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2153)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2153,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2153)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2153)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2153)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2153)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2153)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2153)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2153)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2153)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2153)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2153)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2153)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2153)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2153)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2153&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2154>0,'Rk Assign'!D2154,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,{"$f":"LEFT(K2154,1)","v":""},{"$f":"RIGHT(K2154,1)","v":""},{"$f":"LEFT(L2154&M2154&N2154,1)","v":""},{"$f":"RIGHT(L2154&M2154&N2154,1)","v":""},{"$f":"LEFT(O2154,1)","v":""},{"$f":"RIGHT(O2154,1)","v":""},{"$f":"LEFT(Q2154,1)","v":""},{"$f":"RIGHT(Q2154,1)","v":""},{"$f":"IF(AND(AS2154>\"\",AS2154<>\"U\",AS2154<>\"0\"),LEFT(R2154,1),\"\")","v":""},{"$f":"IF(AND(AS2154>\"\",AS2154<>\"U\",AS2154<>\"0\"),RIGHT(R2154,1),\"\")","v":""},{"$f":"LEFT(P2154,1)","v":""},{"$f":"RIGHT(P2154,1)","v":""},{"$f":"LEFT(S2154,1)","v":""},{"$f":"RIGHT(S2154,1)","v":""},{"$f":"LEFT(W2154,1)","v":""},{"$f":"RIGHT(W2154,1)","v":""},{"$f":"LEFT(X2154,1)","v":""},{"$f":"RIGHT(X2154,1)","v":""},{"$f":"LEFT(V2154,1)","v":""},{"$f":"RIGHT(V2154,1)","v":""},{"$f":"LEFT(T2154,1)","v":""},{"$f":"RIGHT(T2154,1)","v":""},{"$f":"IF(BS2154>0,Calculate!$AV2154,\"\")","v":""},{"$f":"IF(BS2154>0,BR2154>1,\"\")","v":""},{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2154:$BL2154<>\"U\")*($AQ2154:$BL2154>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2154:$BL2154<>\"U\")*($AQ2154:$BL2154>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2154:$BL2154<>\"U\")*($AQ2154:$BL2154>\"\"))","v":0},{"$f":"COUNTIF(BO2154:BQ2154,\">0\")","v":0},{"$f":"COUNTIF(K2154:V2154,\">''\")","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2154:$R2154<>\"Z\")*($K2154:$R2154>\"\")*NOT(ISERROR($K2154:$R2154)))+SUM(($K$4:$R$4=\"A\")*($K2154:$R2154<>\"A\")*($K2154:$R2154>\"\")*NOT(ISERROR($K2154:$R2154)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2154:$R2154=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2154:$BL2154=\"Z\"))","v":0},{"$f":"IF(AND(BU2154>0,BT2154>0),\"Z-ERROR\",\"\")","v":""}," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2154)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2154)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2154,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2154&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2154)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2154)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2154&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2154=\"Small Patch\",E2154=\"Matrix\")),'Calculator Table'!$L2154,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2154=\"Small Patch\",'Calculator Table'!$L2154,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2154=\"Matrix\",'Calculator Table'!$L2154,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2154&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2154&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2154&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2154&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2154&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2154&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2154&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2154&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2154&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2154&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2154&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2154&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2154)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2154)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2154)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2154,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2154)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2154)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2154)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2154)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2154)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2154)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2154)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2154)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2154)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2154)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2154)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2154)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2154)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2154&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2154)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2154)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2154,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2154&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2154)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2154)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2154&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2154=\"Small Patch\",H2154=\"Matrix\")),'Calculator Table'!$L2154,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2154=\"Small Patch\",'Calculator Table'!$L2154,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2154=\"Matrix\",'Calculator Table'!$L2154,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2154&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2154&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2154&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2154&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2154&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2154&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2154&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2154&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2154&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2154&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2154&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2154&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2154)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2154)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2154)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2154,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2154)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2154)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2154)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2154)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2154)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2154)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2154)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2154)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2154)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2154)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2154)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2154)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2154)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2154&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2154)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2154)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2154,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2154&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2154)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2154)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2154&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2154=\"Small Patch\",K2154=\"Matrix\")),'Calculator Table'!$L2154,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2154=\"Small Patch\",'Calculator Table'!$L2154,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2154=\"Matrix\",'Calculator Table'!$L2154,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2154&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2154&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2154&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2154&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2154&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2154&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2154&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2154&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2154&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2154&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2154&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2154&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2154)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2154)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2154)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2154,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2154)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2154)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2154)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2154)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2154)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2154)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2154)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2154)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2154)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2154)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2154)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2154)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2154)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2154&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2155>0,'Rk Assign'!D2155,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2155>0,Calculate!$AV2155,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2155:$BL2155<>\"U\")*($AQ2155:$BL2155>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2155:$BL2155<>\"U\")*($AQ2155:$BL2155>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2155:$BL2155<>\"U\")*($AQ2155:$BL2155>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2155:$R2155<>\"Z\")*($K2155:$R2155>\"\")*NOT(ISERROR($K2155:$R2155)))+SUM(($K$4:$R$4=\"A\")*($K2155:$R2155<>\"A\")*($K2155:$R2155>\"\")*NOT(ISERROR($K2155:$R2155)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2155:$R2155=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2155:$BL2155=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2155)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2155)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2155,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2155&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2155)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2155)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2155&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2155=\"Small Patch\",E2155=\"Matrix\")),'Calculator Table'!$L2155,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2155=\"Small Patch\",'Calculator Table'!$L2155,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2155=\"Matrix\",'Calculator Table'!$L2155,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2155&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2155&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2155&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2155&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2155&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2155&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2155&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2155&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2155&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2155&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2155&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2155&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2155)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2155)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2155)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2155,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2155)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2155)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2155)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2155)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2155)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2155)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2155)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2155)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2155)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2155)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2155)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2155)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2155)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2155&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2155)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2155)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2155,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2155&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2155)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2155)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2155&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2155=\"Small Patch\",H2155=\"Matrix\")),'Calculator Table'!$L2155,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2155=\"Small Patch\",'Calculator Table'!$L2155,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2155=\"Matrix\",'Calculator Table'!$L2155,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2155&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2155&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2155&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2155&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2155&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2155&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2155&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2155&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2155&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2155&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2155&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2155&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2155)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2155)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2155)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2155,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2155)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2155)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2155)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2155)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2155)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2155)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2155)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2155)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2155)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2155)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2155)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2155)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2155)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2155&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2155)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2155)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2155,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2155&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2155)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2155)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2155&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2155=\"Small Patch\",K2155=\"Matrix\")),'Calculator Table'!$L2155,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2155=\"Small Patch\",'Calculator Table'!$L2155,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2155=\"Matrix\",'Calculator Table'!$L2155,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2155&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2155&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2155&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2155&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2155&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2155&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2155&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2155&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2155&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2155&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2155&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2155&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2155)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2155)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2155)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2155,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2155)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2155)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2155)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2155)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2155)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2155)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2155)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2155)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2155)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2155)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2155)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2155)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2155)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2155&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2156>0,'Rk Assign'!D2156,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2156>0,Calculate!$AV2156,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2156:$BL2156<>\"U\")*($AQ2156:$BL2156>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2156:$BL2156<>\"U\")*($AQ2156:$BL2156>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2156:$BL2156<>\"U\")*($AQ2156:$BL2156>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2156:$R2156<>\"Z\")*($K2156:$R2156>\"\")*NOT(ISERROR($K2156:$R2156)))+SUM(($K$4:$R$4=\"A\")*($K2156:$R2156<>\"A\")*($K2156:$R2156>\"\")*NOT(ISERROR($K2156:$R2156)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2156:$R2156=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2156:$BL2156=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2156)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2156)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2156,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2156&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2156)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2156)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2156&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2156=\"Small Patch\",E2156=\"Matrix\")),'Calculator Table'!$L2156,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2156=\"Small Patch\",'Calculator Table'!$L2156,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2156=\"Matrix\",'Calculator Table'!$L2156,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2156&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2156&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2156&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2156&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2156&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2156&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2156&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2156&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2156&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2156&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2156&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2156&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2156)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2156)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2156)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2156,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2156)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2156)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2156)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2156)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2156)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2156)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2156)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2156)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2156)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2156)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2156)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2156)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2156)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2156&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2156)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2156)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2156,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2156&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2156)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2156)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2156&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2156=\"Small Patch\",H2156=\"Matrix\")),'Calculator Table'!$L2156,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2156=\"Small Patch\",'Calculator Table'!$L2156,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2156=\"Matrix\",'Calculator Table'!$L2156,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2156&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2156&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2156&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2156&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2156&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2156&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2156&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2156&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2156&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2156&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2156&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2156&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2156)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2156)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2156)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2156,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2156)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2156)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2156)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2156)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2156)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2156)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2156)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2156)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2156)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2156)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2156)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2156)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2156)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2156&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2156)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2156)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2156,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2156&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2156)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2156)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2156&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2156=\"Small Patch\",K2156=\"Matrix\")),'Calculator Table'!$L2156,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2156=\"Small Patch\",'Calculator Table'!$L2156,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2156=\"Matrix\",'Calculator Table'!$L2156,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2156&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2156&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2156&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2156&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2156&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2156&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2156&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2156&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2156&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2156&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2156&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2156&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2156)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2156)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2156)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2156,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2156)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2156)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2156)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2156)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2156)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2156)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2156)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2156)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2156)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2156)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2156)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2156)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2156)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2156&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2157>0,'Rk Assign'!D2157,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2157>0,Calculate!$AV2157,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2157:$BL2157<>\"U\")*($AQ2157:$BL2157>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2157:$BL2157<>\"U\")*($AQ2157:$BL2157>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2157:$BL2157<>\"U\")*($AQ2157:$BL2157>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2157:$R2157<>\"Z\")*($K2157:$R2157>\"\")*NOT(ISERROR($K2157:$R2157)))+SUM(($K$4:$R$4=\"A\")*($K2157:$R2157<>\"A\")*($K2157:$R2157>\"\")*NOT(ISERROR($K2157:$R2157)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2157:$R2157=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2157:$BL2157=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2157)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2157)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2157,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2157&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2157)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2157)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2157&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2157=\"Small Patch\",E2157=\"Matrix\")),'Calculator Table'!$L2157,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2157=\"Small Patch\",'Calculator Table'!$L2157,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2157=\"Matrix\",'Calculator Table'!$L2157,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2157&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2157&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2157&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2157&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2157&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2157&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2157&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2157&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2157&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2157&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2157&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2157&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2157)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2157)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2157)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2157,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2157)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2157)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2157)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2157)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2157)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2157)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2157)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2157)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2157)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2157)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2157)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2157)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2157)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2157&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2157)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2157)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2157,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2157&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2157)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2157)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2157&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2157=\"Small Patch\",H2157=\"Matrix\")),'Calculator Table'!$L2157,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2157=\"Small Patch\",'Calculator Table'!$L2157,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2157=\"Matrix\",'Calculator Table'!$L2157,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2157&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2157&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2157&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2157&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2157&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2157&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2157&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2157&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2157&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2157&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2157&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2157&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2157)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2157)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2157)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2157,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2157)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2157)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2157)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2157)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2157)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2157)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2157)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2157)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2157)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2157)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2157)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2157)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2157)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2157&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2157)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2157)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2157,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2157&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2157)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2157)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2157&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2157=\"Small Patch\",K2157=\"Matrix\")),'Calculator Table'!$L2157,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2157=\"Small Patch\",'Calculator Table'!$L2157,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2157=\"Matrix\",'Calculator Table'!$L2157,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2157&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2157&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2157&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2157&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2157&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2157&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2157&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2157&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2157&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2157&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2157&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2157&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2157)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2157)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2157)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2157,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2157)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2157)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2157)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2157)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2157)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2157)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2157)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2157)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2157)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2157)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2157)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2157)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2157)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2157&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2158>0,'Rk Assign'!D2158,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2158>0,Calculate!$AV2158,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2158:$BL2158<>\"U\")*($AQ2158:$BL2158>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2158:$BL2158<>\"U\")*($AQ2158:$BL2158>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2158:$BL2158<>\"U\")*($AQ2158:$BL2158>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2158:$R2158<>\"Z\")*($K2158:$R2158>\"\")*NOT(ISERROR($K2158:$R2158)))+SUM(($K$4:$R$4=\"A\")*($K2158:$R2158<>\"A\")*($K2158:$R2158>\"\")*NOT(ISERROR($K2158:$R2158)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2158:$R2158=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2158:$BL2158=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2158)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2158)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2158&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2158)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2158)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2158&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2158=\"Small Patch\",E2158=\"Matrix\")),'Calculator Table'!$L2158,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2158=\"Small Patch\",'Calculator Table'!$L2158,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2158=\"Matrix\",'Calculator Table'!$L2158,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2158&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2158&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2158&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2158&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2158&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2158&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2158&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2158&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2158&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2158&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2158&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2158&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2158)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2158)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2158)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2158)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2158)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2158)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2158)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2158)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2158)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2158)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2158)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2158)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2158)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2158)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2158)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2158)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2158&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2158)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2158)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2158&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2158)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2158)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2158&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2158=\"Small Patch\",H2158=\"Matrix\")),'Calculator Table'!$L2158,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2158=\"Small Patch\",'Calculator Table'!$L2158,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2158=\"Matrix\",'Calculator Table'!$L2158,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2158&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2158&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2158&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2158&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2158&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2158&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2158&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2158&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2158&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2158&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2158&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2158&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2158)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2158)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2158)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2158)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2158)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2158)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2158)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2158)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2158)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2158)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2158)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2158)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2158)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2158)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2158)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2158)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2158&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2158)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2158)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2158&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2158)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2158)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2158&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2158=\"Small Patch\",K2158=\"Matrix\")),'Calculator Table'!$L2158,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2158=\"Small Patch\",'Calculator Table'!$L2158,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2158=\"Matrix\",'Calculator Table'!$L2158,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2158&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2158&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2158&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2158&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2158&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2158&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2158&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2158&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2158&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2158&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2158&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2158&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2158)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2158)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2158)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2158,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2158)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2158)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2158)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2158)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2158)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2158)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2158)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2158)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2158)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2158)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2158)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2158)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2158)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2158&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2159>0,'Rk Assign'!D2159,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2159>0,Calculate!$AV2159,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2159:$BL2159<>\"U\")*($AQ2159:$BL2159>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2159:$BL2159<>\"U\")*($AQ2159:$BL2159>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2159:$BL2159<>\"U\")*($AQ2159:$BL2159>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2159:$R2159<>\"Z\")*($K2159:$R2159>\"\")*NOT(ISERROR($K2159:$R2159)))+SUM(($K$4:$R$4=\"A\")*($K2159:$R2159<>\"A\")*($K2159:$R2159>\"\")*NOT(ISERROR($K2159:$R2159)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2159:$R2159=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2159:$BL2159=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2159)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2159)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2159,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2159&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2159)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2159)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2159&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2159=\"Small Patch\",E2159=\"Matrix\")),'Calculator Table'!$L2159,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2159=\"Small Patch\",'Calculator Table'!$L2159,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2159=\"Matrix\",'Calculator Table'!$L2159,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2159&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2159&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2159&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2159&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2159&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2159&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2159&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2159&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2159&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2159&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2159&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2159&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2159)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2159)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2159)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2159,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2159)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2159)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2159)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2159)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2159)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2159)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2159)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2159)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2159)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2159)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2159)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2159)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2159)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2159&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2159)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2159)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2159,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2159&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2159)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2159)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2159&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2159=\"Small Patch\",H2159=\"Matrix\")),'Calculator Table'!$L2159,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2159=\"Small Patch\",'Calculator Table'!$L2159,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2159=\"Matrix\",'Calculator Table'!$L2159,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2159&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2159&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2159&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2159&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2159&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2159&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2159&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2159&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2159&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2159&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2159&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2159&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2159)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2159)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2159)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2159,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2159)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2159)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2159)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2159)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2159)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2159)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2159)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2159)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2159)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2159)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2159)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2159)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2159)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2159&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2159)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2159)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2159,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2159&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2159)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2159)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2159&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2159=\"Small Patch\",K2159=\"Matrix\")),'Calculator Table'!$L2159,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2159=\"Small Patch\",'Calculator Table'!$L2159,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2159=\"Matrix\",'Calculator Table'!$L2159,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2159&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2159&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2159&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2159&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2159&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2159&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2159&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2159&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2159&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2159&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2159&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2159&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2159)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2159)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2159)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2159,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2159)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2159)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2159)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2159)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2159)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2159)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2159)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2159)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2159)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2159)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2159)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2159)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2159)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2159&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2160>0,'Rk Assign'!D2160,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2160>0,Calculate!$AV2160,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2160:$BL2160<>\"U\")*($AQ2160:$BL2160>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2160:$BL2160<>\"U\")*($AQ2160:$BL2160>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2160:$BL2160<>\"U\")*($AQ2160:$BL2160>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2160:$R2160<>\"Z\")*($K2160:$R2160>\"\")*NOT(ISERROR($K2160:$R2160)))+SUM(($K$4:$R$4=\"A\")*($K2160:$R2160<>\"A\")*($K2160:$R2160>\"\")*NOT(ISERROR($K2160:$R2160)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2160:$R2160=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2160:$BL2160=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2160)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2160)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2160,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2160&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2160)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2160)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2160&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2160=\"Small Patch\",E2160=\"Matrix\")),'Calculator Table'!$L2160,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2160=\"Small Patch\",'Calculator Table'!$L2160,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2160=\"Matrix\",'Calculator Table'!$L2160,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2160&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2160&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2160&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2160&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2160&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2160&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2160&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2160&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2160&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2160&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2160&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2160&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2160)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2160)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2160)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2160,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2160)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2160)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2160)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2160)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2160)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2160)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2160)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2160)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2160)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2160)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2160)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2160)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2160)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2160&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2160)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2160)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2160,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2160&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2160)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2160)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2160&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2160=\"Small Patch\",H2160=\"Matrix\")),'Calculator Table'!$L2160,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2160=\"Small Patch\",'Calculator Table'!$L2160,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2160=\"Matrix\",'Calculator Table'!$L2160,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2160&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2160&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2160&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2160&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2160&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2160&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2160&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2160&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2160&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2160&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2160&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2160&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2160)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2160)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2160)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2160,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2160)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2160)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2160)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2160)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2160)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2160)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2160)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2160)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2160)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2160)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2160)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2160)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2160)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2160&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2160)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2160)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2160,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2160&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2160)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2160)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2160&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2160=\"Small Patch\",K2160=\"Matrix\")),'Calculator Table'!$L2160,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2160=\"Small Patch\",'Calculator Table'!$L2160,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2160=\"Matrix\",'Calculator Table'!$L2160,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2160&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2160&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2160&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2160&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2160&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2160&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2160&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2160&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2160&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2160&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2160&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2160&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2160)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2160)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2160)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2160,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2160)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2160)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2160)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2160)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2160)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2160)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2160)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2160)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2160)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2160)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2160)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2160)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2160)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2160&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2161>0,'Rk Assign'!D2161,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2161>0,Calculate!$AV2161,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2161:$BL2161<>\"U\")*($AQ2161:$BL2161>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2161:$BL2161<>\"U\")*($AQ2161:$BL2161>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2161:$BL2161<>\"U\")*($AQ2161:$BL2161>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2161:$R2161<>\"Z\")*($K2161:$R2161>\"\")*NOT(ISERROR($K2161:$R2161)))+SUM(($K$4:$R$4=\"A\")*($K2161:$R2161<>\"A\")*($K2161:$R2161>\"\")*NOT(ISERROR($K2161:$R2161)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2161:$R2161=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2161:$BL2161=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2161)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2161)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2161,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2161&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2161)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2161)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2161&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2161=\"Small Patch\",E2161=\"Matrix\")),'Calculator Table'!$L2161,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2161=\"Small Patch\",'Calculator Table'!$L2161,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2161=\"Matrix\",'Calculator Table'!$L2161,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2161&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2161&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2161&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2161&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2161&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2161&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2161&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2161&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2161&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2161&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2161&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2161&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2161)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2161)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2161)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2161,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2161)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2161)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2161)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2161)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2161)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2161)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2161)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2161)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2161)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2161)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2161)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2161)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2161)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2161&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2161)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2161)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2161,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2161&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2161)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2161)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2161&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2161=\"Small Patch\",H2161=\"Matrix\")),'Calculator Table'!$L2161,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2161=\"Small Patch\",'Calculator Table'!$L2161,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2161=\"Matrix\",'Calculator Table'!$L2161,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2161&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2161&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2161&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2161&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2161&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2161&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2161&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2161&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2161&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2161&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2161&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2161&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2161)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2161)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2161)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2161,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2161)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2161)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2161)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2161)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2161)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2161)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2161)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2161)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2161)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2161)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2161)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2161)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2161)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2161&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2161)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2161)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2161,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2161&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2161)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2161)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2161&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2161=\"Small Patch\",K2161=\"Matrix\")),'Calculator Table'!$L2161,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2161=\"Small Patch\",'Calculator Table'!$L2161,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2161=\"Matrix\",'Calculator Table'!$L2161,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2161&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2161&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2161&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2161&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2161&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2161&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2161&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2161&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2161&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2161&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2161&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2161&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2161)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2161)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2161)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2161,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2161)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2161)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2161)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2161)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2161)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2161)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2161)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2161)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2161)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2161)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2161)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2161)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2161)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2161&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2162>0,'Rk Assign'!D2162,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2162>0,Calculate!$AV2162,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2162:$BL2162<>\"U\")*($AQ2162:$BL2162>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2162:$BL2162<>\"U\")*($AQ2162:$BL2162>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2162:$BL2162<>\"U\")*($AQ2162:$BL2162>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2162:$R2162<>\"Z\")*($K2162:$R2162>\"\")*NOT(ISERROR($K2162:$R2162)))+SUM(($K$4:$R$4=\"A\")*($K2162:$R2162<>\"A\")*($K2162:$R2162>\"\")*NOT(ISERROR($K2162:$R2162)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2162:$R2162=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2162:$BL2162=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2162)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2162)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2162,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2162&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2162)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2162)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2162&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2162=\"Small Patch\",E2162=\"Matrix\")),'Calculator Table'!$L2162,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2162=\"Small Patch\",'Calculator Table'!$L2162,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2162=\"Matrix\",'Calculator Table'!$L2162,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2162&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2162&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2162&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2162&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2162&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2162&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2162&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2162&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2162&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2162&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2162&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2162&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2162)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2162)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2162)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2162,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2162)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2162)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2162)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2162)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2162)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2162)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2162)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2162)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2162)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2162)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2162)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2162)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2162)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2162&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2162)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2162)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2162,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2162&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2162)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2162)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2162&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2162=\"Small Patch\",H2162=\"Matrix\")),'Calculator Table'!$L2162,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2162=\"Small Patch\",'Calculator Table'!$L2162,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2162=\"Matrix\",'Calculator Table'!$L2162,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2162&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2162&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2162&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2162&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2162&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2162&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2162&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2162&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2162&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2162&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2162&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2162&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2162)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2162)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2162)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2162,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2162)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2162)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2162)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2162)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2162)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2162)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2162)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2162)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2162)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2162)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2162)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2162)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2162)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2162&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2162)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2162)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2162,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2162&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2162)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2162)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2162&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2162=\"Small Patch\",K2162=\"Matrix\")),'Calculator Table'!$L2162,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2162=\"Small Patch\",'Calculator Table'!$L2162,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2162=\"Matrix\",'Calculator Table'!$L2162,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2162&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2162&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2162&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2162&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2162&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2162&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2162&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2162&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2162&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2162&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2162&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2162&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2162)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2162)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2162)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2162,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2162)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2162)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2162)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2162)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2162)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2162)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2162)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2162)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2162)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2162)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2162)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2162)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2162)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2162&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2163>0,'Rk Assign'!D2163,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2163>0,Calculate!$AV2163,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2163:$BL2163<>\"U\")*($AQ2163:$BL2163>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2163:$BL2163<>\"U\")*($AQ2163:$BL2163>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2163:$BL2163<>\"U\")*($AQ2163:$BL2163>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2163:$R2163<>\"Z\")*($K2163:$R2163>\"\")*NOT(ISERROR($K2163:$R2163)))+SUM(($K$4:$R$4=\"A\")*($K2163:$R2163<>\"A\")*($K2163:$R2163>\"\")*NOT(ISERROR($K2163:$R2163)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2163:$R2163=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2163:$BL2163=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2163)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2163)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2163,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2163&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2163)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2163)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2163&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2163=\"Small Patch\",E2163=\"Matrix\")),'Calculator Table'!$L2163,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2163=\"Small Patch\",'Calculator Table'!$L2163,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2163=\"Matrix\",'Calculator Table'!$L2163,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2163&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2163&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2163&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2163&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2163&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2163&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2163&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2163&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2163&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2163&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2163&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2163&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2163)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2163)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2163)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2163,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2163)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2163)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2163)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2163)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2163)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2163)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2163)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2163)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2163)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2163)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2163)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2163)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2163)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2163&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2163)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2163)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2163,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2163&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2163)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2163)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2163&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2163=\"Small Patch\",H2163=\"Matrix\")),'Calculator Table'!$L2163,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2163=\"Small Patch\",'Calculator Table'!$L2163,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2163=\"Matrix\",'Calculator Table'!$L2163,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2163&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2163&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2163&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2163&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2163&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2163&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2163&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2163&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2163&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2163&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2163&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2163&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2163)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2163)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2163)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2163,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2163)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2163)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2163)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2163)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2163)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2163)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2163)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2163)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2163)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2163)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2163)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2163)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2163)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2163&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2163)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2163)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2163,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2163&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2163)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2163)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2163&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2163=\"Small Patch\",K2163=\"Matrix\")),'Calculator Table'!$L2163,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2163=\"Small Patch\",'Calculator Table'!$L2163,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2163=\"Matrix\",'Calculator Table'!$L2163,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2163&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2163&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2163&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2163&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2163&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2163&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2163&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2163&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2163&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2163&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2163&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2163&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2163)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2163)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2163)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2163,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2163)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2163)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2163)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2163)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2163)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2163)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2163)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2163)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2163)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2163)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2163)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2163)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2163)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2163&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2164>0,'Rk Assign'!D2164,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2164>0,Calculate!$AV2164,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2164:$BL2164<>\"U\")*($AQ2164:$BL2164>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2164:$BL2164<>\"U\")*($AQ2164:$BL2164>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2164:$BL2164<>\"U\")*($AQ2164:$BL2164>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2164:$R2164<>\"Z\")*($K2164:$R2164>\"\")*NOT(ISERROR($K2164:$R2164)))+SUM(($K$4:$R$4=\"A\")*($K2164:$R2164<>\"A\")*($K2164:$R2164>\"\")*NOT(ISERROR($K2164:$R2164)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2164:$R2164=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2164:$BL2164=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2164)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2164)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2164,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2164&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2164)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2164)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2164&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2164=\"Small Patch\",E2164=\"Matrix\")),'Calculator Table'!$L2164,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2164=\"Small Patch\",'Calculator Table'!$L2164,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2164=\"Matrix\",'Calculator Table'!$L2164,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2164&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2164&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2164&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2164&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2164&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2164&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2164&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2164&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2164&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2164&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2164&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2164&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2164)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2164)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2164)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2164,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2164)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2164)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2164)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2164)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2164)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2164)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2164)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2164)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2164)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2164)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2164)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2164)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2164)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2164&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2164)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2164)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2164,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2164&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2164)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2164)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2164&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2164=\"Small Patch\",H2164=\"Matrix\")),'Calculator Table'!$L2164,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2164=\"Small Patch\",'Calculator Table'!$L2164,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2164=\"Matrix\",'Calculator Table'!$L2164,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2164&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2164&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2164&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2164&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2164&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2164&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2164&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2164&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2164&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2164&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2164&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2164&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2164)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2164)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2164)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2164,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2164)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2164)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2164)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2164)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2164)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2164)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2164)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2164)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2164)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2164)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2164)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2164)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2164)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2164&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2164)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2164)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2164,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2164&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2164)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2164)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2164&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2164=\"Small Patch\",K2164=\"Matrix\")),'Calculator Table'!$L2164,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2164=\"Small Patch\",'Calculator Table'!$L2164,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2164=\"Matrix\",'Calculator Table'!$L2164,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2164&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2164&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2164&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2164&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2164&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2164&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2164&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2164&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2164&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2164&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2164&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2164&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2164)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2164)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2164)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2164,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2164)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2164)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2164)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2164)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2164)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2164)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2164)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2164)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2164)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2164)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2164)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2164)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2164)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2164&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2165>0,'Rk Assign'!D2165,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2165>0,Calculate!$AV2165,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2165:$BL2165<>\"U\")*($AQ2165:$BL2165>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2165:$BL2165<>\"U\")*($AQ2165:$BL2165>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2165:$BL2165<>\"U\")*($AQ2165:$BL2165>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2165:$R2165<>\"Z\")*($K2165:$R2165>\"\")*NOT(ISERROR($K2165:$R2165)))+SUM(($K$4:$R$4=\"A\")*($K2165:$R2165<>\"A\")*($K2165:$R2165>\"\")*NOT(ISERROR($K2165:$R2165)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2165:$R2165=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2165:$BL2165=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2165)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2165)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2165,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2165&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2165)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2165)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2165&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2165=\"Small Patch\",E2165=\"Matrix\")),'Calculator Table'!$L2165,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2165=\"Small Patch\",'Calculator Table'!$L2165,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2165=\"Matrix\",'Calculator Table'!$L2165,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2165&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2165&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2165&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2165&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2165&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2165&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2165&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2165&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2165&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2165&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2165&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2165&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2165)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2165)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2165)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2165,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2165)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2165)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2165)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2165)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2165)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2165)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2165)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2165)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2165)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2165)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2165)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2165)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2165)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2165&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2165)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2165)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2165,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2165&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2165)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2165)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2165&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2165=\"Small Patch\",H2165=\"Matrix\")),'Calculator Table'!$L2165,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2165=\"Small Patch\",'Calculator Table'!$L2165,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2165=\"Matrix\",'Calculator Table'!$L2165,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2165&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2165&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2165&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2165&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2165&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2165&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2165&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2165&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2165&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2165&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2165&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2165&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2165)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2165)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2165)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2165,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2165)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2165)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2165)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2165)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2165)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2165)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2165)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2165)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2165)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2165)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2165)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2165)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2165)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2165&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2165)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2165)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2165,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2165&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2165)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2165)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2165&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2165=\"Small Patch\",K2165=\"Matrix\")),'Calculator Table'!$L2165,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2165=\"Small Patch\",'Calculator Table'!$L2165,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2165=\"Matrix\",'Calculator Table'!$L2165,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2165&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2165&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2165&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2165&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2165&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2165&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2165&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2165&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2165&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2165&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2165&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2165&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2165)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2165)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2165)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2165,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2165)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2165)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2165)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2165)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2165)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2165)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2165)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2165)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2165)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2165)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2165)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2165)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2165)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2165&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2166>0,'Rk Assign'!D2166,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2166>0,Calculate!$AV2166,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2166:$BL2166<>\"U\")*($AQ2166:$BL2166>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2166:$BL2166<>\"U\")*($AQ2166:$BL2166>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2166:$BL2166<>\"U\")*($AQ2166:$BL2166>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2166:$R2166<>\"Z\")*($K2166:$R2166>\"\")*NOT(ISERROR($K2166:$R2166)))+SUM(($K$4:$R$4=\"A\")*($K2166:$R2166<>\"A\")*($K2166:$R2166>\"\")*NOT(ISERROR($K2166:$R2166)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2166:$R2166=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2166:$BL2166=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2166)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2166)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2166,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2166&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2166)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2166)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2166&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2166=\"Small Patch\",E2166=\"Matrix\")),'Calculator Table'!$L2166,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2166=\"Small Patch\",'Calculator Table'!$L2166,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2166=\"Matrix\",'Calculator Table'!$L2166,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2166&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2166&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2166&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2166&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2166&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2166&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2166&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2166&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2166&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2166&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2166&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2166&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2166)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2166)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2166)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2166,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2166)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2166)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2166)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2166)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2166)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2166)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2166)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2166)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2166)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2166)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2166)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2166)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2166)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2166&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2166)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2166)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2166,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2166&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2166)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2166)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2166&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2166=\"Small Patch\",H2166=\"Matrix\")),'Calculator Table'!$L2166,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2166=\"Small Patch\",'Calculator Table'!$L2166,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2166=\"Matrix\",'Calculator Table'!$L2166,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2166&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2166&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2166&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2166&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2166&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2166&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2166&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2166&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2166&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2166&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2166&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2166&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2166)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2166)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2166)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2166,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2166)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2166)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2166)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2166)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2166)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2166)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2166)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2166)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2166)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2166)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2166)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2166)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2166)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2166&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2166)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2166)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2166,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2166&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2166)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2166)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2166&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2166=\"Small Patch\",K2166=\"Matrix\")),'Calculator Table'!$L2166,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2166=\"Small Patch\",'Calculator Table'!$L2166,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2166=\"Matrix\",'Calculator Table'!$L2166,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2166&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2166&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2166&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2166&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2166&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2166&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2166&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2166&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2166&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2166&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2166&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2166&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2166)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2166)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2166)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2166,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2166)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2166)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2166)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2166)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2166)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2166)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2166)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2166)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2166)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2166)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2166)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2166)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2166)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2166&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2167>0,'Rk Assign'!D2167,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2167>0,Calculate!$AV2167,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2167:$BL2167<>\"U\")*($AQ2167:$BL2167>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2167:$BL2167<>\"U\")*($AQ2167:$BL2167>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2167:$BL2167<>\"U\")*($AQ2167:$BL2167>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2167:$R2167<>\"Z\")*($K2167:$R2167>\"\")*NOT(ISERROR($K2167:$R2167)))+SUM(($K$4:$R$4=\"A\")*($K2167:$R2167<>\"A\")*($K2167:$R2167>\"\")*NOT(ISERROR($K2167:$R2167)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2167:$R2167=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2167:$BL2167=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2167)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2167)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2167&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2167)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2167)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2167&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2167=\"Small Patch\",E2167=\"Matrix\")),'Calculator Table'!$L2167,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2167=\"Small Patch\",'Calculator Table'!$L2167,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2167=\"Matrix\",'Calculator Table'!$L2167,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2167&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2167&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2167&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2167&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2167&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2167&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2167&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2167&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2167&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2167&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2167&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2167&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2167)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2167)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2167)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2167)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2167)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2167)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2167)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2167)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2167)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2167)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2167)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2167)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2167)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2167)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2167)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2167)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2167&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2167)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2167)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2167&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2167)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2167)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2167&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2167=\"Small Patch\",H2167=\"Matrix\")),'Calculator Table'!$L2167,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2167=\"Small Patch\",'Calculator Table'!$L2167,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2167=\"Matrix\",'Calculator Table'!$L2167,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2167&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2167&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2167&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2167&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2167&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2167&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2167&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2167&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2167&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2167&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2167&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2167&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2167)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2167)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2167)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2167)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2167)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2167)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2167)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2167)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2167)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2167)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2167)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2167)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2167)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2167)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2167)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2167)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2167&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2167)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2167)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2167&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2167)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2167)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2167&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2167=\"Small Patch\",K2167=\"Matrix\")),'Calculator Table'!$L2167,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2167=\"Small Patch\",'Calculator Table'!$L2167,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2167=\"Matrix\",'Calculator Table'!$L2167,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2167&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2167&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2167&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2167&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2167&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2167&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2167&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2167&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2167&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2167&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2167&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2167&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2167)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2167)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2167)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2167,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2167)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2167)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2167)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2167)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2167)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2167)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2167)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2167)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2167)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2167)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2167)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2167)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2167)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2167&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2168>0,'Rk Assign'!D2168,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2168>0,Calculate!$AV2168,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2168:$BL2168<>\"U\")*($AQ2168:$BL2168>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2168:$BL2168<>\"U\")*($AQ2168:$BL2168>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2168:$BL2168<>\"U\")*($AQ2168:$BL2168>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2168:$R2168<>\"Z\")*($K2168:$R2168>\"\")*NOT(ISERROR($K2168:$R2168)))+SUM(($K$4:$R$4=\"A\")*($K2168:$R2168<>\"A\")*($K2168:$R2168>\"\")*NOT(ISERROR($K2168:$R2168)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2168:$R2168=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2168:$BL2168=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2168)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2168)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2168,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2168&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2168)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2168)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2168&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2168=\"Small Patch\",E2168=\"Matrix\")),'Calculator Table'!$L2168,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2168=\"Small Patch\",'Calculator Table'!$L2168,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2168=\"Matrix\",'Calculator Table'!$L2168,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2168&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2168&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2168&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2168&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2168&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2168&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2168&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2168&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2168&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2168&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2168&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2168&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2168)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2168)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2168)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2168,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2168)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2168)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2168)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2168)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2168)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2168)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2168)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2168)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2168)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2168)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2168)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2168)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2168)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2168&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2168)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2168)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2168,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2168&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2168)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2168)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2168&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2168=\"Small Patch\",H2168=\"Matrix\")),'Calculator Table'!$L2168,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2168=\"Small Patch\",'Calculator Table'!$L2168,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2168=\"Matrix\",'Calculator Table'!$L2168,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2168&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2168&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2168&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2168&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2168&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2168&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2168&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2168&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2168&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2168&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2168&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2168&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2168)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2168)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2168)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2168,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2168)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2168)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2168)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2168)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2168)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2168)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2168)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2168)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2168)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2168)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2168)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2168)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2168)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2168&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2168)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2168)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2168,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2168&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2168)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2168)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2168&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2168=\"Small Patch\",K2168=\"Matrix\")),'Calculator Table'!$L2168,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2168=\"Small Patch\",'Calculator Table'!$L2168,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2168=\"Matrix\",'Calculator Table'!$L2168,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2168&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2168&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2168&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2168&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2168&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2168&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2168&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2168&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2168&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2168&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2168&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2168&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2168)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2168)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2168)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2168,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2168)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2168)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2168)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2168)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2168)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2168)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2168)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2168)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2168)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2168)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2168)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2168)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2168)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2168&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2169>0,'Rk Assign'!D2169,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2169>0,Calculate!$AV2169,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2169:$BL2169<>\"U\")*($AQ2169:$BL2169>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2169:$BL2169<>\"U\")*($AQ2169:$BL2169>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2169:$BL2169<>\"U\")*($AQ2169:$BL2169>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2169:$R2169<>\"Z\")*($K2169:$R2169>\"\")*NOT(ISERROR($K2169:$R2169)))+SUM(($K$4:$R$4=\"A\")*($K2169:$R2169<>\"A\")*($K2169:$R2169>\"\")*NOT(ISERROR($K2169:$R2169)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2169:$R2169=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2169:$BL2169=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2169)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2169)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2169,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2169&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2169)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2169)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2169&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2169=\"Small Patch\",E2169=\"Matrix\")),'Calculator Table'!$L2169,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2169=\"Small Patch\",'Calculator Table'!$L2169,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2169=\"Matrix\",'Calculator Table'!$L2169,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2169&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2169&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2169&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2169&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2169&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2169&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2169&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2169&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2169&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2169&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2169&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2169&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2169)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2169)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2169)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2169,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2169)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2169)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2169)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2169)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2169)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2169)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2169)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2169)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2169)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2169)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2169)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2169)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2169)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2169&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2169)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2169)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2169,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2169&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2169)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2169)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2169&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2169=\"Small Patch\",H2169=\"Matrix\")),'Calculator Table'!$L2169,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2169=\"Small Patch\",'Calculator Table'!$L2169,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2169=\"Matrix\",'Calculator Table'!$L2169,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2169&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2169&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2169&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2169&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2169&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2169&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2169&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2169&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2169&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2169&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2169&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2169&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2169)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2169)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2169)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2169,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2169)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2169)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2169)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2169)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2169)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2169)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2169)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2169)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2169)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2169)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2169)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2169)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2169)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2169&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2169)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2169)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2169,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2169&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2169)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2169)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2169&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2169=\"Small Patch\",K2169=\"Matrix\")),'Calculator Table'!$L2169,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2169=\"Small Patch\",'Calculator Table'!$L2169,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2169=\"Matrix\",'Calculator Table'!$L2169,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2169&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2169&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2169&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2169&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2169&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2169&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2169&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2169&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2169&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2169&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2169&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2169&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2169)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2169)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2169)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2169,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2169)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2169)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2169)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2169)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2169)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2169)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2169)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2169)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2169)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2169)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2169)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2169)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2169)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2169&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2170>0,'Rk Assign'!D2170,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2170>0,Calculate!$AV2170,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2170:$BL2170<>\"U\")*($AQ2170:$BL2170>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2170:$BL2170<>\"U\")*($AQ2170:$BL2170>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2170:$BL2170<>\"U\")*($AQ2170:$BL2170>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2170:$R2170<>\"Z\")*($K2170:$R2170>\"\")*NOT(ISERROR($K2170:$R2170)))+SUM(($K$4:$R$4=\"A\")*($K2170:$R2170<>\"A\")*($K2170:$R2170>\"\")*NOT(ISERROR($K2170:$R2170)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2170:$R2170=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2170:$BL2170=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2170)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2170)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2170,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2170&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2170)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2170)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2170&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2170=\"Small Patch\",E2170=\"Matrix\")),'Calculator Table'!$L2170,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2170=\"Small Patch\",'Calculator Table'!$L2170,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2170=\"Matrix\",'Calculator Table'!$L2170,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2170&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2170&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2170&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2170&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2170&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2170&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2170&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2170&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2170&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2170&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2170&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2170&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2170)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2170)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2170)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2170,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2170)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2170)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2170)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2170)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2170)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2170)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2170)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2170)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2170)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2170)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2170)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2170)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2170)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2170&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2170)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2170)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2170,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2170&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2170)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2170)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2170&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2170=\"Small Patch\",H2170=\"Matrix\")),'Calculator Table'!$L2170,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2170=\"Small Patch\",'Calculator Table'!$L2170,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2170=\"Matrix\",'Calculator Table'!$L2170,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2170&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2170&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2170&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2170&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2170&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2170&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2170&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2170&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2170&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2170&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2170&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2170&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2170)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2170)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2170)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2170,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2170)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2170)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2170)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2170)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2170)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2170)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2170)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2170)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2170)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2170)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2170)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2170)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2170)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2170&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2170)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2170)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2170,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2170&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2170)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2170)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2170&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2170=\"Small Patch\",K2170=\"Matrix\")),'Calculator Table'!$L2170,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2170=\"Small Patch\",'Calculator Table'!$L2170,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2170=\"Matrix\",'Calculator Table'!$L2170,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2170&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2170&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2170&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2170&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2170&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2170&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2170&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2170&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2170&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2170&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2170&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2170&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2170)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2170)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2170)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2170,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2170)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2170)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2170)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2170)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2170)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2170)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2170)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2170)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2170)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2170)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2170)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2170)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2170)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2170&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2171>0,'Rk Assign'!D2171,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2171>0,Calculate!$AV2171,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2171:$BL2171<>\"U\")*($AQ2171:$BL2171>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2171:$BL2171<>\"U\")*($AQ2171:$BL2171>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2171:$BL2171<>\"U\")*($AQ2171:$BL2171>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2171:$R2171<>\"Z\")*($K2171:$R2171>\"\")*NOT(ISERROR($K2171:$R2171)))+SUM(($K$4:$R$4=\"A\")*($K2171:$R2171<>\"A\")*($K2171:$R2171>\"\")*NOT(ISERROR($K2171:$R2171)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2171:$R2171=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2171:$BL2171=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2171)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2171)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2171,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2171&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2171)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2171)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2171&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2171=\"Small Patch\",E2171=\"Matrix\")),'Calculator Table'!$L2171,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2171=\"Small Patch\",'Calculator Table'!$L2171,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2171=\"Matrix\",'Calculator Table'!$L2171,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2171&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2171&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2171&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2171&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2171&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2171&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2171&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2171&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2171&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2171&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2171&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2171&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2171)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2171)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2171)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2171,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2171)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2171)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2171)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2171)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2171)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2171)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2171)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2171)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2171)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2171)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2171)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2171)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2171)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2171&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2171)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2171)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2171,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2171&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2171)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2171)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2171&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2171=\"Small Patch\",H2171=\"Matrix\")),'Calculator Table'!$L2171,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2171=\"Small Patch\",'Calculator Table'!$L2171,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2171=\"Matrix\",'Calculator Table'!$L2171,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2171&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2171&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2171&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2171&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2171&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2171&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2171&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2171&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2171&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2171&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2171&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2171&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2171)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2171)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2171)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2171,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2171)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2171)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2171)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2171)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2171)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2171)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2171)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2171)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2171)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2171)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2171)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2171)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2171)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2171&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2171)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2171)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2171,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2171&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2171)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2171)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2171&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2171=\"Small Patch\",K2171=\"Matrix\")),'Calculator Table'!$L2171,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2171=\"Small Patch\",'Calculator Table'!$L2171,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2171=\"Matrix\",'Calculator Table'!$L2171,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2171&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2171&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2171&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2171&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2171&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2171&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2171&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2171&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2171&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2171&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2171&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2171&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2171)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2171)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2171)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2171,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2171)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2171)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2171)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2171)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2171)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2171)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2171)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2171)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2171)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2171)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2171)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2171)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2171)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2171&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2172>0,'Rk Assign'!D2172,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2172>0,Calculate!$AV2172,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2172:$BL2172<>\"U\")*($AQ2172:$BL2172>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2172:$BL2172<>\"U\")*($AQ2172:$BL2172>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2172:$BL2172<>\"U\")*($AQ2172:$BL2172>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2172:$R2172<>\"Z\")*($K2172:$R2172>\"\")*NOT(ISERROR($K2172:$R2172)))+SUM(($K$4:$R$4=\"A\")*($K2172:$R2172<>\"A\")*($K2172:$R2172>\"\")*NOT(ISERROR($K2172:$R2172)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2172:$R2172=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2172:$BL2172=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2172)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2172)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2172,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2172&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2172)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2172)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2172&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2172=\"Small Patch\",E2172=\"Matrix\")),'Calculator Table'!$L2172,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2172=\"Small Patch\",'Calculator Table'!$L2172,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2172=\"Matrix\",'Calculator Table'!$L2172,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2172&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2172&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2172&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2172&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2172&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2172&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2172&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2172&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2172&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2172&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2172&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2172&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2172)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2172)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2172)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2172,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2172)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2172)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2172)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2172)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2172)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2172)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2172)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2172)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2172)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2172)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2172)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2172)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2172)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2172&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2172)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2172)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2172,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2172&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2172)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2172)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2172&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2172=\"Small Patch\",H2172=\"Matrix\")),'Calculator Table'!$L2172,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2172=\"Small Patch\",'Calculator Table'!$L2172,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2172=\"Matrix\",'Calculator Table'!$L2172,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2172&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2172&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2172&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2172&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2172&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2172&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2172&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2172&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2172&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2172&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2172&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2172&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2172)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2172)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2172)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2172,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2172)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2172)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2172)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2172)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2172)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2172)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2172)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2172)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2172)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2172)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2172)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2172)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2172)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2172&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2172)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2172)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2172,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2172&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2172)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2172)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2172&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2172=\"Small Patch\",K2172=\"Matrix\")),'Calculator Table'!$L2172,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2172=\"Small Patch\",'Calculator Table'!$L2172,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2172=\"Matrix\",'Calculator Table'!$L2172,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2172&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2172&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2172&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2172&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2172&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2172&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2172&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2172&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2172&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2172&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2172&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2172&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2172)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2172)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2172)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2172,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2172)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2172)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2172)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2172)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2172)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2172)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2172)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2172)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2172)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2172)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2172)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2172)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2172)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2172&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2173>0,'Rk Assign'!D2173,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2173>0,Calculate!$AV2173,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2173:$BL2173<>\"U\")*($AQ2173:$BL2173>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2173:$BL2173<>\"U\")*($AQ2173:$BL2173>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2173:$BL2173<>\"U\")*($AQ2173:$BL2173>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2173:$R2173<>\"Z\")*($K2173:$R2173>\"\")*NOT(ISERROR($K2173:$R2173)))+SUM(($K$4:$R$4=\"A\")*($K2173:$R2173<>\"A\")*($K2173:$R2173>\"\")*NOT(ISERROR($K2173:$R2173)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2173:$R2173=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2173:$BL2173=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2173)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2173)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2173,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2173&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2173)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2173)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2173&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2173=\"Small Patch\",E2173=\"Matrix\")),'Calculator Table'!$L2173,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2173=\"Small Patch\",'Calculator Table'!$L2173,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2173=\"Matrix\",'Calculator Table'!$L2173,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2173&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2173&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2173&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2173&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2173&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2173&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2173&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2173&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2173&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2173&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2173&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2173&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2173)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2173)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2173)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2173,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2173)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2173)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2173)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2173)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2173)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2173)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2173)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2173)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2173)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2173)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2173)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2173)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2173)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2173&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2173)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2173)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2173,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2173&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2173)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2173)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2173&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2173=\"Small Patch\",H2173=\"Matrix\")),'Calculator Table'!$L2173,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2173=\"Small Patch\",'Calculator Table'!$L2173,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2173=\"Matrix\",'Calculator Table'!$L2173,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2173&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2173&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2173&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2173&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2173&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2173&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2173&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2173&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2173&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2173&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2173&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2173&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2173)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2173)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2173)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2173,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2173)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2173)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2173)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2173)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2173)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2173)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2173)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2173)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2173)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2173)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2173)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2173)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2173)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2173&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2173)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2173)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2173,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2173&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2173)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2173)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2173&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2173=\"Small Patch\",K2173=\"Matrix\")),'Calculator Table'!$L2173,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2173=\"Small Patch\",'Calculator Table'!$L2173,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2173=\"Matrix\",'Calculator Table'!$L2173,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2173&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2173&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2173&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2173&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2173&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2173&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2173&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2173&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2173&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2173&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2173&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2173&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2173)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2173)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2173)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2173,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2173)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2173)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2173)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2173)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2173)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2173)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2173)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2173)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2173)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2173)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2173)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2173)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2173)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2173&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2174>0,'Rk Assign'!D2174,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2174>0,Calculate!$AV2174,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2174:$BL2174<>\"U\")*($AQ2174:$BL2174>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2174:$BL2174<>\"U\")*($AQ2174:$BL2174>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2174:$BL2174<>\"U\")*($AQ2174:$BL2174>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2174:$R2174<>\"Z\")*($K2174:$R2174>\"\")*NOT(ISERROR($K2174:$R2174)))+SUM(($K$4:$R$4=\"A\")*($K2174:$R2174<>\"A\")*($K2174:$R2174>\"\")*NOT(ISERROR($K2174:$R2174)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2174:$R2174=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2174:$BL2174=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2174)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2174)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2174,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2174&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2174)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2174)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2174&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2174=\"Small Patch\",E2174=\"Matrix\")),'Calculator Table'!$L2174,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2174=\"Small Patch\",'Calculator Table'!$L2174,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2174=\"Matrix\",'Calculator Table'!$L2174,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2174&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2174&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2174&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2174&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2174&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2174&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2174&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2174&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2174&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2174&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2174&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2174&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2174)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2174)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2174)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2174,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2174)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2174)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2174)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2174)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2174)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2174)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2174)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2174)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2174)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2174)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2174)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2174)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2174)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2174&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2174)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2174)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2174,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2174&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2174)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2174)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2174&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2174=\"Small Patch\",H2174=\"Matrix\")),'Calculator Table'!$L2174,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2174=\"Small Patch\",'Calculator Table'!$L2174,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2174=\"Matrix\",'Calculator Table'!$L2174,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2174&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2174&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2174&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2174&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2174&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2174&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2174&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2174&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2174&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2174&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2174&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2174&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2174)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2174)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2174)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2174,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2174)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2174)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2174)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2174)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2174)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2174)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2174)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2174)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2174)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2174)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2174)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2174)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2174)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2174&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2174)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2174)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2174,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2174&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2174)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2174)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2174&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2174=\"Small Patch\",K2174=\"Matrix\")),'Calculator Table'!$L2174,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2174=\"Small Patch\",'Calculator Table'!$L2174,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2174=\"Matrix\",'Calculator Table'!$L2174,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2174&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2174&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2174&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2174&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2174&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2174&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2174&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2174&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2174&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2174&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2174&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2174&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2174)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2174)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2174)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2174,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2174)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2174)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2174)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2174)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2174)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2174)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2174)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2174)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2174)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2174)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2174)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2174)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2174)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2174&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2175>0,'Rk Assign'!D2175,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2175>0,Calculate!$AV2175,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2175:$BL2175<>\"U\")*($AQ2175:$BL2175>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2175:$BL2175<>\"U\")*($AQ2175:$BL2175>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2175:$BL2175<>\"U\")*($AQ2175:$BL2175>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2175:$R2175<>\"Z\")*($K2175:$R2175>\"\")*NOT(ISERROR($K2175:$R2175)))+SUM(($K$4:$R$4=\"A\")*($K2175:$R2175<>\"A\")*($K2175:$R2175>\"\")*NOT(ISERROR($K2175:$R2175)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2175:$R2175=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2175:$BL2175=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2175)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2175)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2175,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2175&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2175)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2175)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2175&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2175=\"Small Patch\",E2175=\"Matrix\")),'Calculator Table'!$L2175,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2175=\"Small Patch\",'Calculator Table'!$L2175,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2175=\"Matrix\",'Calculator Table'!$L2175,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2175&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2175&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2175&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2175&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2175&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2175&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2175&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2175&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2175&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2175&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2175&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2175&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2175)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2175)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2175)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2175,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2175)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2175)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2175)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2175)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2175)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2175)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2175)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2175)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2175)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2175)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2175)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2175)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2175)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2175&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2175)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2175)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2175,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2175&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2175)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2175)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2175&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2175=\"Small Patch\",H2175=\"Matrix\")),'Calculator Table'!$L2175,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2175=\"Small Patch\",'Calculator Table'!$L2175,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2175=\"Matrix\",'Calculator Table'!$L2175,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2175&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2175&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2175&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2175&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2175&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2175&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2175&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2175&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2175&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2175&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2175&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2175&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2175)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2175)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2175)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2175,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2175)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2175)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2175)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2175)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2175)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2175)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2175)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2175)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2175)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2175)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2175)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2175)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2175)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2175&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2175)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2175)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2175,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2175&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2175)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2175)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2175&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2175=\"Small Patch\",K2175=\"Matrix\")),'Calculator Table'!$L2175,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2175=\"Small Patch\",'Calculator Table'!$L2175,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2175=\"Matrix\",'Calculator Table'!$L2175,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2175&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2175&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2175&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2175&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2175&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2175&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2175&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2175&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2175&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2175&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2175&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2175&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2175)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2175)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2175)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2175,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2175)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2175)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2175)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2175)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2175)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2175)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2175)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2175)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2175)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2175)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2175)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2175)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2175)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2175&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2176>0,'Rk Assign'!D2176,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2176>0,Calculate!$AV2176,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2176:$BL2176<>\"U\")*($AQ2176:$BL2176>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2176:$BL2176<>\"U\")*($AQ2176:$BL2176>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2176:$BL2176<>\"U\")*($AQ2176:$BL2176>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2176:$R2176<>\"Z\")*($K2176:$R2176>\"\")*NOT(ISERROR($K2176:$R2176)))+SUM(($K$4:$R$4=\"A\")*($K2176:$R2176<>\"A\")*($K2176:$R2176>\"\")*NOT(ISERROR($K2176:$R2176)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2176:$R2176=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2176:$BL2176=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2176)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2176)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2176,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2176&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2176)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2176)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2176&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2176=\"Small Patch\",E2176=\"Matrix\")),'Calculator Table'!$L2176,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2176=\"Small Patch\",'Calculator Table'!$L2176,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2176=\"Matrix\",'Calculator Table'!$L2176,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2176&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2176&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2176&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2176&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2176&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2176&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2176&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2176&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2176&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2176&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2176&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2176&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2176)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2176)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2176)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2176,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2176)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2176)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2176)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2176)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2176)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2176)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2176)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2176)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2176)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2176)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2176)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2176)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2176)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2176&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2176)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2176)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2176,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2176&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2176)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2176)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2176&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2176=\"Small Patch\",H2176=\"Matrix\")),'Calculator Table'!$L2176,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2176=\"Small Patch\",'Calculator Table'!$L2176,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2176=\"Matrix\",'Calculator Table'!$L2176,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2176&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2176&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2176&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2176&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2176&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2176&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2176&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2176&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2176&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2176&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2176&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2176&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2176)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2176)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2176)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2176,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2176)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2176)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2176)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2176)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2176)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2176)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2176)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2176)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2176)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2176)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2176)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2176)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2176)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2176&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2176)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2176)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2176,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2176&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2176)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2176)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2176&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2176=\"Small Patch\",K2176=\"Matrix\")),'Calculator Table'!$L2176,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2176=\"Small Patch\",'Calculator Table'!$L2176,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2176=\"Matrix\",'Calculator Table'!$L2176,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2176&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2176&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2176&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2176&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2176&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2176&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2176&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2176&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2176&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2176&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2176&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2176&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2176)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2176)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2176)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2176,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2176)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2176)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2176)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2176)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2176)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2176)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2176)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2176)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2176)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2176)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2176)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2176)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2176)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2176&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2177>0,'Rk Assign'!D2177,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2177>0,Calculate!$AV2177,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2177:$BL2177<>\"U\")*($AQ2177:$BL2177>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2177:$BL2177<>\"U\")*($AQ2177:$BL2177>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2177:$BL2177<>\"U\")*($AQ2177:$BL2177>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2177:$R2177<>\"Z\")*($K2177:$R2177>\"\")*NOT(ISERROR($K2177:$R2177)))+SUM(($K$4:$R$4=\"A\")*($K2177:$R2177<>\"A\")*($K2177:$R2177>\"\")*NOT(ISERROR($K2177:$R2177)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2177:$R2177=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2177:$BL2177=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2177)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2177)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2177,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2177&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2177)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2177)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2177&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2177=\"Small Patch\",E2177=\"Matrix\")),'Calculator Table'!$L2177,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2177=\"Small Patch\",'Calculator Table'!$L2177,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2177=\"Matrix\",'Calculator Table'!$L2177,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2177&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2177&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2177&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2177&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2177&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2177&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2177&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2177&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2177&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2177&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2177&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2177&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2177)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2177)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2177)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2177,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2177)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2177)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2177)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2177)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2177)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2177)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2177)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2177)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2177)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2177)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2177)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2177)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2177)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2177&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2177)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2177)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2177,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2177&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2177)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2177)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2177&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2177=\"Small Patch\",H2177=\"Matrix\")),'Calculator Table'!$L2177,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2177=\"Small Patch\",'Calculator Table'!$L2177,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2177=\"Matrix\",'Calculator Table'!$L2177,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2177&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2177&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2177&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2177&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2177&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2177&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2177&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2177&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2177&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2177&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2177&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2177&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2177)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2177)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2177)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2177,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2177)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2177)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2177)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2177)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2177)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2177)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2177)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2177)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2177)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2177)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2177)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2177)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2177)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2177&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2177)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2177)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2177,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2177&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2177)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2177)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2177&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2177=\"Small Patch\",K2177=\"Matrix\")),'Calculator Table'!$L2177,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2177=\"Small Patch\",'Calculator Table'!$L2177,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2177=\"Matrix\",'Calculator Table'!$L2177,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2177&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2177&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2177&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2177&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2177&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2177&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2177&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2177&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2177&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2177&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2177&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2177&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2177)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2177)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2177)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2177,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2177)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2177)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2177)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2177)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2177)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2177)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2177)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2177)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2177)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2177)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2177)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2177)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2177)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2177&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2178>0,'Rk Assign'!D2178,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2178>0,Calculate!$AV2178,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2178:$BL2178<>\"U\")*($AQ2178:$BL2178>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2178:$BL2178<>\"U\")*($AQ2178:$BL2178>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2178:$BL2178<>\"U\")*($AQ2178:$BL2178>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2178:$R2178<>\"Z\")*($K2178:$R2178>\"\")*NOT(ISERROR($K2178:$R2178)))+SUM(($K$4:$R$4=\"A\")*($K2178:$R2178<>\"A\")*($K2178:$R2178>\"\")*NOT(ISERROR($K2178:$R2178)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2178:$R2178=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2178:$BL2178=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2178)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2178)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2178,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2178&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2178)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2178)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2178&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2178=\"Small Patch\",E2178=\"Matrix\")),'Calculator Table'!$L2178,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2178=\"Small Patch\",'Calculator Table'!$L2178,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2178=\"Matrix\",'Calculator Table'!$L2178,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2178&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2178&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2178&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2178&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2178&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2178&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2178&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2178&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2178&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2178&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2178&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2178&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2178)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2178)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2178)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2178,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2178)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2178)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2178)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2178)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2178)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2178)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2178)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2178)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2178)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2178)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2178)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2178)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2178)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2178&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2178)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2178)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2178,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2178&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2178)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2178)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2178&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2178=\"Small Patch\",H2178=\"Matrix\")),'Calculator Table'!$L2178,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2178=\"Small Patch\",'Calculator Table'!$L2178,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2178=\"Matrix\",'Calculator Table'!$L2178,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2178&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2178&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2178&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2178&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2178&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2178&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2178&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2178&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2178&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2178&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2178&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2178&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2178)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2178)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2178)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2178,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2178)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2178)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2178)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2178)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2178)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2178)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2178)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2178)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2178)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2178)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2178)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2178)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2178)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2178&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2178)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2178)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2178,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2178&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2178)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2178)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2178&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2178=\"Small Patch\",K2178=\"Matrix\")),'Calculator Table'!$L2178,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2178=\"Small Patch\",'Calculator Table'!$L2178,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2178=\"Matrix\",'Calculator Table'!$L2178,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2178&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2178&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2178&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2178&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2178&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2178&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2178&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2178&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2178&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2178&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2178&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2178&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2178)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2178)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2178)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2178,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2178)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2178)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2178)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2178)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2178)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2178)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2178)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2178)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2178)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2178)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2178)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2178)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2178)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2178&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2179>0,'Rk Assign'!D2179,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2179>0,Calculate!$AV2179,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2179:$BL2179<>\"U\")*($AQ2179:$BL2179>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2179:$BL2179<>\"U\")*($AQ2179:$BL2179>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2179:$BL2179<>\"U\")*($AQ2179:$BL2179>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2179:$R2179<>\"Z\")*($K2179:$R2179>\"\")*NOT(ISERROR($K2179:$R2179)))+SUM(($K$4:$R$4=\"A\")*($K2179:$R2179<>\"A\")*($K2179:$R2179>\"\")*NOT(ISERROR($K2179:$R2179)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2179:$R2179=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2179:$BL2179=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2179)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2179)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2179&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2179)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2179)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2179&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2179=\"Small Patch\",E2179=\"Matrix\")),'Calculator Table'!$L2179,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2179=\"Small Patch\",'Calculator Table'!$L2179,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2179=\"Matrix\",'Calculator Table'!$L2179,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2179&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2179&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2179&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2179&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2179&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2179&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2179&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2179&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2179&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2179&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2179&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2179&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2179)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2179)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2179)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2179)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2179)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2179)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2179)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2179)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2179)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2179)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2179)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2179)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2179)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2179)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2179)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2179)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2179&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2179)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2179)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2179&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2179)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2179)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2179&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2179=\"Small Patch\",H2179=\"Matrix\")),'Calculator Table'!$L2179,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2179=\"Small Patch\",'Calculator Table'!$L2179,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2179=\"Matrix\",'Calculator Table'!$L2179,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2179&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2179&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2179&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2179&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2179&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2179&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2179&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2179&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2179&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2179&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2179&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2179&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2179)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2179)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2179)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2179)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2179)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2179)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2179)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2179)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2179)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2179)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2179)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2179)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2179)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2179)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2179)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2179)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2179&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2179)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2179)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2179&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2179)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2179)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2179&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2179=\"Small Patch\",K2179=\"Matrix\")),'Calculator Table'!$L2179,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2179=\"Small Patch\",'Calculator Table'!$L2179,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2179=\"Matrix\",'Calculator Table'!$L2179,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2179&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2179&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2179&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2179&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2179&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2179&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2179&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2179&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2179&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2179&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2179&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2179&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2179)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2179)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2179)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2179,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2179)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2179)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2179)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2179)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2179)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2179)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2179)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2179)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2179)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2179)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2179)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2179)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2179)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2179&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2180>0,'Rk Assign'!D2180,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2180>0,Calculate!$AV2180,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2180:$BL2180<>\"U\")*($AQ2180:$BL2180>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2180:$BL2180<>\"U\")*($AQ2180:$BL2180>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2180:$BL2180<>\"U\")*($AQ2180:$BL2180>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2180:$R2180<>\"Z\")*($K2180:$R2180>\"\")*NOT(ISERROR($K2180:$R2180)))+SUM(($K$4:$R$4=\"A\")*($K2180:$R2180<>\"A\")*($K2180:$R2180>\"\")*NOT(ISERROR($K2180:$R2180)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2180:$R2180=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2180:$BL2180=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2180)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2180)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2180,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2180&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2180)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2180)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2180&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2180=\"Small Patch\",E2180=\"Matrix\")),'Calculator Table'!$L2180,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2180=\"Small Patch\",'Calculator Table'!$L2180,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2180=\"Matrix\",'Calculator Table'!$L2180,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2180&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2180&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2180&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2180&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2180&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2180&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2180&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2180&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2180&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2180&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2180&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2180&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2180)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2180)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2180)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2180,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2180)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2180)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2180)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2180)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2180)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2180)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2180)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2180)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2180)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2180)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2180)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2180)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2180)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2180&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2180)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2180)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2180,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2180&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2180)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2180)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2180&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2180=\"Small Patch\",H2180=\"Matrix\")),'Calculator Table'!$L2180,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2180=\"Small Patch\",'Calculator Table'!$L2180,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2180=\"Matrix\",'Calculator Table'!$L2180,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2180&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2180&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2180&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2180&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2180&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2180&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2180&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2180&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2180&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2180&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2180&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2180&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2180)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2180)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2180)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2180,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2180)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2180)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2180)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2180)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2180)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2180)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2180)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2180)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2180)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2180)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2180)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2180)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2180)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2180&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2180)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2180)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2180,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2180&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2180)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2180)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2180&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2180=\"Small Patch\",K2180=\"Matrix\")),'Calculator Table'!$L2180,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2180=\"Small Patch\",'Calculator Table'!$L2180,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2180=\"Matrix\",'Calculator Table'!$L2180,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2180&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2180&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2180&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2180&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2180&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2180&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2180&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2180&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2180&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2180&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2180&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2180&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2180)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2180)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2180)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2180,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2180)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2180)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2180)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2180)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2180)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2180)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2180)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2180)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2180)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2180)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2180)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2180)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2180)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2180&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2181>0,'Rk Assign'!D2181,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2181>0,Calculate!$AV2181,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2181:$BL2181<>\"U\")*($AQ2181:$BL2181>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2181:$BL2181<>\"U\")*($AQ2181:$BL2181>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2181:$BL2181<>\"U\")*($AQ2181:$BL2181>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2181:$R2181<>\"Z\")*($K2181:$R2181>\"\")*NOT(ISERROR($K2181:$R2181)))+SUM(($K$4:$R$4=\"A\")*($K2181:$R2181<>\"A\")*($K2181:$R2181>\"\")*NOT(ISERROR($K2181:$R2181)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2181:$R2181=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2181:$BL2181=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2181)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2181)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2181,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2181&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2181)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2181)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2181&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2181=\"Small Patch\",E2181=\"Matrix\")),'Calculator Table'!$L2181,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2181=\"Small Patch\",'Calculator Table'!$L2181,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2181=\"Matrix\",'Calculator Table'!$L2181,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2181&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2181&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2181&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2181&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2181&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2181&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2181&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2181&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2181&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2181&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2181&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2181&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2181)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2181)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2181)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2181,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2181)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2181)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2181)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2181)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2181)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2181)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2181)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2181)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2181)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2181)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2181)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2181)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2181)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2181&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2181)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2181)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2181,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2181&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2181)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2181)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2181&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2181=\"Small Patch\",H2181=\"Matrix\")),'Calculator Table'!$L2181,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2181=\"Small Patch\",'Calculator Table'!$L2181,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2181=\"Matrix\",'Calculator Table'!$L2181,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2181&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2181&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2181&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2181&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2181&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2181&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2181&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2181&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2181&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2181&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2181&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2181&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2181)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2181)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2181)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2181,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2181)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2181)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2181)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2181)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2181)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2181)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2181)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2181)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2181)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2181)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2181)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2181)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2181)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2181&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2181)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2181)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2181,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2181&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2181)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2181)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2181&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2181=\"Small Patch\",K2181=\"Matrix\")),'Calculator Table'!$L2181,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2181=\"Small Patch\",'Calculator Table'!$L2181,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2181=\"Matrix\",'Calculator Table'!$L2181,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2181&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2181&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2181&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2181&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2181&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2181&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2181&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2181&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2181&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2181&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2181&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2181&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2181)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2181)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2181)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2181,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2181)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2181)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2181)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2181)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2181)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2181)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2181)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2181)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2181)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2181)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2181)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2181)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2181)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2181&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2182>0,'Rk Assign'!D2182,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2182>0,Calculate!$AV2182,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2182:$BL2182<>\"U\")*($AQ2182:$BL2182>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2182:$BL2182<>\"U\")*($AQ2182:$BL2182>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2182:$BL2182<>\"U\")*($AQ2182:$BL2182>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2182:$R2182<>\"Z\")*($K2182:$R2182>\"\")*NOT(ISERROR($K2182:$R2182)))+SUM(($K$4:$R$4=\"A\")*($K2182:$R2182<>\"A\")*($K2182:$R2182>\"\")*NOT(ISERROR($K2182:$R2182)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2182:$R2182=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2182:$BL2182=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2182)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2182)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2182,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2182&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2182)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2182)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2182&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2182=\"Small Patch\",E2182=\"Matrix\")),'Calculator Table'!$L2182,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2182=\"Small Patch\",'Calculator Table'!$L2182,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2182=\"Matrix\",'Calculator Table'!$L2182,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2182&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2182&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2182&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2182&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2182&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2182&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2182&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2182&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2182&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2182&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2182&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2182&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2182)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2182)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2182)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2182,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2182)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2182)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2182)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2182)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2182)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2182)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2182)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2182)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2182)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2182)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2182)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2182)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2182)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2182&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2182)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2182)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2182,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2182&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2182)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2182)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2182&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2182=\"Small Patch\",H2182=\"Matrix\")),'Calculator Table'!$L2182,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2182=\"Small Patch\",'Calculator Table'!$L2182,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2182=\"Matrix\",'Calculator Table'!$L2182,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2182&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2182&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2182&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2182&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2182&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2182&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2182&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2182&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2182&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2182&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2182&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2182&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2182)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2182)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2182)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2182,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2182)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2182)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2182)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2182)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2182)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2182)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2182)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2182)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2182)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2182)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2182)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2182)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2182)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2182&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2182)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2182)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2182,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2182&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2182)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2182)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2182&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2182=\"Small Patch\",K2182=\"Matrix\")),'Calculator Table'!$L2182,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2182=\"Small Patch\",'Calculator Table'!$L2182,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2182=\"Matrix\",'Calculator Table'!$L2182,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2182&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2182&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2182&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2182&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2182&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2182&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2182&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2182&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2182&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2182&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2182&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2182&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2182)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2182)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2182)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2182,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2182)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2182)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2182)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2182)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2182)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2182)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2182)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2182)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2182)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2182)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2182)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2182)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2182)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2182&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2183>0,'Rk Assign'!D2183,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2183>0,Calculate!$AV2183,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2183:$BL2183<>\"U\")*($AQ2183:$BL2183>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2183:$BL2183<>\"U\")*($AQ2183:$BL2183>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2183:$BL2183<>\"U\")*($AQ2183:$BL2183>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2183:$R2183<>\"Z\")*($K2183:$R2183>\"\")*NOT(ISERROR($K2183:$R2183)))+SUM(($K$4:$R$4=\"A\")*($K2183:$R2183<>\"A\")*($K2183:$R2183>\"\")*NOT(ISERROR($K2183:$R2183)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2183:$R2183=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2183:$BL2183=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2183)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2183)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2183,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2183&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2183)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2183)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2183&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2183=\"Small Patch\",E2183=\"Matrix\")),'Calculator Table'!$L2183,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2183=\"Small Patch\",'Calculator Table'!$L2183,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2183=\"Matrix\",'Calculator Table'!$L2183,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2183&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2183&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2183&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2183&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2183&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2183&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2183&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2183&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2183&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2183&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2183&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2183&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2183)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2183)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2183)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2183,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2183)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2183)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2183)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2183)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2183)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2183)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2183)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2183)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2183)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2183)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2183)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2183)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2183)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2183&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2183)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2183)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2183,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2183&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2183)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2183)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2183&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2183=\"Small Patch\",H2183=\"Matrix\")),'Calculator Table'!$L2183,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2183=\"Small Patch\",'Calculator Table'!$L2183,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2183=\"Matrix\",'Calculator Table'!$L2183,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2183&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2183&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2183&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2183&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2183&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2183&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2183&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2183&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2183&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2183&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2183&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2183&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2183)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2183)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2183)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2183,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2183)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2183)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2183)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2183)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2183)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2183)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2183)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2183)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2183)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2183)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2183)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2183)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2183)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2183&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2183)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2183)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2183,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2183&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2183)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2183)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2183&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2183=\"Small Patch\",K2183=\"Matrix\")),'Calculator Table'!$L2183,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2183=\"Small Patch\",'Calculator Table'!$L2183,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2183=\"Matrix\",'Calculator Table'!$L2183,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2183&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2183&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2183&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2183&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2183&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2183&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2183&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2183&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2183&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2183&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2183&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2183&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2183)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2183)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2183)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2183,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2183)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2183)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2183)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2183)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2183)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2183)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2183)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2183)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2183)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2183)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2183)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2183)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2183)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2183&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2184>0,'Rk Assign'!D2184,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2184>0,Calculate!$AV2184,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2184:$BL2184<>\"U\")*($AQ2184:$BL2184>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2184:$BL2184<>\"U\")*($AQ2184:$BL2184>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2184:$BL2184<>\"U\")*($AQ2184:$BL2184>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2184:$R2184<>\"Z\")*($K2184:$R2184>\"\")*NOT(ISERROR($K2184:$R2184)))+SUM(($K$4:$R$4=\"A\")*($K2184:$R2184<>\"A\")*($K2184:$R2184>\"\")*NOT(ISERROR($K2184:$R2184)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2184:$R2184=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2184:$BL2184=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2184)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2184)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2184&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2184)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2184)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2184&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2184=\"Small Patch\",E2184=\"Matrix\")),'Calculator Table'!$L2184,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2184=\"Small Patch\",'Calculator Table'!$L2184,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2184=\"Matrix\",'Calculator Table'!$L2184,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2184&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2184&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2184&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2184&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2184&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2184&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2184&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2184&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2184&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2184&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2184&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2184&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2184)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2184)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2184)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2184)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2184)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2184)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2184)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2184)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2184)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2184)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2184)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2184)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2184)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2184)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2184)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2184)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2184&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2184)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2184)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2184&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2184)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2184)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2184&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2184=\"Small Patch\",H2184=\"Matrix\")),'Calculator Table'!$L2184,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2184=\"Small Patch\",'Calculator Table'!$L2184,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2184=\"Matrix\",'Calculator Table'!$L2184,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2184&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2184&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2184&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2184&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2184&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2184&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2184&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2184&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2184&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2184&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2184&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2184&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2184)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2184)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2184)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2184)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2184)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2184)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2184)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2184)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2184)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2184)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2184)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2184)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2184)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2184)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2184)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2184)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2184&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2184)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2184)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2184&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2184)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2184)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2184&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2184=\"Small Patch\",K2184=\"Matrix\")),'Calculator Table'!$L2184,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2184=\"Small Patch\",'Calculator Table'!$L2184,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2184=\"Matrix\",'Calculator Table'!$L2184,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2184&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2184&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2184&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2184&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2184&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2184&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2184&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2184&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2184&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2184&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2184&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2184&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2184)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2184)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2184)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2184,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2184)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2184)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2184)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2184)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2184)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2184)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2184)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2184)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2184)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2184)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2184)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2184)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2184)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2184&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2185>0,'Rk Assign'!D2185,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2185>0,Calculate!$AV2185,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2185:$BL2185<>\"U\")*($AQ2185:$BL2185>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2185:$BL2185<>\"U\")*($AQ2185:$BL2185>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2185:$BL2185<>\"U\")*($AQ2185:$BL2185>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2185:$R2185<>\"Z\")*($K2185:$R2185>\"\")*NOT(ISERROR($K2185:$R2185)))+SUM(($K$4:$R$4=\"A\")*($K2185:$R2185<>\"A\")*($K2185:$R2185>\"\")*NOT(ISERROR($K2185:$R2185)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2185:$R2185=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2185:$BL2185=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2185)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2185)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2185,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2185&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2185)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2185)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2185&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2185=\"Small Patch\",E2185=\"Matrix\")),'Calculator Table'!$L2185,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2185=\"Small Patch\",'Calculator Table'!$L2185,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2185=\"Matrix\",'Calculator Table'!$L2185,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2185&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2185&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2185&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2185&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2185&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2185&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2185&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2185&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2185&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2185&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2185&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2185&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2185)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2185)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2185)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2185,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2185)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2185)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2185)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2185)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2185)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2185)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2185)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2185)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2185)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2185)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2185)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2185)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2185)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2185&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2185)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2185)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2185,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2185&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2185)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2185)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2185&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2185=\"Small Patch\",H2185=\"Matrix\")),'Calculator Table'!$L2185,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2185=\"Small Patch\",'Calculator Table'!$L2185,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2185=\"Matrix\",'Calculator Table'!$L2185,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2185&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2185&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2185&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2185&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2185&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2185&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2185&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2185&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2185&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2185&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2185&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2185&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2185)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2185)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2185)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2185,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2185)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2185)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2185)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2185)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2185)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2185)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2185)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2185)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2185)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2185)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2185)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2185)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2185)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2185&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2185)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2185)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2185,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2185&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2185)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2185)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2185&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2185=\"Small Patch\",K2185=\"Matrix\")),'Calculator Table'!$L2185,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2185=\"Small Patch\",'Calculator Table'!$L2185,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2185=\"Matrix\",'Calculator Table'!$L2185,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2185&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2185&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2185&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2185&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2185&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2185&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2185&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2185&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2185&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2185&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2185&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2185&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2185)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2185)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2185)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2185,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2185)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2185)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2185)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2185)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2185)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2185)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2185)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2185)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2185)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2185)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2185)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2185)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2185)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2185&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2186>0,'Rk Assign'!D2186,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2186>0,Calculate!$AV2186,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2186:$BL2186<>\"U\")*($AQ2186:$BL2186>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2186:$BL2186<>\"U\")*($AQ2186:$BL2186>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2186:$BL2186<>\"U\")*($AQ2186:$BL2186>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2186:$R2186<>\"Z\")*($K2186:$R2186>\"\")*NOT(ISERROR($K2186:$R2186)))+SUM(($K$4:$R$4=\"A\")*($K2186:$R2186<>\"A\")*($K2186:$R2186>\"\")*NOT(ISERROR($K2186:$R2186)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2186:$R2186=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2186:$BL2186=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2186)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2186)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2186,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2186&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2186)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2186)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2186&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2186=\"Small Patch\",E2186=\"Matrix\")),'Calculator Table'!$L2186,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2186=\"Small Patch\",'Calculator Table'!$L2186,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2186=\"Matrix\",'Calculator Table'!$L2186,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2186&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2186&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2186&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2186&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2186&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2186&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2186&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2186&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2186&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2186&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2186&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2186&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2186)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2186)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2186)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2186,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2186)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2186)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2186)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2186)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2186)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2186)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2186)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2186)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2186)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2186)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2186)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2186)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2186)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2186&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2186)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2186)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2186,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2186&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2186)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2186)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2186&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2186=\"Small Patch\",H2186=\"Matrix\")),'Calculator Table'!$L2186,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2186=\"Small Patch\",'Calculator Table'!$L2186,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2186=\"Matrix\",'Calculator Table'!$L2186,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2186&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2186&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2186&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2186&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2186&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2186&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2186&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2186&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2186&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2186&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2186&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2186&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2186)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2186)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2186)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2186,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2186)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2186)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2186)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2186)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2186)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2186)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2186)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2186)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2186)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2186)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2186)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2186)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2186)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2186&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2186)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2186)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2186,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2186&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2186)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2186)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2186&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2186=\"Small Patch\",K2186=\"Matrix\")),'Calculator Table'!$L2186,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2186=\"Small Patch\",'Calculator Table'!$L2186,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2186=\"Matrix\",'Calculator Table'!$L2186,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2186&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2186&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2186&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2186&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2186&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2186&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2186&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2186&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2186&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2186&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2186&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2186&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2186)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2186)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2186)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2186,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2186)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2186)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2186)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2186)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2186)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2186)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2186)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2186)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2186)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2186)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2186)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2186)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2186)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2186&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2187>0,'Rk Assign'!D2187,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2187>0,Calculate!$AV2187,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2187:$BL2187<>\"U\")*($AQ2187:$BL2187>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2187:$BL2187<>\"U\")*($AQ2187:$BL2187>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2187:$BL2187<>\"U\")*($AQ2187:$BL2187>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2187:$R2187<>\"Z\")*($K2187:$R2187>\"\")*NOT(ISERROR($K2187:$R2187)))+SUM(($K$4:$R$4=\"A\")*($K2187:$R2187<>\"A\")*($K2187:$R2187>\"\")*NOT(ISERROR($K2187:$R2187)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2187:$R2187=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2187:$BL2187=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2187)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2187)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2187,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2187&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2187)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2187)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2187&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2187=\"Small Patch\",E2187=\"Matrix\")),'Calculator Table'!$L2187,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2187=\"Small Patch\",'Calculator Table'!$L2187,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2187=\"Matrix\",'Calculator Table'!$L2187,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2187&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2187&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2187&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2187&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2187&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2187&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2187&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2187&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2187&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2187&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2187&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2187&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2187)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2187)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2187)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2187,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2187)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2187)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2187)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2187)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2187)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2187)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2187)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2187)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2187)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2187)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2187)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2187)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2187)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2187&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2187)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2187)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2187,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2187&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2187)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2187)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2187&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2187=\"Small Patch\",H2187=\"Matrix\")),'Calculator Table'!$L2187,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2187=\"Small Patch\",'Calculator Table'!$L2187,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2187=\"Matrix\",'Calculator Table'!$L2187,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2187&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2187&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2187&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2187&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2187&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2187&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2187&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2187&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2187&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2187&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2187&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2187&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2187)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2187)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2187)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2187,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2187)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2187)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2187)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2187)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2187)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2187)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2187)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2187)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2187)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2187)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2187)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2187)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2187)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2187&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2187)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2187)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2187,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2187&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2187)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2187)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2187&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2187=\"Small Patch\",K2187=\"Matrix\")),'Calculator Table'!$L2187,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2187=\"Small Patch\",'Calculator Table'!$L2187,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2187=\"Matrix\",'Calculator Table'!$L2187,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2187&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2187&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2187&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2187&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2187&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2187&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2187&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2187&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2187&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2187&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2187&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2187&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2187)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2187)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2187)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2187,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2187)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2187)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2187)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2187)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2187)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2187)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2187)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2187)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2187)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2187)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2187)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2187)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2187)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2187&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2188>0,'Rk Assign'!D2188,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2188>0,Calculate!$AV2188,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2188:$BL2188<>\"U\")*($AQ2188:$BL2188>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2188:$BL2188<>\"U\")*($AQ2188:$BL2188>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2188:$BL2188<>\"U\")*($AQ2188:$BL2188>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2188:$R2188<>\"Z\")*($K2188:$R2188>\"\")*NOT(ISERROR($K2188:$R2188)))+SUM(($K$4:$R$4=\"A\")*($K2188:$R2188<>\"A\")*($K2188:$R2188>\"\")*NOT(ISERROR($K2188:$R2188)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2188:$R2188=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2188:$BL2188=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2188)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2188)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2188,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2188&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2188)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2188)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2188&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2188=\"Small Patch\",E2188=\"Matrix\")),'Calculator Table'!$L2188,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2188=\"Small Patch\",'Calculator Table'!$L2188,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2188=\"Matrix\",'Calculator Table'!$L2188,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2188&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2188&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2188&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2188&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2188&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2188&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2188&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2188&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2188&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2188&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2188&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2188&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2188)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2188)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2188)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2188,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2188)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2188)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2188)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2188)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2188)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2188)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2188)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2188)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2188)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2188)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2188)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2188)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2188)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2188&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2188)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2188)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2188,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2188&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2188)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2188)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2188&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2188=\"Small Patch\",H2188=\"Matrix\")),'Calculator Table'!$L2188,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2188=\"Small Patch\",'Calculator Table'!$L2188,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2188=\"Matrix\",'Calculator Table'!$L2188,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2188&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2188&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2188&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2188&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2188&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2188&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2188&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2188&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2188&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2188&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2188&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2188&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2188)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2188)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2188)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2188,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2188)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2188)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2188)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2188)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2188)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2188)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2188)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2188)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2188)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2188)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2188)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2188)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2188)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2188&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2188)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2188)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2188,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2188&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2188)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2188)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2188&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2188=\"Small Patch\",K2188=\"Matrix\")),'Calculator Table'!$L2188,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2188=\"Small Patch\",'Calculator Table'!$L2188,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2188=\"Matrix\",'Calculator Table'!$L2188,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2188&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2188&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2188&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2188&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2188&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2188&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2188&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2188&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2188&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2188&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2188&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2188&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2188)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2188)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2188)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2188,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2188)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2188)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2188)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2188)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2188)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2188)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2188)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2188)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2188)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2188)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2188)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2188)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2188)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2188&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2189>0,'Rk Assign'!D2189,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2189>0,Calculate!$AV2189,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2189:$BL2189<>\"U\")*($AQ2189:$BL2189>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2189:$BL2189<>\"U\")*($AQ2189:$BL2189>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2189:$BL2189<>\"U\")*($AQ2189:$BL2189>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2189:$R2189<>\"Z\")*($K2189:$R2189>\"\")*NOT(ISERROR($K2189:$R2189)))+SUM(($K$4:$R$4=\"A\")*($K2189:$R2189<>\"A\")*($K2189:$R2189>\"\")*NOT(ISERROR($K2189:$R2189)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2189:$R2189=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2189:$BL2189=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2189)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2189)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2189,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2189&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2189)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2189)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2189&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2189=\"Small Patch\",E2189=\"Matrix\")),'Calculator Table'!$L2189,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2189=\"Small Patch\",'Calculator Table'!$L2189,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2189=\"Matrix\",'Calculator Table'!$L2189,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2189&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2189&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2189&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2189&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2189&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2189&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2189&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2189&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2189&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2189&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2189&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2189&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2189)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2189)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2189)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2189,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2189)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2189)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2189)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2189)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2189)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2189)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2189)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2189)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2189)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2189)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2189)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2189)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2189)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2189&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2189)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2189)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2189,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2189&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2189)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2189)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2189&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2189=\"Small Patch\",H2189=\"Matrix\")),'Calculator Table'!$L2189,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2189=\"Small Patch\",'Calculator Table'!$L2189,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2189=\"Matrix\",'Calculator Table'!$L2189,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2189&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2189&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2189&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2189&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2189&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2189&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2189&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2189&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2189&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2189&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2189&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2189&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2189)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2189)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2189)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2189,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2189)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2189)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2189)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2189)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2189)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2189)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2189)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2189)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2189)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2189)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2189)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2189)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2189)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2189&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2189)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2189)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2189,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2189&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2189)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2189)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2189&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2189=\"Small Patch\",K2189=\"Matrix\")),'Calculator Table'!$L2189,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2189=\"Small Patch\",'Calculator Table'!$L2189,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2189=\"Matrix\",'Calculator Table'!$L2189,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2189&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2189&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2189&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2189&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2189&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2189&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2189&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2189&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2189&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2189&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2189&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2189&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2189)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2189)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2189)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2189,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2189)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2189)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2189)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2189)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2189)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2189)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2189)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2189)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2189)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2189)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2189)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2189)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2189)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2189&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2190>0,'Rk Assign'!D2190,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2190>0,Calculate!$AV2190,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2190:$BL2190<>\"U\")*($AQ2190:$BL2190>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2190:$BL2190<>\"U\")*($AQ2190:$BL2190>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2190:$BL2190<>\"U\")*($AQ2190:$BL2190>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2190:$R2190<>\"Z\")*($K2190:$R2190>\"\")*NOT(ISERROR($K2190:$R2190)))+SUM(($K$4:$R$4=\"A\")*($K2190:$R2190<>\"A\")*($K2190:$R2190>\"\")*NOT(ISERROR($K2190:$R2190)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2190:$R2190=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2190:$BL2190=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2190)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2190)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2190,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2190&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2190)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2190)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2190&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2190=\"Small Patch\",E2190=\"Matrix\")),'Calculator Table'!$L2190,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2190=\"Small Patch\",'Calculator Table'!$L2190,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2190=\"Matrix\",'Calculator Table'!$L2190,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2190&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2190&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2190&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2190&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2190&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2190&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2190&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2190&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2190&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2190&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2190&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2190&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2190)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2190)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2190)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2190,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2190)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2190)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2190)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2190)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2190)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2190)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2190)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2190)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2190)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2190)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2190)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2190)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2190)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2190&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2190)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2190)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2190,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2190&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2190)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2190)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2190&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2190=\"Small Patch\",H2190=\"Matrix\")),'Calculator Table'!$L2190,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2190=\"Small Patch\",'Calculator Table'!$L2190,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2190=\"Matrix\",'Calculator Table'!$L2190,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2190&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2190&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2190&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2190&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2190&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2190&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2190&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2190&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2190&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2190&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2190&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2190&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2190)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2190)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2190)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2190,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2190)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2190)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2190)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2190)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2190)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2190)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2190)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2190)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2190)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2190)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2190)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2190)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2190)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2190&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2190)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2190)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2190,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2190&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2190)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2190)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2190&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2190=\"Small Patch\",K2190=\"Matrix\")),'Calculator Table'!$L2190,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2190=\"Small Patch\",'Calculator Table'!$L2190,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2190=\"Matrix\",'Calculator Table'!$L2190,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2190&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2190&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2190&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2190&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2190&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2190&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2190&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2190&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2190&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2190&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2190&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2190&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2190)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2190)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2190)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2190,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2190)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2190)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2190)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2190)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2190)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2190)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2190)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2190)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2190)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2190)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2190)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2190)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2190)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2190&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2191>0,'Rk Assign'!D2191,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2191>0,Calculate!$AV2191,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2191:$BL2191<>\"U\")*($AQ2191:$BL2191>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2191:$BL2191<>\"U\")*($AQ2191:$BL2191>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2191:$BL2191<>\"U\")*($AQ2191:$BL2191>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2191:$R2191<>\"Z\")*($K2191:$R2191>\"\")*NOT(ISERROR($K2191:$R2191)))+SUM(($K$4:$R$4=\"A\")*($K2191:$R2191<>\"A\")*($K2191:$R2191>\"\")*NOT(ISERROR($K2191:$R2191)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2191:$R2191=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2191:$BL2191=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2191)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2191)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2191,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2191&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2191)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2191)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2191&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2191=\"Small Patch\",E2191=\"Matrix\")),'Calculator Table'!$L2191,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2191=\"Small Patch\",'Calculator Table'!$L2191,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2191=\"Matrix\",'Calculator Table'!$L2191,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2191&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2191&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2191&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2191&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2191&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2191&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2191&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2191&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2191&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2191&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2191&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2191&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2191)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2191)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2191)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2191,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2191)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2191)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2191)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2191)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2191)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2191)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2191)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2191)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2191)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2191)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2191)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2191)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2191)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2191&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2191)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2191)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2191,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2191&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2191)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2191)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2191&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2191=\"Small Patch\",H2191=\"Matrix\")),'Calculator Table'!$L2191,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2191=\"Small Patch\",'Calculator Table'!$L2191,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2191=\"Matrix\",'Calculator Table'!$L2191,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2191&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2191&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2191&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2191&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2191&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2191&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2191&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2191&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2191&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2191&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2191&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2191&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2191)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2191)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2191)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2191,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2191)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2191)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2191)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2191)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2191)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2191)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2191)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2191)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2191)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2191)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2191)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2191)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2191)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2191&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2191)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2191)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2191,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2191&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2191)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2191)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2191&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2191=\"Small Patch\",K2191=\"Matrix\")),'Calculator Table'!$L2191,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2191=\"Small Patch\",'Calculator Table'!$L2191,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2191=\"Matrix\",'Calculator Table'!$L2191,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2191&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2191&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2191&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2191&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2191&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2191&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2191&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2191&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2191&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2191&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2191&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2191&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2191)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2191)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2191)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2191,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2191)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2191)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2191)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2191)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2191)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2191)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2191)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2191)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2191)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2191)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2191)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2191)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2191)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2191&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2192>0,'Rk Assign'!D2192,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2192>0,Calculate!$AV2192,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2192:$BL2192<>\"U\")*($AQ2192:$BL2192>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2192:$BL2192<>\"U\")*($AQ2192:$BL2192>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2192:$BL2192<>\"U\")*($AQ2192:$BL2192>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2192:$R2192<>\"Z\")*($K2192:$R2192>\"\")*NOT(ISERROR($K2192:$R2192)))+SUM(($K$4:$R$4=\"A\")*($K2192:$R2192<>\"A\")*($K2192:$R2192>\"\")*NOT(ISERROR($K2192:$R2192)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2192:$R2192=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2192:$BL2192=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2192)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2192)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2192,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2192&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2192)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2192)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2192&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2192=\"Small Patch\",E2192=\"Matrix\")),'Calculator Table'!$L2192,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2192=\"Small Patch\",'Calculator Table'!$L2192,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2192=\"Matrix\",'Calculator Table'!$L2192,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2192&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2192&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2192&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2192&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2192&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2192&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2192&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2192&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2192&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2192&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2192&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2192&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2192)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2192)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2192)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2192,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2192)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2192)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2192)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2192)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2192)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2192)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2192)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2192)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2192)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2192)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2192)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2192)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2192)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2192&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2192)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2192)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2192,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2192&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2192)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2192)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2192&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2192=\"Small Patch\",H2192=\"Matrix\")),'Calculator Table'!$L2192,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2192=\"Small Patch\",'Calculator Table'!$L2192,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2192=\"Matrix\",'Calculator Table'!$L2192,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2192&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2192&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2192&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2192&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2192&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2192&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2192&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2192&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2192&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2192&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2192&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2192&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2192)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2192)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2192)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2192,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2192)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2192)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2192)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2192)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2192)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2192)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2192)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2192)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2192)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2192)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2192)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2192)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2192)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2192&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2192)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2192)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2192,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2192&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2192)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2192)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2192&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2192=\"Small Patch\",K2192=\"Matrix\")),'Calculator Table'!$L2192,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2192=\"Small Patch\",'Calculator Table'!$L2192,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2192=\"Matrix\",'Calculator Table'!$L2192,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2192&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2192&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2192&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2192&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2192&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2192&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2192&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2192&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2192&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2192&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2192&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2192&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2192)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2192)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2192)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2192,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2192)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2192)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2192)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2192)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2192)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2192)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2192)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2192)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2192)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2192)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2192)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2192)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2192)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2192&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2193>0,'Rk Assign'!D2193,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2193>0,Calculate!$AV2193,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2193:$BL2193<>\"U\")*($AQ2193:$BL2193>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2193:$BL2193<>\"U\")*($AQ2193:$BL2193>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2193:$BL2193<>\"U\")*($AQ2193:$BL2193>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2193:$R2193<>\"Z\")*($K2193:$R2193>\"\")*NOT(ISERROR($K2193:$R2193)))+SUM(($K$4:$R$4=\"A\")*($K2193:$R2193<>\"A\")*($K2193:$R2193>\"\")*NOT(ISERROR($K2193:$R2193)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2193:$R2193=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2193:$BL2193=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2193)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2193)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2193&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2193)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2193)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2193&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2193=\"Small Patch\",E2193=\"Matrix\")),'Calculator Table'!$L2193,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2193=\"Small Patch\",'Calculator Table'!$L2193,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2193=\"Matrix\",'Calculator Table'!$L2193,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2193&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2193&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2193&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2193&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2193&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2193&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2193&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2193&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2193&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2193&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2193&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2193&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2193)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2193)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2193)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2193)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2193)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2193)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2193)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2193)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2193)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2193)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2193)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2193)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2193)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2193)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2193)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2193)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2193&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2193)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2193)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2193&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2193)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2193)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2193&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2193=\"Small Patch\",H2193=\"Matrix\")),'Calculator Table'!$L2193,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2193=\"Small Patch\",'Calculator Table'!$L2193,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2193=\"Matrix\",'Calculator Table'!$L2193,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2193&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2193&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2193&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2193&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2193&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2193&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2193&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2193&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2193&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2193&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2193&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2193&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2193)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2193)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2193)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2193)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2193)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2193)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2193)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2193)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2193)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2193)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2193)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2193)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2193)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2193)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2193)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2193)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2193&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2193)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2193)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2193&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2193)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2193)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2193&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2193=\"Small Patch\",K2193=\"Matrix\")),'Calculator Table'!$L2193,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2193=\"Small Patch\",'Calculator Table'!$L2193,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2193=\"Matrix\",'Calculator Table'!$L2193,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2193&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2193&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2193&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2193&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2193&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2193&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2193&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2193&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2193&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2193&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2193&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2193&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2193)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2193)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2193)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2193,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2193)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2193)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2193)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2193)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2193)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2193)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2193)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2193)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2193)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2193)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2193)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2193)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2193)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2193&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2194>0,'Rk Assign'!D2194,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2194>0,Calculate!$AV2194,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2194:$BL2194<>\"U\")*($AQ2194:$BL2194>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2194:$BL2194<>\"U\")*($AQ2194:$BL2194>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2194:$BL2194<>\"U\")*($AQ2194:$BL2194>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2194:$R2194<>\"Z\")*($K2194:$R2194>\"\")*NOT(ISERROR($K2194:$R2194)))+SUM(($K$4:$R$4=\"A\")*($K2194:$R2194<>\"A\")*($K2194:$R2194>\"\")*NOT(ISERROR($K2194:$R2194)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2194:$R2194=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2194:$BL2194=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2194)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2194)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2194,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2194&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2194)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2194)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2194&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2194=\"Small Patch\",E2194=\"Matrix\")),'Calculator Table'!$L2194,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2194=\"Small Patch\",'Calculator Table'!$L2194,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2194=\"Matrix\",'Calculator Table'!$L2194,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2194&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2194&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2194&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2194&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2194&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2194&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2194&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2194&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2194&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2194&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2194&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2194&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2194)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2194)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2194)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2194,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2194)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2194)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2194)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2194)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2194)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2194)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2194)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2194)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2194)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2194)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2194)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2194)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2194)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2194&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2194)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2194)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2194,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2194&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2194)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2194)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2194&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2194=\"Small Patch\",H2194=\"Matrix\")),'Calculator Table'!$L2194,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2194=\"Small Patch\",'Calculator Table'!$L2194,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2194=\"Matrix\",'Calculator Table'!$L2194,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2194&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2194&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2194&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2194&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2194&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2194&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2194&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2194&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2194&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2194&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2194&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2194&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2194)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2194)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2194)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2194,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2194)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2194)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2194)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2194)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2194)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2194)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2194)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2194)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2194)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2194)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2194)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2194)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2194)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2194&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2194)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2194)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2194,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2194&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2194)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2194)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2194&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2194=\"Small Patch\",K2194=\"Matrix\")),'Calculator Table'!$L2194,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2194=\"Small Patch\",'Calculator Table'!$L2194,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2194=\"Matrix\",'Calculator Table'!$L2194,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2194&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2194&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2194&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2194&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2194&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2194&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2194&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2194&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2194&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2194&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2194&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2194&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2194)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2194)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2194)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2194,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2194)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2194)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2194)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2194)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2194)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2194)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2194)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2194)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2194)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2194)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2194)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2194)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2194)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2194&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2195>0,'Rk Assign'!D2195,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2195>0,Calculate!$AV2195,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2195:$BL2195<>\"U\")*($AQ2195:$BL2195>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2195:$BL2195<>\"U\")*($AQ2195:$BL2195>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2195:$BL2195<>\"U\")*($AQ2195:$BL2195>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2195:$R2195<>\"Z\")*($K2195:$R2195>\"\")*NOT(ISERROR($K2195:$R2195)))+SUM(($K$4:$R$4=\"A\")*($K2195:$R2195<>\"A\")*($K2195:$R2195>\"\")*NOT(ISERROR($K2195:$R2195)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2195:$R2195=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2195:$BL2195=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2195)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2195)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2195,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2195&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2195)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2195)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2195&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2195=\"Small Patch\",E2195=\"Matrix\")),'Calculator Table'!$L2195,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2195=\"Small Patch\",'Calculator Table'!$L2195,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2195=\"Matrix\",'Calculator Table'!$L2195,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2195&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2195&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2195&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2195&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2195&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2195&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2195&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2195&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2195&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2195&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2195&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2195&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2195)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2195)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2195)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2195,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2195)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2195)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2195)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2195)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2195)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2195)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2195)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2195)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2195)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2195)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2195)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2195)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2195)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2195&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2195)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2195)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2195,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2195&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2195)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2195)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2195&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2195=\"Small Patch\",H2195=\"Matrix\")),'Calculator Table'!$L2195,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2195=\"Small Patch\",'Calculator Table'!$L2195,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2195=\"Matrix\",'Calculator Table'!$L2195,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2195&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2195&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2195&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2195&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2195&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2195&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2195&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2195&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2195&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2195&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2195&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2195&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2195)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2195)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2195)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2195,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2195)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2195)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2195)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2195)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2195)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2195)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2195)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2195)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2195)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2195)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2195)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2195)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2195)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2195&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2195)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2195)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2195,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2195&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2195)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2195)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2195&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2195=\"Small Patch\",K2195=\"Matrix\")),'Calculator Table'!$L2195,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2195=\"Small Patch\",'Calculator Table'!$L2195,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2195=\"Matrix\",'Calculator Table'!$L2195,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2195&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2195&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2195&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2195&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2195&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2195&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2195&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2195&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2195&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2195&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2195&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2195&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2195)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2195)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2195)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2195,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2195)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2195)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2195)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2195)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2195)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2195)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2195)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2195)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2195)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2195)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2195)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2195)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2195)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2195&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2196>0,'Rk Assign'!D2196,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2196>0,Calculate!$AV2196,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2196:$BL2196<>\"U\")*($AQ2196:$BL2196>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2196:$BL2196<>\"U\")*($AQ2196:$BL2196>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2196:$BL2196<>\"U\")*($AQ2196:$BL2196>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2196:$R2196<>\"Z\")*($K2196:$R2196>\"\")*NOT(ISERROR($K2196:$R2196)))+SUM(($K$4:$R$4=\"A\")*($K2196:$R2196<>\"A\")*($K2196:$R2196>\"\")*NOT(ISERROR($K2196:$R2196)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2196:$R2196=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2196:$BL2196=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2196)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2196)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2196,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2196&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2196)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2196)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2196&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2196=\"Small Patch\",E2196=\"Matrix\")),'Calculator Table'!$L2196,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2196=\"Small Patch\",'Calculator Table'!$L2196,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2196=\"Matrix\",'Calculator Table'!$L2196,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2196&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2196&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2196&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2196&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2196&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2196&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2196&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2196&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2196&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2196&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2196&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2196&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2196)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2196)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2196)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2196,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2196)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2196)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2196)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2196)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2196)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2196)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2196)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2196)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2196)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2196)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2196)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2196)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2196)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2196&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2196)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2196)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2196,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2196&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2196)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2196)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2196&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2196=\"Small Patch\",H2196=\"Matrix\")),'Calculator Table'!$L2196,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2196=\"Small Patch\",'Calculator Table'!$L2196,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2196=\"Matrix\",'Calculator Table'!$L2196,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2196&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2196&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2196&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2196&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2196&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2196&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2196&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2196&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2196&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2196&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2196&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2196&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2196)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2196)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2196)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2196,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2196)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2196)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2196)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2196)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2196)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2196)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2196)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2196)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2196)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2196)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2196)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2196)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2196)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2196&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2196)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2196)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2196,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2196&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2196)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2196)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2196&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2196=\"Small Patch\",K2196=\"Matrix\")),'Calculator Table'!$L2196,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2196=\"Small Patch\",'Calculator Table'!$L2196,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2196=\"Matrix\",'Calculator Table'!$L2196,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2196&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2196&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2196&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2196&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2196&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2196&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2196&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2196&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2196&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2196&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2196&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2196&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2196)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2196)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2196)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2196,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2196)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2196)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2196)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2196)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2196)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2196)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2196)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2196)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2196)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2196)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2196)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2196)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2196)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2196&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2197>0,'Rk Assign'!D2197,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2197>0,Calculate!$AV2197,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2197:$BL2197<>\"U\")*($AQ2197:$BL2197>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2197:$BL2197<>\"U\")*($AQ2197:$BL2197>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2197:$BL2197<>\"U\")*($AQ2197:$BL2197>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2197:$R2197<>\"Z\")*($K2197:$R2197>\"\")*NOT(ISERROR($K2197:$R2197)))+SUM(($K$4:$R$4=\"A\")*($K2197:$R2197<>\"A\")*($K2197:$R2197>\"\")*NOT(ISERROR($K2197:$R2197)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2197:$R2197=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2197:$BL2197=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2197)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2197)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2197,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2197&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2197)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2197)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2197&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2197=\"Small Patch\",E2197=\"Matrix\")),'Calculator Table'!$L2197,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2197=\"Small Patch\",'Calculator Table'!$L2197,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2197=\"Matrix\",'Calculator Table'!$L2197,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2197&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2197&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2197&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2197&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2197&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2197&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2197&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2197&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2197&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2197&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2197&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2197&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2197)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2197)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2197)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2197,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2197)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2197)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2197)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2197)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2197)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2197)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2197)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2197)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2197)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2197)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2197)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2197)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2197)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2197&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2197)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2197)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2197,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2197&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2197)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2197)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2197&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2197=\"Small Patch\",H2197=\"Matrix\")),'Calculator Table'!$L2197,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2197=\"Small Patch\",'Calculator Table'!$L2197,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2197=\"Matrix\",'Calculator Table'!$L2197,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2197&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2197&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2197&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2197&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2197&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2197&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2197&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2197&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2197&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2197&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2197&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2197&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2197)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2197)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2197)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2197,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2197)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2197)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2197)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2197)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2197)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2197)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2197)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2197)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2197)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2197)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2197)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2197)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2197)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2197&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2197)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2197)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2197,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2197&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2197)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2197)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2197&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2197=\"Small Patch\",K2197=\"Matrix\")),'Calculator Table'!$L2197,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2197=\"Small Patch\",'Calculator Table'!$L2197,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2197=\"Matrix\",'Calculator Table'!$L2197,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2197&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2197&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2197&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2197&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2197&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2197&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2197&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2197&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2197&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2197&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2197&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2197&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2197)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2197)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2197)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2197,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2197)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2197)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2197)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2197)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2197)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2197)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2197)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2197)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2197)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2197)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2197)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2197)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2197)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2197&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2198>0,'Rk Assign'!D2198,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2198>0,Calculate!$AV2198,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2198:$BL2198<>\"U\")*($AQ2198:$BL2198>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2198:$BL2198<>\"U\")*($AQ2198:$BL2198>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2198:$BL2198<>\"U\")*($AQ2198:$BL2198>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2198:$R2198<>\"Z\")*($K2198:$R2198>\"\")*NOT(ISERROR($K2198:$R2198)))+SUM(($K$4:$R$4=\"A\")*($K2198:$R2198<>\"A\")*($K2198:$R2198>\"\")*NOT(ISERROR($K2198:$R2198)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2198:$R2198=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2198:$BL2198=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2198)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2198)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2198,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2198&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2198)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2198)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2198&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2198=\"Small Patch\",E2198=\"Matrix\")),'Calculator Table'!$L2198,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2198=\"Small Patch\",'Calculator Table'!$L2198,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2198=\"Matrix\",'Calculator Table'!$L2198,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2198&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2198&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2198&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2198&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2198&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2198&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2198&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2198&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2198&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2198&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2198&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2198&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2198)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2198)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2198)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2198,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2198)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2198)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2198)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2198)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2198)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2198)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2198)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2198)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2198)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2198)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2198)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2198)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2198)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2198&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2198)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2198)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2198,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2198&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2198)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2198)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2198&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2198=\"Small Patch\",H2198=\"Matrix\")),'Calculator Table'!$L2198,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2198=\"Small Patch\",'Calculator Table'!$L2198,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2198=\"Matrix\",'Calculator Table'!$L2198,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2198&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2198&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2198&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2198&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2198&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2198&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2198&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2198&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2198&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2198&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2198&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2198&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2198)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2198)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2198)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2198,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2198)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2198)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2198)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2198)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2198)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2198)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2198)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2198)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2198)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2198)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2198)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2198)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2198)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2198&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2198)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2198)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2198,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2198&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2198)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2198)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2198&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2198=\"Small Patch\",K2198=\"Matrix\")),'Calculator Table'!$L2198,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2198=\"Small Patch\",'Calculator Table'!$L2198,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2198=\"Matrix\",'Calculator Table'!$L2198,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2198&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2198&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2198&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2198&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2198&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2198&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2198&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2198&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2198&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2198&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2198&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2198&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2198)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2198)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2198)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2198,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2198)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2198)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2198)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2198)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2198)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2198)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2198)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2198)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2198)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2198)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2198)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2198)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2198)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2198&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2199>0,'Rk Assign'!D2199,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2199>0,Calculate!$AV2199,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2199:$BL2199<>\"U\")*($AQ2199:$BL2199>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2199:$BL2199<>\"U\")*($AQ2199:$BL2199>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2199:$BL2199<>\"U\")*($AQ2199:$BL2199>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2199:$R2199<>\"Z\")*($K2199:$R2199>\"\")*NOT(ISERROR($K2199:$R2199)))+SUM(($K$4:$R$4=\"A\")*($K2199:$R2199<>\"A\")*($K2199:$R2199>\"\")*NOT(ISERROR($K2199:$R2199)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2199:$R2199=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2199:$BL2199=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2199)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2199)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2199,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2199&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2199)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2199)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2199&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2199=\"Small Patch\",E2199=\"Matrix\")),'Calculator Table'!$L2199,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2199=\"Small Patch\",'Calculator Table'!$L2199,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2199=\"Matrix\",'Calculator Table'!$L2199,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2199&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2199&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2199&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2199&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2199&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2199&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2199&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2199&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2199&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2199&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2199&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2199&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2199)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2199)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2199)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2199,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2199)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2199)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2199)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2199)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2199)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2199)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2199)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2199)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2199)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2199)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2199)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2199)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2199)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2199&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2199)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2199)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2199,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2199&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2199)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2199)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2199&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2199=\"Small Patch\",H2199=\"Matrix\")),'Calculator Table'!$L2199,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2199=\"Small Patch\",'Calculator Table'!$L2199,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2199=\"Matrix\",'Calculator Table'!$L2199,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2199&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2199&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2199&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2199&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2199&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2199&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2199&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2199&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2199&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2199&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2199&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2199&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2199)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2199)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2199)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2199,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2199)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2199)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2199)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2199)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2199)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2199)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2199)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2199)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2199)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2199)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2199)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2199)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2199)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2199&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2199)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2199)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2199,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2199&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2199)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2199)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2199&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2199=\"Small Patch\",K2199=\"Matrix\")),'Calculator Table'!$L2199,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2199=\"Small Patch\",'Calculator Table'!$L2199,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2199=\"Matrix\",'Calculator Table'!$L2199,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2199&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2199&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2199&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2199&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2199&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2199&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2199&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2199&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2199&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2199&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2199&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2199&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2199)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2199)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2199)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2199,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2199)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2199)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2199)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2199)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2199)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2199)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2199)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2199)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2199)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2199)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2199)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2199)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2199)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2199&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[{"$f":"IF(BS2200>0,'Rk Assign'!D2200,\"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"","","","","","","","","","","","","","","","","","","","","","",{"$f":"IF(BS2200>0,Calculate!$AV2200,\"\")","v":""},"",{"$f":"SUM(($AQ$4:$BL$4=\"R1\")*($AQ2200:$BL2200<>\"U\")*($AQ2200:$BL2200>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"R2\")*($AQ2200:$BL2200<>\"U\")*($AQ2200:$BL2200>\"\"))","v":0},{"$f":"SUM(($AQ$4:$BL$4=\"T\")*($AQ2200:$BL2200<>\"U\")*($AQ2200:$BL2200>\"\"))","v":0},0,0,{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2200:$R2200<>\"Z\")*($K2200:$R2200>\"\")*NOT(ISERROR($K2200:$R2200)))+SUM(($K$4:$R$4=\"A\")*($K2200:$R2200<>\"A\")*($K2200:$R2200>\"\")*NOT(ISERROR($K2200:$R2200)))","v":0},{"$f":"SUM(($K$4:$R$4=\"Z\")*($K2200:$R2200=\"Z\"))","v":0},{"$f":"SUM(($AQ$3:$BL$3=1)*($AQ2200:$BL2200=\"Z\"))","v":0},""," ",{"$f":"\"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=\"&AddQuotes('Calculator Table'!$B2200)&\", rounded_s_rank=round_srank(\"&AddQuotes('Calculator Table'!$B2200)&\"), s_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2200,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_subnational_id=\"&'Calculator Table'!$F2200&\";\"","v":"update element_subnational set rec_last_mod_user='rank_calc_upload', s_rank=Null, rounded_s_rank=round_srank(Null), s_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_subnational_id=;"},null,{"$f":"\"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=\"&AddQuotes('Calculator Table'!$A2200)&\", s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2200)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2200&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(E2200=\"Small Patch\",E2200=\"Matrix\")),'Calculator Table'!$L2200,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(E2200=\"Small Patch\",'Calculator Table'!$L2200,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(E2200=\"Matrix\",'Calculator Table'!$L2200,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2200&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2200&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2200&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2200&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2200&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2200&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2200&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2200&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2200&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2200&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2200&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2200&\"'''), s_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2200)&\", s_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2200)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2200)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2200,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), s_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2200)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2200)&\", s_range_com=\"&AddQuotes('Calculator Table'!$AF2200)&\", s_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2200)&\", s_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2200)&\", s_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2200)&\", s_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2200)&\", s_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2200)&\", s_threat_com=\"&AddQuotes('Calculator Table'!$AL2200)&\", s_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2200)&\", s_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2200)&\", s_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2200)&\", s_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2200)&\", d_rank_method_used_id=8 where element_subnational_id=\"&'Calculator Table'!$F2200&\";\"","v":"update element_subnatl_rank set rec_last_mod_user='rank_calc_upload', s_calculated_rank=Null, s_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), s_rank_adjustment_reasons=Null, s_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), s_rank_assignment_author=Null, internal_notes=Null, s_range_com=Null, s_area_dist_of_occupancy_com=Null, s_number_eos_com=Null, s_pop_size_com=Null, s_number_good_eos_com=Null, s_enviro_specificity_com=Null, s_threat_com=Null, s_impact_adjustment_reasons=Null, s_intrinsic_vulnerability_com=Null, s_short_term_trend_com=Null, s_long_term_trend_com=Null, d_rank_method_used_id=8 where element_subnational_id=;"},{"$f":"\"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2200)&\", rounded_g_rank=round_grank(\"&AddQuotes('Calculator Table'!$B2200)&\"), g_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2200,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_global_id=\"&'Calculator Table'!$F2200&\";\"","v":"update element_global set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_g_rank=round_grank(Null), g_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_global_id=;"},null,{"$f":"\"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=\"&AddQuotes('Calculator Table'!$A2200)&\", g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2200)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2200&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(H2200=\"Small Patch\",H2200=\"Matrix\")),'Calculator Table'!$L2200,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(H2200=\"Small Patch\",'Calculator Table'!$L2200,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(H2200=\"Matrix\",'Calculator Table'!$L2200,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2200&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2200&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2200&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2200&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2200&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2200&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2200&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2200&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2200&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2200&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2200&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2200&\"'''), g_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2200)&\", g_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2200)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2200)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2200,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), g_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2200)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2200)&\", g_range_com=\"&AddQuotes('Calculator Table'!$AF2200)&\", g_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2200)&\", g_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2200)&\", g_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2200)&\", g_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2200)&\", g_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2200)&\", g_threat_com=\"&AddQuotes('Calculator Table'!$AL2200)&\", g_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2200)&\", g_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2200)&\", g_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2200)&\", g_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2200)&\", d_rank_method_used_id=8 where element_global_id=\"&'Calculator Table'!$F2200&\";\"","v":"update element_global_rank set rec_last_mod_user='rank_calc_upload', g_calculated_rank=Null, g_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), g_rank_adjustment_reasons=Null, g_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), g_rank_assignment_author=Null, internal_notes=Null, g_range_com=Null, g_area_dist_of_occupancy_com=Null, g_number_eos_com=Null, g_pop_size_com=Null, g_number_good_eos_com=Null, g_enviro_specificity_com=Null, g_threat_com=Null, g_impact_adjustment_reasons=Null, g_intrinsic_vulnerability_com=Null, g_short_term_trend_com=Null, g_long_term_trend_com=Null, d_rank_method_used_id=8 where element_global_id=;"},{"$f":"\"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=\"&AddQuotes('Calculator Table'!$B2200)&\", rounded_n_rank=round_nrank(\"&AddQuotes('Calculator Table'!$B2200)&\"), n_rank_review_date=to_date('\"&TEXT('Calculator Table'!$AD2200,\"YYYY/MM/DD\")&\"','YYYY/MM/DD') where element_national_id=\"&'Calculator Table'!$F2200&\";\"","v":"update element_national set rec_last_mod_user='rank_calc_upload', g_rank=Null, rounded_n_rank=round_nrank(Null), n_rank_review_date=to_date('1900/01/00','YYYY/MM/DD') where element_national_id=;"},null,{"$f":"\"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=\"&AddQuotes('Calculator Table'!$A2200)&\", n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)=''\" &LOWER('Calculator Table'!$E2200)& \"'''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD=''\"&'Calculator Table'!$K2200&\"'''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD=''\"&IF(NOT(OR(K2200=\"Small Patch\",K2200=\"Matrix\")),'Calculator Table'!$L2200,\"\")&\"'''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD=''\"&IF(K2200=\"Small Patch\",'Calculator Table'!$L2200,\"\")&\"'''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD=''\"&IF(K2200=\"Matrix\",'Calculator Table'!$L2200,\"\")&\"'''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD=''\"&'Calculator Table'!$M2200&\"'''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD=''\"&'Calculator Table'!$N2200&\"'''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD=''\"&'Calculator Table'!$O2200&\"'''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD=''\"&'Calculator Table'!$P2200&\"'''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD=''\"&'Calculator Table'!$Q2200&\"'''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD=''\"&'Calculator Table'!$R2200&\"'''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD=''\"&'Calculator Table'!$S2200&\"'''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD=''\"&'Calculator Table'!$T2200&\"'''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD=''\"&'Calculator Table'!$U2200&\"'''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD=''\"&'Calculator Table'!$V2200&\"'''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD=''\"&'Calculator Table'!$W2200&\"'''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD=''\"&'Calculator Table'!$X2200&\"'''), n_rank_adjustment_reasons=\"&AddQuotes('Calculator Table'!$Y2200)&\", n_rank_reasons=\"&AddQuotes('Calculator Table'!$Z2200)&\", version_author=\"&AddQuotes('Calculator Table'!$AA2200)&\", version_date=to_date('\"&TEXT('Calculator Table'!$AB2200,\"YYYY/MM/DD\")&\"','YYYY/MM/DD'), n_rank_assignment_author=\"&AddQuotes('Calculator Table'!$AC2200)&\", internal_notes=\"&AddQuotes('Calculator Table'!$AE2200)&\", n_range_com=\"&AddQuotes('Calculator Table'!$AF2200)&\", n_area_dist_of_occupancy_com=\"&AddQuotes('Calculator Table'!$AG2200)&\", n_number_eos_com=\"&AddQuotes('Calculator Table'!$AH2200)&\", n_pop_size_com=\"&AddQuotes('Calculator Table'!$AI2200)&\", n_number_good_eos_com=\"&AddQuotes('Calculator Table'!$AJ2200)&\", n_enviro_specificity_com=\"&AddQuotes('Calculator Table'!$AK2200)&\", n_threat_com=\"&AddQuotes('Calculator Table'!$AL2200)&\", n_impact_adjustment_reasons=\"&AddQuotes('Calculator Table'!$AM2200)&\", n_intrinsic_vulnerability_com=\"&AddQuotes('Calculator Table'!$AN2200)&\", n_short_term_trend_com=\"&AddQuotes('Calculator Table'!$AO2200)&\", n_long_term_trend_com=\"&AddQuotes('Calculator Table'!$AP2200)&\", d_rank_method_used_id=8 where element_national_id=\"&'Calculator Table'!$F2200&\";\"","v":"update element_national_rank set rec_last_mod_user='rank_calc_upload', n_calculated_rank=Null, n_rank_calculated_date=SysDate, D_RANKING_SPATIAL_PATTERN_ID=pklookup('D_RANKING_SPATIAL_PATTERN','lower(RANKING_SPATIAL_PATTERN_DESC)='''''), D_RANGE_EXTENT_ID=pklookup('D_RANGE_EXTENT','RANGE_EXTENT_CD='''''), D_AOO_DIRECT_DEFAULT_ID=pklookup('D_AOO_DIRECT_DEFAULT','AOO_DIRECT_DEFAULT_CD='''''), D_AOO_DIRECT_SMALL_ID=pklookup('D_AOO_DIRECT_SMALL','AOO_DIRECT_SMALL_CD='''''), D_AOO_DIRECT_MATRIX_ID=pklookup('D_AOO_DIRECT_MATRIX','AOO_DIRECT_MATRIX_CD='''''), D_AOO_4KM_ID=pklookup('D_AOO_4KM','AOO_4KM_CD='''''), D_AOO_1KM_ID=pklookup('D_AOO_1KM','AOO_1KM_CD='''''), D_NUMBER_EOS_ID=pklookup('D_NUMBER_EOS','NUMBER_EOS_CD='''''), D_POP_SIZE_ID=pklookup('D_POP_SIZE','POP_SIZE_CD='''''), D_NUMBER_GOOD_EOS_ID=pklookup('D_NUMBER_GOOD_EOS','NUMBER_GOOD_EOS_CD='''''), D_AOO_PERCENT_GOOD_ID=pklookup('D_AOO_PERCENT_GOOD','AOO_PERCENT_GOOD_CD='''''), D_ENVIRO_SPECIFICITY_ID=pklookup('D_ENVIRO_SPECIFICITY','ENVIRO_SPECIFICITY_CD='''''), D_THREAT_IMPACT_ASSIGNED_ID=pklookup('D_THREAT_IMPACT_ASSIGNED','THREAT_IMPACT_ASSIGNED_CD='''''), D_THREAT_IMPACT_CALC_ID=pklookup('D_THREAT_IMPACT_CALC','THREAT_IMPACT_CALC_CD='''''), D_INTRIN_VULNERABILITY_ID=pklookup('D_INTRIN_VULNERABILITY','INTRIN_VULNERABILITY_CD='''''), D_SHORT_TERM_TREND_ID=pklookup('D_SHORT_TERM_TREND','SHORT_TERM_TREND_CD='''''), D_LONG_TERM_TREND_ID=pklookup('D_LONG_TERM_TREND','LONG_TERM_TREND_CD='''''), n_rank_adjustment_reasons=Null, n_rank_reasons=Null, version_author=Null, version_date=to_date('1900/01/00','YYYY/MM/DD'), n_rank_assignment_author=Null, internal_notes=Null, n_range_com=Null, n_area_dist_of_occupancy_com=Null, n_number_eos_com=Null, n_pop_size_com=Null, n_number_good_eos_com=Null, n_enviro_specificity_com=Null, n_threat_com=Null, n_impact_adjustment_reasons=Null, n_intrinsic_vulnerability_com=Null, n_short_term_trend_com=Null, n_long_term_trend_com=Null, d_rank_method_used_id=8 where element_national_id=;"}," "]
[" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",null," "," "," "," "," "," "," "," "," ",null," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",null,null,null,null," "," ",null," "," "," "," "," "," "," "]
["Do not edit below red line"]

{"sheet":"Calculate","index":6,"n_rows":2201,"n_cols":48,"rows_kept":562,"cut":true,"hidden":true,"merged":[[0,1,0,2],[0,11,0,12],[0,7,0,8],[0,13,0,14],[0,9,0,10],[0,3,0,4],[0,5,0,6]],"bounds":{"rows_first":250,"rows_last":62,"rows_between":250,"halvings":3}}
["Scientific Name","Rarity only Rank Low………High",null,"Trends only Rank Low………High",null,"Threats only Rank Low………High",null,"1Average: across all factors Low………High",null,"3Average: Weighted Rarity+Tr+Th Ranks Low………High",null,"Th/Tr only Rank Low………High",null,"2Average:  Rarity + Th/Tr Ranks Low………High",null,"GT","automatic X or H","1. Pop Size Low","1. Pop Size High","2. Range Extent Low","2. Range Extent High","3. Area Occ Low","3.  Area Occ High","4. # EOs Low","4. #EOs High","5. # Good EOs Low","5. # Good EOs High","5B. Prop Area Good Condition Low","5B. Prop Area Good Condition High","5AB. Min Good EOs/Condition Low             Cond","5AB. Min Good EOs/Condition High             Cond","6A. Env Specif Low ","6A. Env Specif High","6B. Env Specif Low   Cond","6B. Env Specif High  Cond","TRENDS:","7. Long-Term Trend Low","7. Long-Term Trend High","8. Short-Term Trend Low","8. Short-Term Trend High","THREATS:","9. Overall Threat Low","9. Overall Threat High","10A. Intrinsic Vuln. Low ","10A. Intrinsic Vuln. High ","10B. Intrinsic Vuln. Low  Cond","10B. Intrinsic Vuln. High  Cond","# factors used in calculation"]
["Weights:",{"$f":"RULES!$F$15","v":0.7},{"$f":"RULES!$F$15","v":0.7},{"$f":"RULES!$F$16","v":0},{"$f":"RULES!$F$16","v":0},{"$f":"RULES!$F$17","v":0.30000000000000004},{"$f":"RULES!$F$17","v":0.30000000000000004},null,null,null,null,null,null,null,null,null,null,{"$f":"RULES!$B$38","v":2},{"$f":"RULES!$B$38","v":2},{"$f":"RULES!$B$46","v":1},{"$f":"RULES!$B$46","v":1},{"$f":"RULES!$B$55","v":2},{"$f":"RULES!$B$55","v":2},{"$f":"RULES!$B$66","v":1},{"$f":"RULES!$B$66","v":1},null,null,null,null,{"$f":"RULES!B83","v":2},{"$f":"RULES!B83","v":2},null,null,{"$f":"RULES!$B$96","v":1},{"$f":"RULES!$B$96","v":1},null,{"$f":"RULES!$B$108","v":1},{"$f":"RULES!$B$108","v":1},{"$f":"RULES!$B$116","v":2},{"$f":"RULES!$B$116","v":2},null,{"$f":"RULES!$B$125","v":1},{"$f":"RULES!$B$125","v":1},null,null,{"$f":"RULES!$B$133","v":1},{"$f":"RULES!$B$133","v":1}]
[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"L","H","L","H","L","H","L","H",null,null,null,null,"L","H",null,null,"L","H",null,"L","H","L","H",null,"L","H",null,null,"L","H"]
[]
[{"$f":"'Calculator Table'!C5","v":""},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R5:$AI5))/SUM(IF($R5:$AI5<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":0.79},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R5:$AI5))/SUM(IF($R5:$AI5<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":0.79},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK5:$AN5))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK5:$AN5))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP5:$AU5))/SUM(IF($AP5:$AU5<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP5:$AU5))/SUM(IF($AP5:$AU5<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R5:$AU5))/SUM(IF($R5:$AU5<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0.19750000000000001},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R5:$AU5))/SUM(IF($R5:$AU5<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0.19750000000000001},{"$f":"(IF(NOT(ISERROR(B5)),B5*B$2)+IF(NOT(ISERROR(F5)),F5*F$2))/(IF(NOT(ISERROR(B5)),B$2)+IF(NOT(ISERROR(F5)),F$2))+D5","v":0.78999999999999992},{"$f":"(IF(NOT(ISERROR(C5)),C5*C$2)+IF(NOT(ISERROR(G5)),G5*G$2))/(IF(NOT(ISERROR(C5)),C$2)+IF(NOT(ISERROR(G5)),G$2))+E5","v":0.78999999999999992},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK5:$AU5))/SUM(IF($AK5:$AU5<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK5:$AU5))/SUM(IF($AK5:$AU5<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},{"$f":"IF(AND(ISERROR(B5),ISERROR(L5)),B5,AVERAGE(IF(NOT(ISERROR(B5)),B5),IF(NOT(ISERROR(L5)),L5)))","v":0.39500000000000002},{"$f":"IF(AND(ISERROR(C5),ISERROR(M5)),C5,AVERAGE(IF(NOT(ISERROR(C5)),C5),IF(NOT(ISERROR(M5)),M5)))","v":0.39500000000000002},{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D5=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU5>0,'Calculator Table'!BT5>0),\"Z-ERROR\",IF('Calculator Table'!BU5>0,\"X\",IF('Calculator Table'!BV5>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA5,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA5,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB5,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB5,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ5,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ5,RULES!$G$42:$N$47,5,FALSE))","v":0.79},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR5,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR5,RULES!$G$42:$N$47,5,FALSE))","v":0.79},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS5,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS5,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT5,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT5,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU5,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU5,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV5,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV5,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW5,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW5,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX5,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX5,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY5,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY5,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ5,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ5,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(Z5),ISNUMBER(AB5)),MIN(Z5,AB5),\"--\")","v":"--"},{"$f":"IF(OR(ISNUMBER(AA5),ISNUMBER(AC5)),MIN(AA5,AC5),\"--\")","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC5,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC5,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD5,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD5,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(X5),ISNUMBER(V5)),\"--\",AF5)","v":"--"},{"$f":"IF(OR(ISNUMBER(Y5),ISNUMBER(W5)),\"--\",AG5)","v":"--"},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG5,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG5,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH5,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH5,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE5,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE5,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF5,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF5,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK5,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK5,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL5,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL5,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI5,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI5,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ5,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ5,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISNUMBER(AP5),\"--\",AR5)","v":"--"},{"$f":"IF(ISNUMBER(AQ5),\"--\",AS5)","v":"--"},{"$f":"IF(Q5=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R5:$AU5<>\"--\")))","v":3}]
[{"$f":"'Calculator Table'!C6","v":"Perennial Herb"},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R6:$AI6))/SUM(IF($R6:$AI6<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":1.375},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R6:$AI6))/SUM(IF($R6:$AI6<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":1.375},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK6:$AN6))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK6:$AN6))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP6:$AU6))/SUM(IF($AP6:$AU6<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":3.67},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP6:$AU6))/SUM(IF($AP6:$AU6<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":3.67},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R6:$AU6))/SUM(IF($R6:$AU6<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":1.2224999999999999},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R6:$AU6))/SUM(IF($R6:$AU6<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":1.2224999999999999},2.0635000000000003,2.0635000000000003,{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK6:$AU6))/SUM(IF($AK6:$AU6<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0.91749999999999998},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK6:$AU6))/SUM(IF($AK6:$AU6<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0.91749999999999998},1.14625,1.14625,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D6=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU6>0,'Calculator Table'!BT6>0),\"Z-ERROR\",IF('Calculator Table'!BU6>0,\"X\",IF('Calculator Table'!BV6>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA6,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA6,RULES!$G$34:$N$39,5,FALSE))","v":3.14},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB6,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB6,RULES!$G$34:$N$39,5,FALSE))","v":3.14},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ6,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ6,RULES!$G$42:$N$47,5,FALSE))","v":2.36},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR6,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR6,RULES!$G$42:$N$47,5,FALSE))","v":2.36},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS6,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS6,RULES!$G$51:$O$56,5,FALSE))","v":5.5},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT6,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT6,RULES!$G$51:$O$56,5,FALSE))","v":5.5},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU6,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU6,RULES!$G$62:$K$67,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV6,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV6,RULES!$G$62:$K$67,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW6,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW6,RULES!$G$71:$L$76,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX6,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX6,RULES!$G$71:$L$76,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY6,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY6,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ6,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ6,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(Z6),ISNUMBER(AB6)),MIN(Z6,AB6),\"--\")","v":0},{"$f":"IF(OR(ISNUMBER(AA6),ISNUMBER(AC6)),MIN(AA6,AC6),\"--\")","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC6,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC6,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD6,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD6,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(X6),ISNUMBER(V6)),\"--\",AF6)","v":"--"},{"$f":"IF(OR(ISNUMBER(Y6),ISNUMBER(W6)),\"--\",AG6)","v":"--"},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG6,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG6,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH6,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH6,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE6,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE6,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF6,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF6,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK6,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK6,RULES!$G$121:$J$126,5,FALSE))","v":3.67},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL6,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL6,RULES!$G$121:$J$126,5,FALSE))","v":3.67},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI6,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI6,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ6,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ6,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISNUMBER(AP6),\"--\",AR6)","v":"--"},{"$f":"IF(ISNUMBER(AQ6),\"--\",AS6)","v":"--"},{"$f":"IF(Q6=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R6:$AU6<>\"--\")))","v":8}]
[{"$f":"'Calculator Table'!C7","v":"Bird"},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R7:$AI7))/SUM(IF($R7:$AI7<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":4.4533333333333331},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R7:$AI7))/SUM(IF($R7:$AI7<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":4.4533333333333331},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK7:$AN7))","v":-0.44},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK7:$AN7))","v":-0.44},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP7:$AU7))/SUM(IF($AP7:$AU7<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":1.83},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP7:$AU7))/SUM(IF($AP7:$AU7<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":3.67},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R7:$AU7))/SUM(IF($R7:$AU7<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":2.1071428571428572},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R7:$AU7))/SUM(IF($R7:$AU7<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":2.37},3.2263333333333333,3.7783333333333329,{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK7:$AU7))/SUM(IF($AK7:$AU7<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0.34750000000000003},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK7:$AU7))/SUM(IF($AK7:$AU7<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0.8075},2.4004166666666666,2.6304166666666666,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D7=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU7>0,'Calculator Table'!BT7>0),\"Z-ERROR\",IF('Calculator Table'!BU7>0,\"X\",IF('Calculator Table'!BV7>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA7,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA7,RULES!$G$34:$N$39,5,FALSE))","v":7.86},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB7,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB7,RULES!$G$34:$N$39,5,FALSE))","v":7.86},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ7,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ7,RULES!$G$42:$N$47,5,FALSE))","v":5.5},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR7,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR7,RULES!$G$42:$N$47,5,FALSE))","v":5.5},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS7,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS7,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT7,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT7,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU7,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU7,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV7,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV7,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW7,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW7,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX7,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX7,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY7,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY7,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ7,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ7,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC7,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC7,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD7,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD7,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG7,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG7,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH7,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH7,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE7,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE7,RULES!$G$112:$O$117,5,FALSE))","v":-0.44},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF7,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF7,RULES!$G$112:$O$117,5,FALSE))","v":-0.44},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK7,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK7,RULES!$G$121:$J$126,5,FALSE))","v":1.83},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL7,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL7,RULES!$G$121:$J$126,5,FALSE))","v":3.67},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI7,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI7,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ7,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ7,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q7=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R7:$AU7<>\"--\")))","v":5}]
[{"$f":"'Calculator Table'!C8","v":"skipper"},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R8:$AI8))/SUM(IF($R8:$AI8<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":1.9650000000000001},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R8:$AI8))/SUM(IF($R8:$AI8<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":1.9650000000000001},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK8:$AN8))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK8:$AN8))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP8:$AU8))/SUM(IF($AP8:$AU8<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":1.83},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP8:$AU8))/SUM(IF($AP8:$AU8<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":1.83},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R8:$AU8))/SUM(IF($R8:$AU8<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":1.2112500000000002},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R8:$AU8))/SUM(IF($R8:$AU8<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":1.2112500000000002},1.9245000000000001,1.9245000000000001,{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK8:$AU8))/SUM(IF($AK8:$AU8<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0.45750000000000002},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK8:$AU8))/SUM(IF($AK8:$AU8<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0.45750000000000002},1.2112500000000002,1.2112500000000002,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D8=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU8>0,'Calculator Table'!BT8>0),\"Z-ERROR\",IF('Calculator Table'!BU8>0,\"X\",IF('Calculator Table'!BV8>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA8,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA8,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB8,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB8,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ8,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ8,RULES!$G$42:$N$47,5,FALSE))","v":2.36},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR8,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR8,RULES!$G$42:$N$47,5,FALSE))","v":2.36},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS8,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS8,RULES!$G$51:$O$56,5,FALSE))","v":4.12},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT8,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT8,RULES!$G$51:$O$56,5,FALSE))","v":4.12},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU8,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU8,RULES!$G$62:$K$67,5,FALSE))","v":1.38},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV8,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV8,RULES!$G$62:$K$67,5,FALSE))","v":1.38},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW8,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW8,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX8,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX8,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY8,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY8,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ8,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ8,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC8,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC8,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD8,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD8,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG8,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG8,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH8,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH8,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE8,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE8,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF8,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF8,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK8,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK8,RULES!$G$121:$J$126,5,FALSE))","v":1.83},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL8,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL8,RULES!$G$121:$J$126,5,FALSE))","v":1.83},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI8,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI8,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ8,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ8,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q8=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R8:$AU8<>\"--\")))","v":6}]
[{"$f":"'Calculator Table'!C9","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R9:$AI9))/SUM(IF($R9:$AI9<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R9:$AI9))/SUM(IF($R9:$AI9<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK9:$AN9))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK9:$AN9))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP9:$AU9))/SUM(IF($AP9:$AU9<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP9:$AU9))/SUM(IF($AP9:$AU9<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R9:$AU9))/SUM(IF($R9:$AU9<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R9:$AU9))/SUM(IF($R9:$AU9<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK9:$AU9))/SUM(IF($AK9:$AU9<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK9:$AU9))/SUM(IF($AK9:$AU9<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D9=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU9>0,'Calculator Table'!BT9>0),\"Z-ERROR\",IF('Calculator Table'!BU9>0,\"X\",IF('Calculator Table'!BV9>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA9,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA9,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB9,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB9,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ9,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ9,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR9,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR9,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS9,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS9,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT9,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT9,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU9,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU9,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV9,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV9,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW9,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW9,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX9,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX9,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY9,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY9,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ9,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ9,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC9,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC9,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD9,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD9,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG9,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG9,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH9,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH9,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE9,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE9,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF9,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF9,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK9,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK9,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL9,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL9,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI9,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI9,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ9,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ9,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q9=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R9:$AU9<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C10","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R10:$AI10))/SUM(IF($R10:$AI10<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R10:$AI10))/SUM(IF($R10:$AI10<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK10:$AN10))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK10:$AN10))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP10:$AU10))/SUM(IF($AP10:$AU10<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP10:$AU10))/SUM(IF($AP10:$AU10<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R10:$AU10))/SUM(IF($R10:$AU10<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R10:$AU10))/SUM(IF($R10:$AU10<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK10:$AU10))/SUM(IF($AK10:$AU10<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK10:$AU10))/SUM(IF($AK10:$AU10<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D10=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU10>0,'Calculator Table'!BT10>0),\"Z-ERROR\",IF('Calculator Table'!BU10>0,\"X\",IF('Calculator Table'!BV10>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA10,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA10,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB10,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB10,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ10,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ10,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR10,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR10,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS10,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS10,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT10,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT10,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU10,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU10,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV10,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV10,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW10,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW10,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX10,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX10,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY10,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY10,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ10,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ10,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC10,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC10,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD10,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD10,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG10,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG10,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH10,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH10,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE10,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE10,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF10,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF10,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK10,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK10,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL10,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL10,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI10,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI10,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ10,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ10,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q10=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R10:$AU10<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C11","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R11:$AI11))/SUM(IF($R11:$AI11<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R11:$AI11))/SUM(IF($R11:$AI11<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK11:$AN11))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK11:$AN11))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP11:$AU11))/SUM(IF($AP11:$AU11<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP11:$AU11))/SUM(IF($AP11:$AU11<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R11:$AU11))/SUM(IF($R11:$AU11<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R11:$AU11))/SUM(IF($R11:$AU11<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK11:$AU11))/SUM(IF($AK11:$AU11<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK11:$AU11))/SUM(IF($AK11:$AU11<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D11=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU11>0,'Calculator Table'!BT11>0),\"Z-ERROR\",IF('Calculator Table'!BU11>0,\"X\",IF('Calculator Table'!BV11>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA11,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA11,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB11,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB11,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ11,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ11,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR11,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR11,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS11,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS11,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT11,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT11,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU11,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU11,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV11,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV11,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW11,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW11,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX11,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX11,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY11,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY11,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ11,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ11,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC11,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC11,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD11,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD11,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG11,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG11,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH11,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH11,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE11,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE11,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF11,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF11,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK11,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK11,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL11,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL11,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI11,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI11,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ11,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ11,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q11=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R11:$AU11<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C12","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R12:$AI12))/SUM(IF($R12:$AI12<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R12:$AI12))/SUM(IF($R12:$AI12<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK12:$AN12))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK12:$AN12))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP12:$AU12))/SUM(IF($AP12:$AU12<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP12:$AU12))/SUM(IF($AP12:$AU12<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R12:$AU12))/SUM(IF($R12:$AU12<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R12:$AU12))/SUM(IF($R12:$AU12<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK12:$AU12))/SUM(IF($AK12:$AU12<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK12:$AU12))/SUM(IF($AK12:$AU12<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D12=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU12>0,'Calculator Table'!BT12>0),\"Z-ERROR\",IF('Calculator Table'!BU12>0,\"X\",IF('Calculator Table'!BV12>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA12,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA12,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB12,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB12,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ12,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ12,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR12,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR12,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS12,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS12,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT12,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT12,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU12,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU12,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV12,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV12,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW12,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW12,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX12,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX12,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY12,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY12,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ12,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ12,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC12,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC12,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD12,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD12,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG12,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG12,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH12,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH12,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE12,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE12,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF12,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF12,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK12,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK12,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL12,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL12,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI12,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI12,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ12,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ12,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q12=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R12:$AU12<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C13","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R13:$AI13))/SUM(IF($R13:$AI13<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R13:$AI13))/SUM(IF($R13:$AI13<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK13:$AN13))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK13:$AN13))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP13:$AU13))/SUM(IF($AP13:$AU13<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP13:$AU13))/SUM(IF($AP13:$AU13<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R13:$AU13))/SUM(IF($R13:$AU13<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R13:$AU13))/SUM(IF($R13:$AU13<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK13:$AU13))/SUM(IF($AK13:$AU13<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK13:$AU13))/SUM(IF($AK13:$AU13<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D13=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU13>0,'Calculator Table'!BT13>0),\"Z-ERROR\",IF('Calculator Table'!BU13>0,\"X\",IF('Calculator Table'!BV13>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA13,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA13,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB13,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB13,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ13,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ13,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR13,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR13,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS13,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS13,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT13,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT13,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU13,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU13,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV13,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV13,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW13,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW13,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX13,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX13,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY13,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY13,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ13,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ13,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC13,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC13,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD13,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD13,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG13,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG13,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH13,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH13,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE13,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE13,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF13,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF13,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK13,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK13,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL13,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL13,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI13,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI13,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ13,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ13,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q13=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R13:$AU13<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C14","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R14:$AI14))/SUM(IF($R14:$AI14<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R14:$AI14))/SUM(IF($R14:$AI14<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK14:$AN14))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK14:$AN14))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP14:$AU14))/SUM(IF($AP14:$AU14<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP14:$AU14))/SUM(IF($AP14:$AU14<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R14:$AU14))/SUM(IF($R14:$AU14<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R14:$AU14))/SUM(IF($R14:$AU14<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK14:$AU14))/SUM(IF($AK14:$AU14<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK14:$AU14))/SUM(IF($AK14:$AU14<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D14=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU14>0,'Calculator Table'!BT14>0),\"Z-ERROR\",IF('Calculator Table'!BU14>0,\"X\",IF('Calculator Table'!BV14>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA14,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA14,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB14,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB14,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ14,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ14,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR14,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR14,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS14,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS14,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT14,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT14,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU14,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU14,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV14,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV14,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW14,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW14,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX14,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX14,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY14,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY14,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ14,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ14,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC14,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC14,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD14,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD14,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG14,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG14,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH14,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH14,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE14,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE14,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF14,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF14,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK14,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK14,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL14,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL14,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI14,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI14,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ14,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ14,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q14=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R14:$AU14<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C15","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R15:$AI15))/SUM(IF($R15:$AI15<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R15:$AI15))/SUM(IF($R15:$AI15<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK15:$AN15))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK15:$AN15))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP15:$AU15))/SUM(IF($AP15:$AU15<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP15:$AU15))/SUM(IF($AP15:$AU15<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R15:$AU15))/SUM(IF($R15:$AU15<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R15:$AU15))/SUM(IF($R15:$AU15<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK15:$AU15))/SUM(IF($AK15:$AU15<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK15:$AU15))/SUM(IF($AK15:$AU15<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D15=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU15>0,'Calculator Table'!BT15>0),\"Z-ERROR\",IF('Calculator Table'!BU15>0,\"X\",IF('Calculator Table'!BV15>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA15,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA15,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB15,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB15,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ15,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ15,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR15,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR15,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS15,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS15,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT15,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT15,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU15,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU15,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV15,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV15,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW15,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW15,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX15,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX15,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY15,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY15,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ15,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ15,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC15,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC15,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD15,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD15,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG15,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG15,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH15,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH15,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE15,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE15,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF15,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF15,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK15,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK15,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL15,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL15,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI15,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI15,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ15,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ15,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q15=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R15:$AU15<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C16","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R16:$AI16))/SUM(IF($R16:$AI16<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R16:$AI16))/SUM(IF($R16:$AI16<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK16:$AN16))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK16:$AN16))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP16:$AU16))/SUM(IF($AP16:$AU16<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP16:$AU16))/SUM(IF($AP16:$AU16<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R16:$AU16))/SUM(IF($R16:$AU16<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R16:$AU16))/SUM(IF($R16:$AU16<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK16:$AU16))/SUM(IF($AK16:$AU16<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK16:$AU16))/SUM(IF($AK16:$AU16<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D16=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU16>0,'Calculator Table'!BT16>0),\"Z-ERROR\",IF('Calculator Table'!BU16>0,\"X\",IF('Calculator Table'!BV16>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA16,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA16,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB16,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB16,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ16,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ16,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR16,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR16,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS16,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS16,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT16,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT16,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU16,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU16,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV16,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV16,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW16,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW16,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX16,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX16,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY16,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY16,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ16,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ16,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC16,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC16,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD16,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD16,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG16,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG16,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH16,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH16,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE16,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE16,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF16,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF16,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK16,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK16,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL16,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL16,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI16,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI16,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ16,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ16,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q16=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R16:$AU16<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C17","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R17:$AI17))/SUM(IF($R17:$AI17<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R17:$AI17))/SUM(IF($R17:$AI17<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK17:$AN17))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK17:$AN17))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP17:$AU17))/SUM(IF($AP17:$AU17<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP17:$AU17))/SUM(IF($AP17:$AU17<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R17:$AU17))/SUM(IF($R17:$AU17<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R17:$AU17))/SUM(IF($R17:$AU17<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK17:$AU17))/SUM(IF($AK17:$AU17<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK17:$AU17))/SUM(IF($AK17:$AU17<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D17=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU17>0,'Calculator Table'!BT17>0),\"Z-ERROR\",IF('Calculator Table'!BU17>0,\"X\",IF('Calculator Table'!BV17>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA17,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA17,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB17,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB17,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ17,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ17,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR17,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR17,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS17,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS17,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT17,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT17,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU17,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU17,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV17,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV17,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW17,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW17,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX17,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX17,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY17,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY17,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ17,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ17,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC17,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC17,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD17,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD17,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG17,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG17,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH17,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH17,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE17,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE17,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF17,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF17,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK17,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK17,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL17,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL17,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI17,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI17,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ17,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ17,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q17=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R17:$AU17<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C18","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R18:$AI18))/SUM(IF($R18:$AI18<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R18:$AI18))/SUM(IF($R18:$AI18<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK18:$AN18))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK18:$AN18))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP18:$AU18))/SUM(IF($AP18:$AU18<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP18:$AU18))/SUM(IF($AP18:$AU18<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R18:$AU18))/SUM(IF($R18:$AU18<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R18:$AU18))/SUM(IF($R18:$AU18<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK18:$AU18))/SUM(IF($AK18:$AU18<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK18:$AU18))/SUM(IF($AK18:$AU18<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D18=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU18>0,'Calculator Table'!BT18>0),\"Z-ERROR\",IF('Calculator Table'!BU18>0,\"X\",IF('Calculator Table'!BV18>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA18,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA18,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB18,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB18,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ18,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ18,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR18,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR18,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS18,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS18,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT18,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT18,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU18,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU18,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV18,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV18,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW18,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW18,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX18,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX18,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY18,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY18,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ18,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ18,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC18,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC18,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD18,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD18,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG18,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG18,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH18,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH18,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE18,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE18,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF18,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF18,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK18,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK18,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL18,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL18,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI18,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI18,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ18,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ18,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q18=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R18:$AU18<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C19","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R19:$AI19))/SUM(IF($R19:$AI19<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R19:$AI19))/SUM(IF($R19:$AI19<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK19:$AN19))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK19:$AN19))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP19:$AU19))/SUM(IF($AP19:$AU19<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP19:$AU19))/SUM(IF($AP19:$AU19<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R19:$AU19))/SUM(IF($R19:$AU19<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R19:$AU19))/SUM(IF($R19:$AU19<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK19:$AU19))/SUM(IF($AK19:$AU19<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK19:$AU19))/SUM(IF($AK19:$AU19<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D19=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU19>0,'Calculator Table'!BT19>0),\"Z-ERROR\",IF('Calculator Table'!BU19>0,\"X\",IF('Calculator Table'!BV19>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA19,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA19,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB19,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB19,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ19,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ19,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR19,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR19,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS19,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS19,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT19,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT19,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU19,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU19,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV19,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV19,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW19,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW19,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX19,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX19,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY19,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY19,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ19,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ19,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC19,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC19,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD19,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD19,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG19,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG19,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH19,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH19,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE19,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE19,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF19,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF19,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK19,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK19,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL19,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL19,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI19,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI19,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ19,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ19,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q19=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R19:$AU19<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C20","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R20:$AI20))/SUM(IF($R20:$AI20<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R20:$AI20))/SUM(IF($R20:$AI20<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK20:$AN20))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK20:$AN20))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP20:$AU20))/SUM(IF($AP20:$AU20<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP20:$AU20))/SUM(IF($AP20:$AU20<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R20:$AU20))/SUM(IF($R20:$AU20<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R20:$AU20))/SUM(IF($R20:$AU20<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK20:$AU20))/SUM(IF($AK20:$AU20<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK20:$AU20))/SUM(IF($AK20:$AU20<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D20=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU20>0,'Calculator Table'!BT20>0),\"Z-ERROR\",IF('Calculator Table'!BU20>0,\"X\",IF('Calculator Table'!BV20>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA20,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA20,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB20,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB20,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ20,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ20,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR20,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR20,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS20,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS20,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT20,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT20,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU20,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU20,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV20,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV20,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW20,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW20,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX20,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX20,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY20,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY20,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ20,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ20,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC20,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC20,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD20,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD20,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG20,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG20,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH20,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH20,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE20,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE20,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF20,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF20,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK20,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK20,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL20,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL20,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI20,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI20,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ20,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ20,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q20=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R20:$AU20<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C21","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R21:$AI21))/SUM(IF($R21:$AI21<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R21:$AI21))/SUM(IF($R21:$AI21<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK21:$AN21))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK21:$AN21))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP21:$AU21))/SUM(IF($AP21:$AU21<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP21:$AU21))/SUM(IF($AP21:$AU21<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R21:$AU21))/SUM(IF($R21:$AU21<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R21:$AU21))/SUM(IF($R21:$AU21<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK21:$AU21))/SUM(IF($AK21:$AU21<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK21:$AU21))/SUM(IF($AK21:$AU21<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D21=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU21>0,'Calculator Table'!BT21>0),\"Z-ERROR\",IF('Calculator Table'!BU21>0,\"X\",IF('Calculator Table'!BV21>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA21,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA21,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB21,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB21,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ21,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ21,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR21,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR21,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS21,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS21,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT21,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT21,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU21,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU21,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV21,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV21,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW21,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW21,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX21,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX21,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY21,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY21,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ21,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ21,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC21,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC21,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD21,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD21,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG21,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG21,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH21,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH21,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE21,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE21,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF21,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF21,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK21,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK21,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL21,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL21,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI21,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI21,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ21,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ21,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q21=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R21:$AU21<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C22","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R22:$AI22))/SUM(IF($R22:$AI22<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R22:$AI22))/SUM(IF($R22:$AI22<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK22:$AN22))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK22:$AN22))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP22:$AU22))/SUM(IF($AP22:$AU22<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP22:$AU22))/SUM(IF($AP22:$AU22<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R22:$AU22))/SUM(IF($R22:$AU22<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R22:$AU22))/SUM(IF($R22:$AU22<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK22:$AU22))/SUM(IF($AK22:$AU22<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK22:$AU22))/SUM(IF($AK22:$AU22<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D22=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU22>0,'Calculator Table'!BT22>0),\"Z-ERROR\",IF('Calculator Table'!BU22>0,\"X\",IF('Calculator Table'!BV22>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA22,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA22,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB22,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB22,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ22,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ22,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR22,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR22,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS22,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS22,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT22,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT22,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU22,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU22,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV22,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV22,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW22,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW22,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX22,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX22,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY22,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY22,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ22,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ22,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC22,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC22,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD22,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD22,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG22,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG22,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH22,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH22,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE22,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE22,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF22,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF22,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK22,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK22,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL22,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL22,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI22,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI22,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ22,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ22,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q22=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R22:$AU22<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C23","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R23:$AI23))/SUM(IF($R23:$AI23<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R23:$AI23))/SUM(IF($R23:$AI23<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK23:$AN23))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK23:$AN23))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP23:$AU23))/SUM(IF($AP23:$AU23<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP23:$AU23))/SUM(IF($AP23:$AU23<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R23:$AU23))/SUM(IF($R23:$AU23<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R23:$AU23))/SUM(IF($R23:$AU23<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK23:$AU23))/SUM(IF($AK23:$AU23<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK23:$AU23))/SUM(IF($AK23:$AU23<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D23=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU23>0,'Calculator Table'!BT23>0),\"Z-ERROR\",IF('Calculator Table'!BU23>0,\"X\",IF('Calculator Table'!BV23>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA23,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA23,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB23,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB23,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ23,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ23,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR23,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR23,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS23,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS23,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT23,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT23,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU23,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU23,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV23,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV23,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW23,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW23,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX23,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX23,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY23,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY23,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ23,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ23,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC23,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC23,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD23,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD23,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG23,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG23,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH23,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH23,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE23,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE23,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF23,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF23,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK23,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK23,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL23,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL23,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI23,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI23,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ23,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ23,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q23=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R23:$AU23<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C24","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R24:$AI24))/SUM(IF($R24:$AI24<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R24:$AI24))/SUM(IF($R24:$AI24<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK24:$AN24))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK24:$AN24))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP24:$AU24))/SUM(IF($AP24:$AU24<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP24:$AU24))/SUM(IF($AP24:$AU24<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R24:$AU24))/SUM(IF($R24:$AU24<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R24:$AU24))/SUM(IF($R24:$AU24<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK24:$AU24))/SUM(IF($AK24:$AU24<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK24:$AU24))/SUM(IF($AK24:$AU24<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D24=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU24>0,'Calculator Table'!BT24>0),\"Z-ERROR\",IF('Calculator Table'!BU24>0,\"X\",IF('Calculator Table'!BV24>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA24,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA24,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB24,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB24,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ24,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ24,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR24,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR24,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS24,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS24,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT24,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT24,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU24,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU24,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV24,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV24,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW24,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW24,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX24,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX24,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY24,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY24,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ24,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ24,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC24,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC24,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD24,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD24,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG24,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG24,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH24,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH24,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE24,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE24,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF24,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF24,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK24,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK24,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL24,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL24,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI24,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI24,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ24,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ24,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q24=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R24:$AU24<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C25","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R25:$AI25))/SUM(IF($R25:$AI25<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R25:$AI25))/SUM(IF($R25:$AI25<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK25:$AN25))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK25:$AN25))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP25:$AU25))/SUM(IF($AP25:$AU25<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP25:$AU25))/SUM(IF($AP25:$AU25<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R25:$AU25))/SUM(IF($R25:$AU25<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R25:$AU25))/SUM(IF($R25:$AU25<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK25:$AU25))/SUM(IF($AK25:$AU25<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK25:$AU25))/SUM(IF($AK25:$AU25<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D25=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU25>0,'Calculator Table'!BT25>0),\"Z-ERROR\",IF('Calculator Table'!BU25>0,\"X\",IF('Calculator Table'!BV25>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA25,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA25,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB25,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB25,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ25,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ25,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR25,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR25,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS25,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS25,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT25,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT25,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU25,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU25,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV25,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV25,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW25,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW25,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX25,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX25,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY25,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY25,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ25,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ25,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC25,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC25,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD25,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD25,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG25,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG25,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH25,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH25,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE25,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE25,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF25,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF25,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK25,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK25,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL25,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL25,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI25,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI25,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ25,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ25,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q25=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R25:$AU25<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C26","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R26:$AI26))/SUM(IF($R26:$AI26<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R26:$AI26))/SUM(IF($R26:$AI26<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK26:$AN26))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK26:$AN26))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP26:$AU26))/SUM(IF($AP26:$AU26<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP26:$AU26))/SUM(IF($AP26:$AU26<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R26:$AU26))/SUM(IF($R26:$AU26<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R26:$AU26))/SUM(IF($R26:$AU26<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK26:$AU26))/SUM(IF($AK26:$AU26<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK26:$AU26))/SUM(IF($AK26:$AU26<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D26=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU26>0,'Calculator Table'!BT26>0),\"Z-ERROR\",IF('Calculator Table'!BU26>0,\"X\",IF('Calculator Table'!BV26>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA26,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA26,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB26,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB26,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ26,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ26,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR26,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR26,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS26,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS26,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT26,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT26,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU26,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU26,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV26,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV26,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW26,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW26,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX26,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX26,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY26,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY26,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ26,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ26,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC26,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC26,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD26,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD26,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG26,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG26,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH26,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH26,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE26,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE26,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF26,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF26,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK26,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK26,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL26,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL26,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI26,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI26,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ26,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ26,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q26=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R26:$AU26<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C27","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R27:$AI27))/SUM(IF($R27:$AI27<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R27:$AI27))/SUM(IF($R27:$AI27<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK27:$AN27))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK27:$AN27))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP27:$AU27))/SUM(IF($AP27:$AU27<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP27:$AU27))/SUM(IF($AP27:$AU27<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R27:$AU27))/SUM(IF($R27:$AU27<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R27:$AU27))/SUM(IF($R27:$AU27<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK27:$AU27))/SUM(IF($AK27:$AU27<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK27:$AU27))/SUM(IF($AK27:$AU27<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D27=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU27>0,'Calculator Table'!BT27>0),\"Z-ERROR\",IF('Calculator Table'!BU27>0,\"X\",IF('Calculator Table'!BV27>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA27,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA27,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB27,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB27,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ27,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ27,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR27,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR27,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS27,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS27,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT27,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT27,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU27,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU27,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV27,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV27,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW27,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW27,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX27,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX27,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY27,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY27,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ27,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ27,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC27,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC27,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD27,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD27,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG27,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG27,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH27,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH27,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE27,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE27,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF27,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF27,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK27,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK27,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL27,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL27,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI27,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI27,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ27,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ27,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q27=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R27:$AU27<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C28","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R28:$AI28))/SUM(IF($R28:$AI28<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R28:$AI28))/SUM(IF($R28:$AI28<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK28:$AN28))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK28:$AN28))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP28:$AU28))/SUM(IF($AP28:$AU28<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP28:$AU28))/SUM(IF($AP28:$AU28<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R28:$AU28))/SUM(IF($R28:$AU28<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R28:$AU28))/SUM(IF($R28:$AU28<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK28:$AU28))/SUM(IF($AK28:$AU28<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK28:$AU28))/SUM(IF($AK28:$AU28<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D28=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU28>0,'Calculator Table'!BT28>0),\"Z-ERROR\",IF('Calculator Table'!BU28>0,\"X\",IF('Calculator Table'!BV28>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA28,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA28,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB28,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB28,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ28,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ28,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR28,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR28,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS28,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS28,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT28,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT28,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU28,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU28,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV28,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV28,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW28,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW28,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX28,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX28,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY28,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY28,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ28,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ28,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC28,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC28,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD28,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD28,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG28,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG28,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH28,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH28,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE28,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE28,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF28,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF28,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK28,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK28,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL28,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL28,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI28,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI28,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ28,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ28,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q28=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R28:$AU28<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C29","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R29:$AI29))/SUM(IF($R29:$AI29<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R29:$AI29))/SUM(IF($R29:$AI29<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK29:$AN29))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK29:$AN29))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP29:$AU29))/SUM(IF($AP29:$AU29<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP29:$AU29))/SUM(IF($AP29:$AU29<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R29:$AU29))/SUM(IF($R29:$AU29<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R29:$AU29))/SUM(IF($R29:$AU29<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK29:$AU29))/SUM(IF($AK29:$AU29<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK29:$AU29))/SUM(IF($AK29:$AU29<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D29=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU29>0,'Calculator Table'!BT29>0),\"Z-ERROR\",IF('Calculator Table'!BU29>0,\"X\",IF('Calculator Table'!BV29>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA29,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA29,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB29,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB29,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ29,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ29,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR29,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR29,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS29,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS29,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT29,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT29,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU29,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU29,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV29,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV29,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW29,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW29,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX29,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX29,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY29,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY29,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ29,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ29,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC29,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC29,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD29,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD29,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG29,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG29,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH29,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH29,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE29,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE29,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF29,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF29,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK29,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK29,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL29,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL29,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI29,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI29,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ29,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ29,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q29=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R29:$AU29<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C30","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R30:$AI30))/SUM(IF($R30:$AI30<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R30:$AI30))/SUM(IF($R30:$AI30<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK30:$AN30))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK30:$AN30))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP30:$AU30))/SUM(IF($AP30:$AU30<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP30:$AU30))/SUM(IF($AP30:$AU30<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R30:$AU30))/SUM(IF($R30:$AU30<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R30:$AU30))/SUM(IF($R30:$AU30<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK30:$AU30))/SUM(IF($AK30:$AU30<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK30:$AU30))/SUM(IF($AK30:$AU30<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D30=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU30>0,'Calculator Table'!BT30>0),\"Z-ERROR\",IF('Calculator Table'!BU30>0,\"X\",IF('Calculator Table'!BV30>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA30,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA30,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB30,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB30,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ30,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ30,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR30,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR30,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS30,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS30,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT30,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT30,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU30,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU30,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV30,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV30,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW30,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW30,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX30,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX30,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY30,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY30,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ30,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ30,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC30,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC30,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD30,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD30,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG30,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG30,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH30,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH30,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE30,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE30,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF30,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF30,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK30,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK30,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL30,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL30,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI30,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI30,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ30,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ30,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q30=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R30:$AU30<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C31","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R31:$AI31))/SUM(IF($R31:$AI31<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R31:$AI31))/SUM(IF($R31:$AI31<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK31:$AN31))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK31:$AN31))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP31:$AU31))/SUM(IF($AP31:$AU31<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP31:$AU31))/SUM(IF($AP31:$AU31<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R31:$AU31))/SUM(IF($R31:$AU31<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R31:$AU31))/SUM(IF($R31:$AU31<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK31:$AU31))/SUM(IF($AK31:$AU31<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK31:$AU31))/SUM(IF($AK31:$AU31<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D31=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU31>0,'Calculator Table'!BT31>0),\"Z-ERROR\",IF('Calculator Table'!BU31>0,\"X\",IF('Calculator Table'!BV31>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA31,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA31,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB31,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB31,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ31,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ31,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR31,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR31,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS31,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS31,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT31,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT31,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU31,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU31,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV31,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV31,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW31,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW31,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX31,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX31,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY31,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY31,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ31,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ31,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC31,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC31,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD31,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD31,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG31,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG31,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH31,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH31,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE31,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE31,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF31,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF31,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK31,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK31,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL31,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL31,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI31,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI31,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ31,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ31,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q31=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R31:$AU31<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C32","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R32:$AI32))/SUM(IF($R32:$AI32<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R32:$AI32))/SUM(IF($R32:$AI32<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK32:$AN32))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK32:$AN32))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP32:$AU32))/SUM(IF($AP32:$AU32<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP32:$AU32))/SUM(IF($AP32:$AU32<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R32:$AU32))/SUM(IF($R32:$AU32<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R32:$AU32))/SUM(IF($R32:$AU32<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK32:$AU32))/SUM(IF($AK32:$AU32<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK32:$AU32))/SUM(IF($AK32:$AU32<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D32=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU32>0,'Calculator Table'!BT32>0),\"Z-ERROR\",IF('Calculator Table'!BU32>0,\"X\",IF('Calculator Table'!BV32>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA32,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA32,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB32,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB32,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ32,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ32,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR32,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR32,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS32,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS32,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT32,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT32,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU32,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU32,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV32,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV32,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW32,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW32,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX32,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX32,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY32,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY32,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ32,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ32,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC32,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC32,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD32,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD32,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG32,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG32,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH32,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH32,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE32,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE32,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF32,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF32,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK32,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK32,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL32,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL32,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI32,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI32,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ32,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ32,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q32=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R32:$AU32<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C33","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R33:$AI33))/SUM(IF($R33:$AI33<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R33:$AI33))/SUM(IF($R33:$AI33<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK33:$AN33))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK33:$AN33))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP33:$AU33))/SUM(IF($AP33:$AU33<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP33:$AU33))/SUM(IF($AP33:$AU33<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R33:$AU33))/SUM(IF($R33:$AU33<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R33:$AU33))/SUM(IF($R33:$AU33<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK33:$AU33))/SUM(IF($AK33:$AU33<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK33:$AU33))/SUM(IF($AK33:$AU33<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D33=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU33>0,'Calculator Table'!BT33>0),\"Z-ERROR\",IF('Calculator Table'!BU33>0,\"X\",IF('Calculator Table'!BV33>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA33,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA33,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB33,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB33,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ33,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ33,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR33,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR33,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS33,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS33,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT33,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT33,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU33,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU33,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV33,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV33,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW33,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW33,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX33,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX33,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY33,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY33,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ33,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ33,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC33,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC33,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD33,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD33,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG33,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG33,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH33,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH33,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE33,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE33,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF33,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF33,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK33,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK33,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL33,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL33,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI33,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI33,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ33,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ33,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q33=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R33:$AU33<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C34","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R34:$AI34))/SUM(IF($R34:$AI34<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R34:$AI34))/SUM(IF($R34:$AI34<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK34:$AN34))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK34:$AN34))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP34:$AU34))/SUM(IF($AP34:$AU34<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP34:$AU34))/SUM(IF($AP34:$AU34<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R34:$AU34))/SUM(IF($R34:$AU34<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R34:$AU34))/SUM(IF($R34:$AU34<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK34:$AU34))/SUM(IF($AK34:$AU34<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK34:$AU34))/SUM(IF($AK34:$AU34<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D34=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU34>0,'Calculator Table'!BT34>0),\"Z-ERROR\",IF('Calculator Table'!BU34>0,\"X\",IF('Calculator Table'!BV34>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA34,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA34,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB34,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB34,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ34,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ34,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR34,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR34,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS34,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS34,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT34,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT34,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU34,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU34,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV34,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV34,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW34,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW34,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX34,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX34,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY34,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY34,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ34,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ34,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC34,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC34,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD34,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD34,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG34,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG34,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH34,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH34,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE34,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE34,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF34,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF34,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK34,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK34,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL34,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL34,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI34,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI34,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ34,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ34,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q34=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R34:$AU34<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C35","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R35:$AI35))/SUM(IF($R35:$AI35<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R35:$AI35))/SUM(IF($R35:$AI35<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK35:$AN35))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK35:$AN35))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP35:$AU35))/SUM(IF($AP35:$AU35<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP35:$AU35))/SUM(IF($AP35:$AU35<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R35:$AU35))/SUM(IF($R35:$AU35<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R35:$AU35))/SUM(IF($R35:$AU35<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK35:$AU35))/SUM(IF($AK35:$AU35<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK35:$AU35))/SUM(IF($AK35:$AU35<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D35=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU35>0,'Calculator Table'!BT35>0),\"Z-ERROR\",IF('Calculator Table'!BU35>0,\"X\",IF('Calculator Table'!BV35>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA35,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA35,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB35,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB35,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ35,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ35,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR35,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR35,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS35,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS35,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT35,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT35,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU35,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU35,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV35,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV35,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW35,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW35,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX35,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX35,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY35,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY35,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ35,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ35,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC35,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC35,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD35,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD35,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG35,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG35,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH35,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH35,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE35,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE35,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF35,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF35,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK35,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK35,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL35,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL35,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI35,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI35,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ35,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ35,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q35=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R35:$AU35<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C36","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R36:$AI36))/SUM(IF($R36:$AI36<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R36:$AI36))/SUM(IF($R36:$AI36<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK36:$AN36))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK36:$AN36))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP36:$AU36))/SUM(IF($AP36:$AU36<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP36:$AU36))/SUM(IF($AP36:$AU36<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R36:$AU36))/SUM(IF($R36:$AU36<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R36:$AU36))/SUM(IF($R36:$AU36<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK36:$AU36))/SUM(IF($AK36:$AU36<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK36:$AU36))/SUM(IF($AK36:$AU36<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D36=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU36>0,'Calculator Table'!BT36>0),\"Z-ERROR\",IF('Calculator Table'!BU36>0,\"X\",IF('Calculator Table'!BV36>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA36,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA36,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB36,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB36,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ36,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ36,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR36,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR36,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS36,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS36,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT36,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT36,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU36,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU36,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV36,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV36,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW36,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW36,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX36,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX36,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY36,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY36,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ36,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ36,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC36,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC36,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD36,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD36,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG36,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG36,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH36,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH36,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE36,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE36,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF36,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF36,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK36,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK36,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL36,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL36,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI36,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI36,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ36,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ36,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q36=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R36:$AU36<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C37","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R37:$AI37))/SUM(IF($R37:$AI37<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R37:$AI37))/SUM(IF($R37:$AI37<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK37:$AN37))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK37:$AN37))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP37:$AU37))/SUM(IF($AP37:$AU37<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP37:$AU37))/SUM(IF($AP37:$AU37<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R37:$AU37))/SUM(IF($R37:$AU37<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R37:$AU37))/SUM(IF($R37:$AU37<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK37:$AU37))/SUM(IF($AK37:$AU37<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK37:$AU37))/SUM(IF($AK37:$AU37<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D37=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU37>0,'Calculator Table'!BT37>0),\"Z-ERROR\",IF('Calculator Table'!BU37>0,\"X\",IF('Calculator Table'!BV37>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA37,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA37,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB37,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB37,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ37,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ37,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR37,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR37,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS37,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS37,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT37,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT37,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU37,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU37,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV37,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV37,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW37,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW37,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX37,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX37,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY37,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY37,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ37,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ37,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC37,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC37,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD37,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD37,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG37,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG37,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH37,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH37,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE37,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE37,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF37,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF37,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK37,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK37,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL37,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL37,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI37,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI37,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ37,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ37,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q37=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R37:$AU37<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C38","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R38:$AI38))/SUM(IF($R38:$AI38<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R38:$AI38))/SUM(IF($R38:$AI38<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK38:$AN38))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK38:$AN38))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP38:$AU38))/SUM(IF($AP38:$AU38<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP38:$AU38))/SUM(IF($AP38:$AU38<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R38:$AU38))/SUM(IF($R38:$AU38<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R38:$AU38))/SUM(IF($R38:$AU38<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK38:$AU38))/SUM(IF($AK38:$AU38<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK38:$AU38))/SUM(IF($AK38:$AU38<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D38=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU38>0,'Calculator Table'!BT38>0),\"Z-ERROR\",IF('Calculator Table'!BU38>0,\"X\",IF('Calculator Table'!BV38>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA38,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA38,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB38,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB38,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ38,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ38,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR38,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR38,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS38,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS38,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT38,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT38,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU38,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU38,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV38,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV38,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW38,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW38,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX38,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX38,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY38,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY38,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ38,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ38,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC38,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC38,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD38,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD38,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG38,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG38,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH38,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH38,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE38,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE38,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF38,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF38,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK38,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK38,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL38,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL38,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI38,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI38,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ38,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ38,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q38=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R38:$AU38<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C39","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R39:$AI39))/SUM(IF($R39:$AI39<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R39:$AI39))/SUM(IF($R39:$AI39<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK39:$AN39))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK39:$AN39))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP39:$AU39))/SUM(IF($AP39:$AU39<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP39:$AU39))/SUM(IF($AP39:$AU39<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R39:$AU39))/SUM(IF($R39:$AU39<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R39:$AU39))/SUM(IF($R39:$AU39<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK39:$AU39))/SUM(IF($AK39:$AU39<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK39:$AU39))/SUM(IF($AK39:$AU39<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D39=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU39>0,'Calculator Table'!BT39>0),\"Z-ERROR\",IF('Calculator Table'!BU39>0,\"X\",IF('Calculator Table'!BV39>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA39,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA39,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB39,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB39,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ39,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ39,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR39,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR39,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS39,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS39,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT39,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT39,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU39,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU39,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV39,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV39,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW39,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW39,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX39,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX39,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY39,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY39,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ39,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ39,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC39,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC39,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD39,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD39,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG39,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG39,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH39,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH39,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE39,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE39,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF39,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF39,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK39,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK39,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL39,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL39,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI39,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI39,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ39,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ39,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q39=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R39:$AU39<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C40","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R40:$AI40))/SUM(IF($R40:$AI40<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R40:$AI40))/SUM(IF($R40:$AI40<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK40:$AN40))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK40:$AN40))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP40:$AU40))/SUM(IF($AP40:$AU40<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP40:$AU40))/SUM(IF($AP40:$AU40<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R40:$AU40))/SUM(IF($R40:$AU40<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R40:$AU40))/SUM(IF($R40:$AU40<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK40:$AU40))/SUM(IF($AK40:$AU40<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK40:$AU40))/SUM(IF($AK40:$AU40<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D40=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU40>0,'Calculator Table'!BT40>0),\"Z-ERROR\",IF('Calculator Table'!BU40>0,\"X\",IF('Calculator Table'!BV40>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA40,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA40,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB40,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB40,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ40,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ40,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR40,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR40,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS40,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS40,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT40,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT40,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU40,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU40,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV40,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV40,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW40,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW40,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX40,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX40,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY40,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY40,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ40,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ40,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC40,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC40,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD40,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD40,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG40,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG40,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH40,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH40,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE40,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE40,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF40,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF40,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK40,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK40,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL40,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL40,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI40,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI40,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ40,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ40,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q40=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R40:$AU40<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C41","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R41:$AI41))/SUM(IF($R41:$AI41<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R41:$AI41))/SUM(IF($R41:$AI41<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK41:$AN41))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK41:$AN41))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP41:$AU41))/SUM(IF($AP41:$AU41<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP41:$AU41))/SUM(IF($AP41:$AU41<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R41:$AU41))/SUM(IF($R41:$AU41<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R41:$AU41))/SUM(IF($R41:$AU41<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK41:$AU41))/SUM(IF($AK41:$AU41<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK41:$AU41))/SUM(IF($AK41:$AU41<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D41=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU41>0,'Calculator Table'!BT41>0),\"Z-ERROR\",IF('Calculator Table'!BU41>0,\"X\",IF('Calculator Table'!BV41>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA41,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA41,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB41,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB41,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ41,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ41,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR41,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR41,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS41,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS41,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT41,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT41,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU41,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU41,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV41,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV41,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW41,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW41,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX41,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX41,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY41,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY41,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ41,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ41,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC41,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC41,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD41,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD41,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG41,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG41,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH41,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH41,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE41,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE41,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF41,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF41,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK41,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK41,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL41,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL41,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI41,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI41,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ41,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ41,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q41=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R41:$AU41<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C42","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R42:$AI42))/SUM(IF($R42:$AI42<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R42:$AI42))/SUM(IF($R42:$AI42<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK42:$AN42))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK42:$AN42))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP42:$AU42))/SUM(IF($AP42:$AU42<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP42:$AU42))/SUM(IF($AP42:$AU42<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R42:$AU42))/SUM(IF($R42:$AU42<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R42:$AU42))/SUM(IF($R42:$AU42<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK42:$AU42))/SUM(IF($AK42:$AU42<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK42:$AU42))/SUM(IF($AK42:$AU42<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D42=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU42>0,'Calculator Table'!BT42>0),\"Z-ERROR\",IF('Calculator Table'!BU42>0,\"X\",IF('Calculator Table'!BV42>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA42,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA42,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB42,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB42,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ42,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ42,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR42,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR42,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS42,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS42,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT42,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT42,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU42,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU42,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV42,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV42,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW42,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW42,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX42,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX42,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY42,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY42,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ42,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ42,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC42,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC42,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD42,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD42,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG42,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG42,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH42,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH42,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE42,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE42,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF42,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF42,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK42,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK42,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL42,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL42,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI42,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI42,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ42,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ42,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q42=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R42:$AU42<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C43","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R43:$AI43))/SUM(IF($R43:$AI43<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R43:$AI43))/SUM(IF($R43:$AI43<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK43:$AN43))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK43:$AN43))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP43:$AU43))/SUM(IF($AP43:$AU43<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP43:$AU43))/SUM(IF($AP43:$AU43<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R43:$AU43))/SUM(IF($R43:$AU43<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R43:$AU43))/SUM(IF($R43:$AU43<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK43:$AU43))/SUM(IF($AK43:$AU43<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK43:$AU43))/SUM(IF($AK43:$AU43<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D43=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU43>0,'Calculator Table'!BT43>0),\"Z-ERROR\",IF('Calculator Table'!BU43>0,\"X\",IF('Calculator Table'!BV43>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA43,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA43,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB43,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB43,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ43,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ43,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR43,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR43,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS43,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS43,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT43,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT43,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU43,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU43,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV43,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV43,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW43,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW43,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX43,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX43,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY43,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY43,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ43,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ43,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC43,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC43,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD43,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD43,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG43,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG43,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH43,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH43,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE43,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE43,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF43,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF43,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK43,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK43,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL43,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL43,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI43,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI43,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ43,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ43,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q43=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R43:$AU43<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C44","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R44:$AI44))/SUM(IF($R44:$AI44<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R44:$AI44))/SUM(IF($R44:$AI44<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK44:$AN44))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK44:$AN44))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP44:$AU44))/SUM(IF($AP44:$AU44<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP44:$AU44))/SUM(IF($AP44:$AU44<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R44:$AU44))/SUM(IF($R44:$AU44<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R44:$AU44))/SUM(IF($R44:$AU44<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK44:$AU44))/SUM(IF($AK44:$AU44<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK44:$AU44))/SUM(IF($AK44:$AU44<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D44=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU44>0,'Calculator Table'!BT44>0),\"Z-ERROR\",IF('Calculator Table'!BU44>0,\"X\",IF('Calculator Table'!BV44>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA44,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA44,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB44,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB44,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ44,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ44,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR44,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR44,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS44,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS44,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT44,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT44,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU44,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU44,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV44,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV44,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW44,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW44,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX44,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX44,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY44,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY44,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ44,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ44,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC44,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC44,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD44,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD44,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG44,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG44,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH44,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH44,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE44,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE44,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF44,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF44,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK44,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK44,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL44,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL44,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI44,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI44,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ44,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ44,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q44=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R44:$AU44<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C45","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R45:$AI45))/SUM(IF($R45:$AI45<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R45:$AI45))/SUM(IF($R45:$AI45<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK45:$AN45))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK45:$AN45))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP45:$AU45))/SUM(IF($AP45:$AU45<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP45:$AU45))/SUM(IF($AP45:$AU45<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R45:$AU45))/SUM(IF($R45:$AU45<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R45:$AU45))/SUM(IF($R45:$AU45<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK45:$AU45))/SUM(IF($AK45:$AU45<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK45:$AU45))/SUM(IF($AK45:$AU45<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D45=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU45>0,'Calculator Table'!BT45>0),\"Z-ERROR\",IF('Calculator Table'!BU45>0,\"X\",IF('Calculator Table'!BV45>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA45,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA45,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB45,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB45,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ45,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ45,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR45,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR45,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS45,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS45,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT45,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT45,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU45,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU45,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV45,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV45,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW45,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW45,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX45,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX45,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY45,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY45,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ45,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ45,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC45,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC45,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD45,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD45,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG45,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG45,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH45,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH45,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE45,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE45,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF45,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF45,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK45,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK45,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL45,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL45,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI45,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI45,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ45,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ45,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q45=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R45:$AU45<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C46","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R46:$AI46))/SUM(IF($R46:$AI46<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R46:$AI46))/SUM(IF($R46:$AI46<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK46:$AN46))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK46:$AN46))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP46:$AU46))/SUM(IF($AP46:$AU46<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP46:$AU46))/SUM(IF($AP46:$AU46<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R46:$AU46))/SUM(IF($R46:$AU46<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R46:$AU46))/SUM(IF($R46:$AU46<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK46:$AU46))/SUM(IF($AK46:$AU46<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK46:$AU46))/SUM(IF($AK46:$AU46<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D46=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU46>0,'Calculator Table'!BT46>0),\"Z-ERROR\",IF('Calculator Table'!BU46>0,\"X\",IF('Calculator Table'!BV46>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA46,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA46,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB46,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB46,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ46,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ46,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR46,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR46,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS46,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS46,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT46,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT46,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU46,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU46,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV46,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV46,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW46,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW46,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX46,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX46,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY46,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY46,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ46,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ46,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC46,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC46,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD46,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD46,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG46,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG46,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH46,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH46,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE46,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE46,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF46,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF46,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK46,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK46,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL46,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL46,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI46,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI46,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ46,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ46,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q46=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R46:$AU46<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C47","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R47:$AI47))/SUM(IF($R47:$AI47<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R47:$AI47))/SUM(IF($R47:$AI47<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK47:$AN47))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK47:$AN47))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP47:$AU47))/SUM(IF($AP47:$AU47<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP47:$AU47))/SUM(IF($AP47:$AU47<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R47:$AU47))/SUM(IF($R47:$AU47<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R47:$AU47))/SUM(IF($R47:$AU47<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK47:$AU47))/SUM(IF($AK47:$AU47<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK47:$AU47))/SUM(IF($AK47:$AU47<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D47=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU47>0,'Calculator Table'!BT47>0),\"Z-ERROR\",IF('Calculator Table'!BU47>0,\"X\",IF('Calculator Table'!BV47>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA47,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA47,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB47,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB47,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ47,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ47,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR47,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR47,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS47,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS47,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT47,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT47,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU47,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU47,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV47,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV47,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW47,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW47,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX47,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX47,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY47,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY47,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ47,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ47,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC47,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC47,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD47,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD47,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG47,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG47,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH47,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH47,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE47,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE47,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF47,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF47,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK47,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK47,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL47,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL47,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI47,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI47,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ47,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ47,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q47=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R47:$AU47<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C48","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R48:$AI48))/SUM(IF($R48:$AI48<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R48:$AI48))/SUM(IF($R48:$AI48<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK48:$AN48))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK48:$AN48))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP48:$AU48))/SUM(IF($AP48:$AU48<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP48:$AU48))/SUM(IF($AP48:$AU48<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R48:$AU48))/SUM(IF($R48:$AU48<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R48:$AU48))/SUM(IF($R48:$AU48<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK48:$AU48))/SUM(IF($AK48:$AU48<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK48:$AU48))/SUM(IF($AK48:$AU48<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D48=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU48>0,'Calculator Table'!BT48>0),\"Z-ERROR\",IF('Calculator Table'!BU48>0,\"X\",IF('Calculator Table'!BV48>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA48,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA48,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB48,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB48,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ48,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ48,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR48,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR48,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS48,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS48,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT48,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT48,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU48,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU48,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV48,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV48,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW48,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW48,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX48,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX48,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY48,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY48,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ48,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ48,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC48,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC48,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD48,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD48,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG48,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG48,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH48,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH48,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE48,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE48,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF48,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF48,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK48,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK48,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL48,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL48,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI48,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI48,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ48,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ48,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q48=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R48:$AU48<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C49","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R49:$AI49))/SUM(IF($R49:$AI49<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R49:$AI49))/SUM(IF($R49:$AI49<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK49:$AN49))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK49:$AN49))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP49:$AU49))/SUM(IF($AP49:$AU49<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP49:$AU49))/SUM(IF($AP49:$AU49<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R49:$AU49))/SUM(IF($R49:$AU49<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R49:$AU49))/SUM(IF($R49:$AU49<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK49:$AU49))/SUM(IF($AK49:$AU49<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK49:$AU49))/SUM(IF($AK49:$AU49<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D49=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU49>0,'Calculator Table'!BT49>0),\"Z-ERROR\",IF('Calculator Table'!BU49>0,\"X\",IF('Calculator Table'!BV49>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA49,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA49,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB49,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB49,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ49,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ49,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR49,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR49,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS49,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS49,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT49,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT49,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU49,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU49,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV49,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV49,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW49,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW49,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX49,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX49,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY49,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY49,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ49,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ49,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC49,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC49,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD49,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD49,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG49,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG49,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH49,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH49,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE49,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE49,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF49,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF49,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK49,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK49,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL49,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL49,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI49,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI49,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ49,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ49,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q49=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R49:$AU49<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C50","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R50:$AI50))/SUM(IF($R50:$AI50<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R50:$AI50))/SUM(IF($R50:$AI50<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK50:$AN50))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK50:$AN50))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP50:$AU50))/SUM(IF($AP50:$AU50<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP50:$AU50))/SUM(IF($AP50:$AU50<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R50:$AU50))/SUM(IF($R50:$AU50<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R50:$AU50))/SUM(IF($R50:$AU50<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK50:$AU50))/SUM(IF($AK50:$AU50<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK50:$AU50))/SUM(IF($AK50:$AU50<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D50=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU50>0,'Calculator Table'!BT50>0),\"Z-ERROR\",IF('Calculator Table'!BU50>0,\"X\",IF('Calculator Table'!BV50>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA50,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA50,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB50,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB50,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ50,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ50,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR50,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR50,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS50,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS50,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT50,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT50,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU50,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU50,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV50,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV50,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW50,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW50,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX50,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX50,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY50,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY50,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ50,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ50,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC50,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC50,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD50,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD50,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG50,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG50,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH50,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH50,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE50,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE50,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF50,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF50,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK50,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK50,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL50,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL50,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI50,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI50,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ50,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ50,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q50=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R50:$AU50<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C51","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R51:$AI51))/SUM(IF($R51:$AI51<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R51:$AI51))/SUM(IF($R51:$AI51<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK51:$AN51))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK51:$AN51))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP51:$AU51))/SUM(IF($AP51:$AU51<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP51:$AU51))/SUM(IF($AP51:$AU51<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R51:$AU51))/SUM(IF($R51:$AU51<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R51:$AU51))/SUM(IF($R51:$AU51<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK51:$AU51))/SUM(IF($AK51:$AU51<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK51:$AU51))/SUM(IF($AK51:$AU51<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D51=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU51>0,'Calculator Table'!BT51>0),\"Z-ERROR\",IF('Calculator Table'!BU51>0,\"X\",IF('Calculator Table'!BV51>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA51,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA51,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB51,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB51,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ51,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ51,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR51,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR51,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS51,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS51,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT51,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT51,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU51,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU51,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV51,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV51,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW51,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW51,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX51,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX51,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY51,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY51,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ51,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ51,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC51,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC51,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD51,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD51,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG51,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG51,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH51,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH51,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE51,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE51,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF51,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF51,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK51,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK51,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL51,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL51,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI51,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI51,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ51,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ51,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q51=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R51:$AU51<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C52","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R52:$AI52))/SUM(IF($R52:$AI52<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R52:$AI52))/SUM(IF($R52:$AI52<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK52:$AN52))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK52:$AN52))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP52:$AU52))/SUM(IF($AP52:$AU52<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP52:$AU52))/SUM(IF($AP52:$AU52<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R52:$AU52))/SUM(IF($R52:$AU52<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R52:$AU52))/SUM(IF($R52:$AU52<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK52:$AU52))/SUM(IF($AK52:$AU52<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK52:$AU52))/SUM(IF($AK52:$AU52<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D52=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU52>0,'Calculator Table'!BT52>0),\"Z-ERROR\",IF('Calculator Table'!BU52>0,\"X\",IF('Calculator Table'!BV52>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA52,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA52,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB52,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB52,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ52,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ52,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR52,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR52,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS52,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS52,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT52,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT52,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU52,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU52,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV52,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV52,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW52,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW52,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX52,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX52,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY52,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY52,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ52,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ52,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC52,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC52,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD52,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD52,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG52,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG52,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH52,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH52,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE52,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE52,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF52,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF52,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK52,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK52,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL52,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL52,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI52,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI52,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ52,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ52,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q52=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R52:$AU52<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C53","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R53:$AI53))/SUM(IF($R53:$AI53<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R53:$AI53))/SUM(IF($R53:$AI53<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK53:$AN53))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK53:$AN53))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP53:$AU53))/SUM(IF($AP53:$AU53<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP53:$AU53))/SUM(IF($AP53:$AU53<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R53:$AU53))/SUM(IF($R53:$AU53<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R53:$AU53))/SUM(IF($R53:$AU53<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK53:$AU53))/SUM(IF($AK53:$AU53<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK53:$AU53))/SUM(IF($AK53:$AU53<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D53=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU53>0,'Calculator Table'!BT53>0),\"Z-ERROR\",IF('Calculator Table'!BU53>0,\"X\",IF('Calculator Table'!BV53>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA53,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA53,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB53,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB53,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ53,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ53,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR53,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR53,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS53,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS53,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT53,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT53,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU53,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU53,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV53,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV53,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW53,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW53,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX53,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX53,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY53,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY53,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ53,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ53,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC53,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC53,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD53,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD53,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG53,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG53,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH53,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH53,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE53,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE53,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF53,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF53,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK53,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK53,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL53,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL53,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI53,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI53,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ53,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ53,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q53=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R53:$AU53<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C54","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R54:$AI54))/SUM(IF($R54:$AI54<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R54:$AI54))/SUM(IF($R54:$AI54<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK54:$AN54))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK54:$AN54))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP54:$AU54))/SUM(IF($AP54:$AU54<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP54:$AU54))/SUM(IF($AP54:$AU54<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R54:$AU54))/SUM(IF($R54:$AU54<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R54:$AU54))/SUM(IF($R54:$AU54<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK54:$AU54))/SUM(IF($AK54:$AU54<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK54:$AU54))/SUM(IF($AK54:$AU54<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D54=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU54>0,'Calculator Table'!BT54>0),\"Z-ERROR\",IF('Calculator Table'!BU54>0,\"X\",IF('Calculator Table'!BV54>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA54,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA54,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB54,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB54,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ54,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ54,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR54,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR54,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS54,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS54,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT54,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT54,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU54,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU54,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV54,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV54,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW54,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW54,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX54,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX54,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY54,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY54,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ54,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ54,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC54,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC54,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD54,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD54,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG54,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG54,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH54,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH54,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE54,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE54,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF54,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF54,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK54,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK54,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL54,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL54,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI54,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI54,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ54,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ54,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q54=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R54:$AU54<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C55","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R55:$AI55))/SUM(IF($R55:$AI55<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R55:$AI55))/SUM(IF($R55:$AI55<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK55:$AN55))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK55:$AN55))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP55:$AU55))/SUM(IF($AP55:$AU55<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP55:$AU55))/SUM(IF($AP55:$AU55<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R55:$AU55))/SUM(IF($R55:$AU55<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R55:$AU55))/SUM(IF($R55:$AU55<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK55:$AU55))/SUM(IF($AK55:$AU55<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK55:$AU55))/SUM(IF($AK55:$AU55<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D55=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU55>0,'Calculator Table'!BT55>0),\"Z-ERROR\",IF('Calculator Table'!BU55>0,\"X\",IF('Calculator Table'!BV55>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA55,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA55,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB55,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB55,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ55,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ55,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR55,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR55,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS55,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS55,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT55,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT55,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU55,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU55,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV55,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV55,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW55,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW55,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX55,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX55,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY55,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY55,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ55,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ55,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC55,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC55,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD55,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD55,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG55,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG55,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH55,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH55,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE55,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE55,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF55,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF55,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK55,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK55,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL55,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL55,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI55,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI55,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ55,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ55,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q55=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R55:$AU55<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C56","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R56:$AI56))/SUM(IF($R56:$AI56<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R56:$AI56))/SUM(IF($R56:$AI56<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK56:$AN56))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK56:$AN56))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP56:$AU56))/SUM(IF($AP56:$AU56<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP56:$AU56))/SUM(IF($AP56:$AU56<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R56:$AU56))/SUM(IF($R56:$AU56<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R56:$AU56))/SUM(IF($R56:$AU56<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK56:$AU56))/SUM(IF($AK56:$AU56<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK56:$AU56))/SUM(IF($AK56:$AU56<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D56=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU56>0,'Calculator Table'!BT56>0),\"Z-ERROR\",IF('Calculator Table'!BU56>0,\"X\",IF('Calculator Table'!BV56>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA56,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA56,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB56,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB56,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ56,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ56,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR56,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR56,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS56,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS56,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT56,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT56,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU56,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU56,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV56,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV56,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW56,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW56,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX56,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX56,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY56,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY56,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ56,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ56,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC56,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC56,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD56,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD56,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG56,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG56,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH56,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH56,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE56,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE56,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF56,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF56,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK56,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK56,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL56,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL56,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI56,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI56,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ56,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ56,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q56=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R56:$AU56<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C57","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R57:$AI57))/SUM(IF($R57:$AI57<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R57:$AI57))/SUM(IF($R57:$AI57<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK57:$AN57))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK57:$AN57))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP57:$AU57))/SUM(IF($AP57:$AU57<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP57:$AU57))/SUM(IF($AP57:$AU57<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R57:$AU57))/SUM(IF($R57:$AU57<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R57:$AU57))/SUM(IF($R57:$AU57<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK57:$AU57))/SUM(IF($AK57:$AU57<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK57:$AU57))/SUM(IF($AK57:$AU57<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D57=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU57>0,'Calculator Table'!BT57>0),\"Z-ERROR\",IF('Calculator Table'!BU57>0,\"X\",IF('Calculator Table'!BV57>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA57,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA57,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB57,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB57,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ57,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ57,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR57,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR57,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS57,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS57,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT57,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT57,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU57,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU57,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV57,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV57,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW57,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW57,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX57,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX57,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY57,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY57,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ57,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ57,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC57,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC57,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD57,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD57,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG57,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG57,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH57,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH57,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE57,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE57,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF57,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF57,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK57,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK57,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL57,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL57,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI57,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI57,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ57,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ57,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q57=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R57:$AU57<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C58","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R58:$AI58))/SUM(IF($R58:$AI58<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R58:$AI58))/SUM(IF($R58:$AI58<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK58:$AN58))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK58:$AN58))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP58:$AU58))/SUM(IF($AP58:$AU58<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP58:$AU58))/SUM(IF($AP58:$AU58<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R58:$AU58))/SUM(IF($R58:$AU58<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R58:$AU58))/SUM(IF($R58:$AU58<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK58:$AU58))/SUM(IF($AK58:$AU58<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK58:$AU58))/SUM(IF($AK58:$AU58<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D58=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU58>0,'Calculator Table'!BT58>0),\"Z-ERROR\",IF('Calculator Table'!BU58>0,\"X\",IF('Calculator Table'!BV58>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA58,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA58,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB58,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB58,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ58,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ58,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR58,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR58,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS58,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS58,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT58,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT58,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU58,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU58,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV58,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV58,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW58,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW58,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX58,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX58,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY58,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY58,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ58,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ58,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC58,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC58,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD58,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD58,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG58,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG58,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH58,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH58,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE58,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE58,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF58,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF58,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK58,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK58,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL58,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL58,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI58,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI58,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ58,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ58,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q58=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R58:$AU58<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C59","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R59:$AI59))/SUM(IF($R59:$AI59<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R59:$AI59))/SUM(IF($R59:$AI59<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK59:$AN59))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK59:$AN59))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP59:$AU59))/SUM(IF($AP59:$AU59<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP59:$AU59))/SUM(IF($AP59:$AU59<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R59:$AU59))/SUM(IF($R59:$AU59<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R59:$AU59))/SUM(IF($R59:$AU59<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK59:$AU59))/SUM(IF($AK59:$AU59<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK59:$AU59))/SUM(IF($AK59:$AU59<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D59=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU59>0,'Calculator Table'!BT59>0),\"Z-ERROR\",IF('Calculator Table'!BU59>0,\"X\",IF('Calculator Table'!BV59>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA59,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA59,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB59,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB59,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ59,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ59,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR59,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR59,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS59,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS59,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT59,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT59,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU59,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU59,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV59,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV59,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW59,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW59,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX59,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX59,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY59,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY59,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ59,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ59,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC59,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC59,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD59,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD59,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG59,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG59,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH59,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH59,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE59,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE59,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF59,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF59,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK59,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK59,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL59,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL59,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI59,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI59,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ59,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ59,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q59=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R59:$AU59<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C60","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R60:$AI60))/SUM(IF($R60:$AI60<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R60:$AI60))/SUM(IF($R60:$AI60<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK60:$AN60))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK60:$AN60))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP60:$AU60))/SUM(IF($AP60:$AU60<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP60:$AU60))/SUM(IF($AP60:$AU60<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R60:$AU60))/SUM(IF($R60:$AU60<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R60:$AU60))/SUM(IF($R60:$AU60<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK60:$AU60))/SUM(IF($AK60:$AU60<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK60:$AU60))/SUM(IF($AK60:$AU60<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D60=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU60>0,'Calculator Table'!BT60>0),\"Z-ERROR\",IF('Calculator Table'!BU60>0,\"X\",IF('Calculator Table'!BV60>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA60,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA60,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB60,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB60,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ60,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ60,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR60,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR60,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS60,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS60,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT60,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT60,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU60,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU60,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV60,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV60,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW60,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW60,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX60,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX60,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY60,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY60,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ60,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ60,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC60,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC60,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD60,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD60,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG60,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG60,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH60,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH60,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE60,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE60,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF60,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF60,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK60,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK60,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL60,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL60,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI60,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI60,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ60,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ60,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q60=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R60:$AU60<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C61","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R61:$AI61))/SUM(IF($R61:$AI61<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R61:$AI61))/SUM(IF($R61:$AI61<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK61:$AN61))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK61:$AN61))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP61:$AU61))/SUM(IF($AP61:$AU61<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP61:$AU61))/SUM(IF($AP61:$AU61<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R61:$AU61))/SUM(IF($R61:$AU61<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R61:$AU61))/SUM(IF($R61:$AU61<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK61:$AU61))/SUM(IF($AK61:$AU61<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK61:$AU61))/SUM(IF($AK61:$AU61<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D61=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU61>0,'Calculator Table'!BT61>0),\"Z-ERROR\",IF('Calculator Table'!BU61>0,\"X\",IF('Calculator Table'!BV61>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA61,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA61,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB61,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB61,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ61,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ61,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR61,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR61,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS61,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS61,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT61,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT61,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU61,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU61,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV61,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV61,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW61,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW61,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX61,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX61,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY61,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY61,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ61,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ61,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC61,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC61,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD61,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD61,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG61,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG61,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH61,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH61,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE61,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE61,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF61,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF61,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK61,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK61,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL61,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL61,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI61,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI61,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ61,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ61,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q61=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R61:$AU61<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C62","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R62:$AI62))/SUM(IF($R62:$AI62<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R62:$AI62))/SUM(IF($R62:$AI62<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK62:$AN62))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK62:$AN62))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP62:$AU62))/SUM(IF($AP62:$AU62<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP62:$AU62))/SUM(IF($AP62:$AU62<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R62:$AU62))/SUM(IF($R62:$AU62<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R62:$AU62))/SUM(IF($R62:$AU62<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK62:$AU62))/SUM(IF($AK62:$AU62<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK62:$AU62))/SUM(IF($AK62:$AU62<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D62=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU62>0,'Calculator Table'!BT62>0),\"Z-ERROR\",IF('Calculator Table'!BU62>0,\"X\",IF('Calculator Table'!BV62>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA62,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA62,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB62,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB62,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ62,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ62,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR62,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR62,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS62,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS62,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT62,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT62,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU62,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU62,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV62,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV62,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW62,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW62,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX62,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX62,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY62,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY62,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ62,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ62,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC62,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC62,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD62,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD62,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG62,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG62,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH62,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH62,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE62,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE62,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF62,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF62,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK62,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK62,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL62,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL62,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI62,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI62,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ62,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ62,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q62=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R62:$AU62<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C63","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R63:$AI63))/SUM(IF($R63:$AI63<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R63:$AI63))/SUM(IF($R63:$AI63<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK63:$AN63))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK63:$AN63))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP63:$AU63))/SUM(IF($AP63:$AU63<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP63:$AU63))/SUM(IF($AP63:$AU63<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R63:$AU63))/SUM(IF($R63:$AU63<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R63:$AU63))/SUM(IF($R63:$AU63<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK63:$AU63))/SUM(IF($AK63:$AU63<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK63:$AU63))/SUM(IF($AK63:$AU63<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D63=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU63>0,'Calculator Table'!BT63>0),\"Z-ERROR\",IF('Calculator Table'!BU63>0,\"X\",IF('Calculator Table'!BV63>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA63,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA63,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB63,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB63,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ63,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ63,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR63,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR63,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS63,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS63,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT63,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT63,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU63,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU63,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV63,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV63,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW63,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW63,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX63,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX63,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY63,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY63,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ63,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ63,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC63,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC63,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD63,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD63,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG63,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG63,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH63,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH63,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE63,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE63,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF63,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF63,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK63,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK63,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL63,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL63,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI63,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI63,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ63,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ63,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q63=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R63:$AU63<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C64","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R64:$AI64))/SUM(IF($R64:$AI64<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R64:$AI64))/SUM(IF($R64:$AI64<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK64:$AN64))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK64:$AN64))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP64:$AU64))/SUM(IF($AP64:$AU64<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP64:$AU64))/SUM(IF($AP64:$AU64<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R64:$AU64))/SUM(IF($R64:$AU64<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R64:$AU64))/SUM(IF($R64:$AU64<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK64:$AU64))/SUM(IF($AK64:$AU64<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK64:$AU64))/SUM(IF($AK64:$AU64<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D64=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU64>0,'Calculator Table'!BT64>0),\"Z-ERROR\",IF('Calculator Table'!BU64>0,\"X\",IF('Calculator Table'!BV64>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA64,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA64,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB64,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB64,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ64,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ64,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR64,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR64,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS64,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS64,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT64,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT64,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU64,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU64,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV64,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV64,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW64,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW64,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX64,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX64,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY64,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY64,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ64,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ64,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC64,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC64,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD64,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD64,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG64,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG64,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH64,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH64,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE64,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE64,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF64,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF64,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK64,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK64,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL64,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL64,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI64,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI64,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ64,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ64,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q64=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R64:$AU64<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C65","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R65:$AI65))/SUM(IF($R65:$AI65<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R65:$AI65))/SUM(IF($R65:$AI65<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK65:$AN65))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK65:$AN65))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP65:$AU65))/SUM(IF($AP65:$AU65<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP65:$AU65))/SUM(IF($AP65:$AU65<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R65:$AU65))/SUM(IF($R65:$AU65<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R65:$AU65))/SUM(IF($R65:$AU65<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK65:$AU65))/SUM(IF($AK65:$AU65<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK65:$AU65))/SUM(IF($AK65:$AU65<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D65=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU65>0,'Calculator Table'!BT65>0),\"Z-ERROR\",IF('Calculator Table'!BU65>0,\"X\",IF('Calculator Table'!BV65>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA65,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA65,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB65,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB65,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ65,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ65,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR65,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR65,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS65,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS65,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT65,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT65,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU65,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU65,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV65,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV65,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW65,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW65,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX65,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX65,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY65,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY65,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ65,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ65,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC65,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC65,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD65,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD65,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG65,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG65,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH65,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH65,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE65,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE65,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF65,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF65,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK65,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK65,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL65,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL65,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI65,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI65,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ65,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ65,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q65=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R65:$AU65<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C66","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R66:$AI66))/SUM(IF($R66:$AI66<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R66:$AI66))/SUM(IF($R66:$AI66<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK66:$AN66))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK66:$AN66))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP66:$AU66))/SUM(IF($AP66:$AU66<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP66:$AU66))/SUM(IF($AP66:$AU66<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R66:$AU66))/SUM(IF($R66:$AU66<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R66:$AU66))/SUM(IF($R66:$AU66<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK66:$AU66))/SUM(IF($AK66:$AU66<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK66:$AU66))/SUM(IF($AK66:$AU66<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D66=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU66>0,'Calculator Table'!BT66>0),\"Z-ERROR\",IF('Calculator Table'!BU66>0,\"X\",IF('Calculator Table'!BV66>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA66,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA66,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB66,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB66,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ66,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ66,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR66,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR66,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS66,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS66,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT66,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT66,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU66,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU66,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV66,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV66,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW66,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW66,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX66,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX66,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY66,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY66,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ66,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ66,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC66,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC66,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD66,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD66,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG66,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG66,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH66,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH66,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE66,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE66,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF66,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF66,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK66,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK66,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL66,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL66,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI66,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI66,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ66,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ66,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q66=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R66:$AU66<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C67","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R67:$AI67))/SUM(IF($R67:$AI67<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R67:$AI67))/SUM(IF($R67:$AI67<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK67:$AN67))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK67:$AN67))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP67:$AU67))/SUM(IF($AP67:$AU67<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP67:$AU67))/SUM(IF($AP67:$AU67<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R67:$AU67))/SUM(IF($R67:$AU67<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R67:$AU67))/SUM(IF($R67:$AU67<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK67:$AU67))/SUM(IF($AK67:$AU67<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK67:$AU67))/SUM(IF($AK67:$AU67<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D67=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU67>0,'Calculator Table'!BT67>0),\"Z-ERROR\",IF('Calculator Table'!BU67>0,\"X\",IF('Calculator Table'!BV67>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA67,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA67,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB67,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB67,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ67,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ67,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR67,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR67,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS67,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS67,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT67,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT67,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU67,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU67,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV67,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV67,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW67,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW67,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX67,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX67,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY67,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY67,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ67,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ67,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC67,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC67,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD67,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD67,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG67,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG67,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH67,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH67,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE67,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE67,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF67,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF67,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK67,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK67,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL67,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL67,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI67,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI67,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ67,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ67,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q67=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R67:$AU67<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C68","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R68:$AI68))/SUM(IF($R68:$AI68<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R68:$AI68))/SUM(IF($R68:$AI68<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK68:$AN68))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK68:$AN68))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP68:$AU68))/SUM(IF($AP68:$AU68<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP68:$AU68))/SUM(IF($AP68:$AU68<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R68:$AU68))/SUM(IF($R68:$AU68<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R68:$AU68))/SUM(IF($R68:$AU68<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK68:$AU68))/SUM(IF($AK68:$AU68<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK68:$AU68))/SUM(IF($AK68:$AU68<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},{"$f":"IF(AND(ISERROR(B68),ISERROR(L68)),B68,AVERAGE(IF(NOT(ISERROR(B68)),B68),IF(NOT(ISERROR(L68)),L68)))","v":0},{"$f":"IF(AND(ISERROR(C68),ISERROR(M68)),C68,AVERAGE(IF(NOT(ISERROR(C68)),C68),IF(NOT(ISERROR(M68)),M68)))","v":0},{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D68=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU68>0,'Calculator Table'!BT68>0),\"Z-ERROR\",IF('Calculator Table'!BU68>0,\"X\",IF('Calculator Table'!BV68>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA68,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA68,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB68,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB68,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ68,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ68,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR68,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR68,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS68,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS68,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT68,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT68,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU68,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU68,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV68,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV68,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW68,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW68,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX68,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX68,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY68,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY68,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ68,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ68,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC68,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC68,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD68,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD68,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG68,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG68,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH68,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH68,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE68,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE68,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF68,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF68,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK68,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK68,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL68,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL68,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI68,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI68,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ68,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ68,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q68=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R68:$AU68<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C69","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R69:$AI69))/SUM(IF($R69:$AI69<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R69:$AI69))/SUM(IF($R69:$AI69<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK69:$AN69))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK69:$AN69))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP69:$AU69))/SUM(IF($AP69:$AU69<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP69:$AU69))/SUM(IF($AP69:$AU69<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R69:$AU69))/SUM(IF($R69:$AU69<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R69:$AU69))/SUM(IF($R69:$AU69<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$f":"(IF(NOT(ISERROR(B69)),B69*B$2)+IF(NOT(ISERROR(F69)),F69*F$2))/(IF(NOT(ISERROR(B69)),B$2)+IF(NOT(ISERROR(F69)),F$2))+D69","v":{"$error":"#DIV/0!"}},{"$f":"(IF(NOT(ISERROR(C69)),C69*C$2)+IF(NOT(ISERROR(G69)),G69*G$2))/(IF(NOT(ISERROR(C69)),C$2)+IF(NOT(ISERROR(G69)),G$2))+E69","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK69:$AU69))/SUM(IF($AK69:$AU69<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK69:$AU69))/SUM(IF($AK69:$AU69<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D69=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU69>0,'Calculator Table'!BT69>0),\"Z-ERROR\",IF('Calculator Table'!BU69>0,\"X\",IF('Calculator Table'!BV69>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA69,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA69,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB69,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB69,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ69,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ69,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR69,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR69,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS69,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS69,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT69,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT69,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU69,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU69,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV69,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV69,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW69,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW69,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX69,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX69,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY69,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY69,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ69,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ69,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC69,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC69,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD69,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD69,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG69,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG69,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH69,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH69,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE69,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE69,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF69,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF69,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK69,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK69,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL69,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL69,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI69,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI69,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ69,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ69,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q69=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R69:$AU69<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C70","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R70:$AI70))/SUM(IF($R70:$AI70<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R70:$AI70))/SUM(IF($R70:$AI70<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK70:$AN70))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK70:$AN70))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP70:$AU70))/SUM(IF($AP70:$AU70<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP70:$AU70))/SUM(IF($AP70:$AU70<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R70:$AU70))/SUM(IF($R70:$AU70<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R70:$AU70))/SUM(IF($R70:$AU70<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK70:$AU70))/SUM(IF($AK70:$AU70<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK70:$AU70))/SUM(IF($AK70:$AU70<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D70=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU70>0,'Calculator Table'!BT70>0),\"Z-ERROR\",IF('Calculator Table'!BU70>0,\"X\",IF('Calculator Table'!BV70>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA70,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA70,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB70,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB70,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ70,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ70,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR70,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR70,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS70,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS70,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT70,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT70,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU70,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU70,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV70,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV70,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW70,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW70,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX70,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX70,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY70,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY70,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ70,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ70,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(Z70),ISNUMBER(AB70)),MIN(Z70,AB70),\"--\")","v":"--"},{"$f":"IF(OR(ISNUMBER(AA70),ISNUMBER(AC70)),MIN(AA70,AC70),\"--\")","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC70,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC70,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD70,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD70,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(X70),ISNUMBER(V70)),\"--\",AF70)","v":"--"},{"$f":"IF(OR(ISNUMBER(Y70),ISNUMBER(W70)),\"--\",AG70)","v":"--"},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG70,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG70,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH70,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH70,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE70,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE70,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF70,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF70,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK70,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK70,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL70,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL70,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI70,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI70,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ70,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ70,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISNUMBER(AP70),\"--\",AR70)","v":"--"},{"$f":"IF(ISNUMBER(AQ70),\"--\",AS70)","v":"--"},{"$f":"IF(Q70=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R70:$AU70<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C71","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R71:$AI71))/SUM(IF($R71:$AI71<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R71:$AI71))/SUM(IF($R71:$AI71<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK71:$AN71))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK71:$AN71))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP71:$AU71))/SUM(IF($AP71:$AU71<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP71:$AU71))/SUM(IF($AP71:$AU71<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R71:$AU71))/SUM(IF($R71:$AU71<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R71:$AU71))/SUM(IF($R71:$AU71<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK71:$AU71))/SUM(IF($AK71:$AU71<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK71:$AU71))/SUM(IF($AK71:$AU71<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D71=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU71>0,'Calculator Table'!BT71>0),\"Z-ERROR\",IF('Calculator Table'!BU71>0,\"X\",IF('Calculator Table'!BV71>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA71,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA71,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB71,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB71,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ71,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ71,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR71,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR71,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS71,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS71,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT71,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT71,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU71,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU71,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV71,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV71,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW71,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW71,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX71,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX71,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY71,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY71,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ71,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ71,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC71,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC71,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD71,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD71,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG71,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG71,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH71,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH71,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE71,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE71,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF71,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF71,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK71,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK71,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL71,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL71,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI71,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI71,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ71,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ71,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q71=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R71:$AU71<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C72","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R72:$AI72))/SUM(IF($R72:$AI72<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R72:$AI72))/SUM(IF($R72:$AI72<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK72:$AN72))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK72:$AN72))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP72:$AU72))/SUM(IF($AP72:$AU72<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP72:$AU72))/SUM(IF($AP72:$AU72<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R72:$AU72))/SUM(IF($R72:$AU72<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R72:$AU72))/SUM(IF($R72:$AU72<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK72:$AU72))/SUM(IF($AK72:$AU72<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK72:$AU72))/SUM(IF($AK72:$AU72<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D72=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU72>0,'Calculator Table'!BT72>0),\"Z-ERROR\",IF('Calculator Table'!BU72>0,\"X\",IF('Calculator Table'!BV72>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA72,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA72,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB72,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB72,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ72,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ72,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR72,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR72,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS72,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS72,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT72,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT72,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU72,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU72,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV72,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV72,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW72,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW72,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX72,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX72,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY72,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY72,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ72,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ72,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC72,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC72,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD72,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD72,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG72,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG72,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH72,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH72,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE72,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE72,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF72,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF72,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK72,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK72,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL72,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL72,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI72,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI72,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ72,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ72,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q72=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R72:$AU72<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C73","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R73:$AI73))/SUM(IF($R73:$AI73<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R73:$AI73))/SUM(IF($R73:$AI73<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK73:$AN73))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK73:$AN73))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP73:$AU73))/SUM(IF($AP73:$AU73<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP73:$AU73))/SUM(IF($AP73:$AU73<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R73:$AU73))/SUM(IF($R73:$AU73<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R73:$AU73))/SUM(IF($R73:$AU73<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK73:$AU73))/SUM(IF($AK73:$AU73<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK73:$AU73))/SUM(IF($AK73:$AU73<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D73=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU73>0,'Calculator Table'!BT73>0),\"Z-ERROR\",IF('Calculator Table'!BU73>0,\"X\",IF('Calculator Table'!BV73>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA73,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA73,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB73,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB73,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ73,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ73,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR73,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR73,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS73,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS73,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT73,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT73,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU73,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU73,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV73,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV73,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW73,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW73,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX73,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX73,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY73,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY73,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ73,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ73,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC73,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC73,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD73,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD73,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG73,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG73,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH73,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH73,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE73,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE73,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF73,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF73,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK73,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK73,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL73,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL73,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI73,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI73,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ73,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ73,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q73=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R73:$AU73<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C74","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R74:$AI74))/SUM(IF($R74:$AI74<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R74:$AI74))/SUM(IF($R74:$AI74<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK74:$AN74))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK74:$AN74))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP74:$AU74))/SUM(IF($AP74:$AU74<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP74:$AU74))/SUM(IF($AP74:$AU74<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R74:$AU74))/SUM(IF($R74:$AU74<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R74:$AU74))/SUM(IF($R74:$AU74<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK74:$AU74))/SUM(IF($AK74:$AU74<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK74:$AU74))/SUM(IF($AK74:$AU74<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D74=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU74>0,'Calculator Table'!BT74>0),\"Z-ERROR\",IF('Calculator Table'!BU74>0,\"X\",IF('Calculator Table'!BV74>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA74,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA74,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB74,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB74,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ74,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ74,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR74,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR74,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS74,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS74,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT74,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT74,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU74,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU74,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV74,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV74,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW74,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW74,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX74,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX74,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY74,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY74,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ74,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ74,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC74,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC74,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD74,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD74,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG74,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG74,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH74,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH74,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE74,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE74,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF74,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF74,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK74,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK74,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL74,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL74,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI74,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI74,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ74,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ74,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q74=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R74:$AU74<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C75","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R75:$AI75))/SUM(IF($R75:$AI75<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R75:$AI75))/SUM(IF($R75:$AI75<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK75:$AN75))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK75:$AN75))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP75:$AU75))/SUM(IF($AP75:$AU75<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP75:$AU75))/SUM(IF($AP75:$AU75<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R75:$AU75))/SUM(IF($R75:$AU75<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R75:$AU75))/SUM(IF($R75:$AU75<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK75:$AU75))/SUM(IF($AK75:$AU75<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK75:$AU75))/SUM(IF($AK75:$AU75<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D75=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU75>0,'Calculator Table'!BT75>0),\"Z-ERROR\",IF('Calculator Table'!BU75>0,\"X\",IF('Calculator Table'!BV75>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA75,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA75,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB75,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB75,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ75,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ75,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR75,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR75,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS75,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS75,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT75,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT75,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU75,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU75,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV75,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV75,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW75,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW75,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX75,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX75,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY75,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY75,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ75,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ75,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC75,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC75,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD75,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD75,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG75,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG75,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH75,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH75,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE75,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE75,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF75,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF75,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK75,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK75,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL75,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL75,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI75,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI75,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ75,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ75,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q75=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R75:$AU75<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C76","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R76:$AI76))/SUM(IF($R76:$AI76<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R76:$AI76))/SUM(IF($R76:$AI76<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK76:$AN76))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK76:$AN76))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP76:$AU76))/SUM(IF($AP76:$AU76<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP76:$AU76))/SUM(IF($AP76:$AU76<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R76:$AU76))/SUM(IF($R76:$AU76<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R76:$AU76))/SUM(IF($R76:$AU76<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK76:$AU76))/SUM(IF($AK76:$AU76<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK76:$AU76))/SUM(IF($AK76:$AU76<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D76=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU76>0,'Calculator Table'!BT76>0),\"Z-ERROR\",IF('Calculator Table'!BU76>0,\"X\",IF('Calculator Table'!BV76>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA76,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA76,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB76,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB76,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ76,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ76,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR76,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR76,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS76,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS76,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT76,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT76,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU76,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU76,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV76,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV76,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW76,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW76,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX76,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX76,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY76,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY76,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ76,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ76,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC76,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC76,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD76,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD76,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG76,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG76,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH76,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH76,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE76,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE76,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF76,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF76,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK76,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK76,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL76,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL76,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI76,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI76,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ76,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ76,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q76=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R76:$AU76<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C77","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R77:$AI77))/SUM(IF($R77:$AI77<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R77:$AI77))/SUM(IF($R77:$AI77<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK77:$AN77))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK77:$AN77))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP77:$AU77))/SUM(IF($AP77:$AU77<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP77:$AU77))/SUM(IF($AP77:$AU77<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R77:$AU77))/SUM(IF($R77:$AU77<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R77:$AU77))/SUM(IF($R77:$AU77<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK77:$AU77))/SUM(IF($AK77:$AU77<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK77:$AU77))/SUM(IF($AK77:$AU77<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D77=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU77>0,'Calculator Table'!BT77>0),\"Z-ERROR\",IF('Calculator Table'!BU77>0,\"X\",IF('Calculator Table'!BV77>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA77,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA77,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB77,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB77,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ77,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ77,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR77,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR77,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS77,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS77,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT77,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT77,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU77,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU77,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV77,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV77,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW77,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW77,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX77,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX77,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY77,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY77,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ77,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ77,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC77,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC77,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD77,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD77,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG77,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG77,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH77,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH77,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE77,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE77,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF77,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF77,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK77,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK77,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL77,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL77,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI77,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI77,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ77,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ77,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q77=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R77:$AU77<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C78","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R78:$AI78))/SUM(IF($R78:$AI78<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R78:$AI78))/SUM(IF($R78:$AI78<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK78:$AN78))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK78:$AN78))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP78:$AU78))/SUM(IF($AP78:$AU78<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP78:$AU78))/SUM(IF($AP78:$AU78<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R78:$AU78))/SUM(IF($R78:$AU78<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R78:$AU78))/SUM(IF($R78:$AU78<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK78:$AU78))/SUM(IF($AK78:$AU78<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK78:$AU78))/SUM(IF($AK78:$AU78<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D78=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU78>0,'Calculator Table'!BT78>0),\"Z-ERROR\",IF('Calculator Table'!BU78>0,\"X\",IF('Calculator Table'!BV78>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA78,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA78,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB78,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB78,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ78,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ78,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR78,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR78,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS78,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS78,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT78,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT78,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU78,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU78,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV78,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV78,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW78,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW78,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX78,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX78,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY78,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY78,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ78,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ78,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC78,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC78,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD78,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD78,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG78,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG78,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH78,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH78,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE78,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE78,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF78,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF78,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK78,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK78,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL78,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL78,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI78,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI78,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ78,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ78,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q78=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R78:$AU78<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C79","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R79:$AI79))/SUM(IF($R79:$AI79<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R79:$AI79))/SUM(IF($R79:$AI79<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK79:$AN79))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK79:$AN79))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP79:$AU79))/SUM(IF($AP79:$AU79<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP79:$AU79))/SUM(IF($AP79:$AU79<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R79:$AU79))/SUM(IF($R79:$AU79<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R79:$AU79))/SUM(IF($R79:$AU79<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK79:$AU79))/SUM(IF($AK79:$AU79<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK79:$AU79))/SUM(IF($AK79:$AU79<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D79=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU79>0,'Calculator Table'!BT79>0),\"Z-ERROR\",IF('Calculator Table'!BU79>0,\"X\",IF('Calculator Table'!BV79>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA79,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA79,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB79,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB79,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ79,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ79,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR79,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR79,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS79,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS79,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT79,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT79,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU79,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU79,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV79,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV79,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW79,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW79,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX79,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX79,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY79,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY79,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ79,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ79,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC79,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC79,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD79,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD79,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG79,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG79,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH79,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH79,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE79,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE79,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF79,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF79,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK79,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK79,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL79,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL79,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI79,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI79,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ79,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ79,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q79=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R79:$AU79<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C80","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R80:$AI80))/SUM(IF($R80:$AI80<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R80:$AI80))/SUM(IF($R80:$AI80<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK80:$AN80))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK80:$AN80))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP80:$AU80))/SUM(IF($AP80:$AU80<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP80:$AU80))/SUM(IF($AP80:$AU80<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R80:$AU80))/SUM(IF($R80:$AU80<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R80:$AU80))/SUM(IF($R80:$AU80<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK80:$AU80))/SUM(IF($AK80:$AU80<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK80:$AU80))/SUM(IF($AK80:$AU80<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D80=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU80>0,'Calculator Table'!BT80>0),\"Z-ERROR\",IF('Calculator Table'!BU80>0,\"X\",IF('Calculator Table'!BV80>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA80,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA80,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB80,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB80,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ80,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ80,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR80,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR80,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS80,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS80,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT80,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT80,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU80,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU80,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV80,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV80,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW80,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW80,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX80,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX80,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY80,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY80,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ80,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ80,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC80,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC80,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD80,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD80,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG80,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG80,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH80,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH80,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE80,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE80,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF80,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF80,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK80,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK80,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL80,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL80,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI80,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI80,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ80,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ80,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q80=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R80:$AU80<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C81","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R81:$AI81))/SUM(IF($R81:$AI81<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R81:$AI81))/SUM(IF($R81:$AI81<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK81:$AN81))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK81:$AN81))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP81:$AU81))/SUM(IF($AP81:$AU81<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP81:$AU81))/SUM(IF($AP81:$AU81<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R81:$AU81))/SUM(IF($R81:$AU81<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R81:$AU81))/SUM(IF($R81:$AU81<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK81:$AU81))/SUM(IF($AK81:$AU81<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK81:$AU81))/SUM(IF($AK81:$AU81<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D81=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU81>0,'Calculator Table'!BT81>0),\"Z-ERROR\",IF('Calculator Table'!BU81>0,\"X\",IF('Calculator Table'!BV81>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA81,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA81,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB81,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB81,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ81,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ81,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR81,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR81,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS81,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS81,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT81,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT81,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU81,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU81,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV81,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV81,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW81,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW81,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX81,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX81,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY81,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY81,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ81,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ81,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC81,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC81,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD81,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD81,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG81,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG81,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH81,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH81,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE81,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE81,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF81,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF81,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK81,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK81,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL81,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL81,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI81,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI81,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ81,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ81,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q81=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R81:$AU81<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C82","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R82:$AI82))/SUM(IF($R82:$AI82<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R82:$AI82))/SUM(IF($R82:$AI82<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK82:$AN82))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK82:$AN82))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP82:$AU82))/SUM(IF($AP82:$AU82<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP82:$AU82))/SUM(IF($AP82:$AU82<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R82:$AU82))/SUM(IF($R82:$AU82<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R82:$AU82))/SUM(IF($R82:$AU82<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK82:$AU82))/SUM(IF($AK82:$AU82<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK82:$AU82))/SUM(IF($AK82:$AU82<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D82=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU82>0,'Calculator Table'!BT82>0),\"Z-ERROR\",IF('Calculator Table'!BU82>0,\"X\",IF('Calculator Table'!BV82>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA82,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA82,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB82,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB82,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ82,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ82,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR82,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR82,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS82,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS82,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT82,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT82,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU82,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU82,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV82,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV82,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW82,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW82,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX82,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX82,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY82,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY82,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ82,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ82,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC82,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC82,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD82,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD82,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG82,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG82,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH82,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH82,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE82,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE82,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF82,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF82,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK82,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK82,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL82,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL82,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI82,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI82,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ82,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ82,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q82=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R82:$AU82<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C83","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R83:$AI83))/SUM(IF($R83:$AI83<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R83:$AI83))/SUM(IF($R83:$AI83<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK83:$AN83))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK83:$AN83))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP83:$AU83))/SUM(IF($AP83:$AU83<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP83:$AU83))/SUM(IF($AP83:$AU83<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R83:$AU83))/SUM(IF($R83:$AU83<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R83:$AU83))/SUM(IF($R83:$AU83<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK83:$AU83))/SUM(IF($AK83:$AU83<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK83:$AU83))/SUM(IF($AK83:$AU83<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D83=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU83>0,'Calculator Table'!BT83>0),\"Z-ERROR\",IF('Calculator Table'!BU83>0,\"X\",IF('Calculator Table'!BV83>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA83,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA83,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB83,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB83,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ83,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ83,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR83,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR83,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS83,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS83,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT83,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT83,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU83,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU83,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV83,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV83,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW83,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW83,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX83,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX83,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY83,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY83,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ83,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ83,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC83,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC83,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD83,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD83,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG83,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG83,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH83,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH83,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE83,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE83,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF83,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF83,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK83,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK83,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL83,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL83,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI83,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI83,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ83,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ83,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q83=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R83:$AU83<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C84","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R84:$AI84))/SUM(IF($R84:$AI84<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R84:$AI84))/SUM(IF($R84:$AI84<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK84:$AN84))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK84:$AN84))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP84:$AU84))/SUM(IF($AP84:$AU84<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP84:$AU84))/SUM(IF($AP84:$AU84<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R84:$AU84))/SUM(IF($R84:$AU84<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R84:$AU84))/SUM(IF($R84:$AU84<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK84:$AU84))/SUM(IF($AK84:$AU84<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK84:$AU84))/SUM(IF($AK84:$AU84<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D84=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU84>0,'Calculator Table'!BT84>0),\"Z-ERROR\",IF('Calculator Table'!BU84>0,\"X\",IF('Calculator Table'!BV84>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA84,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA84,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB84,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB84,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ84,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ84,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR84,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR84,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS84,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS84,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT84,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT84,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU84,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU84,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV84,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV84,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW84,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW84,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX84,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX84,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY84,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY84,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ84,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ84,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC84,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC84,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD84,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD84,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG84,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG84,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH84,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH84,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE84,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE84,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF84,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF84,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK84,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK84,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL84,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL84,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI84,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI84,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ84,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ84,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q84=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R84:$AU84<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C85","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R85:$AI85))/SUM(IF($R85:$AI85<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R85:$AI85))/SUM(IF($R85:$AI85<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK85:$AN85))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK85:$AN85))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP85:$AU85))/SUM(IF($AP85:$AU85<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP85:$AU85))/SUM(IF($AP85:$AU85<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R85:$AU85))/SUM(IF($R85:$AU85<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R85:$AU85))/SUM(IF($R85:$AU85<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK85:$AU85))/SUM(IF($AK85:$AU85<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK85:$AU85))/SUM(IF($AK85:$AU85<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D85=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU85>0,'Calculator Table'!BT85>0),\"Z-ERROR\",IF('Calculator Table'!BU85>0,\"X\",IF('Calculator Table'!BV85>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA85,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA85,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB85,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB85,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ85,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ85,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR85,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR85,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS85,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS85,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT85,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT85,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU85,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU85,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV85,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV85,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW85,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW85,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX85,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX85,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY85,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY85,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ85,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ85,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC85,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC85,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD85,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD85,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG85,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG85,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH85,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH85,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE85,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE85,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF85,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF85,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK85,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK85,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL85,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL85,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI85,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI85,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ85,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ85,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q85=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R85:$AU85<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C86","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R86:$AI86))/SUM(IF($R86:$AI86<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R86:$AI86))/SUM(IF($R86:$AI86<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK86:$AN86))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK86:$AN86))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP86:$AU86))/SUM(IF($AP86:$AU86<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP86:$AU86))/SUM(IF($AP86:$AU86<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R86:$AU86))/SUM(IF($R86:$AU86<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R86:$AU86))/SUM(IF($R86:$AU86<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK86:$AU86))/SUM(IF($AK86:$AU86<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK86:$AU86))/SUM(IF($AK86:$AU86<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D86=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU86>0,'Calculator Table'!BT86>0),\"Z-ERROR\",IF('Calculator Table'!BU86>0,\"X\",IF('Calculator Table'!BV86>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA86,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA86,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB86,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB86,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ86,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ86,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR86,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR86,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS86,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS86,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT86,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT86,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU86,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU86,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV86,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV86,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW86,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW86,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX86,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX86,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY86,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY86,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ86,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ86,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC86,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC86,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD86,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD86,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG86,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG86,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH86,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH86,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE86,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE86,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF86,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF86,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK86,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK86,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL86,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL86,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI86,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI86,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ86,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ86,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q86=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R86:$AU86<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C87","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R87:$AI87))/SUM(IF($R87:$AI87<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R87:$AI87))/SUM(IF($R87:$AI87<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK87:$AN87))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK87:$AN87))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP87:$AU87))/SUM(IF($AP87:$AU87<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP87:$AU87))/SUM(IF($AP87:$AU87<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R87:$AU87))/SUM(IF($R87:$AU87<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R87:$AU87))/SUM(IF($R87:$AU87<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK87:$AU87))/SUM(IF($AK87:$AU87<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK87:$AU87))/SUM(IF($AK87:$AU87<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D87=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU87>0,'Calculator Table'!BT87>0),\"Z-ERROR\",IF('Calculator Table'!BU87>0,\"X\",IF('Calculator Table'!BV87>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA87,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA87,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB87,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB87,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ87,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ87,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR87,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR87,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS87,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS87,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT87,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT87,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU87,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU87,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV87,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV87,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW87,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW87,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX87,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX87,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY87,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY87,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ87,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ87,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC87,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC87,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD87,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD87,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG87,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG87,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH87,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH87,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE87,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE87,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF87,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF87,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK87,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK87,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL87,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL87,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI87,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI87,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ87,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ87,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q87=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R87:$AU87<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C88","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R88:$AI88))/SUM(IF($R88:$AI88<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R88:$AI88))/SUM(IF($R88:$AI88<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK88:$AN88))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK88:$AN88))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP88:$AU88))/SUM(IF($AP88:$AU88<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP88:$AU88))/SUM(IF($AP88:$AU88<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R88:$AU88))/SUM(IF($R88:$AU88<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R88:$AU88))/SUM(IF($R88:$AU88<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK88:$AU88))/SUM(IF($AK88:$AU88<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK88:$AU88))/SUM(IF($AK88:$AU88<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D88=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU88>0,'Calculator Table'!BT88>0),\"Z-ERROR\",IF('Calculator Table'!BU88>0,\"X\",IF('Calculator Table'!BV88>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA88,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA88,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB88,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB88,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ88,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ88,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR88,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR88,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS88,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS88,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT88,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT88,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU88,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU88,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV88,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV88,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW88,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW88,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX88,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX88,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY88,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY88,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ88,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ88,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC88,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC88,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD88,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD88,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG88,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG88,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH88,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH88,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE88,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE88,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF88,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF88,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK88,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK88,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL88,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL88,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI88,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI88,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ88,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ88,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q88=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R88:$AU88<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C89","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R89:$AI89))/SUM(IF($R89:$AI89<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R89:$AI89))/SUM(IF($R89:$AI89<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK89:$AN89))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK89:$AN89))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP89:$AU89))/SUM(IF($AP89:$AU89<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP89:$AU89))/SUM(IF($AP89:$AU89<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R89:$AU89))/SUM(IF($R89:$AU89<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R89:$AU89))/SUM(IF($R89:$AU89<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK89:$AU89))/SUM(IF($AK89:$AU89<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK89:$AU89))/SUM(IF($AK89:$AU89<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D89=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU89>0,'Calculator Table'!BT89>0),\"Z-ERROR\",IF('Calculator Table'!BU89>0,\"X\",IF('Calculator Table'!BV89>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA89,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA89,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB89,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB89,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ89,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ89,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR89,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR89,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS89,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS89,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT89,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT89,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU89,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU89,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV89,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV89,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW89,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW89,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX89,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX89,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY89,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY89,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ89,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ89,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC89,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC89,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD89,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD89,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG89,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG89,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH89,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH89,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE89,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE89,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF89,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF89,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK89,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK89,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL89,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL89,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI89,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI89,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ89,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ89,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q89=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R89:$AU89<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C90","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R90:$AI90))/SUM(IF($R90:$AI90<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R90:$AI90))/SUM(IF($R90:$AI90<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK90:$AN90))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK90:$AN90))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP90:$AU90))/SUM(IF($AP90:$AU90<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP90:$AU90))/SUM(IF($AP90:$AU90<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R90:$AU90))/SUM(IF($R90:$AU90<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R90:$AU90))/SUM(IF($R90:$AU90<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK90:$AU90))/SUM(IF($AK90:$AU90<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK90:$AU90))/SUM(IF($AK90:$AU90<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D90=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU90>0,'Calculator Table'!BT90>0),\"Z-ERROR\",IF('Calculator Table'!BU90>0,\"X\",IF('Calculator Table'!BV90>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA90,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA90,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB90,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB90,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ90,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ90,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR90,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR90,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS90,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS90,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT90,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT90,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU90,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU90,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV90,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV90,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW90,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW90,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX90,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX90,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY90,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY90,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ90,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ90,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC90,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC90,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD90,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD90,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG90,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG90,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH90,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH90,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE90,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE90,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF90,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF90,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK90,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK90,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL90,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL90,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI90,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI90,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ90,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ90,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q90=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R90:$AU90<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C91","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R91:$AI91))/SUM(IF($R91:$AI91<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R91:$AI91))/SUM(IF($R91:$AI91<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK91:$AN91))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK91:$AN91))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP91:$AU91))/SUM(IF($AP91:$AU91<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP91:$AU91))/SUM(IF($AP91:$AU91<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R91:$AU91))/SUM(IF($R91:$AU91<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R91:$AU91))/SUM(IF($R91:$AU91<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK91:$AU91))/SUM(IF($AK91:$AU91<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK91:$AU91))/SUM(IF($AK91:$AU91<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D91=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU91>0,'Calculator Table'!BT91>0),\"Z-ERROR\",IF('Calculator Table'!BU91>0,\"X\",IF('Calculator Table'!BV91>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA91,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA91,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB91,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB91,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ91,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ91,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR91,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR91,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS91,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS91,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT91,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT91,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU91,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU91,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV91,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV91,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW91,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW91,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX91,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX91,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY91,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY91,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ91,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ91,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC91,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC91,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD91,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD91,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG91,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG91,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH91,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH91,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE91,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE91,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF91,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF91,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK91,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK91,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL91,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL91,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI91,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI91,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ91,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ91,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q91=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R91:$AU91<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C92","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R92:$AI92))/SUM(IF($R92:$AI92<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R92:$AI92))/SUM(IF($R92:$AI92<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK92:$AN92))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK92:$AN92))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP92:$AU92))/SUM(IF($AP92:$AU92<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP92:$AU92))/SUM(IF($AP92:$AU92<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R92:$AU92))/SUM(IF($R92:$AU92<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R92:$AU92))/SUM(IF($R92:$AU92<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK92:$AU92))/SUM(IF($AK92:$AU92<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK92:$AU92))/SUM(IF($AK92:$AU92<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D92=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU92>0,'Calculator Table'!BT92>0),\"Z-ERROR\",IF('Calculator Table'!BU92>0,\"X\",IF('Calculator Table'!BV92>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA92,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA92,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB92,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB92,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ92,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ92,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR92,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR92,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS92,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS92,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT92,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT92,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU92,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU92,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV92,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV92,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW92,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW92,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX92,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX92,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY92,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY92,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ92,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ92,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC92,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC92,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD92,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD92,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG92,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG92,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH92,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH92,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE92,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE92,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF92,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF92,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK92,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK92,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL92,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL92,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI92,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI92,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ92,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ92,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q92=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R92:$AU92<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C93","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R93:$AI93))/SUM(IF($R93:$AI93<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R93:$AI93))/SUM(IF($R93:$AI93<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK93:$AN93))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK93:$AN93))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP93:$AU93))/SUM(IF($AP93:$AU93<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP93:$AU93))/SUM(IF($AP93:$AU93<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R93:$AU93))/SUM(IF($R93:$AU93<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R93:$AU93))/SUM(IF($R93:$AU93<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK93:$AU93))/SUM(IF($AK93:$AU93<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK93:$AU93))/SUM(IF($AK93:$AU93<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D93=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU93>0,'Calculator Table'!BT93>0),\"Z-ERROR\",IF('Calculator Table'!BU93>0,\"X\",IF('Calculator Table'!BV93>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA93,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA93,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB93,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB93,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ93,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ93,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR93,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR93,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS93,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS93,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT93,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT93,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU93,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU93,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV93,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV93,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW93,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW93,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX93,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX93,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY93,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY93,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ93,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ93,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC93,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC93,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD93,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD93,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG93,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG93,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH93,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH93,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE93,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE93,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF93,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF93,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK93,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK93,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL93,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL93,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI93,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI93,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ93,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ93,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q93=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R93:$AU93<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C94","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R94:$AI94))/SUM(IF($R94:$AI94<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R94:$AI94))/SUM(IF($R94:$AI94<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK94:$AN94))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK94:$AN94))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP94:$AU94))/SUM(IF($AP94:$AU94<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP94:$AU94))/SUM(IF($AP94:$AU94<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R94:$AU94))/SUM(IF($R94:$AU94<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R94:$AU94))/SUM(IF($R94:$AU94<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK94:$AU94))/SUM(IF($AK94:$AU94<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK94:$AU94))/SUM(IF($AK94:$AU94<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D94=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU94>0,'Calculator Table'!BT94>0),\"Z-ERROR\",IF('Calculator Table'!BU94>0,\"X\",IF('Calculator Table'!BV94>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA94,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA94,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB94,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB94,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ94,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ94,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR94,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR94,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS94,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS94,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT94,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT94,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU94,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU94,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV94,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV94,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW94,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW94,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX94,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX94,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY94,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY94,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ94,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ94,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC94,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC94,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD94,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD94,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG94,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG94,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH94,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH94,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE94,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE94,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF94,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF94,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK94,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK94,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL94,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL94,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI94,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI94,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ94,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ94,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q94=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R94:$AU94<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C95","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R95:$AI95))/SUM(IF($R95:$AI95<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R95:$AI95))/SUM(IF($R95:$AI95<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK95:$AN95))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK95:$AN95))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP95:$AU95))/SUM(IF($AP95:$AU95<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP95:$AU95))/SUM(IF($AP95:$AU95<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R95:$AU95))/SUM(IF($R95:$AU95<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R95:$AU95))/SUM(IF($R95:$AU95<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK95:$AU95))/SUM(IF($AK95:$AU95<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK95:$AU95))/SUM(IF($AK95:$AU95<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D95=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU95>0,'Calculator Table'!BT95>0),\"Z-ERROR\",IF('Calculator Table'!BU95>0,\"X\",IF('Calculator Table'!BV95>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA95,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA95,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB95,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB95,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ95,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ95,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR95,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR95,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS95,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS95,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT95,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT95,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU95,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU95,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV95,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV95,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW95,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW95,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX95,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX95,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY95,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY95,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ95,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ95,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC95,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC95,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD95,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD95,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG95,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG95,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH95,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH95,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE95,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE95,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF95,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF95,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK95,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK95,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL95,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL95,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI95,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI95,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ95,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ95,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q95=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R95:$AU95<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C96","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R96:$AI96))/SUM(IF($R96:$AI96<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R96:$AI96))/SUM(IF($R96:$AI96<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK96:$AN96))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK96:$AN96))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP96:$AU96))/SUM(IF($AP96:$AU96<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP96:$AU96))/SUM(IF($AP96:$AU96<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R96:$AU96))/SUM(IF($R96:$AU96<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R96:$AU96))/SUM(IF($R96:$AU96<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK96:$AU96))/SUM(IF($AK96:$AU96<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK96:$AU96))/SUM(IF($AK96:$AU96<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D96=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU96>0,'Calculator Table'!BT96>0),\"Z-ERROR\",IF('Calculator Table'!BU96>0,\"X\",IF('Calculator Table'!BV96>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA96,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA96,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB96,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB96,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ96,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ96,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR96,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR96,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS96,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS96,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT96,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT96,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU96,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU96,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV96,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV96,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW96,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW96,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX96,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX96,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY96,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY96,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ96,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ96,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC96,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC96,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD96,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD96,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG96,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG96,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH96,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH96,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE96,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE96,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF96,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF96,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK96,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK96,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL96,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL96,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI96,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI96,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ96,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ96,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q96=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R96:$AU96<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C97","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R97:$AI97))/SUM(IF($R97:$AI97<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R97:$AI97))/SUM(IF($R97:$AI97<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK97:$AN97))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK97:$AN97))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP97:$AU97))/SUM(IF($AP97:$AU97<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP97:$AU97))/SUM(IF($AP97:$AU97<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R97:$AU97))/SUM(IF($R97:$AU97<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R97:$AU97))/SUM(IF($R97:$AU97<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK97:$AU97))/SUM(IF($AK97:$AU97<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK97:$AU97))/SUM(IF($AK97:$AU97<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D97=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU97>0,'Calculator Table'!BT97>0),\"Z-ERROR\",IF('Calculator Table'!BU97>0,\"X\",IF('Calculator Table'!BV97>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA97,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA97,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB97,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB97,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ97,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ97,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR97,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR97,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS97,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS97,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT97,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT97,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU97,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU97,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV97,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV97,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW97,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW97,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX97,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX97,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY97,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY97,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ97,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ97,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC97,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC97,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD97,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD97,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG97,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG97,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH97,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH97,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE97,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE97,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF97,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF97,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK97,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK97,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL97,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL97,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI97,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI97,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ97,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ97,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q97=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R97:$AU97<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C98","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R98:$AI98))/SUM(IF($R98:$AI98<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R98:$AI98))/SUM(IF($R98:$AI98<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK98:$AN98))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK98:$AN98))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP98:$AU98))/SUM(IF($AP98:$AU98<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP98:$AU98))/SUM(IF($AP98:$AU98<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R98:$AU98))/SUM(IF($R98:$AU98<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R98:$AU98))/SUM(IF($R98:$AU98<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK98:$AU98))/SUM(IF($AK98:$AU98<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK98:$AU98))/SUM(IF($AK98:$AU98<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D98=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU98>0,'Calculator Table'!BT98>0),\"Z-ERROR\",IF('Calculator Table'!BU98>0,\"X\",IF('Calculator Table'!BV98>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA98,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA98,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB98,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB98,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ98,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ98,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR98,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR98,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS98,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS98,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT98,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT98,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU98,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU98,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV98,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV98,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW98,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW98,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX98,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX98,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY98,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY98,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ98,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ98,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC98,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC98,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD98,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD98,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG98,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG98,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH98,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH98,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE98,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE98,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF98,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF98,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK98,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK98,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL98,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL98,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI98,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI98,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ98,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ98,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q98=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R98:$AU98<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C99","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R99:$AI99))/SUM(IF($R99:$AI99<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R99:$AI99))/SUM(IF($R99:$AI99<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK99:$AN99))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK99:$AN99))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP99:$AU99))/SUM(IF($AP99:$AU99<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP99:$AU99))/SUM(IF($AP99:$AU99<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R99:$AU99))/SUM(IF($R99:$AU99<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R99:$AU99))/SUM(IF($R99:$AU99<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK99:$AU99))/SUM(IF($AK99:$AU99<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK99:$AU99))/SUM(IF($AK99:$AU99<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D99=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU99>0,'Calculator Table'!BT99>0),\"Z-ERROR\",IF('Calculator Table'!BU99>0,\"X\",IF('Calculator Table'!BV99>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA99,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA99,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB99,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB99,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ99,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ99,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR99,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR99,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS99,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS99,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT99,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT99,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU99,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU99,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV99,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV99,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW99,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW99,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX99,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX99,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY99,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY99,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ99,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ99,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC99,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC99,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD99,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD99,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG99,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG99,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH99,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH99,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE99,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE99,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF99,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF99,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK99,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK99,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL99,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL99,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI99,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI99,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ99,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ99,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q99=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R99:$AU99<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C100","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R100:$AI100))/SUM(IF($R100:$AI100<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R100:$AI100))/SUM(IF($R100:$AI100<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK100:$AN100))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK100:$AN100))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP100:$AU100))/SUM(IF($AP100:$AU100<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP100:$AU100))/SUM(IF($AP100:$AU100<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R100:$AU100))/SUM(IF($R100:$AU100<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R100:$AU100))/SUM(IF($R100:$AU100<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK100:$AU100))/SUM(IF($AK100:$AU100<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK100:$AU100))/SUM(IF($AK100:$AU100<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D100=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU100>0,'Calculator Table'!BT100>0),\"Z-ERROR\",IF('Calculator Table'!BU100>0,\"X\",IF('Calculator Table'!BV100>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA100,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA100,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB100,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB100,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ100,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ100,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR100,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR100,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS100,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS100,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT100,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT100,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU100,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU100,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV100,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV100,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW100,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW100,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX100,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX100,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY100,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY100,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ100,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ100,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC100,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC100,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD100,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD100,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG100,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG100,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH100,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH100,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE100,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE100,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF100,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF100,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK100,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK100,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL100,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL100,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI100,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI100,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ100,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ100,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q100=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R100:$AU100<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C101","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R101:$AI101))/SUM(IF($R101:$AI101<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R101:$AI101))/SUM(IF($R101:$AI101<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK101:$AN101))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK101:$AN101))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP101:$AU101))/SUM(IF($AP101:$AU101<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP101:$AU101))/SUM(IF($AP101:$AU101<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R101:$AU101))/SUM(IF($R101:$AU101<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R101:$AU101))/SUM(IF($R101:$AU101<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK101:$AU101))/SUM(IF($AK101:$AU101<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK101:$AU101))/SUM(IF($AK101:$AU101<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D101=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU101>0,'Calculator Table'!BT101>0),\"Z-ERROR\",IF('Calculator Table'!BU101>0,\"X\",IF('Calculator Table'!BV101>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA101,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA101,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB101,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB101,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ101,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ101,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR101,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR101,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS101,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS101,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT101,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT101,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU101,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU101,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV101,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV101,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW101,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW101,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX101,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX101,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY101,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY101,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ101,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ101,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC101,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC101,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD101,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD101,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG101,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG101,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH101,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH101,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE101,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE101,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF101,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF101,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK101,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK101,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL101,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL101,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI101,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI101,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ101,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ101,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q101=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R101:$AU101<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C102","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R102:$AI102))/SUM(IF($R102:$AI102<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R102:$AI102))/SUM(IF($R102:$AI102<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK102:$AN102))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK102:$AN102))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP102:$AU102))/SUM(IF($AP102:$AU102<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP102:$AU102))/SUM(IF($AP102:$AU102<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R102:$AU102))/SUM(IF($R102:$AU102<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R102:$AU102))/SUM(IF($R102:$AU102<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK102:$AU102))/SUM(IF($AK102:$AU102<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK102:$AU102))/SUM(IF($AK102:$AU102<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D102=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU102>0,'Calculator Table'!BT102>0),\"Z-ERROR\",IF('Calculator Table'!BU102>0,\"X\",IF('Calculator Table'!BV102>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA102,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA102,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB102,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB102,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ102,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ102,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR102,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR102,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS102,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS102,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT102,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT102,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU102,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU102,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV102,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV102,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW102,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW102,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX102,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX102,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY102,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY102,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ102,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ102,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC102,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC102,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD102,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD102,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG102,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG102,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH102,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH102,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE102,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE102,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF102,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF102,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK102,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK102,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL102,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL102,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI102,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI102,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ102,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ102,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q102=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R102:$AU102<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C103","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R103:$AI103))/SUM(IF($R103:$AI103<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R103:$AI103))/SUM(IF($R103:$AI103<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK103:$AN103))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK103:$AN103))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP103:$AU103))/SUM(IF($AP103:$AU103<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP103:$AU103))/SUM(IF($AP103:$AU103<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R103:$AU103))/SUM(IF($R103:$AU103<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R103:$AU103))/SUM(IF($R103:$AU103<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK103:$AU103))/SUM(IF($AK103:$AU103<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK103:$AU103))/SUM(IF($AK103:$AU103<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D103=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU103>0,'Calculator Table'!BT103>0),\"Z-ERROR\",IF('Calculator Table'!BU103>0,\"X\",IF('Calculator Table'!BV103>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA103,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA103,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB103,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB103,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ103,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ103,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR103,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR103,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS103,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS103,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT103,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT103,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU103,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU103,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV103,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV103,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW103,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW103,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX103,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX103,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY103,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY103,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ103,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ103,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC103,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC103,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD103,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD103,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG103,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG103,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH103,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH103,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE103,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE103,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF103,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF103,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK103,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK103,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL103,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL103,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI103,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI103,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ103,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ103,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q103=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R103:$AU103<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C104","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R104:$AI104))/SUM(IF($R104:$AI104<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R104:$AI104))/SUM(IF($R104:$AI104<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK104:$AN104))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK104:$AN104))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP104:$AU104))/SUM(IF($AP104:$AU104<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP104:$AU104))/SUM(IF($AP104:$AU104<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R104:$AU104))/SUM(IF($R104:$AU104<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R104:$AU104))/SUM(IF($R104:$AU104<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK104:$AU104))/SUM(IF($AK104:$AU104<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK104:$AU104))/SUM(IF($AK104:$AU104<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D104=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU104>0,'Calculator Table'!BT104>0),\"Z-ERROR\",IF('Calculator Table'!BU104>0,\"X\",IF('Calculator Table'!BV104>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA104,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA104,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB104,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB104,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ104,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ104,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR104,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR104,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS104,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS104,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT104,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT104,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU104,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU104,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV104,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV104,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW104,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW104,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX104,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX104,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY104,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY104,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ104,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ104,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC104,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC104,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD104,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD104,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG104,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG104,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH104,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH104,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE104,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE104,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF104,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF104,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK104,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK104,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL104,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL104,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI104,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI104,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ104,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ104,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q104=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R104:$AU104<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C105","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R105:$AI105))/SUM(IF($R105:$AI105<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R105:$AI105))/SUM(IF($R105:$AI105<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK105:$AN105))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK105:$AN105))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP105:$AU105))/SUM(IF($AP105:$AU105<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP105:$AU105))/SUM(IF($AP105:$AU105<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R105:$AU105))/SUM(IF($R105:$AU105<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R105:$AU105))/SUM(IF($R105:$AU105<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK105:$AU105))/SUM(IF($AK105:$AU105<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK105:$AU105))/SUM(IF($AK105:$AU105<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D105=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU105>0,'Calculator Table'!BT105>0),\"Z-ERROR\",IF('Calculator Table'!BU105>0,\"X\",IF('Calculator Table'!BV105>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA105,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA105,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB105,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB105,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ105,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ105,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR105,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR105,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS105,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS105,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT105,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT105,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU105,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU105,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV105,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV105,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW105,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW105,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX105,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX105,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY105,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY105,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ105,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ105,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC105,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC105,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD105,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD105,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG105,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG105,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH105,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH105,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE105,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE105,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF105,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF105,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK105,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK105,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL105,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL105,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI105,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI105,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ105,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ105,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q105=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R105:$AU105<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C106","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R106:$AI106))/SUM(IF($R106:$AI106<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R106:$AI106))/SUM(IF($R106:$AI106<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK106:$AN106))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK106:$AN106))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP106:$AU106))/SUM(IF($AP106:$AU106<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP106:$AU106))/SUM(IF($AP106:$AU106<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R106:$AU106))/SUM(IF($R106:$AU106<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R106:$AU106))/SUM(IF($R106:$AU106<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK106:$AU106))/SUM(IF($AK106:$AU106<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK106:$AU106))/SUM(IF($AK106:$AU106<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D106=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU106>0,'Calculator Table'!BT106>0),\"Z-ERROR\",IF('Calculator Table'!BU106>0,\"X\",IF('Calculator Table'!BV106>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA106,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA106,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB106,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB106,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ106,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ106,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR106,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR106,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS106,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS106,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT106,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT106,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU106,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU106,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV106,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV106,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW106,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW106,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX106,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX106,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY106,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY106,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ106,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ106,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC106,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC106,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD106,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD106,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG106,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG106,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH106,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH106,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE106,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE106,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF106,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF106,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK106,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK106,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL106,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL106,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI106,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI106,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ106,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ106,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q106=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R106:$AU106<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C107","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R107:$AI107))/SUM(IF($R107:$AI107<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R107:$AI107))/SUM(IF($R107:$AI107<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK107:$AN107))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK107:$AN107))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP107:$AU107))/SUM(IF($AP107:$AU107<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP107:$AU107))/SUM(IF($AP107:$AU107<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R107:$AU107))/SUM(IF($R107:$AU107<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R107:$AU107))/SUM(IF($R107:$AU107<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK107:$AU107))/SUM(IF($AK107:$AU107<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK107:$AU107))/SUM(IF($AK107:$AU107<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D107=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU107>0,'Calculator Table'!BT107>0),\"Z-ERROR\",IF('Calculator Table'!BU107>0,\"X\",IF('Calculator Table'!BV107>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA107,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA107,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB107,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB107,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ107,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ107,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR107,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR107,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS107,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS107,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT107,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT107,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU107,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU107,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV107,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV107,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW107,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW107,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX107,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX107,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY107,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY107,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ107,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ107,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC107,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC107,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD107,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD107,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG107,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG107,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH107,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH107,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE107,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE107,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF107,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF107,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK107,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK107,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL107,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL107,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI107,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI107,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ107,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ107,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q107=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R107:$AU107<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C108","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R108:$AI108))/SUM(IF($R108:$AI108<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R108:$AI108))/SUM(IF($R108:$AI108<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK108:$AN108))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK108:$AN108))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP108:$AU108))/SUM(IF($AP108:$AU108<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP108:$AU108))/SUM(IF($AP108:$AU108<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R108:$AU108))/SUM(IF($R108:$AU108<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R108:$AU108))/SUM(IF($R108:$AU108<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK108:$AU108))/SUM(IF($AK108:$AU108<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK108:$AU108))/SUM(IF($AK108:$AU108<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D108=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU108>0,'Calculator Table'!BT108>0),\"Z-ERROR\",IF('Calculator Table'!BU108>0,\"X\",IF('Calculator Table'!BV108>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA108,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA108,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB108,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB108,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ108,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ108,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR108,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR108,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS108,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS108,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT108,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT108,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU108,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU108,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV108,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV108,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW108,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW108,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX108,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX108,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY108,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY108,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ108,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ108,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC108,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC108,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD108,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD108,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG108,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG108,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH108,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH108,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE108,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE108,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF108,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF108,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK108,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK108,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL108,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL108,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI108,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI108,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ108,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ108,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q108=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R108:$AU108<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C109","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R109:$AI109))/SUM(IF($R109:$AI109<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R109:$AI109))/SUM(IF($R109:$AI109<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK109:$AN109))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK109:$AN109))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP109:$AU109))/SUM(IF($AP109:$AU109<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP109:$AU109))/SUM(IF($AP109:$AU109<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R109:$AU109))/SUM(IF($R109:$AU109<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R109:$AU109))/SUM(IF($R109:$AU109<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK109:$AU109))/SUM(IF($AK109:$AU109<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK109:$AU109))/SUM(IF($AK109:$AU109<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D109=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU109>0,'Calculator Table'!BT109>0),\"Z-ERROR\",IF('Calculator Table'!BU109>0,\"X\",IF('Calculator Table'!BV109>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA109,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA109,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB109,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB109,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ109,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ109,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR109,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR109,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS109,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS109,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT109,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT109,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU109,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU109,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV109,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV109,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW109,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW109,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX109,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX109,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY109,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY109,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ109,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ109,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC109,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC109,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD109,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD109,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG109,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG109,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH109,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH109,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE109,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE109,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF109,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF109,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK109,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK109,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL109,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL109,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI109,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI109,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ109,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ109,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q109=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R109:$AU109<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C110","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R110:$AI110))/SUM(IF($R110:$AI110<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R110:$AI110))/SUM(IF($R110:$AI110<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK110:$AN110))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK110:$AN110))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP110:$AU110))/SUM(IF($AP110:$AU110<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP110:$AU110))/SUM(IF($AP110:$AU110<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R110:$AU110))/SUM(IF($R110:$AU110<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R110:$AU110))/SUM(IF($R110:$AU110<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK110:$AU110))/SUM(IF($AK110:$AU110<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK110:$AU110))/SUM(IF($AK110:$AU110<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D110=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU110>0,'Calculator Table'!BT110>0),\"Z-ERROR\",IF('Calculator Table'!BU110>0,\"X\",IF('Calculator Table'!BV110>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA110,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA110,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB110,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB110,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ110,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ110,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR110,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR110,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS110,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS110,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT110,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT110,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU110,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU110,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV110,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV110,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW110,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW110,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX110,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX110,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY110,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY110,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ110,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ110,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC110,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC110,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD110,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD110,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG110,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG110,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH110,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH110,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE110,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE110,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF110,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF110,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK110,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK110,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL110,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL110,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI110,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI110,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ110,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ110,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q110=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R110:$AU110<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C111","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R111:$AI111))/SUM(IF($R111:$AI111<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R111:$AI111))/SUM(IF($R111:$AI111<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK111:$AN111))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK111:$AN111))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP111:$AU111))/SUM(IF($AP111:$AU111<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP111:$AU111))/SUM(IF($AP111:$AU111<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R111:$AU111))/SUM(IF($R111:$AU111<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R111:$AU111))/SUM(IF($R111:$AU111<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK111:$AU111))/SUM(IF($AK111:$AU111<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK111:$AU111))/SUM(IF($AK111:$AU111<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D111=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU111>0,'Calculator Table'!BT111>0),\"Z-ERROR\",IF('Calculator Table'!BU111>0,\"X\",IF('Calculator Table'!BV111>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA111,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA111,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB111,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB111,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ111,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ111,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR111,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR111,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS111,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS111,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT111,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT111,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU111,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU111,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV111,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV111,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW111,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW111,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX111,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX111,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY111,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY111,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ111,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ111,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC111,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC111,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD111,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD111,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG111,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG111,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH111,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH111,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE111,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE111,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF111,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF111,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK111,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK111,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL111,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL111,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI111,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI111,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ111,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ111,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q111=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R111:$AU111<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C112","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R112:$AI112))/SUM(IF($R112:$AI112<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R112:$AI112))/SUM(IF($R112:$AI112<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK112:$AN112))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK112:$AN112))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP112:$AU112))/SUM(IF($AP112:$AU112<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP112:$AU112))/SUM(IF($AP112:$AU112<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R112:$AU112))/SUM(IF($R112:$AU112<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R112:$AU112))/SUM(IF($R112:$AU112<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK112:$AU112))/SUM(IF($AK112:$AU112<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK112:$AU112))/SUM(IF($AK112:$AU112<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D112=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU112>0,'Calculator Table'!BT112>0),\"Z-ERROR\",IF('Calculator Table'!BU112>0,\"X\",IF('Calculator Table'!BV112>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA112,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA112,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB112,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB112,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ112,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ112,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR112,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR112,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS112,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS112,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT112,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT112,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU112,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU112,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV112,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV112,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW112,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW112,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX112,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX112,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY112,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY112,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ112,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ112,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC112,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC112,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD112,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD112,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG112,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG112,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH112,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH112,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE112,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE112,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF112,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF112,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK112,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK112,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL112,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL112,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI112,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI112,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ112,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ112,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q112=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R112:$AU112<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C113","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R113:$AI113))/SUM(IF($R113:$AI113<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R113:$AI113))/SUM(IF($R113:$AI113<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK113:$AN113))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK113:$AN113))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP113:$AU113))/SUM(IF($AP113:$AU113<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP113:$AU113))/SUM(IF($AP113:$AU113<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R113:$AU113))/SUM(IF($R113:$AU113<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R113:$AU113))/SUM(IF($R113:$AU113<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK113:$AU113))/SUM(IF($AK113:$AU113<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK113:$AU113))/SUM(IF($AK113:$AU113<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D113=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU113>0,'Calculator Table'!BT113>0),\"Z-ERROR\",IF('Calculator Table'!BU113>0,\"X\",IF('Calculator Table'!BV113>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA113,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA113,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB113,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB113,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ113,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ113,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR113,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR113,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS113,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS113,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT113,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT113,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU113,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU113,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV113,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV113,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW113,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW113,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX113,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX113,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY113,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY113,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ113,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ113,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC113,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC113,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD113,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD113,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG113,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG113,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH113,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH113,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE113,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE113,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF113,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF113,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK113,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK113,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL113,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL113,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI113,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI113,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ113,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ113,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q113=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R113:$AU113<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C114","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R114:$AI114))/SUM(IF($R114:$AI114<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R114:$AI114))/SUM(IF($R114:$AI114<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK114:$AN114))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK114:$AN114))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP114:$AU114))/SUM(IF($AP114:$AU114<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP114:$AU114))/SUM(IF($AP114:$AU114<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R114:$AU114))/SUM(IF($R114:$AU114<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R114:$AU114))/SUM(IF($R114:$AU114<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK114:$AU114))/SUM(IF($AK114:$AU114<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK114:$AU114))/SUM(IF($AK114:$AU114<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D114=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU114>0,'Calculator Table'!BT114>0),\"Z-ERROR\",IF('Calculator Table'!BU114>0,\"X\",IF('Calculator Table'!BV114>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA114,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA114,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB114,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB114,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ114,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ114,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR114,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR114,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS114,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS114,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT114,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT114,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU114,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU114,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV114,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV114,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW114,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW114,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX114,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX114,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY114,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY114,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ114,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ114,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC114,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC114,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD114,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD114,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG114,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG114,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH114,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH114,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE114,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE114,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF114,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF114,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK114,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK114,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL114,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL114,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI114,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI114,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ114,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ114,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q114=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R114:$AU114<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C115","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R115:$AI115))/SUM(IF($R115:$AI115<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R115:$AI115))/SUM(IF($R115:$AI115<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK115:$AN115))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK115:$AN115))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP115:$AU115))/SUM(IF($AP115:$AU115<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP115:$AU115))/SUM(IF($AP115:$AU115<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R115:$AU115))/SUM(IF($R115:$AU115<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R115:$AU115))/SUM(IF($R115:$AU115<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK115:$AU115))/SUM(IF($AK115:$AU115<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK115:$AU115))/SUM(IF($AK115:$AU115<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D115=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU115>0,'Calculator Table'!BT115>0),\"Z-ERROR\",IF('Calculator Table'!BU115>0,\"X\",IF('Calculator Table'!BV115>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA115,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA115,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB115,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB115,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ115,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ115,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR115,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR115,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS115,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS115,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT115,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT115,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU115,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU115,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV115,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV115,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW115,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW115,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX115,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX115,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY115,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY115,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ115,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ115,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC115,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC115,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD115,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD115,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG115,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG115,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH115,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH115,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE115,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE115,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF115,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF115,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK115,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK115,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL115,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL115,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI115,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI115,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ115,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ115,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q115=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R115:$AU115<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C116","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R116:$AI116))/SUM(IF($R116:$AI116<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R116:$AI116))/SUM(IF($R116:$AI116<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK116:$AN116))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK116:$AN116))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP116:$AU116))/SUM(IF($AP116:$AU116<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP116:$AU116))/SUM(IF($AP116:$AU116<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R116:$AU116))/SUM(IF($R116:$AU116<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R116:$AU116))/SUM(IF($R116:$AU116<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK116:$AU116))/SUM(IF($AK116:$AU116<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK116:$AU116))/SUM(IF($AK116:$AU116<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D116=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU116>0,'Calculator Table'!BT116>0),\"Z-ERROR\",IF('Calculator Table'!BU116>0,\"X\",IF('Calculator Table'!BV116>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA116,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA116,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB116,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB116,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ116,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ116,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR116,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR116,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS116,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS116,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT116,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT116,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU116,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU116,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV116,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV116,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW116,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW116,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX116,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX116,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY116,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY116,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ116,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ116,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC116,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC116,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD116,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD116,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG116,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG116,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH116,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH116,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE116,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE116,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF116,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF116,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK116,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK116,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL116,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL116,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI116,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI116,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ116,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ116,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q116=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R116:$AU116<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C117","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R117:$AI117))/SUM(IF($R117:$AI117<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R117:$AI117))/SUM(IF($R117:$AI117<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK117:$AN117))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK117:$AN117))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP117:$AU117))/SUM(IF($AP117:$AU117<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP117:$AU117))/SUM(IF($AP117:$AU117<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R117:$AU117))/SUM(IF($R117:$AU117<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R117:$AU117))/SUM(IF($R117:$AU117<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK117:$AU117))/SUM(IF($AK117:$AU117<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK117:$AU117))/SUM(IF($AK117:$AU117<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D117=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU117>0,'Calculator Table'!BT117>0),\"Z-ERROR\",IF('Calculator Table'!BU117>0,\"X\",IF('Calculator Table'!BV117>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA117,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA117,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB117,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB117,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ117,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ117,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR117,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR117,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS117,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS117,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT117,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT117,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU117,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU117,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV117,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV117,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW117,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW117,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX117,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX117,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY117,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY117,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ117,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ117,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC117,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC117,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD117,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD117,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG117,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG117,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH117,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH117,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE117,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE117,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF117,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF117,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK117,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK117,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL117,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL117,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI117,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI117,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ117,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ117,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q117=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R117:$AU117<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C118","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R118:$AI118))/SUM(IF($R118:$AI118<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R118:$AI118))/SUM(IF($R118:$AI118<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK118:$AN118))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK118:$AN118))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP118:$AU118))/SUM(IF($AP118:$AU118<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP118:$AU118))/SUM(IF($AP118:$AU118<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R118:$AU118))/SUM(IF($R118:$AU118<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R118:$AU118))/SUM(IF($R118:$AU118<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK118:$AU118))/SUM(IF($AK118:$AU118<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK118:$AU118))/SUM(IF($AK118:$AU118<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D118=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU118>0,'Calculator Table'!BT118>0),\"Z-ERROR\",IF('Calculator Table'!BU118>0,\"X\",IF('Calculator Table'!BV118>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA118,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA118,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB118,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB118,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ118,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ118,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR118,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR118,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS118,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS118,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT118,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT118,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU118,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU118,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV118,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV118,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW118,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW118,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX118,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX118,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY118,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY118,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ118,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ118,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC118,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC118,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD118,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD118,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG118,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG118,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH118,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH118,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE118,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE118,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF118,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF118,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK118,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK118,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL118,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL118,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI118,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI118,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ118,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ118,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q118=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R118:$AU118<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C119","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R119:$AI119))/SUM(IF($R119:$AI119<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R119:$AI119))/SUM(IF($R119:$AI119<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK119:$AN119))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK119:$AN119))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP119:$AU119))/SUM(IF($AP119:$AU119<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP119:$AU119))/SUM(IF($AP119:$AU119<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R119:$AU119))/SUM(IF($R119:$AU119<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R119:$AU119))/SUM(IF($R119:$AU119<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK119:$AU119))/SUM(IF($AK119:$AU119<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK119:$AU119))/SUM(IF($AK119:$AU119<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D119=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU119>0,'Calculator Table'!BT119>0),\"Z-ERROR\",IF('Calculator Table'!BU119>0,\"X\",IF('Calculator Table'!BV119>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA119,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA119,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB119,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB119,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ119,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ119,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR119,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR119,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS119,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS119,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT119,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT119,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU119,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU119,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV119,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV119,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW119,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW119,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX119,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX119,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY119,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY119,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ119,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ119,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC119,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC119,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD119,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD119,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG119,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG119,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH119,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH119,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE119,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE119,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF119,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF119,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK119,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK119,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL119,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL119,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI119,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI119,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ119,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ119,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q119=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R119:$AU119<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C120","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R120:$AI120))/SUM(IF($R120:$AI120<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R120:$AI120))/SUM(IF($R120:$AI120<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK120:$AN120))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK120:$AN120))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP120:$AU120))/SUM(IF($AP120:$AU120<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP120:$AU120))/SUM(IF($AP120:$AU120<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R120:$AU120))/SUM(IF($R120:$AU120<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R120:$AU120))/SUM(IF($R120:$AU120<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK120:$AU120))/SUM(IF($AK120:$AU120<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK120:$AU120))/SUM(IF($AK120:$AU120<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D120=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU120>0,'Calculator Table'!BT120>0),\"Z-ERROR\",IF('Calculator Table'!BU120>0,\"X\",IF('Calculator Table'!BV120>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA120,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA120,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB120,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB120,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ120,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ120,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR120,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR120,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS120,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS120,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT120,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT120,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU120,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU120,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV120,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV120,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW120,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW120,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX120,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX120,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY120,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY120,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ120,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ120,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC120,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC120,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD120,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD120,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG120,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG120,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH120,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH120,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE120,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE120,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF120,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF120,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK120,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK120,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL120,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL120,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI120,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI120,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ120,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ120,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q120=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R120:$AU120<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C121","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R121:$AI121))/SUM(IF($R121:$AI121<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R121:$AI121))/SUM(IF($R121:$AI121<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK121:$AN121))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK121:$AN121))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP121:$AU121))/SUM(IF($AP121:$AU121<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP121:$AU121))/SUM(IF($AP121:$AU121<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R121:$AU121))/SUM(IF($R121:$AU121<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R121:$AU121))/SUM(IF($R121:$AU121<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK121:$AU121))/SUM(IF($AK121:$AU121<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK121:$AU121))/SUM(IF($AK121:$AU121<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D121=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU121>0,'Calculator Table'!BT121>0),\"Z-ERROR\",IF('Calculator Table'!BU121>0,\"X\",IF('Calculator Table'!BV121>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA121,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA121,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB121,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB121,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ121,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ121,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR121,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR121,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS121,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS121,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT121,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT121,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU121,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU121,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV121,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV121,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW121,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW121,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX121,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX121,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY121,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY121,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ121,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ121,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC121,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC121,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD121,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD121,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG121,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG121,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH121,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH121,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE121,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE121,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF121,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF121,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK121,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK121,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL121,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL121,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI121,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI121,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ121,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ121,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q121=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R121:$AU121<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C122","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R122:$AI122))/SUM(IF($R122:$AI122<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R122:$AI122))/SUM(IF($R122:$AI122<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK122:$AN122))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK122:$AN122))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP122:$AU122))/SUM(IF($AP122:$AU122<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP122:$AU122))/SUM(IF($AP122:$AU122<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R122:$AU122))/SUM(IF($R122:$AU122<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R122:$AU122))/SUM(IF($R122:$AU122<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK122:$AU122))/SUM(IF($AK122:$AU122<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK122:$AU122))/SUM(IF($AK122:$AU122<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D122=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU122>0,'Calculator Table'!BT122>0),\"Z-ERROR\",IF('Calculator Table'!BU122>0,\"X\",IF('Calculator Table'!BV122>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA122,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA122,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB122,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB122,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ122,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ122,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR122,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR122,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS122,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS122,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT122,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT122,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU122,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU122,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV122,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV122,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW122,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW122,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX122,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX122,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY122,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY122,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ122,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ122,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC122,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC122,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD122,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD122,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG122,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG122,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH122,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH122,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE122,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE122,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF122,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF122,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK122,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK122,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL122,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL122,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI122,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI122,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ122,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ122,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q122=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R122:$AU122<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C123","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R123:$AI123))/SUM(IF($R123:$AI123<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R123:$AI123))/SUM(IF($R123:$AI123<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK123:$AN123))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK123:$AN123))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP123:$AU123))/SUM(IF($AP123:$AU123<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP123:$AU123))/SUM(IF($AP123:$AU123<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R123:$AU123))/SUM(IF($R123:$AU123<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R123:$AU123))/SUM(IF($R123:$AU123<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK123:$AU123))/SUM(IF($AK123:$AU123<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK123:$AU123))/SUM(IF($AK123:$AU123<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D123=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU123>0,'Calculator Table'!BT123>0),\"Z-ERROR\",IF('Calculator Table'!BU123>0,\"X\",IF('Calculator Table'!BV123>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA123,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA123,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB123,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB123,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ123,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ123,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR123,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR123,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS123,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS123,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT123,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT123,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU123,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU123,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV123,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV123,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW123,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW123,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX123,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX123,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY123,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY123,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ123,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ123,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC123,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC123,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD123,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD123,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG123,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG123,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH123,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH123,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE123,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE123,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF123,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF123,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK123,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK123,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL123,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL123,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI123,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI123,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ123,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ123,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q123=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R123:$AU123<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C124","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R124:$AI124))/SUM(IF($R124:$AI124<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R124:$AI124))/SUM(IF($R124:$AI124<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK124:$AN124))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK124:$AN124))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP124:$AU124))/SUM(IF($AP124:$AU124<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP124:$AU124))/SUM(IF($AP124:$AU124<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R124:$AU124))/SUM(IF($R124:$AU124<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R124:$AU124))/SUM(IF($R124:$AU124<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK124:$AU124))/SUM(IF($AK124:$AU124<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK124:$AU124))/SUM(IF($AK124:$AU124<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D124=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU124>0,'Calculator Table'!BT124>0),\"Z-ERROR\",IF('Calculator Table'!BU124>0,\"X\",IF('Calculator Table'!BV124>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA124,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA124,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB124,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB124,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ124,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ124,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR124,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR124,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS124,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS124,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT124,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT124,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU124,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU124,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV124,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV124,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW124,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW124,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX124,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX124,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY124,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY124,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ124,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ124,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC124,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC124,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD124,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD124,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG124,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG124,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH124,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH124,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE124,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE124,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF124,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF124,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK124,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK124,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL124,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL124,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI124,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI124,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ124,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ124,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q124=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R124:$AU124<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C125","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R125:$AI125))/SUM(IF($R125:$AI125<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R125:$AI125))/SUM(IF($R125:$AI125<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK125:$AN125))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK125:$AN125))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP125:$AU125))/SUM(IF($AP125:$AU125<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP125:$AU125))/SUM(IF($AP125:$AU125<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R125:$AU125))/SUM(IF($R125:$AU125<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R125:$AU125))/SUM(IF($R125:$AU125<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK125:$AU125))/SUM(IF($AK125:$AU125<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK125:$AU125))/SUM(IF($AK125:$AU125<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D125=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU125>0,'Calculator Table'!BT125>0),\"Z-ERROR\",IF('Calculator Table'!BU125>0,\"X\",IF('Calculator Table'!BV125>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA125,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA125,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB125,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB125,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ125,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ125,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR125,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR125,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS125,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS125,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT125,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT125,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU125,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU125,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV125,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV125,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW125,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW125,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX125,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX125,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY125,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY125,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ125,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ125,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC125,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC125,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD125,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD125,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG125,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG125,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH125,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH125,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE125,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE125,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF125,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF125,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK125,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK125,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL125,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL125,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI125,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI125,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ125,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ125,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q125=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R125:$AU125<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C126","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R126:$AI126))/SUM(IF($R126:$AI126<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R126:$AI126))/SUM(IF($R126:$AI126<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK126:$AN126))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK126:$AN126))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP126:$AU126))/SUM(IF($AP126:$AU126<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP126:$AU126))/SUM(IF($AP126:$AU126<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R126:$AU126))/SUM(IF($R126:$AU126<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R126:$AU126))/SUM(IF($R126:$AU126<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK126:$AU126))/SUM(IF($AK126:$AU126<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK126:$AU126))/SUM(IF($AK126:$AU126<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D126=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU126>0,'Calculator Table'!BT126>0),\"Z-ERROR\",IF('Calculator Table'!BU126>0,\"X\",IF('Calculator Table'!BV126>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA126,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA126,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB126,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB126,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ126,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ126,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR126,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR126,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS126,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS126,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT126,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT126,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU126,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU126,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV126,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV126,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW126,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW126,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX126,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX126,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY126,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY126,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ126,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ126,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC126,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC126,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD126,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD126,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG126,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG126,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH126,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH126,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE126,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE126,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF126,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF126,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK126,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK126,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL126,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL126,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI126,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI126,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ126,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ126,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q126=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R126:$AU126<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C127","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R127:$AI127))/SUM(IF($R127:$AI127<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R127:$AI127))/SUM(IF($R127:$AI127<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK127:$AN127))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK127:$AN127))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP127:$AU127))/SUM(IF($AP127:$AU127<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP127:$AU127))/SUM(IF($AP127:$AU127<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R127:$AU127))/SUM(IF($R127:$AU127<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R127:$AU127))/SUM(IF($R127:$AU127<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK127:$AU127))/SUM(IF($AK127:$AU127<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK127:$AU127))/SUM(IF($AK127:$AU127<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D127=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU127>0,'Calculator Table'!BT127>0),\"Z-ERROR\",IF('Calculator Table'!BU127>0,\"X\",IF('Calculator Table'!BV127>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA127,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA127,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB127,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB127,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ127,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ127,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR127,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR127,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS127,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS127,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT127,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT127,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU127,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU127,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV127,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV127,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW127,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW127,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX127,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX127,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY127,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY127,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ127,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ127,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC127,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC127,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD127,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD127,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG127,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG127,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH127,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH127,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE127,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE127,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF127,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF127,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK127,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK127,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL127,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL127,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI127,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI127,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ127,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ127,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q127=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R127:$AU127<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C128","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R128:$AI128))/SUM(IF($R128:$AI128<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R128:$AI128))/SUM(IF($R128:$AI128<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK128:$AN128))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK128:$AN128))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP128:$AU128))/SUM(IF($AP128:$AU128<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP128:$AU128))/SUM(IF($AP128:$AU128<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R128:$AU128))/SUM(IF($R128:$AU128<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R128:$AU128))/SUM(IF($R128:$AU128<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK128:$AU128))/SUM(IF($AK128:$AU128<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK128:$AU128))/SUM(IF($AK128:$AU128<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D128=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU128>0,'Calculator Table'!BT128>0),\"Z-ERROR\",IF('Calculator Table'!BU128>0,\"X\",IF('Calculator Table'!BV128>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA128,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA128,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB128,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB128,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ128,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ128,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR128,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR128,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS128,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS128,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT128,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT128,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU128,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU128,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV128,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV128,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW128,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW128,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX128,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX128,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY128,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY128,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ128,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ128,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC128,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC128,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD128,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD128,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG128,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG128,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH128,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH128,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE128,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE128,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF128,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF128,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK128,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK128,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL128,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL128,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI128,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI128,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ128,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ128,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q128=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R128:$AU128<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C129","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R129:$AI129))/SUM(IF($R129:$AI129<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R129:$AI129))/SUM(IF($R129:$AI129<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK129:$AN129))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK129:$AN129))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP129:$AU129))/SUM(IF($AP129:$AU129<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP129:$AU129))/SUM(IF($AP129:$AU129<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R129:$AU129))/SUM(IF($R129:$AU129<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R129:$AU129))/SUM(IF($R129:$AU129<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK129:$AU129))/SUM(IF($AK129:$AU129<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK129:$AU129))/SUM(IF($AK129:$AU129<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D129=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU129>0,'Calculator Table'!BT129>0),\"Z-ERROR\",IF('Calculator Table'!BU129>0,\"X\",IF('Calculator Table'!BV129>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA129,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA129,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB129,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB129,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ129,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ129,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR129,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR129,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS129,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS129,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT129,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT129,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU129,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU129,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV129,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV129,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW129,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW129,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX129,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX129,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY129,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY129,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ129,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ129,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC129,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC129,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD129,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD129,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG129,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG129,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH129,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH129,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE129,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE129,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF129,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF129,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK129,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK129,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL129,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL129,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI129,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI129,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ129,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ129,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q129=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R129:$AU129<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C130","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R130:$AI130))/SUM(IF($R130:$AI130<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R130:$AI130))/SUM(IF($R130:$AI130<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK130:$AN130))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK130:$AN130))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP130:$AU130))/SUM(IF($AP130:$AU130<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP130:$AU130))/SUM(IF($AP130:$AU130<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R130:$AU130))/SUM(IF($R130:$AU130<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R130:$AU130))/SUM(IF($R130:$AU130<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK130:$AU130))/SUM(IF($AK130:$AU130<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK130:$AU130))/SUM(IF($AK130:$AU130<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D130=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU130>0,'Calculator Table'!BT130>0),\"Z-ERROR\",IF('Calculator Table'!BU130>0,\"X\",IF('Calculator Table'!BV130>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA130,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA130,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB130,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB130,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ130,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ130,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR130,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR130,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS130,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS130,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT130,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT130,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU130,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU130,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV130,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV130,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW130,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW130,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX130,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX130,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY130,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY130,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ130,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ130,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC130,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC130,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD130,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD130,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG130,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG130,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH130,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH130,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE130,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE130,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF130,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF130,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK130,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK130,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL130,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL130,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI130,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI130,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ130,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ130,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q130=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R130:$AU130<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C131","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R131:$AI131))/SUM(IF($R131:$AI131<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R131:$AI131))/SUM(IF($R131:$AI131<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK131:$AN131))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK131:$AN131))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP131:$AU131))/SUM(IF($AP131:$AU131<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP131:$AU131))/SUM(IF($AP131:$AU131<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R131:$AU131))/SUM(IF($R131:$AU131<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R131:$AU131))/SUM(IF($R131:$AU131<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK131:$AU131))/SUM(IF($AK131:$AU131<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK131:$AU131))/SUM(IF($AK131:$AU131<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D131=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU131>0,'Calculator Table'!BT131>0),\"Z-ERROR\",IF('Calculator Table'!BU131>0,\"X\",IF('Calculator Table'!BV131>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA131,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA131,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB131,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB131,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ131,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ131,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR131,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR131,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS131,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS131,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT131,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT131,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU131,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU131,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV131,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV131,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW131,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW131,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX131,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX131,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY131,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY131,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ131,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ131,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC131,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC131,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD131,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD131,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG131,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG131,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH131,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH131,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE131,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE131,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF131,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF131,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK131,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK131,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL131,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL131,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI131,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI131,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ131,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ131,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q131=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R131:$AU131<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C132","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R132:$AI132))/SUM(IF($R132:$AI132<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R132:$AI132))/SUM(IF($R132:$AI132<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK132:$AN132))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK132:$AN132))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP132:$AU132))/SUM(IF($AP132:$AU132<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP132:$AU132))/SUM(IF($AP132:$AU132<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R132:$AU132))/SUM(IF($R132:$AU132<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R132:$AU132))/SUM(IF($R132:$AU132<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK132:$AU132))/SUM(IF($AK132:$AU132<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK132:$AU132))/SUM(IF($AK132:$AU132<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},{"$f":"IF(AND(ISERROR(B132),ISERROR(L132)),B132,AVERAGE(IF(NOT(ISERROR(B132)),B132),IF(NOT(ISERROR(L132)),L132)))","v":0},{"$f":"IF(AND(ISERROR(C132),ISERROR(M132)),C132,AVERAGE(IF(NOT(ISERROR(C132)),C132),IF(NOT(ISERROR(M132)),M132)))","v":0},{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D132=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU132>0,'Calculator Table'!BT132>0),\"Z-ERROR\",IF('Calculator Table'!BU132>0,\"X\",IF('Calculator Table'!BV132>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA132,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA132,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB132,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB132,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ132,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ132,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR132,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR132,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS132,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS132,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT132,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT132,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU132,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU132,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV132,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV132,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW132,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW132,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX132,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX132,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY132,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY132,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ132,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ132,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC132,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC132,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD132,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD132,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG132,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG132,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH132,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH132,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE132,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE132,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF132,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF132,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK132,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK132,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL132,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL132,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI132,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI132,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ132,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ132,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q132=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R132:$AU132<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C133","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R133:$AI133))/SUM(IF($R133:$AI133<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R133:$AI133))/SUM(IF($R133:$AI133<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK133:$AN133))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK133:$AN133))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP133:$AU133))/SUM(IF($AP133:$AU133<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP133:$AU133))/SUM(IF($AP133:$AU133<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R133:$AU133))/SUM(IF($R133:$AU133<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R133:$AU133))/SUM(IF($R133:$AU133<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$f":"(IF(NOT(ISERROR(B133)),B133*B$2)+IF(NOT(ISERROR(F133)),F133*F$2))/(IF(NOT(ISERROR(B133)),B$2)+IF(NOT(ISERROR(F133)),F$2))+D133","v":{"$error":"#DIV/0!"}},{"$f":"(IF(NOT(ISERROR(C133)),C133*C$2)+IF(NOT(ISERROR(G133)),G133*G$2))/(IF(NOT(ISERROR(C133)),C$2)+IF(NOT(ISERROR(G133)),G$2))+E133","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK133:$AU133))/SUM(IF($AK133:$AU133<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK133:$AU133))/SUM(IF($AK133:$AU133<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D133=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU133>0,'Calculator Table'!BT133>0),\"Z-ERROR\",IF('Calculator Table'!BU133>0,\"X\",IF('Calculator Table'!BV133>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA133,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA133,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB133,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB133,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ133,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ133,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR133,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR133,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS133,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS133,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT133,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT133,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU133,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU133,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV133,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV133,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW133,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW133,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX133,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX133,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY133,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY133,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ133,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ133,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC133,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC133,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD133,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD133,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG133,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG133,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH133,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH133,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE133,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE133,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF133,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF133,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK133,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK133,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL133,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL133,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI133,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI133,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ133,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ133,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q133=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R133:$AU133<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C134","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R134:$AI134))/SUM(IF($R134:$AI134<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R134:$AI134))/SUM(IF($R134:$AI134<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK134:$AN134))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK134:$AN134))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP134:$AU134))/SUM(IF($AP134:$AU134<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP134:$AU134))/SUM(IF($AP134:$AU134<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R134:$AU134))/SUM(IF($R134:$AU134<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R134:$AU134))/SUM(IF($R134:$AU134<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK134:$AU134))/SUM(IF($AK134:$AU134<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK134:$AU134))/SUM(IF($AK134:$AU134<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D134=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU134>0,'Calculator Table'!BT134>0),\"Z-ERROR\",IF('Calculator Table'!BU134>0,\"X\",IF('Calculator Table'!BV134>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA134,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA134,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB134,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB134,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ134,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ134,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR134,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR134,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS134,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS134,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT134,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT134,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU134,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU134,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV134,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV134,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW134,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW134,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX134,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX134,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY134,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY134,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ134,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ134,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(Z134),ISNUMBER(AB134)),MIN(Z134,AB134),\"--\")","v":"--"},{"$f":"IF(OR(ISNUMBER(AA134),ISNUMBER(AC134)),MIN(AA134,AC134),\"--\")","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC134,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC134,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD134,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD134,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(X134),ISNUMBER(V134)),\"--\",AF134)","v":"--"},{"$f":"IF(OR(ISNUMBER(Y134),ISNUMBER(W134)),\"--\",AG134)","v":"--"},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG134,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG134,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH134,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH134,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE134,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE134,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF134,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF134,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK134,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK134,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL134,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL134,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI134,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI134,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ134,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ134,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISNUMBER(AP134),\"--\",AR134)","v":"--"},{"$f":"IF(ISNUMBER(AQ134),\"--\",AS134)","v":"--"},{"$f":"IF(Q134=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R134:$AU134<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C135","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R135:$AI135))/SUM(IF($R135:$AI135<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R135:$AI135))/SUM(IF($R135:$AI135<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK135:$AN135))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK135:$AN135))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP135:$AU135))/SUM(IF($AP135:$AU135<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP135:$AU135))/SUM(IF($AP135:$AU135<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R135:$AU135))/SUM(IF($R135:$AU135<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R135:$AU135))/SUM(IF($R135:$AU135<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK135:$AU135))/SUM(IF($AK135:$AU135<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK135:$AU135))/SUM(IF($AK135:$AU135<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D135=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU135>0,'Calculator Table'!BT135>0),\"Z-ERROR\",IF('Calculator Table'!BU135>0,\"X\",IF('Calculator Table'!BV135>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA135,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA135,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB135,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB135,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ135,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ135,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR135,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR135,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS135,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS135,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT135,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT135,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU135,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU135,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV135,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV135,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW135,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW135,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX135,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX135,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY135,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY135,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ135,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ135,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC135,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC135,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD135,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD135,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG135,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG135,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH135,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH135,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE135,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE135,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF135,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF135,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK135,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK135,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL135,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL135,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI135,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI135,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ135,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ135,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q135=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R135:$AU135<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C136","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R136:$AI136))/SUM(IF($R136:$AI136<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R136:$AI136))/SUM(IF($R136:$AI136<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK136:$AN136))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK136:$AN136))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP136:$AU136))/SUM(IF($AP136:$AU136<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP136:$AU136))/SUM(IF($AP136:$AU136<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R136:$AU136))/SUM(IF($R136:$AU136<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R136:$AU136))/SUM(IF($R136:$AU136<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK136:$AU136))/SUM(IF($AK136:$AU136<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK136:$AU136))/SUM(IF($AK136:$AU136<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D136=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU136>0,'Calculator Table'!BT136>0),\"Z-ERROR\",IF('Calculator Table'!BU136>0,\"X\",IF('Calculator Table'!BV136>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA136,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA136,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB136,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB136,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ136,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ136,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR136,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR136,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS136,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS136,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT136,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT136,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU136,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU136,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV136,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV136,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW136,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW136,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX136,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX136,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY136,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY136,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ136,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ136,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC136,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC136,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD136,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD136,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG136,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG136,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH136,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH136,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE136,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE136,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF136,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF136,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK136,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK136,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL136,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL136,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI136,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI136,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ136,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ136,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q136=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R136:$AU136<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C137","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R137:$AI137))/SUM(IF($R137:$AI137<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R137:$AI137))/SUM(IF($R137:$AI137<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK137:$AN137))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK137:$AN137))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP137:$AU137))/SUM(IF($AP137:$AU137<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP137:$AU137))/SUM(IF($AP137:$AU137<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R137:$AU137))/SUM(IF($R137:$AU137<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R137:$AU137))/SUM(IF($R137:$AU137<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK137:$AU137))/SUM(IF($AK137:$AU137<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK137:$AU137))/SUM(IF($AK137:$AU137<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D137=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU137>0,'Calculator Table'!BT137>0),\"Z-ERROR\",IF('Calculator Table'!BU137>0,\"X\",IF('Calculator Table'!BV137>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA137,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA137,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB137,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB137,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ137,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ137,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR137,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR137,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS137,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS137,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT137,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT137,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU137,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU137,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV137,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV137,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW137,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW137,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX137,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX137,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY137,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY137,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ137,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ137,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC137,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC137,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD137,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD137,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG137,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG137,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH137,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH137,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE137,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE137,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF137,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF137,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK137,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK137,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL137,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL137,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI137,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI137,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ137,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ137,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q137=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R137:$AU137<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C138","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R138:$AI138))/SUM(IF($R138:$AI138<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R138:$AI138))/SUM(IF($R138:$AI138<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK138:$AN138))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK138:$AN138))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP138:$AU138))/SUM(IF($AP138:$AU138<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP138:$AU138))/SUM(IF($AP138:$AU138<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R138:$AU138))/SUM(IF($R138:$AU138<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R138:$AU138))/SUM(IF($R138:$AU138<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK138:$AU138))/SUM(IF($AK138:$AU138<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK138:$AU138))/SUM(IF($AK138:$AU138<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D138=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU138>0,'Calculator Table'!BT138>0),\"Z-ERROR\",IF('Calculator Table'!BU138>0,\"X\",IF('Calculator Table'!BV138>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA138,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA138,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB138,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB138,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ138,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ138,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR138,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR138,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS138,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS138,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT138,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT138,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU138,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU138,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV138,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV138,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW138,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW138,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX138,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX138,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY138,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY138,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ138,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ138,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC138,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC138,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD138,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD138,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG138,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG138,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH138,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH138,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE138,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE138,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF138,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF138,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK138,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK138,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL138,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL138,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI138,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI138,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ138,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ138,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q138=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R138:$AU138<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C139","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R139:$AI139))/SUM(IF($R139:$AI139<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R139:$AI139))/SUM(IF($R139:$AI139<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK139:$AN139))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK139:$AN139))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP139:$AU139))/SUM(IF($AP139:$AU139<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP139:$AU139))/SUM(IF($AP139:$AU139<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R139:$AU139))/SUM(IF($R139:$AU139<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R139:$AU139))/SUM(IF($R139:$AU139<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK139:$AU139))/SUM(IF($AK139:$AU139<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK139:$AU139))/SUM(IF($AK139:$AU139<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D139=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU139>0,'Calculator Table'!BT139>0),\"Z-ERROR\",IF('Calculator Table'!BU139>0,\"X\",IF('Calculator Table'!BV139>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA139,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA139,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB139,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB139,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ139,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ139,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR139,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR139,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS139,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS139,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT139,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT139,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU139,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU139,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV139,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV139,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW139,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW139,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX139,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX139,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY139,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY139,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ139,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ139,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC139,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC139,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD139,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD139,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG139,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG139,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH139,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH139,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE139,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE139,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF139,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF139,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK139,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK139,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL139,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL139,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI139,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI139,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ139,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ139,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q139=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R139:$AU139<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C140","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R140:$AI140))/SUM(IF($R140:$AI140<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R140:$AI140))/SUM(IF($R140:$AI140<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK140:$AN140))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK140:$AN140))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP140:$AU140))/SUM(IF($AP140:$AU140<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP140:$AU140))/SUM(IF($AP140:$AU140<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R140:$AU140))/SUM(IF($R140:$AU140<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R140:$AU140))/SUM(IF($R140:$AU140<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK140:$AU140))/SUM(IF($AK140:$AU140<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK140:$AU140))/SUM(IF($AK140:$AU140<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D140=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU140>0,'Calculator Table'!BT140>0),\"Z-ERROR\",IF('Calculator Table'!BU140>0,\"X\",IF('Calculator Table'!BV140>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA140,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA140,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB140,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB140,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ140,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ140,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR140,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR140,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS140,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS140,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT140,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT140,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU140,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU140,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV140,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV140,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW140,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW140,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX140,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX140,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY140,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY140,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ140,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ140,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC140,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC140,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD140,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD140,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG140,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG140,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH140,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH140,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE140,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE140,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF140,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF140,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK140,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK140,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL140,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL140,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI140,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI140,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ140,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ140,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q140=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R140:$AU140<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C141","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R141:$AI141))/SUM(IF($R141:$AI141<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R141:$AI141))/SUM(IF($R141:$AI141<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK141:$AN141))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK141:$AN141))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP141:$AU141))/SUM(IF($AP141:$AU141<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP141:$AU141))/SUM(IF($AP141:$AU141<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R141:$AU141))/SUM(IF($R141:$AU141<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R141:$AU141))/SUM(IF($R141:$AU141<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK141:$AU141))/SUM(IF($AK141:$AU141<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK141:$AU141))/SUM(IF($AK141:$AU141<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D141=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU141>0,'Calculator Table'!BT141>0),\"Z-ERROR\",IF('Calculator Table'!BU141>0,\"X\",IF('Calculator Table'!BV141>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA141,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA141,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB141,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB141,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ141,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ141,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR141,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR141,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS141,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS141,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT141,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT141,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU141,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU141,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV141,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV141,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW141,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW141,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX141,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX141,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY141,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY141,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ141,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ141,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC141,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC141,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD141,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD141,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG141,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG141,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH141,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH141,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE141,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE141,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF141,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF141,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK141,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK141,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL141,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL141,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI141,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI141,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ141,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ141,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q141=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R141:$AU141<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C142","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R142:$AI142))/SUM(IF($R142:$AI142<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R142:$AI142))/SUM(IF($R142:$AI142<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK142:$AN142))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK142:$AN142))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP142:$AU142))/SUM(IF($AP142:$AU142<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP142:$AU142))/SUM(IF($AP142:$AU142<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R142:$AU142))/SUM(IF($R142:$AU142<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R142:$AU142))/SUM(IF($R142:$AU142<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK142:$AU142))/SUM(IF($AK142:$AU142<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK142:$AU142))/SUM(IF($AK142:$AU142<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D142=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU142>0,'Calculator Table'!BT142>0),\"Z-ERROR\",IF('Calculator Table'!BU142>0,\"X\",IF('Calculator Table'!BV142>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA142,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA142,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB142,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB142,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ142,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ142,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR142,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR142,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS142,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS142,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT142,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT142,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU142,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU142,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV142,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV142,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW142,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW142,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX142,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX142,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY142,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY142,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ142,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ142,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC142,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC142,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD142,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD142,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG142,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG142,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH142,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH142,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE142,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE142,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF142,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF142,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK142,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK142,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL142,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL142,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI142,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI142,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ142,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ142,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q142=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R142:$AU142<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C143","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R143:$AI143))/SUM(IF($R143:$AI143<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R143:$AI143))/SUM(IF($R143:$AI143<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK143:$AN143))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK143:$AN143))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP143:$AU143))/SUM(IF($AP143:$AU143<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP143:$AU143))/SUM(IF($AP143:$AU143<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R143:$AU143))/SUM(IF($R143:$AU143<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R143:$AU143))/SUM(IF($R143:$AU143<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK143:$AU143))/SUM(IF($AK143:$AU143<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK143:$AU143))/SUM(IF($AK143:$AU143<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D143=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU143>0,'Calculator Table'!BT143>0),\"Z-ERROR\",IF('Calculator Table'!BU143>0,\"X\",IF('Calculator Table'!BV143>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA143,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA143,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB143,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB143,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ143,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ143,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR143,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR143,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS143,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS143,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT143,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT143,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU143,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU143,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV143,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV143,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW143,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW143,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX143,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX143,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY143,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY143,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ143,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ143,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC143,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC143,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD143,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD143,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG143,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG143,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH143,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH143,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE143,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE143,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF143,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF143,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK143,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK143,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL143,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL143,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI143,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI143,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ143,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ143,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q143=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R143:$AU143<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C144","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R144:$AI144))/SUM(IF($R144:$AI144<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R144:$AI144))/SUM(IF($R144:$AI144<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK144:$AN144))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK144:$AN144))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP144:$AU144))/SUM(IF($AP144:$AU144<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP144:$AU144))/SUM(IF($AP144:$AU144<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R144:$AU144))/SUM(IF($R144:$AU144<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R144:$AU144))/SUM(IF($R144:$AU144<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK144:$AU144))/SUM(IF($AK144:$AU144<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK144:$AU144))/SUM(IF($AK144:$AU144<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D144=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU144>0,'Calculator Table'!BT144>0),\"Z-ERROR\",IF('Calculator Table'!BU144>0,\"X\",IF('Calculator Table'!BV144>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA144,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA144,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB144,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB144,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ144,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ144,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR144,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR144,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS144,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS144,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT144,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT144,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU144,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU144,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV144,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV144,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW144,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW144,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX144,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX144,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY144,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY144,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ144,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ144,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC144,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC144,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD144,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD144,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG144,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG144,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH144,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH144,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE144,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE144,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF144,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF144,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK144,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK144,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL144,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL144,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI144,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI144,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ144,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ144,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q144=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R144:$AU144<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C145","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R145:$AI145))/SUM(IF($R145:$AI145<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R145:$AI145))/SUM(IF($R145:$AI145<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK145:$AN145))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK145:$AN145))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP145:$AU145))/SUM(IF($AP145:$AU145<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP145:$AU145))/SUM(IF($AP145:$AU145<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R145:$AU145))/SUM(IF($R145:$AU145<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R145:$AU145))/SUM(IF($R145:$AU145<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK145:$AU145))/SUM(IF($AK145:$AU145<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK145:$AU145))/SUM(IF($AK145:$AU145<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D145=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU145>0,'Calculator Table'!BT145>0),\"Z-ERROR\",IF('Calculator Table'!BU145>0,\"X\",IF('Calculator Table'!BV145>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA145,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA145,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB145,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB145,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ145,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ145,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR145,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR145,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS145,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS145,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT145,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT145,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU145,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU145,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV145,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV145,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW145,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW145,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX145,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX145,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY145,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY145,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ145,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ145,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC145,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC145,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD145,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD145,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG145,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG145,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH145,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH145,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE145,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE145,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF145,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF145,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK145,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK145,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL145,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL145,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI145,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI145,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ145,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ145,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q145=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R145:$AU145<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C146","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R146:$AI146))/SUM(IF($R146:$AI146<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R146:$AI146))/SUM(IF($R146:$AI146<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK146:$AN146))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK146:$AN146))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP146:$AU146))/SUM(IF($AP146:$AU146<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP146:$AU146))/SUM(IF($AP146:$AU146<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R146:$AU146))/SUM(IF($R146:$AU146<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R146:$AU146))/SUM(IF($R146:$AU146<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK146:$AU146))/SUM(IF($AK146:$AU146<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK146:$AU146))/SUM(IF($AK146:$AU146<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D146=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU146>0,'Calculator Table'!BT146>0),\"Z-ERROR\",IF('Calculator Table'!BU146>0,\"X\",IF('Calculator Table'!BV146>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA146,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA146,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB146,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB146,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ146,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ146,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR146,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR146,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS146,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS146,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT146,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT146,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU146,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU146,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV146,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV146,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW146,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW146,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX146,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX146,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY146,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY146,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ146,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ146,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC146,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC146,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD146,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD146,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG146,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG146,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH146,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH146,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE146,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE146,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF146,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF146,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK146,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK146,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL146,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL146,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI146,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI146,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ146,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ146,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q146=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R146:$AU146<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C147","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R147:$AI147))/SUM(IF($R147:$AI147<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R147:$AI147))/SUM(IF($R147:$AI147<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK147:$AN147))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK147:$AN147))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP147:$AU147))/SUM(IF($AP147:$AU147<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP147:$AU147))/SUM(IF($AP147:$AU147<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R147:$AU147))/SUM(IF($R147:$AU147<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R147:$AU147))/SUM(IF($R147:$AU147<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK147:$AU147))/SUM(IF($AK147:$AU147<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK147:$AU147))/SUM(IF($AK147:$AU147<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D147=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU147>0,'Calculator Table'!BT147>0),\"Z-ERROR\",IF('Calculator Table'!BU147>0,\"X\",IF('Calculator Table'!BV147>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA147,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA147,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB147,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB147,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ147,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ147,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR147,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR147,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS147,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS147,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT147,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT147,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU147,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU147,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV147,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV147,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW147,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW147,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX147,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX147,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY147,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY147,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ147,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ147,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC147,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC147,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD147,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD147,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG147,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG147,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH147,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH147,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE147,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE147,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF147,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF147,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK147,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK147,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL147,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL147,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI147,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI147,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ147,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ147,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q147=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R147:$AU147<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C148","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R148:$AI148))/SUM(IF($R148:$AI148<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R148:$AI148))/SUM(IF($R148:$AI148<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK148:$AN148))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK148:$AN148))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP148:$AU148))/SUM(IF($AP148:$AU148<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP148:$AU148))/SUM(IF($AP148:$AU148<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R148:$AU148))/SUM(IF($R148:$AU148<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R148:$AU148))/SUM(IF($R148:$AU148<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK148:$AU148))/SUM(IF($AK148:$AU148<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK148:$AU148))/SUM(IF($AK148:$AU148<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D148=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU148>0,'Calculator Table'!BT148>0),\"Z-ERROR\",IF('Calculator Table'!BU148>0,\"X\",IF('Calculator Table'!BV148>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA148,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA148,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB148,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB148,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ148,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ148,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR148,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR148,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS148,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS148,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT148,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT148,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU148,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU148,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV148,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV148,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW148,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW148,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX148,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX148,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY148,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY148,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ148,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ148,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC148,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC148,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD148,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD148,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG148,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG148,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH148,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH148,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE148,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE148,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF148,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF148,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK148,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK148,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL148,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL148,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI148,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI148,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ148,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ148,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q148=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R148:$AU148<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C149","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R149:$AI149))/SUM(IF($R149:$AI149<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R149:$AI149))/SUM(IF($R149:$AI149<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK149:$AN149))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK149:$AN149))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP149:$AU149))/SUM(IF($AP149:$AU149<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP149:$AU149))/SUM(IF($AP149:$AU149<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R149:$AU149))/SUM(IF($R149:$AU149<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R149:$AU149))/SUM(IF($R149:$AU149<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK149:$AU149))/SUM(IF($AK149:$AU149<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK149:$AU149))/SUM(IF($AK149:$AU149<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D149=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU149>0,'Calculator Table'!BT149>0),\"Z-ERROR\",IF('Calculator Table'!BU149>0,\"X\",IF('Calculator Table'!BV149>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA149,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA149,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB149,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB149,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ149,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ149,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR149,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR149,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS149,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS149,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT149,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT149,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU149,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU149,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV149,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV149,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW149,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW149,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX149,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX149,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY149,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY149,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ149,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ149,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC149,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC149,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD149,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD149,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG149,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG149,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH149,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH149,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE149,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE149,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF149,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF149,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK149,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK149,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL149,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL149,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI149,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI149,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ149,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ149,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q149=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R149:$AU149<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C150","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R150:$AI150))/SUM(IF($R150:$AI150<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R150:$AI150))/SUM(IF($R150:$AI150<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK150:$AN150))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK150:$AN150))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP150:$AU150))/SUM(IF($AP150:$AU150<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP150:$AU150))/SUM(IF($AP150:$AU150<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R150:$AU150))/SUM(IF($R150:$AU150<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R150:$AU150))/SUM(IF($R150:$AU150<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK150:$AU150))/SUM(IF($AK150:$AU150<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK150:$AU150))/SUM(IF($AK150:$AU150<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D150=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU150>0,'Calculator Table'!BT150>0),\"Z-ERROR\",IF('Calculator Table'!BU150>0,\"X\",IF('Calculator Table'!BV150>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA150,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA150,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB150,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB150,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ150,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ150,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR150,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR150,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS150,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS150,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT150,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT150,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU150,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU150,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV150,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV150,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW150,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW150,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX150,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX150,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY150,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY150,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ150,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ150,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC150,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC150,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD150,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD150,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG150,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG150,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH150,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH150,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE150,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE150,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF150,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF150,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK150,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK150,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL150,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL150,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI150,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI150,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ150,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ150,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q150=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R150:$AU150<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C151","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R151:$AI151))/SUM(IF($R151:$AI151<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R151:$AI151))/SUM(IF($R151:$AI151<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK151:$AN151))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK151:$AN151))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP151:$AU151))/SUM(IF($AP151:$AU151<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP151:$AU151))/SUM(IF($AP151:$AU151<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R151:$AU151))/SUM(IF($R151:$AU151<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R151:$AU151))/SUM(IF($R151:$AU151<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK151:$AU151))/SUM(IF($AK151:$AU151<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK151:$AU151))/SUM(IF($AK151:$AU151<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D151=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU151>0,'Calculator Table'!BT151>0),\"Z-ERROR\",IF('Calculator Table'!BU151>0,\"X\",IF('Calculator Table'!BV151>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA151,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA151,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB151,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB151,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ151,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ151,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR151,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR151,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS151,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS151,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT151,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT151,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU151,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU151,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV151,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV151,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW151,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW151,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX151,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX151,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY151,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY151,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ151,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ151,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC151,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC151,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD151,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD151,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG151,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG151,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH151,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH151,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE151,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE151,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF151,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF151,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK151,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK151,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL151,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL151,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI151,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI151,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ151,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ151,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q151=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R151:$AU151<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C152","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R152:$AI152))/SUM(IF($R152:$AI152<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R152:$AI152))/SUM(IF($R152:$AI152<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK152:$AN152))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK152:$AN152))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP152:$AU152))/SUM(IF($AP152:$AU152<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP152:$AU152))/SUM(IF($AP152:$AU152<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R152:$AU152))/SUM(IF($R152:$AU152<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R152:$AU152))/SUM(IF($R152:$AU152<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK152:$AU152))/SUM(IF($AK152:$AU152<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK152:$AU152))/SUM(IF($AK152:$AU152<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D152=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU152>0,'Calculator Table'!BT152>0),\"Z-ERROR\",IF('Calculator Table'!BU152>0,\"X\",IF('Calculator Table'!BV152>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA152,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA152,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB152,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB152,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ152,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ152,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR152,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR152,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS152,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS152,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT152,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT152,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU152,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU152,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV152,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV152,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW152,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW152,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX152,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX152,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY152,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY152,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ152,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ152,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC152,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC152,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD152,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD152,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG152,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG152,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH152,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH152,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE152,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE152,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF152,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF152,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK152,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK152,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL152,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL152,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI152,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI152,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ152,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ152,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q152=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R152:$AU152<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C153","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R153:$AI153))/SUM(IF($R153:$AI153<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R153:$AI153))/SUM(IF($R153:$AI153<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK153:$AN153))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK153:$AN153))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP153:$AU153))/SUM(IF($AP153:$AU153<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP153:$AU153))/SUM(IF($AP153:$AU153<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R153:$AU153))/SUM(IF($R153:$AU153<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R153:$AU153))/SUM(IF($R153:$AU153<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK153:$AU153))/SUM(IF($AK153:$AU153<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK153:$AU153))/SUM(IF($AK153:$AU153<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D153=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU153>0,'Calculator Table'!BT153>0),\"Z-ERROR\",IF('Calculator Table'!BU153>0,\"X\",IF('Calculator Table'!BV153>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA153,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA153,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB153,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB153,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ153,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ153,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR153,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR153,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS153,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS153,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT153,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT153,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU153,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU153,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV153,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV153,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW153,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW153,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX153,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX153,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY153,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY153,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ153,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ153,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC153,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC153,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD153,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD153,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG153,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG153,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH153,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH153,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE153,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE153,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF153,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF153,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK153,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK153,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL153,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL153,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI153,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI153,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ153,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ153,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q153=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R153:$AU153<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C154","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R154:$AI154))/SUM(IF($R154:$AI154<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R154:$AI154))/SUM(IF($R154:$AI154<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK154:$AN154))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK154:$AN154))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP154:$AU154))/SUM(IF($AP154:$AU154<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP154:$AU154))/SUM(IF($AP154:$AU154<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R154:$AU154))/SUM(IF($R154:$AU154<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R154:$AU154))/SUM(IF($R154:$AU154<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK154:$AU154))/SUM(IF($AK154:$AU154<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK154:$AU154))/SUM(IF($AK154:$AU154<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D154=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU154>0,'Calculator Table'!BT154>0),\"Z-ERROR\",IF('Calculator Table'!BU154>0,\"X\",IF('Calculator Table'!BV154>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA154,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA154,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB154,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB154,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ154,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ154,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR154,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR154,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS154,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS154,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT154,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT154,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU154,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU154,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV154,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV154,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW154,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW154,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX154,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX154,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY154,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY154,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ154,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ154,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC154,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC154,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD154,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD154,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG154,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG154,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH154,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH154,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE154,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE154,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF154,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF154,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK154,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK154,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL154,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL154,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI154,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI154,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ154,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ154,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q154=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R154:$AU154<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C155","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R155:$AI155))/SUM(IF($R155:$AI155<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R155:$AI155))/SUM(IF($R155:$AI155<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK155:$AN155))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK155:$AN155))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP155:$AU155))/SUM(IF($AP155:$AU155<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP155:$AU155))/SUM(IF($AP155:$AU155<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R155:$AU155))/SUM(IF($R155:$AU155<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R155:$AU155))/SUM(IF($R155:$AU155<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK155:$AU155))/SUM(IF($AK155:$AU155<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK155:$AU155))/SUM(IF($AK155:$AU155<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D155=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU155>0,'Calculator Table'!BT155>0),\"Z-ERROR\",IF('Calculator Table'!BU155>0,\"X\",IF('Calculator Table'!BV155>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA155,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA155,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB155,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB155,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ155,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ155,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR155,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR155,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS155,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS155,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT155,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT155,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU155,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU155,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV155,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV155,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW155,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW155,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX155,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX155,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY155,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY155,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ155,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ155,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC155,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC155,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD155,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD155,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG155,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG155,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH155,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH155,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE155,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE155,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF155,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF155,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK155,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK155,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL155,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL155,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI155,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI155,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ155,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ155,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q155=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R155:$AU155<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C156","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R156:$AI156))/SUM(IF($R156:$AI156<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R156:$AI156))/SUM(IF($R156:$AI156<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK156:$AN156))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK156:$AN156))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP156:$AU156))/SUM(IF($AP156:$AU156<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP156:$AU156))/SUM(IF($AP156:$AU156<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R156:$AU156))/SUM(IF($R156:$AU156<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R156:$AU156))/SUM(IF($R156:$AU156<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK156:$AU156))/SUM(IF($AK156:$AU156<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK156:$AU156))/SUM(IF($AK156:$AU156<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D156=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU156>0,'Calculator Table'!BT156>0),\"Z-ERROR\",IF('Calculator Table'!BU156>0,\"X\",IF('Calculator Table'!BV156>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA156,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA156,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB156,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB156,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ156,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ156,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR156,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR156,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS156,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS156,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT156,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT156,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU156,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU156,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV156,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV156,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW156,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW156,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX156,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX156,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY156,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY156,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ156,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ156,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC156,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC156,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD156,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD156,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG156,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG156,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH156,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH156,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE156,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE156,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF156,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF156,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK156,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK156,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL156,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL156,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI156,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI156,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ156,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ156,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q156=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R156:$AU156<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C157","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R157:$AI157))/SUM(IF($R157:$AI157<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R157:$AI157))/SUM(IF($R157:$AI157<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK157:$AN157))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK157:$AN157))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP157:$AU157))/SUM(IF($AP157:$AU157<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP157:$AU157))/SUM(IF($AP157:$AU157<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R157:$AU157))/SUM(IF($R157:$AU157<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R157:$AU157))/SUM(IF($R157:$AU157<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK157:$AU157))/SUM(IF($AK157:$AU157<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK157:$AU157))/SUM(IF($AK157:$AU157<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D157=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU157>0,'Calculator Table'!BT157>0),\"Z-ERROR\",IF('Calculator Table'!BU157>0,\"X\",IF('Calculator Table'!BV157>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA157,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA157,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB157,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB157,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ157,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ157,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR157,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR157,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS157,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS157,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT157,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT157,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU157,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU157,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV157,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV157,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW157,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW157,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX157,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX157,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY157,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY157,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ157,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ157,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC157,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC157,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD157,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD157,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG157,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG157,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH157,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH157,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE157,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE157,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF157,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF157,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK157,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK157,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL157,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL157,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI157,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI157,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ157,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ157,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q157=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R157:$AU157<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C158","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R158:$AI158))/SUM(IF($R158:$AI158<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R158:$AI158))/SUM(IF($R158:$AI158<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK158:$AN158))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK158:$AN158))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP158:$AU158))/SUM(IF($AP158:$AU158<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP158:$AU158))/SUM(IF($AP158:$AU158<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R158:$AU158))/SUM(IF($R158:$AU158<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R158:$AU158))/SUM(IF($R158:$AU158<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK158:$AU158))/SUM(IF($AK158:$AU158<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK158:$AU158))/SUM(IF($AK158:$AU158<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D158=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU158>0,'Calculator Table'!BT158>0),\"Z-ERROR\",IF('Calculator Table'!BU158>0,\"X\",IF('Calculator Table'!BV158>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA158,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA158,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB158,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB158,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ158,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ158,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR158,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR158,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS158,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS158,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT158,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT158,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU158,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU158,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV158,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV158,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW158,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW158,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX158,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX158,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY158,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY158,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ158,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ158,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC158,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC158,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD158,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD158,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG158,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG158,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH158,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH158,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE158,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE158,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF158,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF158,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK158,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK158,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL158,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL158,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI158,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI158,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ158,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ158,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q158=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R158:$AU158<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C159","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R159:$AI159))/SUM(IF($R159:$AI159<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R159:$AI159))/SUM(IF($R159:$AI159<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK159:$AN159))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK159:$AN159))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP159:$AU159))/SUM(IF($AP159:$AU159<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP159:$AU159))/SUM(IF($AP159:$AU159<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R159:$AU159))/SUM(IF($R159:$AU159<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R159:$AU159))/SUM(IF($R159:$AU159<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK159:$AU159))/SUM(IF($AK159:$AU159<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK159:$AU159))/SUM(IF($AK159:$AU159<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D159=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU159>0,'Calculator Table'!BT159>0),\"Z-ERROR\",IF('Calculator Table'!BU159>0,\"X\",IF('Calculator Table'!BV159>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA159,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA159,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB159,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB159,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ159,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ159,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR159,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR159,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS159,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS159,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT159,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT159,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU159,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU159,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV159,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV159,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW159,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW159,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX159,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX159,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY159,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY159,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ159,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ159,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC159,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC159,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD159,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD159,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG159,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG159,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH159,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH159,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE159,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE159,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF159,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF159,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK159,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK159,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL159,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL159,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI159,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI159,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ159,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ159,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q159=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R159:$AU159<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C160","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R160:$AI160))/SUM(IF($R160:$AI160<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R160:$AI160))/SUM(IF($R160:$AI160<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK160:$AN160))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK160:$AN160))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP160:$AU160))/SUM(IF($AP160:$AU160<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP160:$AU160))/SUM(IF($AP160:$AU160<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R160:$AU160))/SUM(IF($R160:$AU160<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R160:$AU160))/SUM(IF($R160:$AU160<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK160:$AU160))/SUM(IF($AK160:$AU160<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK160:$AU160))/SUM(IF($AK160:$AU160<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D160=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU160>0,'Calculator Table'!BT160>0),\"Z-ERROR\",IF('Calculator Table'!BU160>0,\"X\",IF('Calculator Table'!BV160>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA160,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA160,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB160,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB160,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ160,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ160,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR160,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR160,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS160,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS160,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT160,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT160,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU160,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU160,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV160,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV160,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW160,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW160,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX160,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX160,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY160,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY160,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ160,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ160,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC160,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC160,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD160,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD160,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG160,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG160,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH160,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH160,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE160,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE160,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF160,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF160,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK160,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK160,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL160,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL160,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI160,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI160,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ160,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ160,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q160=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R160:$AU160<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C161","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R161:$AI161))/SUM(IF($R161:$AI161<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R161:$AI161))/SUM(IF($R161:$AI161<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK161:$AN161))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK161:$AN161))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP161:$AU161))/SUM(IF($AP161:$AU161<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP161:$AU161))/SUM(IF($AP161:$AU161<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R161:$AU161))/SUM(IF($R161:$AU161<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R161:$AU161))/SUM(IF($R161:$AU161<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK161:$AU161))/SUM(IF($AK161:$AU161<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK161:$AU161))/SUM(IF($AK161:$AU161<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D161=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU161>0,'Calculator Table'!BT161>0),\"Z-ERROR\",IF('Calculator Table'!BU161>0,\"X\",IF('Calculator Table'!BV161>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA161,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA161,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB161,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB161,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ161,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ161,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR161,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR161,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS161,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS161,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT161,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT161,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU161,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU161,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV161,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV161,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW161,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW161,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX161,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX161,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY161,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY161,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ161,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ161,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC161,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC161,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD161,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD161,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG161,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG161,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH161,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH161,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE161,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE161,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF161,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF161,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK161,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK161,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL161,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL161,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI161,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI161,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ161,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ161,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q161=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R161:$AU161<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C162","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R162:$AI162))/SUM(IF($R162:$AI162<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R162:$AI162))/SUM(IF($R162:$AI162<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK162:$AN162))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK162:$AN162))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP162:$AU162))/SUM(IF($AP162:$AU162<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP162:$AU162))/SUM(IF($AP162:$AU162<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R162:$AU162))/SUM(IF($R162:$AU162<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R162:$AU162))/SUM(IF($R162:$AU162<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK162:$AU162))/SUM(IF($AK162:$AU162<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK162:$AU162))/SUM(IF($AK162:$AU162<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D162=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU162>0,'Calculator Table'!BT162>0),\"Z-ERROR\",IF('Calculator Table'!BU162>0,\"X\",IF('Calculator Table'!BV162>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA162,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA162,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB162,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB162,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ162,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ162,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR162,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR162,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS162,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS162,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT162,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT162,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU162,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU162,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV162,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV162,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW162,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW162,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX162,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX162,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY162,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY162,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ162,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ162,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC162,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC162,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD162,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD162,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG162,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG162,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH162,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH162,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE162,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE162,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF162,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF162,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK162,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK162,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL162,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL162,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI162,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI162,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ162,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ162,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q162=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R162:$AU162<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C163","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R163:$AI163))/SUM(IF($R163:$AI163<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R163:$AI163))/SUM(IF($R163:$AI163<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK163:$AN163))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK163:$AN163))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP163:$AU163))/SUM(IF($AP163:$AU163<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP163:$AU163))/SUM(IF($AP163:$AU163<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R163:$AU163))/SUM(IF($R163:$AU163<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R163:$AU163))/SUM(IF($R163:$AU163<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK163:$AU163))/SUM(IF($AK163:$AU163<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK163:$AU163))/SUM(IF($AK163:$AU163<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D163=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU163>0,'Calculator Table'!BT163>0),\"Z-ERROR\",IF('Calculator Table'!BU163>0,\"X\",IF('Calculator Table'!BV163>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA163,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA163,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB163,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB163,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ163,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ163,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR163,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR163,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS163,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS163,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT163,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT163,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU163,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU163,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV163,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV163,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW163,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW163,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX163,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX163,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY163,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY163,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ163,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ163,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC163,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC163,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD163,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD163,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG163,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG163,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH163,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH163,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE163,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE163,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF163,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF163,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK163,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK163,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL163,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL163,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI163,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI163,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ163,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ163,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q163=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R163:$AU163<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C164","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R164:$AI164))/SUM(IF($R164:$AI164<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R164:$AI164))/SUM(IF($R164:$AI164<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK164:$AN164))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK164:$AN164))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP164:$AU164))/SUM(IF($AP164:$AU164<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP164:$AU164))/SUM(IF($AP164:$AU164<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R164:$AU164))/SUM(IF($R164:$AU164<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R164:$AU164))/SUM(IF($R164:$AU164<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK164:$AU164))/SUM(IF($AK164:$AU164<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK164:$AU164))/SUM(IF($AK164:$AU164<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D164=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU164>0,'Calculator Table'!BT164>0),\"Z-ERROR\",IF('Calculator Table'!BU164>0,\"X\",IF('Calculator Table'!BV164>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA164,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA164,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB164,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB164,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ164,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ164,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR164,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR164,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS164,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS164,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT164,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT164,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU164,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU164,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV164,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV164,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW164,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW164,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX164,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX164,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY164,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY164,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ164,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ164,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC164,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC164,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD164,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD164,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG164,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG164,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH164,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH164,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE164,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE164,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF164,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF164,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK164,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK164,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL164,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL164,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI164,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI164,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ164,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ164,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q164=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R164:$AU164<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C165","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R165:$AI165))/SUM(IF($R165:$AI165<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R165:$AI165))/SUM(IF($R165:$AI165<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK165:$AN165))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK165:$AN165))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP165:$AU165))/SUM(IF($AP165:$AU165<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP165:$AU165))/SUM(IF($AP165:$AU165<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R165:$AU165))/SUM(IF($R165:$AU165<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R165:$AU165))/SUM(IF($R165:$AU165<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK165:$AU165))/SUM(IF($AK165:$AU165<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK165:$AU165))/SUM(IF($AK165:$AU165<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D165=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU165>0,'Calculator Table'!BT165>0),\"Z-ERROR\",IF('Calculator Table'!BU165>0,\"X\",IF('Calculator Table'!BV165>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA165,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA165,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB165,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB165,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ165,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ165,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR165,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR165,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS165,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS165,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT165,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT165,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU165,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU165,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV165,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV165,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW165,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW165,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX165,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX165,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY165,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY165,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ165,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ165,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC165,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC165,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD165,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD165,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG165,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG165,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH165,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH165,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE165,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE165,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF165,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF165,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK165,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK165,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL165,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL165,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI165,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI165,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ165,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ165,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q165=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R165:$AU165<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C166","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R166:$AI166))/SUM(IF($R166:$AI166<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R166:$AI166))/SUM(IF($R166:$AI166<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK166:$AN166))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK166:$AN166))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP166:$AU166))/SUM(IF($AP166:$AU166<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP166:$AU166))/SUM(IF($AP166:$AU166<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R166:$AU166))/SUM(IF($R166:$AU166<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R166:$AU166))/SUM(IF($R166:$AU166<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK166:$AU166))/SUM(IF($AK166:$AU166<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK166:$AU166))/SUM(IF($AK166:$AU166<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D166=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU166>0,'Calculator Table'!BT166>0),\"Z-ERROR\",IF('Calculator Table'!BU166>0,\"X\",IF('Calculator Table'!BV166>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA166,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA166,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB166,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB166,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ166,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ166,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR166,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR166,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS166,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS166,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT166,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT166,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU166,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU166,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV166,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV166,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW166,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW166,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX166,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX166,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY166,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY166,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ166,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ166,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC166,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC166,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD166,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD166,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG166,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG166,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH166,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH166,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE166,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE166,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF166,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF166,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK166,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK166,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL166,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL166,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI166,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI166,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ166,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ166,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q166=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R166:$AU166<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C167","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R167:$AI167))/SUM(IF($R167:$AI167<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R167:$AI167))/SUM(IF($R167:$AI167<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK167:$AN167))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK167:$AN167))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP167:$AU167))/SUM(IF($AP167:$AU167<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP167:$AU167))/SUM(IF($AP167:$AU167<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R167:$AU167))/SUM(IF($R167:$AU167<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R167:$AU167))/SUM(IF($R167:$AU167<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK167:$AU167))/SUM(IF($AK167:$AU167<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK167:$AU167))/SUM(IF($AK167:$AU167<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D167=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU167>0,'Calculator Table'!BT167>0),\"Z-ERROR\",IF('Calculator Table'!BU167>0,\"X\",IF('Calculator Table'!BV167>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA167,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA167,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB167,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB167,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ167,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ167,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR167,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR167,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS167,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS167,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT167,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT167,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU167,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU167,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV167,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV167,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW167,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW167,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX167,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX167,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY167,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY167,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ167,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ167,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC167,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC167,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD167,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD167,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG167,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG167,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH167,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH167,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE167,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE167,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF167,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF167,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK167,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK167,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL167,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL167,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI167,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI167,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ167,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ167,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q167=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R167:$AU167<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C168","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R168:$AI168))/SUM(IF($R168:$AI168<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R168:$AI168))/SUM(IF($R168:$AI168<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK168:$AN168))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK168:$AN168))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP168:$AU168))/SUM(IF($AP168:$AU168<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP168:$AU168))/SUM(IF($AP168:$AU168<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R168:$AU168))/SUM(IF($R168:$AU168<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R168:$AU168))/SUM(IF($R168:$AU168<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK168:$AU168))/SUM(IF($AK168:$AU168<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK168:$AU168))/SUM(IF($AK168:$AU168<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D168=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU168>0,'Calculator Table'!BT168>0),\"Z-ERROR\",IF('Calculator Table'!BU168>0,\"X\",IF('Calculator Table'!BV168>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA168,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA168,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB168,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB168,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ168,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ168,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR168,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR168,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS168,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS168,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT168,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT168,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU168,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU168,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV168,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV168,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW168,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW168,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX168,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX168,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY168,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY168,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ168,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ168,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC168,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC168,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD168,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD168,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG168,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG168,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH168,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH168,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE168,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE168,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF168,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF168,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK168,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK168,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL168,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL168,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI168,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI168,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ168,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ168,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q168=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R168:$AU168<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C169","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R169:$AI169))/SUM(IF($R169:$AI169<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R169:$AI169))/SUM(IF($R169:$AI169<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK169:$AN169))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK169:$AN169))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP169:$AU169))/SUM(IF($AP169:$AU169<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP169:$AU169))/SUM(IF($AP169:$AU169<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R169:$AU169))/SUM(IF($R169:$AU169<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R169:$AU169))/SUM(IF($R169:$AU169<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK169:$AU169))/SUM(IF($AK169:$AU169<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK169:$AU169))/SUM(IF($AK169:$AU169<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D169=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU169>0,'Calculator Table'!BT169>0),\"Z-ERROR\",IF('Calculator Table'!BU169>0,\"X\",IF('Calculator Table'!BV169>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA169,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA169,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB169,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB169,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ169,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ169,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR169,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR169,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS169,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS169,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT169,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT169,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU169,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU169,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV169,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV169,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW169,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW169,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX169,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX169,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY169,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY169,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ169,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ169,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC169,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC169,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD169,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD169,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG169,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG169,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH169,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH169,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE169,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE169,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF169,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF169,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK169,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK169,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL169,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL169,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI169,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI169,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ169,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ169,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q169=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R169:$AU169<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C170","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R170:$AI170))/SUM(IF($R170:$AI170<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R170:$AI170))/SUM(IF($R170:$AI170<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK170:$AN170))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK170:$AN170))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP170:$AU170))/SUM(IF($AP170:$AU170<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP170:$AU170))/SUM(IF($AP170:$AU170<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R170:$AU170))/SUM(IF($R170:$AU170<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R170:$AU170))/SUM(IF($R170:$AU170<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK170:$AU170))/SUM(IF($AK170:$AU170<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK170:$AU170))/SUM(IF($AK170:$AU170<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D170=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU170>0,'Calculator Table'!BT170>0),\"Z-ERROR\",IF('Calculator Table'!BU170>0,\"X\",IF('Calculator Table'!BV170>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA170,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA170,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB170,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB170,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ170,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ170,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR170,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR170,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS170,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS170,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT170,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT170,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU170,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU170,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV170,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV170,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW170,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW170,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX170,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX170,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY170,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY170,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ170,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ170,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC170,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC170,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD170,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD170,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG170,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG170,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH170,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH170,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE170,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE170,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF170,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF170,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK170,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK170,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL170,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL170,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI170,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI170,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ170,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ170,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q170=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R170:$AU170<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C171","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R171:$AI171))/SUM(IF($R171:$AI171<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R171:$AI171))/SUM(IF($R171:$AI171<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK171:$AN171))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK171:$AN171))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP171:$AU171))/SUM(IF($AP171:$AU171<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP171:$AU171))/SUM(IF($AP171:$AU171<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R171:$AU171))/SUM(IF($R171:$AU171<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R171:$AU171))/SUM(IF($R171:$AU171<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK171:$AU171))/SUM(IF($AK171:$AU171<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK171:$AU171))/SUM(IF($AK171:$AU171<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D171=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU171>0,'Calculator Table'!BT171>0),\"Z-ERROR\",IF('Calculator Table'!BU171>0,\"X\",IF('Calculator Table'!BV171>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA171,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA171,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB171,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB171,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ171,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ171,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR171,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR171,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS171,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS171,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT171,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT171,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU171,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU171,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV171,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV171,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW171,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW171,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX171,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX171,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY171,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY171,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ171,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ171,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC171,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC171,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD171,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD171,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG171,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG171,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH171,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH171,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE171,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE171,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF171,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF171,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK171,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK171,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL171,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL171,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI171,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI171,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ171,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ171,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q171=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R171:$AU171<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C172","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R172:$AI172))/SUM(IF($R172:$AI172<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R172:$AI172))/SUM(IF($R172:$AI172<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK172:$AN172))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK172:$AN172))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP172:$AU172))/SUM(IF($AP172:$AU172<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP172:$AU172))/SUM(IF($AP172:$AU172<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R172:$AU172))/SUM(IF($R172:$AU172<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R172:$AU172))/SUM(IF($R172:$AU172<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK172:$AU172))/SUM(IF($AK172:$AU172<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK172:$AU172))/SUM(IF($AK172:$AU172<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D172=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU172>0,'Calculator Table'!BT172>0),\"Z-ERROR\",IF('Calculator Table'!BU172>0,\"X\",IF('Calculator Table'!BV172>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA172,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA172,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB172,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB172,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ172,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ172,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR172,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR172,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS172,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS172,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT172,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT172,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU172,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU172,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV172,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV172,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW172,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW172,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX172,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX172,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY172,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY172,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ172,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ172,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC172,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC172,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD172,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD172,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG172,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG172,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH172,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH172,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE172,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE172,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF172,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF172,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK172,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK172,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL172,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL172,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI172,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI172,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ172,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ172,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q172=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R172:$AU172<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C173","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R173:$AI173))/SUM(IF($R173:$AI173<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R173:$AI173))/SUM(IF($R173:$AI173<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK173:$AN173))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK173:$AN173))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP173:$AU173))/SUM(IF($AP173:$AU173<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP173:$AU173))/SUM(IF($AP173:$AU173<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R173:$AU173))/SUM(IF($R173:$AU173<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R173:$AU173))/SUM(IF($R173:$AU173<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK173:$AU173))/SUM(IF($AK173:$AU173<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK173:$AU173))/SUM(IF($AK173:$AU173<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D173=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU173>0,'Calculator Table'!BT173>0),\"Z-ERROR\",IF('Calculator Table'!BU173>0,\"X\",IF('Calculator Table'!BV173>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA173,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA173,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB173,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB173,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ173,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ173,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR173,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR173,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS173,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS173,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT173,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT173,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU173,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU173,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV173,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV173,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW173,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW173,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX173,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX173,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY173,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY173,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ173,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ173,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC173,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC173,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD173,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD173,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG173,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG173,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH173,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH173,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE173,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE173,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF173,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF173,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK173,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK173,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL173,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL173,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI173,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI173,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ173,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ173,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q173=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R173:$AU173<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C174","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R174:$AI174))/SUM(IF($R174:$AI174<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R174:$AI174))/SUM(IF($R174:$AI174<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK174:$AN174))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK174:$AN174))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP174:$AU174))/SUM(IF($AP174:$AU174<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP174:$AU174))/SUM(IF($AP174:$AU174<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R174:$AU174))/SUM(IF($R174:$AU174<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R174:$AU174))/SUM(IF($R174:$AU174<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK174:$AU174))/SUM(IF($AK174:$AU174<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK174:$AU174))/SUM(IF($AK174:$AU174<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D174=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU174>0,'Calculator Table'!BT174>0),\"Z-ERROR\",IF('Calculator Table'!BU174>0,\"X\",IF('Calculator Table'!BV174>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA174,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA174,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB174,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB174,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ174,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ174,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR174,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR174,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS174,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS174,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT174,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT174,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU174,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU174,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV174,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV174,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW174,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW174,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX174,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX174,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY174,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY174,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ174,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ174,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC174,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC174,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD174,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD174,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG174,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG174,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH174,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH174,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE174,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE174,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF174,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF174,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK174,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK174,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL174,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL174,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI174,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI174,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ174,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ174,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q174=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R174:$AU174<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C175","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R175:$AI175))/SUM(IF($R175:$AI175<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R175:$AI175))/SUM(IF($R175:$AI175<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK175:$AN175))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK175:$AN175))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP175:$AU175))/SUM(IF($AP175:$AU175<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP175:$AU175))/SUM(IF($AP175:$AU175<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R175:$AU175))/SUM(IF($R175:$AU175<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R175:$AU175))/SUM(IF($R175:$AU175<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK175:$AU175))/SUM(IF($AK175:$AU175<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK175:$AU175))/SUM(IF($AK175:$AU175<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D175=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU175>0,'Calculator Table'!BT175>0),\"Z-ERROR\",IF('Calculator Table'!BU175>0,\"X\",IF('Calculator Table'!BV175>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA175,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA175,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB175,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB175,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ175,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ175,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR175,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR175,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS175,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS175,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT175,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT175,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU175,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU175,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV175,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV175,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW175,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW175,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX175,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX175,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY175,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY175,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ175,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ175,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC175,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC175,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD175,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD175,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG175,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG175,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH175,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH175,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE175,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE175,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF175,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF175,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK175,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK175,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL175,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL175,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI175,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI175,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ175,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ175,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q175=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R175:$AU175<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C176","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R176:$AI176))/SUM(IF($R176:$AI176<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R176:$AI176))/SUM(IF($R176:$AI176<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK176:$AN176))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK176:$AN176))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP176:$AU176))/SUM(IF($AP176:$AU176<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP176:$AU176))/SUM(IF($AP176:$AU176<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R176:$AU176))/SUM(IF($R176:$AU176<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R176:$AU176))/SUM(IF($R176:$AU176<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK176:$AU176))/SUM(IF($AK176:$AU176<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK176:$AU176))/SUM(IF($AK176:$AU176<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D176=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU176>0,'Calculator Table'!BT176>0),\"Z-ERROR\",IF('Calculator Table'!BU176>0,\"X\",IF('Calculator Table'!BV176>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA176,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA176,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB176,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB176,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ176,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ176,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR176,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR176,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS176,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS176,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT176,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT176,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU176,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU176,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV176,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV176,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW176,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW176,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX176,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX176,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY176,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY176,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ176,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ176,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC176,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC176,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD176,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD176,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG176,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG176,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH176,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH176,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE176,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE176,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF176,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF176,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK176,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK176,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL176,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL176,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI176,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI176,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ176,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ176,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q176=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R176:$AU176<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C177","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R177:$AI177))/SUM(IF($R177:$AI177<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R177:$AI177))/SUM(IF($R177:$AI177<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK177:$AN177))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK177:$AN177))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP177:$AU177))/SUM(IF($AP177:$AU177<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP177:$AU177))/SUM(IF($AP177:$AU177<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R177:$AU177))/SUM(IF($R177:$AU177<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R177:$AU177))/SUM(IF($R177:$AU177<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK177:$AU177))/SUM(IF($AK177:$AU177<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK177:$AU177))/SUM(IF($AK177:$AU177<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D177=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU177>0,'Calculator Table'!BT177>0),\"Z-ERROR\",IF('Calculator Table'!BU177>0,\"X\",IF('Calculator Table'!BV177>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA177,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA177,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB177,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB177,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ177,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ177,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR177,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR177,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS177,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS177,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT177,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT177,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU177,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU177,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV177,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV177,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW177,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW177,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX177,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX177,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY177,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY177,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ177,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ177,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC177,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC177,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD177,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD177,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG177,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG177,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH177,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH177,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE177,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE177,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF177,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF177,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK177,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK177,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL177,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL177,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI177,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI177,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ177,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ177,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q177=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R177:$AU177<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C178","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R178:$AI178))/SUM(IF($R178:$AI178<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R178:$AI178))/SUM(IF($R178:$AI178<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK178:$AN178))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK178:$AN178))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP178:$AU178))/SUM(IF($AP178:$AU178<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP178:$AU178))/SUM(IF($AP178:$AU178<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R178:$AU178))/SUM(IF($R178:$AU178<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R178:$AU178))/SUM(IF($R178:$AU178<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK178:$AU178))/SUM(IF($AK178:$AU178<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK178:$AU178))/SUM(IF($AK178:$AU178<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D178=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU178>0,'Calculator Table'!BT178>0),\"Z-ERROR\",IF('Calculator Table'!BU178>0,\"X\",IF('Calculator Table'!BV178>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA178,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA178,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB178,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB178,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ178,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ178,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR178,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR178,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS178,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS178,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT178,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT178,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU178,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU178,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV178,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV178,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW178,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW178,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX178,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX178,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY178,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY178,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ178,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ178,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC178,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC178,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD178,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD178,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG178,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG178,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH178,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH178,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE178,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE178,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF178,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF178,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK178,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK178,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL178,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL178,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI178,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI178,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ178,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ178,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q178=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R178:$AU178<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C179","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R179:$AI179))/SUM(IF($R179:$AI179<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R179:$AI179))/SUM(IF($R179:$AI179<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK179:$AN179))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK179:$AN179))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP179:$AU179))/SUM(IF($AP179:$AU179<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP179:$AU179))/SUM(IF($AP179:$AU179<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R179:$AU179))/SUM(IF($R179:$AU179<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R179:$AU179))/SUM(IF($R179:$AU179<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK179:$AU179))/SUM(IF($AK179:$AU179<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK179:$AU179))/SUM(IF($AK179:$AU179<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D179=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU179>0,'Calculator Table'!BT179>0),\"Z-ERROR\",IF('Calculator Table'!BU179>0,\"X\",IF('Calculator Table'!BV179>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA179,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA179,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB179,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB179,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ179,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ179,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR179,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR179,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS179,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS179,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT179,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT179,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU179,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU179,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV179,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV179,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW179,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW179,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX179,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX179,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY179,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY179,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ179,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ179,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC179,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC179,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD179,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD179,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG179,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG179,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH179,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH179,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE179,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE179,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF179,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF179,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK179,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK179,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL179,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL179,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI179,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI179,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ179,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ179,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q179=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R179:$AU179<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C180","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R180:$AI180))/SUM(IF($R180:$AI180<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R180:$AI180))/SUM(IF($R180:$AI180<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK180:$AN180))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK180:$AN180))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP180:$AU180))/SUM(IF($AP180:$AU180<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP180:$AU180))/SUM(IF($AP180:$AU180<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R180:$AU180))/SUM(IF($R180:$AU180<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R180:$AU180))/SUM(IF($R180:$AU180<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK180:$AU180))/SUM(IF($AK180:$AU180<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK180:$AU180))/SUM(IF($AK180:$AU180<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D180=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU180>0,'Calculator Table'!BT180>0),\"Z-ERROR\",IF('Calculator Table'!BU180>0,\"X\",IF('Calculator Table'!BV180>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA180,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA180,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB180,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB180,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ180,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ180,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR180,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR180,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS180,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS180,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT180,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT180,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU180,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU180,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV180,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV180,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW180,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW180,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX180,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX180,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY180,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY180,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ180,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ180,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC180,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC180,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD180,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD180,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG180,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG180,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH180,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH180,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE180,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE180,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF180,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF180,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK180,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK180,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL180,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL180,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI180,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI180,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ180,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ180,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q180=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R180:$AU180<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C181","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R181:$AI181))/SUM(IF($R181:$AI181<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R181:$AI181))/SUM(IF($R181:$AI181<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK181:$AN181))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK181:$AN181))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP181:$AU181))/SUM(IF($AP181:$AU181<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP181:$AU181))/SUM(IF($AP181:$AU181<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R181:$AU181))/SUM(IF($R181:$AU181<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R181:$AU181))/SUM(IF($R181:$AU181<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK181:$AU181))/SUM(IF($AK181:$AU181<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK181:$AU181))/SUM(IF($AK181:$AU181<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D181=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU181>0,'Calculator Table'!BT181>0),\"Z-ERROR\",IF('Calculator Table'!BU181>0,\"X\",IF('Calculator Table'!BV181>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA181,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA181,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB181,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB181,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ181,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ181,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR181,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR181,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS181,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS181,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT181,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT181,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU181,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU181,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV181,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV181,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW181,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW181,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX181,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX181,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY181,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY181,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ181,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ181,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC181,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC181,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD181,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD181,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG181,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG181,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH181,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH181,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE181,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE181,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF181,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF181,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK181,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK181,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL181,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL181,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI181,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI181,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ181,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ181,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q181=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R181:$AU181<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C182","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R182:$AI182))/SUM(IF($R182:$AI182<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R182:$AI182))/SUM(IF($R182:$AI182<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK182:$AN182))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK182:$AN182))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP182:$AU182))/SUM(IF($AP182:$AU182<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP182:$AU182))/SUM(IF($AP182:$AU182<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R182:$AU182))/SUM(IF($R182:$AU182<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R182:$AU182))/SUM(IF($R182:$AU182<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK182:$AU182))/SUM(IF($AK182:$AU182<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK182:$AU182))/SUM(IF($AK182:$AU182<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D182=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU182>0,'Calculator Table'!BT182>0),\"Z-ERROR\",IF('Calculator Table'!BU182>0,\"X\",IF('Calculator Table'!BV182>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA182,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA182,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB182,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB182,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ182,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ182,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR182,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR182,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS182,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS182,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT182,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT182,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU182,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU182,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV182,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV182,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW182,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW182,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX182,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX182,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY182,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY182,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ182,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ182,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC182,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC182,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD182,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD182,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG182,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG182,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH182,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH182,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE182,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE182,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF182,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF182,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK182,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK182,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL182,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL182,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI182,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI182,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ182,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ182,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q182=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R182:$AU182<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C183","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R183:$AI183))/SUM(IF($R183:$AI183<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R183:$AI183))/SUM(IF($R183:$AI183<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK183:$AN183))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK183:$AN183))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP183:$AU183))/SUM(IF($AP183:$AU183<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP183:$AU183))/SUM(IF($AP183:$AU183<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R183:$AU183))/SUM(IF($R183:$AU183<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R183:$AU183))/SUM(IF($R183:$AU183<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK183:$AU183))/SUM(IF($AK183:$AU183<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK183:$AU183))/SUM(IF($AK183:$AU183<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D183=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU183>0,'Calculator Table'!BT183>0),\"Z-ERROR\",IF('Calculator Table'!BU183>0,\"X\",IF('Calculator Table'!BV183>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA183,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA183,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB183,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB183,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ183,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ183,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR183,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR183,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS183,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS183,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT183,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT183,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU183,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU183,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV183,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV183,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW183,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW183,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX183,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX183,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY183,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY183,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ183,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ183,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC183,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC183,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD183,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD183,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG183,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG183,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH183,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH183,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE183,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE183,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF183,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF183,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK183,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK183,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL183,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL183,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI183,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI183,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ183,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ183,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q183=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R183:$AU183<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C184","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R184:$AI184))/SUM(IF($R184:$AI184<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R184:$AI184))/SUM(IF($R184:$AI184<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK184:$AN184))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK184:$AN184))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP184:$AU184))/SUM(IF($AP184:$AU184<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP184:$AU184))/SUM(IF($AP184:$AU184<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R184:$AU184))/SUM(IF($R184:$AU184<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R184:$AU184))/SUM(IF($R184:$AU184<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK184:$AU184))/SUM(IF($AK184:$AU184<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK184:$AU184))/SUM(IF($AK184:$AU184<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D184=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU184>0,'Calculator Table'!BT184>0),\"Z-ERROR\",IF('Calculator Table'!BU184>0,\"X\",IF('Calculator Table'!BV184>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA184,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA184,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB184,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB184,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ184,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ184,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR184,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR184,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS184,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS184,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT184,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT184,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU184,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU184,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV184,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV184,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW184,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW184,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX184,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX184,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY184,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY184,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ184,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ184,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC184,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC184,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD184,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD184,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG184,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG184,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH184,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH184,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE184,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE184,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF184,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF184,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK184,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK184,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL184,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL184,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI184,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI184,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ184,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ184,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q184=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R184:$AU184<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C185","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R185:$AI185))/SUM(IF($R185:$AI185<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R185:$AI185))/SUM(IF($R185:$AI185<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK185:$AN185))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK185:$AN185))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP185:$AU185))/SUM(IF($AP185:$AU185<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP185:$AU185))/SUM(IF($AP185:$AU185<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R185:$AU185))/SUM(IF($R185:$AU185<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R185:$AU185))/SUM(IF($R185:$AU185<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK185:$AU185))/SUM(IF($AK185:$AU185<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK185:$AU185))/SUM(IF($AK185:$AU185<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D185=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU185>0,'Calculator Table'!BT185>0),\"Z-ERROR\",IF('Calculator Table'!BU185>0,\"X\",IF('Calculator Table'!BV185>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA185,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA185,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB185,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB185,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ185,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ185,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR185,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR185,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS185,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS185,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT185,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT185,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU185,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU185,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV185,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV185,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW185,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW185,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX185,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX185,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY185,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY185,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ185,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ185,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC185,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC185,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD185,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD185,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG185,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG185,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH185,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH185,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE185,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE185,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF185,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF185,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK185,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK185,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL185,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL185,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI185,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI185,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ185,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ185,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q185=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R185:$AU185<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C186","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R186:$AI186))/SUM(IF($R186:$AI186<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R186:$AI186))/SUM(IF($R186:$AI186<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK186:$AN186))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK186:$AN186))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP186:$AU186))/SUM(IF($AP186:$AU186<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP186:$AU186))/SUM(IF($AP186:$AU186<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R186:$AU186))/SUM(IF($R186:$AU186<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R186:$AU186))/SUM(IF($R186:$AU186<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK186:$AU186))/SUM(IF($AK186:$AU186<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK186:$AU186))/SUM(IF($AK186:$AU186<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D186=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU186>0,'Calculator Table'!BT186>0),\"Z-ERROR\",IF('Calculator Table'!BU186>0,\"X\",IF('Calculator Table'!BV186>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA186,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA186,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB186,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB186,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ186,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ186,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR186,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR186,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS186,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS186,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT186,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT186,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU186,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU186,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV186,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV186,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW186,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW186,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX186,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX186,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY186,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY186,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ186,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ186,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC186,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC186,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD186,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD186,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG186,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG186,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH186,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH186,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE186,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE186,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF186,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF186,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK186,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK186,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL186,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL186,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI186,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI186,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ186,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ186,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q186=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R186:$AU186<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C187","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R187:$AI187))/SUM(IF($R187:$AI187<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R187:$AI187))/SUM(IF($R187:$AI187<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK187:$AN187))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK187:$AN187))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP187:$AU187))/SUM(IF($AP187:$AU187<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP187:$AU187))/SUM(IF($AP187:$AU187<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R187:$AU187))/SUM(IF($R187:$AU187<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R187:$AU187))/SUM(IF($R187:$AU187<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK187:$AU187))/SUM(IF($AK187:$AU187<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK187:$AU187))/SUM(IF($AK187:$AU187<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D187=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU187>0,'Calculator Table'!BT187>0),\"Z-ERROR\",IF('Calculator Table'!BU187>0,\"X\",IF('Calculator Table'!BV187>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA187,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA187,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB187,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB187,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ187,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ187,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR187,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR187,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS187,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS187,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT187,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT187,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU187,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU187,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV187,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV187,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW187,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW187,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX187,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX187,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY187,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY187,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ187,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ187,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC187,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC187,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD187,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD187,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG187,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG187,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH187,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH187,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE187,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE187,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF187,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF187,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK187,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK187,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL187,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL187,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI187,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI187,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ187,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ187,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q187=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R187:$AU187<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C188","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R188:$AI188))/SUM(IF($R188:$AI188<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R188:$AI188))/SUM(IF($R188:$AI188<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK188:$AN188))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK188:$AN188))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP188:$AU188))/SUM(IF($AP188:$AU188<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP188:$AU188))/SUM(IF($AP188:$AU188<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R188:$AU188))/SUM(IF($R188:$AU188<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R188:$AU188))/SUM(IF($R188:$AU188<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK188:$AU188))/SUM(IF($AK188:$AU188<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK188:$AU188))/SUM(IF($AK188:$AU188<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D188=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU188>0,'Calculator Table'!BT188>0),\"Z-ERROR\",IF('Calculator Table'!BU188>0,\"X\",IF('Calculator Table'!BV188>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA188,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA188,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB188,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB188,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ188,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ188,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR188,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR188,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS188,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS188,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT188,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT188,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU188,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU188,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV188,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV188,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW188,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW188,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX188,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX188,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY188,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY188,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ188,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ188,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC188,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC188,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD188,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD188,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG188,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG188,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH188,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH188,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE188,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE188,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF188,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF188,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK188,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK188,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL188,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL188,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI188,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI188,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ188,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ188,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q188=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R188:$AU188<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C189","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R189:$AI189))/SUM(IF($R189:$AI189<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R189:$AI189))/SUM(IF($R189:$AI189<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK189:$AN189))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK189:$AN189))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP189:$AU189))/SUM(IF($AP189:$AU189<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP189:$AU189))/SUM(IF($AP189:$AU189<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R189:$AU189))/SUM(IF($R189:$AU189<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R189:$AU189))/SUM(IF($R189:$AU189<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK189:$AU189))/SUM(IF($AK189:$AU189<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK189:$AU189))/SUM(IF($AK189:$AU189<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D189=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU189>0,'Calculator Table'!BT189>0),\"Z-ERROR\",IF('Calculator Table'!BU189>0,\"X\",IF('Calculator Table'!BV189>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA189,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA189,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB189,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB189,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ189,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ189,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR189,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR189,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS189,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS189,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT189,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT189,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU189,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU189,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV189,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV189,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW189,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW189,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX189,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX189,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY189,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY189,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ189,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ189,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC189,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC189,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD189,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD189,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG189,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG189,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH189,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH189,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE189,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE189,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF189,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF189,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK189,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK189,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL189,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL189,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI189,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI189,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ189,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ189,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q189=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R189:$AU189<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C190","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R190:$AI190))/SUM(IF($R190:$AI190<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R190:$AI190))/SUM(IF($R190:$AI190<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK190:$AN190))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK190:$AN190))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP190:$AU190))/SUM(IF($AP190:$AU190<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP190:$AU190))/SUM(IF($AP190:$AU190<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R190:$AU190))/SUM(IF($R190:$AU190<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R190:$AU190))/SUM(IF($R190:$AU190<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK190:$AU190))/SUM(IF($AK190:$AU190<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK190:$AU190))/SUM(IF($AK190:$AU190<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D190=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU190>0,'Calculator Table'!BT190>0),\"Z-ERROR\",IF('Calculator Table'!BU190>0,\"X\",IF('Calculator Table'!BV190>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA190,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA190,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB190,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB190,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ190,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ190,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR190,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR190,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS190,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS190,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT190,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT190,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU190,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU190,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV190,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV190,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW190,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW190,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX190,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX190,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY190,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY190,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ190,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ190,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC190,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC190,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD190,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD190,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG190,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG190,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH190,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH190,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE190,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE190,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF190,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF190,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK190,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK190,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL190,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL190,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI190,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI190,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ190,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ190,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q190=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R190:$AU190<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C191","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R191:$AI191))/SUM(IF($R191:$AI191<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R191:$AI191))/SUM(IF($R191:$AI191<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK191:$AN191))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK191:$AN191))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP191:$AU191))/SUM(IF($AP191:$AU191<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP191:$AU191))/SUM(IF($AP191:$AU191<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R191:$AU191))/SUM(IF($R191:$AU191<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R191:$AU191))/SUM(IF($R191:$AU191<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK191:$AU191))/SUM(IF($AK191:$AU191<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK191:$AU191))/SUM(IF($AK191:$AU191<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D191=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU191>0,'Calculator Table'!BT191>0),\"Z-ERROR\",IF('Calculator Table'!BU191>0,\"X\",IF('Calculator Table'!BV191>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA191,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA191,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB191,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB191,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ191,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ191,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR191,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR191,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS191,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS191,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT191,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT191,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU191,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU191,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV191,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV191,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW191,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW191,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX191,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX191,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY191,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY191,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ191,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ191,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC191,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC191,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD191,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD191,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG191,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG191,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH191,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH191,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE191,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE191,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF191,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF191,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK191,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK191,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL191,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL191,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI191,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI191,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ191,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ191,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q191=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R191:$AU191<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C192","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R192:$AI192))/SUM(IF($R192:$AI192<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R192:$AI192))/SUM(IF($R192:$AI192<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK192:$AN192))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK192:$AN192))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP192:$AU192))/SUM(IF($AP192:$AU192<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP192:$AU192))/SUM(IF($AP192:$AU192<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R192:$AU192))/SUM(IF($R192:$AU192<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R192:$AU192))/SUM(IF($R192:$AU192<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK192:$AU192))/SUM(IF($AK192:$AU192<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK192:$AU192))/SUM(IF($AK192:$AU192<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D192=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU192>0,'Calculator Table'!BT192>0),\"Z-ERROR\",IF('Calculator Table'!BU192>0,\"X\",IF('Calculator Table'!BV192>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA192,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA192,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB192,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB192,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ192,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ192,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR192,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR192,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS192,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS192,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT192,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT192,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU192,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU192,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV192,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV192,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW192,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW192,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX192,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX192,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY192,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY192,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ192,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ192,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC192,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC192,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD192,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD192,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG192,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG192,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH192,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH192,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE192,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE192,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF192,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF192,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK192,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK192,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL192,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL192,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI192,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI192,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ192,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ192,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q192=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R192:$AU192<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C193","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R193:$AI193))/SUM(IF($R193:$AI193<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R193:$AI193))/SUM(IF($R193:$AI193<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK193:$AN193))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK193:$AN193))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP193:$AU193))/SUM(IF($AP193:$AU193<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP193:$AU193))/SUM(IF($AP193:$AU193<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R193:$AU193))/SUM(IF($R193:$AU193<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R193:$AU193))/SUM(IF($R193:$AU193<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK193:$AU193))/SUM(IF($AK193:$AU193<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK193:$AU193))/SUM(IF($AK193:$AU193<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D193=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU193>0,'Calculator Table'!BT193>0),\"Z-ERROR\",IF('Calculator Table'!BU193>0,\"X\",IF('Calculator Table'!BV193>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA193,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA193,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB193,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB193,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ193,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ193,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR193,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR193,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS193,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS193,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT193,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT193,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU193,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU193,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV193,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV193,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW193,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW193,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX193,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX193,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY193,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY193,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ193,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ193,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC193,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC193,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD193,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD193,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG193,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG193,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH193,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH193,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE193,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE193,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF193,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF193,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK193,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK193,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL193,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL193,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI193,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI193,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ193,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ193,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q193=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R193:$AU193<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C194","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R194:$AI194))/SUM(IF($R194:$AI194<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R194:$AI194))/SUM(IF($R194:$AI194<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK194:$AN194))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK194:$AN194))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP194:$AU194))/SUM(IF($AP194:$AU194<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP194:$AU194))/SUM(IF($AP194:$AU194<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R194:$AU194))/SUM(IF($R194:$AU194<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R194:$AU194))/SUM(IF($R194:$AU194<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK194:$AU194))/SUM(IF($AK194:$AU194<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK194:$AU194))/SUM(IF($AK194:$AU194<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D194=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU194>0,'Calculator Table'!BT194>0),\"Z-ERROR\",IF('Calculator Table'!BU194>0,\"X\",IF('Calculator Table'!BV194>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA194,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA194,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB194,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB194,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ194,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ194,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR194,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR194,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS194,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS194,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT194,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT194,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU194,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU194,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV194,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV194,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW194,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW194,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX194,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX194,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY194,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY194,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ194,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ194,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC194,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC194,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD194,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD194,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG194,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG194,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH194,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH194,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE194,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE194,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF194,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF194,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK194,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK194,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL194,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL194,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI194,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI194,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ194,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ194,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q194=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R194:$AU194<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C195","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R195:$AI195))/SUM(IF($R195:$AI195<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R195:$AI195))/SUM(IF($R195:$AI195<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK195:$AN195))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK195:$AN195))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP195:$AU195))/SUM(IF($AP195:$AU195<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP195:$AU195))/SUM(IF($AP195:$AU195<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R195:$AU195))/SUM(IF($R195:$AU195<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R195:$AU195))/SUM(IF($R195:$AU195<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK195:$AU195))/SUM(IF($AK195:$AU195<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK195:$AU195))/SUM(IF($AK195:$AU195<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D195=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU195>0,'Calculator Table'!BT195>0),\"Z-ERROR\",IF('Calculator Table'!BU195>0,\"X\",IF('Calculator Table'!BV195>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA195,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA195,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB195,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB195,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ195,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ195,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR195,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR195,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS195,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS195,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT195,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT195,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU195,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU195,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV195,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV195,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW195,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW195,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX195,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX195,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY195,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY195,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ195,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ195,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC195,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC195,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD195,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD195,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG195,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG195,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH195,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH195,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE195,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE195,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF195,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF195,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK195,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK195,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL195,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL195,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI195,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI195,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ195,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ195,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q195=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R195:$AU195<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C196","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R196:$AI196))/SUM(IF($R196:$AI196<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R196:$AI196))/SUM(IF($R196:$AI196<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK196:$AN196))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK196:$AN196))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP196:$AU196))/SUM(IF($AP196:$AU196<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP196:$AU196))/SUM(IF($AP196:$AU196<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R196:$AU196))/SUM(IF($R196:$AU196<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R196:$AU196))/SUM(IF($R196:$AU196<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK196:$AU196))/SUM(IF($AK196:$AU196<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK196:$AU196))/SUM(IF($AK196:$AU196<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},{"$f":"IF(AND(ISERROR(B196),ISERROR(L196)),B196,AVERAGE(IF(NOT(ISERROR(B196)),B196),IF(NOT(ISERROR(L196)),L196)))","v":0},{"$f":"IF(AND(ISERROR(C196),ISERROR(M196)),C196,AVERAGE(IF(NOT(ISERROR(C196)),C196),IF(NOT(ISERROR(M196)),M196)))","v":0},{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D196=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU196>0,'Calculator Table'!BT196>0),\"Z-ERROR\",IF('Calculator Table'!BU196>0,\"X\",IF('Calculator Table'!BV196>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA196,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA196,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB196,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB196,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ196,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ196,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR196,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR196,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS196,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS196,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT196,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT196,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU196,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU196,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV196,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV196,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW196,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW196,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX196,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX196,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY196,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY196,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ196,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ196,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC196,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC196,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD196,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD196,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG196,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG196,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH196,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH196,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE196,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE196,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF196,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF196,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK196,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK196,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL196,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL196,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI196,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI196,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ196,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ196,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q196=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R196:$AU196<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C197","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R197:$AI197))/SUM(IF($R197:$AI197<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R197:$AI197))/SUM(IF($R197:$AI197<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK197:$AN197))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK197:$AN197))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP197:$AU197))/SUM(IF($AP197:$AU197<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP197:$AU197))/SUM(IF($AP197:$AU197<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R197:$AU197))/SUM(IF($R197:$AU197<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R197:$AU197))/SUM(IF($R197:$AU197<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$f":"(IF(NOT(ISERROR(B197)),B197*B$2)+IF(NOT(ISERROR(F197)),F197*F$2))/(IF(NOT(ISERROR(B197)),B$2)+IF(NOT(ISERROR(F197)),F$2))+D197","v":{"$error":"#DIV/0!"}},{"$f":"(IF(NOT(ISERROR(C197)),C197*C$2)+IF(NOT(ISERROR(G197)),G197*G$2))/(IF(NOT(ISERROR(C197)),C$2)+IF(NOT(ISERROR(G197)),G$2))+E197","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK197:$AU197))/SUM(IF($AK197:$AU197<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK197:$AU197))/SUM(IF($AK197:$AU197<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D197=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU197>0,'Calculator Table'!BT197>0),\"Z-ERROR\",IF('Calculator Table'!BU197>0,\"X\",IF('Calculator Table'!BV197>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA197,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA197,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB197,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB197,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ197,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ197,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR197,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR197,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS197,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS197,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT197,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT197,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU197,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU197,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV197,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV197,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW197,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW197,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX197,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX197,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY197,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY197,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ197,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ197,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC197,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC197,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD197,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD197,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG197,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG197,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH197,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH197,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE197,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE197,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF197,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF197,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK197,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK197,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL197,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL197,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI197,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI197,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ197,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ197,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q197=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R197:$AU197<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C198","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R198:$AI198))/SUM(IF($R198:$AI198<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R198:$AI198))/SUM(IF($R198:$AI198<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK198:$AN198))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK198:$AN198))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP198:$AU198))/SUM(IF($AP198:$AU198<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP198:$AU198))/SUM(IF($AP198:$AU198<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R198:$AU198))/SUM(IF($R198:$AU198<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R198:$AU198))/SUM(IF($R198:$AU198<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK198:$AU198))/SUM(IF($AK198:$AU198<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK198:$AU198))/SUM(IF($AK198:$AU198<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D198=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU198>0,'Calculator Table'!BT198>0),\"Z-ERROR\",IF('Calculator Table'!BU198>0,\"X\",IF('Calculator Table'!BV198>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA198,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA198,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB198,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB198,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ198,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ198,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR198,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR198,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS198,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS198,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT198,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT198,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU198,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU198,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV198,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV198,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW198,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW198,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX198,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX198,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY198,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY198,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ198,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ198,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(Z198),ISNUMBER(AB198)),MIN(Z198,AB198),\"--\")","v":"--"},{"$f":"IF(OR(ISNUMBER(AA198),ISNUMBER(AC198)),MIN(AA198,AC198),\"--\")","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC198,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC198,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD198,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD198,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(X198),ISNUMBER(V198)),\"--\",AF198)","v":"--"},{"$f":"IF(OR(ISNUMBER(Y198),ISNUMBER(W198)),\"--\",AG198)","v":"--"},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG198,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG198,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH198,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH198,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE198,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE198,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF198,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF198,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK198,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK198,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL198,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL198,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI198,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI198,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ198,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ198,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISNUMBER(AP198),\"--\",AR198)","v":"--"},{"$f":"IF(ISNUMBER(AQ198),\"--\",AS198)","v":"--"},{"$f":"IF(Q198=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R198:$AU198<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C199","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R199:$AI199))/SUM(IF($R199:$AI199<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R199:$AI199))/SUM(IF($R199:$AI199<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK199:$AN199))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK199:$AN199))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP199:$AU199))/SUM(IF($AP199:$AU199<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP199:$AU199))/SUM(IF($AP199:$AU199<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R199:$AU199))/SUM(IF($R199:$AU199<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R199:$AU199))/SUM(IF($R199:$AU199<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK199:$AU199))/SUM(IF($AK199:$AU199<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK199:$AU199))/SUM(IF($AK199:$AU199<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D199=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU199>0,'Calculator Table'!BT199>0),\"Z-ERROR\",IF('Calculator Table'!BU199>0,\"X\",IF('Calculator Table'!BV199>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA199,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA199,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB199,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB199,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ199,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ199,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR199,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR199,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS199,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS199,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT199,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT199,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU199,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU199,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV199,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV199,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW199,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW199,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX199,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX199,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY199,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY199,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ199,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ199,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC199,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC199,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD199,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD199,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG199,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG199,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH199,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH199,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE199,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE199,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF199,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF199,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK199,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK199,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL199,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL199,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI199,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI199,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ199,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ199,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q199=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R199:$AU199<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C200","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R200:$AI200))/SUM(IF($R200:$AI200<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R200:$AI200))/SUM(IF($R200:$AI200<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK200:$AN200))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK200:$AN200))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP200:$AU200))/SUM(IF($AP200:$AU200<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP200:$AU200))/SUM(IF($AP200:$AU200<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R200:$AU200))/SUM(IF($R200:$AU200<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R200:$AU200))/SUM(IF($R200:$AU200<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK200:$AU200))/SUM(IF($AK200:$AU200<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK200:$AU200))/SUM(IF($AK200:$AU200<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D200=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU200>0,'Calculator Table'!BT200>0),\"Z-ERROR\",IF('Calculator Table'!BU200>0,\"X\",IF('Calculator Table'!BV200>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA200,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA200,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB200,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB200,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ200,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ200,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR200,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR200,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS200,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS200,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT200,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT200,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU200,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU200,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV200,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV200,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW200,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW200,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX200,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX200,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY200,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY200,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ200,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ200,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC200,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC200,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD200,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD200,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG200,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG200,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH200,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH200,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE200,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE200,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF200,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF200,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK200,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK200,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL200,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL200,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI200,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI200,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ200,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ200,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q200=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R200:$AU200<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C201","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R201:$AI201))/SUM(IF($R201:$AI201<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R201:$AI201))/SUM(IF($R201:$AI201<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK201:$AN201))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK201:$AN201))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP201:$AU201))/SUM(IF($AP201:$AU201<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP201:$AU201))/SUM(IF($AP201:$AU201<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R201:$AU201))/SUM(IF($R201:$AU201<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R201:$AU201))/SUM(IF($R201:$AU201<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK201:$AU201))/SUM(IF($AK201:$AU201<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK201:$AU201))/SUM(IF($AK201:$AU201<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D201=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU201>0,'Calculator Table'!BT201>0),\"Z-ERROR\",IF('Calculator Table'!BU201>0,\"X\",IF('Calculator Table'!BV201>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA201,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA201,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB201,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB201,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ201,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ201,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR201,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR201,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS201,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS201,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT201,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT201,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU201,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU201,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV201,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV201,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW201,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW201,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX201,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX201,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY201,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY201,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ201,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ201,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC201,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC201,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD201,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD201,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG201,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG201,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH201,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH201,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE201,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE201,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF201,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF201,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK201,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK201,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL201,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL201,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI201,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI201,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ201,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ201,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q201=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R201:$AU201<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C202","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R202:$AI202))/SUM(IF($R202:$AI202<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R202:$AI202))/SUM(IF($R202:$AI202<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK202:$AN202))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK202:$AN202))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP202:$AU202))/SUM(IF($AP202:$AU202<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP202:$AU202))/SUM(IF($AP202:$AU202<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R202:$AU202))/SUM(IF($R202:$AU202<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R202:$AU202))/SUM(IF($R202:$AU202<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK202:$AU202))/SUM(IF($AK202:$AU202<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK202:$AU202))/SUM(IF($AK202:$AU202<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D202=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU202>0,'Calculator Table'!BT202>0),\"Z-ERROR\",IF('Calculator Table'!BU202>0,\"X\",IF('Calculator Table'!BV202>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA202,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA202,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB202,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB202,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ202,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ202,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR202,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR202,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS202,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS202,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT202,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT202,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU202,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU202,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV202,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV202,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW202,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW202,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX202,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX202,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY202,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY202,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ202,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ202,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC202,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC202,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD202,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD202,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG202,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG202,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH202,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH202,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE202,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE202,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF202,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF202,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK202,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK202,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL202,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL202,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI202,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI202,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ202,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ202,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q202=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R202:$AU202<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C203","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R203:$AI203))/SUM(IF($R203:$AI203<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R203:$AI203))/SUM(IF($R203:$AI203<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK203:$AN203))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK203:$AN203))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP203:$AU203))/SUM(IF($AP203:$AU203<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP203:$AU203))/SUM(IF($AP203:$AU203<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R203:$AU203))/SUM(IF($R203:$AU203<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R203:$AU203))/SUM(IF($R203:$AU203<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK203:$AU203))/SUM(IF($AK203:$AU203<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK203:$AU203))/SUM(IF($AK203:$AU203<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D203=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU203>0,'Calculator Table'!BT203>0),\"Z-ERROR\",IF('Calculator Table'!BU203>0,\"X\",IF('Calculator Table'!BV203>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA203,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA203,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB203,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB203,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ203,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ203,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR203,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR203,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS203,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS203,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT203,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT203,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU203,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU203,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV203,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV203,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW203,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW203,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX203,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX203,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY203,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY203,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ203,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ203,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC203,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC203,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD203,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD203,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG203,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG203,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH203,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH203,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE203,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE203,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF203,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF203,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK203,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK203,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL203,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL203,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI203,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI203,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ203,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ203,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q203=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R203:$AU203<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C204","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R204:$AI204))/SUM(IF($R204:$AI204<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R204:$AI204))/SUM(IF($R204:$AI204<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK204:$AN204))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK204:$AN204))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP204:$AU204))/SUM(IF($AP204:$AU204<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP204:$AU204))/SUM(IF($AP204:$AU204<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R204:$AU204))/SUM(IF($R204:$AU204<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R204:$AU204))/SUM(IF($R204:$AU204<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK204:$AU204))/SUM(IF($AK204:$AU204<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK204:$AU204))/SUM(IF($AK204:$AU204<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D204=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU204>0,'Calculator Table'!BT204>0),\"Z-ERROR\",IF('Calculator Table'!BU204>0,\"X\",IF('Calculator Table'!BV204>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA204,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA204,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB204,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB204,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ204,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ204,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR204,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR204,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS204,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS204,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT204,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT204,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU204,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU204,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV204,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV204,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW204,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW204,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX204,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX204,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY204,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY204,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ204,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ204,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC204,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC204,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD204,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD204,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG204,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG204,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH204,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH204,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE204,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE204,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF204,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF204,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK204,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK204,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL204,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL204,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI204,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI204,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ204,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ204,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q204=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R204:$AU204<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C205","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R205:$AI205))/SUM(IF($R205:$AI205<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R205:$AI205))/SUM(IF($R205:$AI205<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK205:$AN205))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK205:$AN205))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP205:$AU205))/SUM(IF($AP205:$AU205<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP205:$AU205))/SUM(IF($AP205:$AU205<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R205:$AU205))/SUM(IF($R205:$AU205<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R205:$AU205))/SUM(IF($R205:$AU205<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK205:$AU205))/SUM(IF($AK205:$AU205<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK205:$AU205))/SUM(IF($AK205:$AU205<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D205=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU205>0,'Calculator Table'!BT205>0),\"Z-ERROR\",IF('Calculator Table'!BU205>0,\"X\",IF('Calculator Table'!BV205>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA205,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA205,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB205,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB205,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ205,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ205,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR205,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR205,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS205,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS205,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT205,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT205,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU205,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU205,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV205,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV205,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW205,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW205,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX205,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX205,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY205,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY205,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ205,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ205,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC205,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC205,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD205,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD205,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG205,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG205,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH205,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH205,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE205,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE205,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF205,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF205,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK205,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK205,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL205,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL205,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI205,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI205,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ205,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ205,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q205=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R205:$AU205<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C206","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R206:$AI206))/SUM(IF($R206:$AI206<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R206:$AI206))/SUM(IF($R206:$AI206<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK206:$AN206))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK206:$AN206))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP206:$AU206))/SUM(IF($AP206:$AU206<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP206:$AU206))/SUM(IF($AP206:$AU206<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R206:$AU206))/SUM(IF($R206:$AU206<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R206:$AU206))/SUM(IF($R206:$AU206<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK206:$AU206))/SUM(IF($AK206:$AU206<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK206:$AU206))/SUM(IF($AK206:$AU206<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D206=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU206>0,'Calculator Table'!BT206>0),\"Z-ERROR\",IF('Calculator Table'!BU206>0,\"X\",IF('Calculator Table'!BV206>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA206,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA206,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB206,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB206,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ206,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ206,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR206,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR206,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS206,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS206,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT206,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT206,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU206,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU206,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV206,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV206,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW206,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW206,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX206,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX206,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY206,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY206,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ206,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ206,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC206,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC206,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD206,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD206,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG206,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG206,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH206,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH206,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE206,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE206,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF206,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF206,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK206,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK206,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL206,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL206,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI206,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI206,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ206,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ206,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q206=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R206:$AU206<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C207","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R207:$AI207))/SUM(IF($R207:$AI207<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R207:$AI207))/SUM(IF($R207:$AI207<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK207:$AN207))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK207:$AN207))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP207:$AU207))/SUM(IF($AP207:$AU207<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP207:$AU207))/SUM(IF($AP207:$AU207<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R207:$AU207))/SUM(IF($R207:$AU207<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R207:$AU207))/SUM(IF($R207:$AU207<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK207:$AU207))/SUM(IF($AK207:$AU207<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK207:$AU207))/SUM(IF($AK207:$AU207<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D207=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU207>0,'Calculator Table'!BT207>0),\"Z-ERROR\",IF('Calculator Table'!BU207>0,\"X\",IF('Calculator Table'!BV207>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA207,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA207,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB207,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB207,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ207,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ207,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR207,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR207,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS207,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS207,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT207,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT207,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU207,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU207,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV207,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV207,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW207,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW207,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX207,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX207,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY207,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY207,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ207,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ207,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC207,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC207,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD207,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD207,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG207,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG207,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH207,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH207,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE207,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE207,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF207,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF207,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK207,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK207,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL207,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL207,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI207,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI207,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ207,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ207,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q207=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R207:$AU207<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C208","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R208:$AI208))/SUM(IF($R208:$AI208<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R208:$AI208))/SUM(IF($R208:$AI208<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK208:$AN208))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK208:$AN208))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP208:$AU208))/SUM(IF($AP208:$AU208<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP208:$AU208))/SUM(IF($AP208:$AU208<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R208:$AU208))/SUM(IF($R208:$AU208<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R208:$AU208))/SUM(IF($R208:$AU208<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK208:$AU208))/SUM(IF($AK208:$AU208<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK208:$AU208))/SUM(IF($AK208:$AU208<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D208=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU208>0,'Calculator Table'!BT208>0),\"Z-ERROR\",IF('Calculator Table'!BU208>0,\"X\",IF('Calculator Table'!BV208>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA208,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA208,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB208,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB208,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ208,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ208,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR208,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR208,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS208,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS208,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT208,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT208,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU208,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU208,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV208,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV208,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW208,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW208,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX208,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX208,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY208,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY208,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ208,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ208,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC208,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC208,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD208,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD208,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG208,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG208,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH208,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH208,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE208,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE208,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF208,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF208,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK208,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK208,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL208,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL208,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI208,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI208,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ208,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ208,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q208=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R208:$AU208<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C209","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R209:$AI209))/SUM(IF($R209:$AI209<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R209:$AI209))/SUM(IF($R209:$AI209<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK209:$AN209))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK209:$AN209))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP209:$AU209))/SUM(IF($AP209:$AU209<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP209:$AU209))/SUM(IF($AP209:$AU209<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R209:$AU209))/SUM(IF($R209:$AU209<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R209:$AU209))/SUM(IF($R209:$AU209<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK209:$AU209))/SUM(IF($AK209:$AU209<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK209:$AU209))/SUM(IF($AK209:$AU209<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D209=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU209>0,'Calculator Table'!BT209>0),\"Z-ERROR\",IF('Calculator Table'!BU209>0,\"X\",IF('Calculator Table'!BV209>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA209,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA209,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB209,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB209,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ209,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ209,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR209,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR209,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS209,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS209,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT209,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT209,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU209,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU209,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV209,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV209,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW209,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW209,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX209,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX209,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY209,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY209,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ209,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ209,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC209,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC209,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD209,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD209,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG209,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG209,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH209,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH209,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE209,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE209,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF209,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF209,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK209,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK209,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL209,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL209,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI209,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI209,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ209,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ209,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q209=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R209:$AU209<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C210","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R210:$AI210))/SUM(IF($R210:$AI210<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R210:$AI210))/SUM(IF($R210:$AI210<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK210:$AN210))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK210:$AN210))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP210:$AU210))/SUM(IF($AP210:$AU210<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP210:$AU210))/SUM(IF($AP210:$AU210<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R210:$AU210))/SUM(IF($R210:$AU210<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R210:$AU210))/SUM(IF($R210:$AU210<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK210:$AU210))/SUM(IF($AK210:$AU210<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK210:$AU210))/SUM(IF($AK210:$AU210<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D210=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU210>0,'Calculator Table'!BT210>0),\"Z-ERROR\",IF('Calculator Table'!BU210>0,\"X\",IF('Calculator Table'!BV210>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA210,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA210,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB210,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB210,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ210,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ210,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR210,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR210,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS210,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS210,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT210,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT210,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU210,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU210,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV210,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV210,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW210,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW210,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX210,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX210,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY210,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY210,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ210,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ210,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC210,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC210,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD210,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD210,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG210,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG210,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH210,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH210,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE210,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE210,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF210,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF210,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK210,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK210,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL210,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL210,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI210,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI210,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ210,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ210,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q210=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R210:$AU210<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C211","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R211:$AI211))/SUM(IF($R211:$AI211<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R211:$AI211))/SUM(IF($R211:$AI211<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK211:$AN211))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK211:$AN211))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP211:$AU211))/SUM(IF($AP211:$AU211<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP211:$AU211))/SUM(IF($AP211:$AU211<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R211:$AU211))/SUM(IF($R211:$AU211<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R211:$AU211))/SUM(IF($R211:$AU211<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK211:$AU211))/SUM(IF($AK211:$AU211<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK211:$AU211))/SUM(IF($AK211:$AU211<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D211=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU211>0,'Calculator Table'!BT211>0),\"Z-ERROR\",IF('Calculator Table'!BU211>0,\"X\",IF('Calculator Table'!BV211>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA211,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA211,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB211,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB211,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ211,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ211,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR211,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR211,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS211,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS211,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT211,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT211,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU211,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU211,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV211,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV211,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW211,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW211,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX211,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX211,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY211,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY211,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ211,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ211,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC211,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC211,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD211,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD211,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG211,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG211,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH211,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH211,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE211,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE211,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF211,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF211,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK211,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK211,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL211,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL211,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI211,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI211,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ211,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ211,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q211=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R211:$AU211<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C212","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R212:$AI212))/SUM(IF($R212:$AI212<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R212:$AI212))/SUM(IF($R212:$AI212<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK212:$AN212))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK212:$AN212))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP212:$AU212))/SUM(IF($AP212:$AU212<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP212:$AU212))/SUM(IF($AP212:$AU212<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R212:$AU212))/SUM(IF($R212:$AU212<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R212:$AU212))/SUM(IF($R212:$AU212<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK212:$AU212))/SUM(IF($AK212:$AU212<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK212:$AU212))/SUM(IF($AK212:$AU212<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D212=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU212>0,'Calculator Table'!BT212>0),\"Z-ERROR\",IF('Calculator Table'!BU212>0,\"X\",IF('Calculator Table'!BV212>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA212,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA212,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB212,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB212,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ212,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ212,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR212,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR212,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS212,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS212,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT212,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT212,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU212,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU212,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV212,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV212,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW212,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW212,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX212,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX212,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY212,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY212,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ212,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ212,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC212,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC212,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD212,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD212,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG212,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG212,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH212,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH212,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE212,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE212,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF212,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF212,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK212,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK212,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL212,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL212,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI212,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI212,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ212,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ212,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q212=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R212:$AU212<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C213","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R213:$AI213))/SUM(IF($R213:$AI213<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R213:$AI213))/SUM(IF($R213:$AI213<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK213:$AN213))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK213:$AN213))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP213:$AU213))/SUM(IF($AP213:$AU213<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP213:$AU213))/SUM(IF($AP213:$AU213<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R213:$AU213))/SUM(IF($R213:$AU213<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R213:$AU213))/SUM(IF($R213:$AU213<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK213:$AU213))/SUM(IF($AK213:$AU213<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK213:$AU213))/SUM(IF($AK213:$AU213<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D213=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU213>0,'Calculator Table'!BT213>0),\"Z-ERROR\",IF('Calculator Table'!BU213>0,\"X\",IF('Calculator Table'!BV213>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA213,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA213,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB213,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB213,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ213,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ213,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR213,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR213,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS213,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS213,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT213,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT213,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU213,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU213,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV213,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV213,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW213,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW213,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX213,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX213,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY213,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY213,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ213,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ213,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC213,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC213,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD213,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD213,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG213,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG213,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH213,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH213,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE213,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE213,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF213,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF213,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK213,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK213,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL213,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL213,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI213,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI213,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ213,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ213,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q213=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R213:$AU213<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C214","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R214:$AI214))/SUM(IF($R214:$AI214<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R214:$AI214))/SUM(IF($R214:$AI214<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK214:$AN214))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK214:$AN214))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP214:$AU214))/SUM(IF($AP214:$AU214<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP214:$AU214))/SUM(IF($AP214:$AU214<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R214:$AU214))/SUM(IF($R214:$AU214<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R214:$AU214))/SUM(IF($R214:$AU214<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK214:$AU214))/SUM(IF($AK214:$AU214<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK214:$AU214))/SUM(IF($AK214:$AU214<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D214=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU214>0,'Calculator Table'!BT214>0),\"Z-ERROR\",IF('Calculator Table'!BU214>0,\"X\",IF('Calculator Table'!BV214>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA214,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA214,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB214,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB214,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ214,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ214,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR214,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR214,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS214,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS214,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT214,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT214,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU214,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU214,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV214,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV214,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW214,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW214,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX214,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX214,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY214,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY214,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ214,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ214,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC214,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC214,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD214,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD214,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG214,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG214,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH214,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH214,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE214,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE214,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF214,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF214,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK214,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK214,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL214,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL214,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI214,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI214,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ214,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ214,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q214=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R214:$AU214<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C215","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R215:$AI215))/SUM(IF($R215:$AI215<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R215:$AI215))/SUM(IF($R215:$AI215<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK215:$AN215))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK215:$AN215))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP215:$AU215))/SUM(IF($AP215:$AU215<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP215:$AU215))/SUM(IF($AP215:$AU215<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R215:$AU215))/SUM(IF($R215:$AU215<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R215:$AU215))/SUM(IF($R215:$AU215<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK215:$AU215))/SUM(IF($AK215:$AU215<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK215:$AU215))/SUM(IF($AK215:$AU215<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D215=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU215>0,'Calculator Table'!BT215>0),\"Z-ERROR\",IF('Calculator Table'!BU215>0,\"X\",IF('Calculator Table'!BV215>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA215,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA215,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB215,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB215,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ215,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ215,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR215,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR215,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS215,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS215,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT215,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT215,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU215,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU215,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV215,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV215,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW215,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW215,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX215,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX215,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY215,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY215,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ215,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ215,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC215,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC215,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD215,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD215,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG215,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG215,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH215,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH215,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE215,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE215,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF215,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF215,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK215,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK215,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL215,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL215,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI215,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI215,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ215,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ215,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q215=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R215:$AU215<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C216","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R216:$AI216))/SUM(IF($R216:$AI216<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R216:$AI216))/SUM(IF($R216:$AI216<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK216:$AN216))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK216:$AN216))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP216:$AU216))/SUM(IF($AP216:$AU216<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP216:$AU216))/SUM(IF($AP216:$AU216<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R216:$AU216))/SUM(IF($R216:$AU216<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R216:$AU216))/SUM(IF($R216:$AU216<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK216:$AU216))/SUM(IF($AK216:$AU216<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK216:$AU216))/SUM(IF($AK216:$AU216<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D216=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU216>0,'Calculator Table'!BT216>0),\"Z-ERROR\",IF('Calculator Table'!BU216>0,\"X\",IF('Calculator Table'!BV216>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA216,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA216,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB216,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB216,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ216,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ216,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR216,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR216,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS216,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS216,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT216,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT216,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU216,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU216,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV216,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV216,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW216,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW216,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX216,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX216,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY216,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY216,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ216,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ216,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC216,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC216,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD216,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD216,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG216,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG216,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH216,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH216,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE216,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE216,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF216,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF216,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK216,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK216,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL216,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL216,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI216,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI216,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ216,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ216,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q216=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R216:$AU216<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C217","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R217:$AI217))/SUM(IF($R217:$AI217<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R217:$AI217))/SUM(IF($R217:$AI217<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK217:$AN217))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK217:$AN217))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP217:$AU217))/SUM(IF($AP217:$AU217<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP217:$AU217))/SUM(IF($AP217:$AU217<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R217:$AU217))/SUM(IF($R217:$AU217<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R217:$AU217))/SUM(IF($R217:$AU217<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK217:$AU217))/SUM(IF($AK217:$AU217<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK217:$AU217))/SUM(IF($AK217:$AU217<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D217=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU217>0,'Calculator Table'!BT217>0),\"Z-ERROR\",IF('Calculator Table'!BU217>0,\"X\",IF('Calculator Table'!BV217>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA217,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA217,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB217,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB217,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ217,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ217,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR217,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR217,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS217,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS217,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT217,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT217,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU217,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU217,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV217,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV217,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW217,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW217,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX217,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX217,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY217,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY217,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ217,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ217,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC217,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC217,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD217,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD217,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG217,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG217,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH217,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH217,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE217,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE217,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF217,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF217,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK217,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK217,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL217,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL217,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI217,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI217,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ217,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ217,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q217=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R217:$AU217<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C218","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R218:$AI218))/SUM(IF($R218:$AI218<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R218:$AI218))/SUM(IF($R218:$AI218<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK218:$AN218))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK218:$AN218))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP218:$AU218))/SUM(IF($AP218:$AU218<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP218:$AU218))/SUM(IF($AP218:$AU218<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R218:$AU218))/SUM(IF($R218:$AU218<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R218:$AU218))/SUM(IF($R218:$AU218<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK218:$AU218))/SUM(IF($AK218:$AU218<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK218:$AU218))/SUM(IF($AK218:$AU218<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D218=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU218>0,'Calculator Table'!BT218>0),\"Z-ERROR\",IF('Calculator Table'!BU218>0,\"X\",IF('Calculator Table'!BV218>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA218,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA218,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB218,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB218,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ218,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ218,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR218,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR218,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS218,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS218,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT218,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT218,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU218,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU218,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV218,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV218,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW218,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW218,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX218,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX218,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY218,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY218,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ218,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ218,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC218,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC218,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD218,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD218,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG218,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG218,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH218,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH218,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE218,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE218,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF218,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF218,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK218,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK218,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL218,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL218,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI218,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI218,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ218,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ218,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q218=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R218:$AU218<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C219","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R219:$AI219))/SUM(IF($R219:$AI219<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R219:$AI219))/SUM(IF($R219:$AI219<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK219:$AN219))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK219:$AN219))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP219:$AU219))/SUM(IF($AP219:$AU219<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP219:$AU219))/SUM(IF($AP219:$AU219<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R219:$AU219))/SUM(IF($R219:$AU219<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R219:$AU219))/SUM(IF($R219:$AU219<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK219:$AU219))/SUM(IF($AK219:$AU219<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK219:$AU219))/SUM(IF($AK219:$AU219<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D219=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU219>0,'Calculator Table'!BT219>0),\"Z-ERROR\",IF('Calculator Table'!BU219>0,\"X\",IF('Calculator Table'!BV219>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA219,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA219,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB219,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB219,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ219,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ219,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR219,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR219,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS219,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS219,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT219,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT219,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU219,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU219,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV219,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV219,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW219,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW219,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX219,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX219,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY219,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY219,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ219,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ219,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC219,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC219,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD219,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD219,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG219,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG219,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH219,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH219,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE219,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE219,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF219,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF219,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK219,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK219,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL219,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL219,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI219,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI219,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ219,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ219,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q219=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R219:$AU219<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C220","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R220:$AI220))/SUM(IF($R220:$AI220<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R220:$AI220))/SUM(IF($R220:$AI220<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK220:$AN220))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK220:$AN220))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP220:$AU220))/SUM(IF($AP220:$AU220<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP220:$AU220))/SUM(IF($AP220:$AU220<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R220:$AU220))/SUM(IF($R220:$AU220<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R220:$AU220))/SUM(IF($R220:$AU220<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK220:$AU220))/SUM(IF($AK220:$AU220<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK220:$AU220))/SUM(IF($AK220:$AU220<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D220=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU220>0,'Calculator Table'!BT220>0),\"Z-ERROR\",IF('Calculator Table'!BU220>0,\"X\",IF('Calculator Table'!BV220>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA220,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA220,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB220,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB220,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ220,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ220,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR220,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR220,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS220,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS220,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT220,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT220,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU220,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU220,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV220,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV220,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW220,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW220,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX220,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX220,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY220,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY220,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ220,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ220,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC220,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC220,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD220,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD220,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG220,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG220,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH220,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH220,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE220,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE220,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF220,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF220,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK220,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK220,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL220,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL220,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI220,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI220,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ220,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ220,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q220=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R220:$AU220<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C221","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R221:$AI221))/SUM(IF($R221:$AI221<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R221:$AI221))/SUM(IF($R221:$AI221<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK221:$AN221))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK221:$AN221))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP221:$AU221))/SUM(IF($AP221:$AU221<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP221:$AU221))/SUM(IF($AP221:$AU221<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R221:$AU221))/SUM(IF($R221:$AU221<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R221:$AU221))/SUM(IF($R221:$AU221<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK221:$AU221))/SUM(IF($AK221:$AU221<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK221:$AU221))/SUM(IF($AK221:$AU221<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D221=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU221>0,'Calculator Table'!BT221>0),\"Z-ERROR\",IF('Calculator Table'!BU221>0,\"X\",IF('Calculator Table'!BV221>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA221,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA221,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB221,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB221,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ221,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ221,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR221,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR221,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS221,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS221,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT221,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT221,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU221,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU221,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV221,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV221,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW221,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW221,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX221,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX221,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY221,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY221,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ221,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ221,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC221,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC221,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD221,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD221,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG221,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG221,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH221,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH221,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE221,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE221,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF221,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF221,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK221,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK221,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL221,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL221,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI221,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI221,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ221,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ221,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q221=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R221:$AU221<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C222","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R222:$AI222))/SUM(IF($R222:$AI222<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R222:$AI222))/SUM(IF($R222:$AI222<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK222:$AN222))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK222:$AN222))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP222:$AU222))/SUM(IF($AP222:$AU222<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP222:$AU222))/SUM(IF($AP222:$AU222<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R222:$AU222))/SUM(IF($R222:$AU222<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R222:$AU222))/SUM(IF($R222:$AU222<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK222:$AU222))/SUM(IF($AK222:$AU222<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK222:$AU222))/SUM(IF($AK222:$AU222<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D222=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU222>0,'Calculator Table'!BT222>0),\"Z-ERROR\",IF('Calculator Table'!BU222>0,\"X\",IF('Calculator Table'!BV222>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA222,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA222,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB222,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB222,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ222,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ222,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR222,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR222,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS222,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS222,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT222,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT222,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU222,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU222,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV222,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV222,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW222,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW222,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX222,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX222,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY222,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY222,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ222,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ222,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC222,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC222,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD222,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD222,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG222,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG222,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH222,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH222,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE222,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE222,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF222,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF222,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK222,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK222,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL222,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL222,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI222,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI222,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ222,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ222,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q222=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R222:$AU222<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C223","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R223:$AI223))/SUM(IF($R223:$AI223<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R223:$AI223))/SUM(IF($R223:$AI223<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK223:$AN223))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK223:$AN223))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP223:$AU223))/SUM(IF($AP223:$AU223<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP223:$AU223))/SUM(IF($AP223:$AU223<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R223:$AU223))/SUM(IF($R223:$AU223<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R223:$AU223))/SUM(IF($R223:$AU223<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK223:$AU223))/SUM(IF($AK223:$AU223<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK223:$AU223))/SUM(IF($AK223:$AU223<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D223=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU223>0,'Calculator Table'!BT223>0),\"Z-ERROR\",IF('Calculator Table'!BU223>0,\"X\",IF('Calculator Table'!BV223>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA223,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA223,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB223,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB223,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ223,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ223,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR223,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR223,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS223,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS223,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT223,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT223,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU223,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU223,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV223,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV223,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW223,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW223,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX223,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX223,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY223,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY223,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ223,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ223,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC223,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC223,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD223,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD223,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG223,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG223,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH223,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH223,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE223,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE223,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF223,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF223,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK223,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK223,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL223,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL223,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI223,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI223,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ223,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ223,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q223=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R223:$AU223<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C224","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R224:$AI224))/SUM(IF($R224:$AI224<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R224:$AI224))/SUM(IF($R224:$AI224<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK224:$AN224))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK224:$AN224))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP224:$AU224))/SUM(IF($AP224:$AU224<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP224:$AU224))/SUM(IF($AP224:$AU224<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R224:$AU224))/SUM(IF($R224:$AU224<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R224:$AU224))/SUM(IF($R224:$AU224<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK224:$AU224))/SUM(IF($AK224:$AU224<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK224:$AU224))/SUM(IF($AK224:$AU224<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D224=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU224>0,'Calculator Table'!BT224>0),\"Z-ERROR\",IF('Calculator Table'!BU224>0,\"X\",IF('Calculator Table'!BV224>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA224,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA224,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB224,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB224,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ224,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ224,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR224,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR224,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS224,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS224,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT224,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT224,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU224,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU224,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV224,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV224,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW224,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW224,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX224,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX224,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY224,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY224,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ224,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ224,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC224,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC224,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD224,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD224,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG224,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG224,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH224,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH224,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE224,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE224,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF224,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF224,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK224,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK224,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL224,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL224,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI224,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI224,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ224,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ224,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q224=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R224:$AU224<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C225","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R225:$AI225))/SUM(IF($R225:$AI225<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R225:$AI225))/SUM(IF($R225:$AI225<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK225:$AN225))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK225:$AN225))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP225:$AU225))/SUM(IF($AP225:$AU225<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP225:$AU225))/SUM(IF($AP225:$AU225<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R225:$AU225))/SUM(IF($R225:$AU225<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R225:$AU225))/SUM(IF($R225:$AU225<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK225:$AU225))/SUM(IF($AK225:$AU225<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK225:$AU225))/SUM(IF($AK225:$AU225<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D225=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU225>0,'Calculator Table'!BT225>0),\"Z-ERROR\",IF('Calculator Table'!BU225>0,\"X\",IF('Calculator Table'!BV225>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA225,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA225,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB225,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB225,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ225,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ225,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR225,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR225,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS225,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS225,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT225,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT225,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU225,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU225,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV225,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV225,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW225,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW225,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX225,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX225,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY225,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY225,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ225,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ225,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC225,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC225,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD225,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD225,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG225,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG225,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH225,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH225,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE225,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE225,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF225,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF225,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK225,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK225,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL225,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL225,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI225,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI225,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ225,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ225,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q225=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R225:$AU225<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C226","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R226:$AI226))/SUM(IF($R226:$AI226<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R226:$AI226))/SUM(IF($R226:$AI226<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK226:$AN226))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK226:$AN226))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP226:$AU226))/SUM(IF($AP226:$AU226<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP226:$AU226))/SUM(IF($AP226:$AU226<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R226:$AU226))/SUM(IF($R226:$AU226<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R226:$AU226))/SUM(IF($R226:$AU226<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK226:$AU226))/SUM(IF($AK226:$AU226<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK226:$AU226))/SUM(IF($AK226:$AU226<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D226=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU226>0,'Calculator Table'!BT226>0),\"Z-ERROR\",IF('Calculator Table'!BU226>0,\"X\",IF('Calculator Table'!BV226>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA226,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA226,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB226,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB226,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ226,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ226,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR226,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR226,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS226,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS226,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT226,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT226,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU226,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU226,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV226,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV226,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW226,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW226,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX226,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX226,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY226,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY226,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ226,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ226,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC226,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC226,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD226,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD226,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG226,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG226,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH226,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH226,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE226,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE226,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF226,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF226,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK226,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK226,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL226,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL226,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI226,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI226,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ226,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ226,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q226=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R226:$AU226<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C227","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R227:$AI227))/SUM(IF($R227:$AI227<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R227:$AI227))/SUM(IF($R227:$AI227<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK227:$AN227))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK227:$AN227))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP227:$AU227))/SUM(IF($AP227:$AU227<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP227:$AU227))/SUM(IF($AP227:$AU227<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R227:$AU227))/SUM(IF($R227:$AU227<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R227:$AU227))/SUM(IF($R227:$AU227<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK227:$AU227))/SUM(IF($AK227:$AU227<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK227:$AU227))/SUM(IF($AK227:$AU227<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D227=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU227>0,'Calculator Table'!BT227>0),\"Z-ERROR\",IF('Calculator Table'!BU227>0,\"X\",IF('Calculator Table'!BV227>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA227,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA227,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB227,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB227,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ227,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ227,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR227,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR227,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS227,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS227,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT227,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT227,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU227,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU227,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV227,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV227,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW227,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW227,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX227,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX227,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY227,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY227,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ227,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ227,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC227,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC227,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD227,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD227,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG227,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG227,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH227,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH227,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE227,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE227,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF227,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF227,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK227,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK227,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL227,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL227,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI227,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI227,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ227,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ227,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q227=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R227:$AU227<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C228","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R228:$AI228))/SUM(IF($R228:$AI228<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R228:$AI228))/SUM(IF($R228:$AI228<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK228:$AN228))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK228:$AN228))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP228:$AU228))/SUM(IF($AP228:$AU228<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP228:$AU228))/SUM(IF($AP228:$AU228<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R228:$AU228))/SUM(IF($R228:$AU228<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R228:$AU228))/SUM(IF($R228:$AU228<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK228:$AU228))/SUM(IF($AK228:$AU228<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK228:$AU228))/SUM(IF($AK228:$AU228<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D228=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU228>0,'Calculator Table'!BT228>0),\"Z-ERROR\",IF('Calculator Table'!BU228>0,\"X\",IF('Calculator Table'!BV228>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA228,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA228,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB228,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB228,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ228,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ228,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR228,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR228,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS228,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS228,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT228,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT228,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU228,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU228,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV228,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV228,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW228,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW228,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX228,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX228,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY228,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY228,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ228,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ228,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC228,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC228,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD228,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD228,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG228,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG228,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH228,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH228,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE228,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE228,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF228,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF228,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK228,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK228,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL228,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL228,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI228,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI228,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ228,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ228,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q228=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R228:$AU228<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C229","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R229:$AI229))/SUM(IF($R229:$AI229<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R229:$AI229))/SUM(IF($R229:$AI229<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK229:$AN229))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK229:$AN229))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP229:$AU229))/SUM(IF($AP229:$AU229<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP229:$AU229))/SUM(IF($AP229:$AU229<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R229:$AU229))/SUM(IF($R229:$AU229<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R229:$AU229))/SUM(IF($R229:$AU229<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK229:$AU229))/SUM(IF($AK229:$AU229<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK229:$AU229))/SUM(IF($AK229:$AU229<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D229=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU229>0,'Calculator Table'!BT229>0),\"Z-ERROR\",IF('Calculator Table'!BU229>0,\"X\",IF('Calculator Table'!BV229>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA229,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA229,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB229,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB229,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ229,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ229,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR229,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR229,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS229,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS229,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT229,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT229,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU229,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU229,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV229,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV229,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW229,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW229,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX229,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX229,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY229,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY229,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ229,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ229,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC229,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC229,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD229,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD229,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG229,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG229,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH229,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH229,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE229,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE229,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF229,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF229,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK229,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK229,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL229,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL229,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI229,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI229,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ229,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ229,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q229=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R229:$AU229<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C230","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R230:$AI230))/SUM(IF($R230:$AI230<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R230:$AI230))/SUM(IF($R230:$AI230<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK230:$AN230))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK230:$AN230))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP230:$AU230))/SUM(IF($AP230:$AU230<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP230:$AU230))/SUM(IF($AP230:$AU230<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R230:$AU230))/SUM(IF($R230:$AU230<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R230:$AU230))/SUM(IF($R230:$AU230<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK230:$AU230))/SUM(IF($AK230:$AU230<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK230:$AU230))/SUM(IF($AK230:$AU230<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D230=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU230>0,'Calculator Table'!BT230>0),\"Z-ERROR\",IF('Calculator Table'!BU230>0,\"X\",IF('Calculator Table'!BV230>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA230,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA230,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB230,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB230,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ230,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ230,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR230,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR230,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS230,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS230,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT230,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT230,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU230,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU230,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV230,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV230,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW230,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW230,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX230,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX230,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY230,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY230,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ230,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ230,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC230,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC230,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD230,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD230,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG230,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG230,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH230,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH230,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE230,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE230,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF230,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF230,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK230,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK230,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL230,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL230,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI230,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI230,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ230,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ230,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q230=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R230:$AU230<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C231","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R231:$AI231))/SUM(IF($R231:$AI231<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R231:$AI231))/SUM(IF($R231:$AI231<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK231:$AN231))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK231:$AN231))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP231:$AU231))/SUM(IF($AP231:$AU231<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP231:$AU231))/SUM(IF($AP231:$AU231<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R231:$AU231))/SUM(IF($R231:$AU231<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R231:$AU231))/SUM(IF($R231:$AU231<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK231:$AU231))/SUM(IF($AK231:$AU231<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK231:$AU231))/SUM(IF($AK231:$AU231<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D231=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU231>0,'Calculator Table'!BT231>0),\"Z-ERROR\",IF('Calculator Table'!BU231>0,\"X\",IF('Calculator Table'!BV231>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA231,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA231,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB231,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB231,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ231,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ231,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR231,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR231,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS231,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS231,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT231,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT231,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU231,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU231,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV231,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV231,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW231,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW231,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX231,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX231,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY231,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY231,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ231,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ231,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC231,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC231,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD231,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD231,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG231,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG231,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH231,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH231,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE231,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE231,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF231,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF231,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK231,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK231,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL231,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL231,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI231,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI231,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ231,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ231,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q231=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R231:$AU231<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C232","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R232:$AI232))/SUM(IF($R232:$AI232<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R232:$AI232))/SUM(IF($R232:$AI232<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK232:$AN232))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK232:$AN232))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP232:$AU232))/SUM(IF($AP232:$AU232<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP232:$AU232))/SUM(IF($AP232:$AU232<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R232:$AU232))/SUM(IF($R232:$AU232<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R232:$AU232))/SUM(IF($R232:$AU232<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK232:$AU232))/SUM(IF($AK232:$AU232<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK232:$AU232))/SUM(IF($AK232:$AU232<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D232=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU232>0,'Calculator Table'!BT232>0),\"Z-ERROR\",IF('Calculator Table'!BU232>0,\"X\",IF('Calculator Table'!BV232>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA232,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA232,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB232,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB232,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ232,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ232,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR232,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR232,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS232,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS232,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT232,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT232,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU232,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU232,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV232,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV232,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW232,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW232,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX232,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX232,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY232,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY232,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ232,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ232,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC232,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC232,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD232,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD232,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG232,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG232,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH232,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH232,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE232,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE232,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF232,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF232,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK232,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK232,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL232,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL232,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI232,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI232,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ232,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ232,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q232=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R232:$AU232<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C233","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R233:$AI233))/SUM(IF($R233:$AI233<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R233:$AI233))/SUM(IF($R233:$AI233<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK233:$AN233))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK233:$AN233))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP233:$AU233))/SUM(IF($AP233:$AU233<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP233:$AU233))/SUM(IF($AP233:$AU233<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R233:$AU233))/SUM(IF($R233:$AU233<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R233:$AU233))/SUM(IF($R233:$AU233<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK233:$AU233))/SUM(IF($AK233:$AU233<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK233:$AU233))/SUM(IF($AK233:$AU233<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D233=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU233>0,'Calculator Table'!BT233>0),\"Z-ERROR\",IF('Calculator Table'!BU233>0,\"X\",IF('Calculator Table'!BV233>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA233,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA233,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB233,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB233,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ233,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ233,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR233,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR233,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS233,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS233,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT233,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT233,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU233,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU233,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV233,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV233,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW233,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW233,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX233,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX233,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY233,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY233,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ233,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ233,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC233,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC233,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD233,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD233,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG233,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG233,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH233,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH233,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE233,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE233,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF233,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF233,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK233,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK233,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL233,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL233,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI233,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI233,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ233,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ233,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q233=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R233:$AU233<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C234","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R234:$AI234))/SUM(IF($R234:$AI234<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R234:$AI234))/SUM(IF($R234:$AI234<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK234:$AN234))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK234:$AN234))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP234:$AU234))/SUM(IF($AP234:$AU234<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP234:$AU234))/SUM(IF($AP234:$AU234<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R234:$AU234))/SUM(IF($R234:$AU234<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R234:$AU234))/SUM(IF($R234:$AU234<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK234:$AU234))/SUM(IF($AK234:$AU234<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK234:$AU234))/SUM(IF($AK234:$AU234<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D234=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU234>0,'Calculator Table'!BT234>0),\"Z-ERROR\",IF('Calculator Table'!BU234>0,\"X\",IF('Calculator Table'!BV234>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA234,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA234,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB234,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB234,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ234,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ234,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR234,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR234,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS234,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS234,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT234,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT234,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU234,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU234,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV234,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV234,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW234,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW234,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX234,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX234,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY234,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY234,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ234,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ234,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC234,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC234,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD234,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD234,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG234,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG234,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH234,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH234,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE234,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE234,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF234,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF234,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK234,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK234,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL234,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL234,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI234,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI234,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ234,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ234,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q234=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R234:$AU234<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C235","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R235:$AI235))/SUM(IF($R235:$AI235<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R235:$AI235))/SUM(IF($R235:$AI235<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK235:$AN235))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK235:$AN235))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP235:$AU235))/SUM(IF($AP235:$AU235<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP235:$AU235))/SUM(IF($AP235:$AU235<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R235:$AU235))/SUM(IF($R235:$AU235<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R235:$AU235))/SUM(IF($R235:$AU235<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK235:$AU235))/SUM(IF($AK235:$AU235<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK235:$AU235))/SUM(IF($AK235:$AU235<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D235=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU235>0,'Calculator Table'!BT235>0),\"Z-ERROR\",IF('Calculator Table'!BU235>0,\"X\",IF('Calculator Table'!BV235>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA235,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA235,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB235,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB235,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ235,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ235,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR235,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR235,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS235,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS235,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT235,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT235,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU235,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU235,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV235,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV235,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW235,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW235,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX235,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX235,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY235,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY235,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ235,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ235,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC235,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC235,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD235,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD235,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG235,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG235,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH235,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH235,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE235,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE235,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF235,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF235,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK235,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK235,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL235,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL235,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI235,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI235,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ235,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ235,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q235=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R235:$AU235<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C236","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R236:$AI236))/SUM(IF($R236:$AI236<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R236:$AI236))/SUM(IF($R236:$AI236<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK236:$AN236))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK236:$AN236))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP236:$AU236))/SUM(IF($AP236:$AU236<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP236:$AU236))/SUM(IF($AP236:$AU236<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R236:$AU236))/SUM(IF($R236:$AU236<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R236:$AU236))/SUM(IF($R236:$AU236<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK236:$AU236))/SUM(IF($AK236:$AU236<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK236:$AU236))/SUM(IF($AK236:$AU236<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D236=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU236>0,'Calculator Table'!BT236>0),\"Z-ERROR\",IF('Calculator Table'!BU236>0,\"X\",IF('Calculator Table'!BV236>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA236,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA236,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB236,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB236,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ236,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ236,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR236,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR236,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS236,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS236,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT236,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT236,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU236,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU236,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV236,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV236,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW236,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW236,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX236,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX236,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY236,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY236,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ236,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ236,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC236,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC236,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD236,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD236,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG236,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG236,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH236,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH236,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE236,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE236,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF236,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF236,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK236,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK236,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL236,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL236,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI236,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI236,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ236,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ236,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q236=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R236:$AU236<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C237","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R237:$AI237))/SUM(IF($R237:$AI237<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R237:$AI237))/SUM(IF($R237:$AI237<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK237:$AN237))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK237:$AN237))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP237:$AU237))/SUM(IF($AP237:$AU237<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP237:$AU237))/SUM(IF($AP237:$AU237<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R237:$AU237))/SUM(IF($R237:$AU237<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R237:$AU237))/SUM(IF($R237:$AU237<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK237:$AU237))/SUM(IF($AK237:$AU237<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK237:$AU237))/SUM(IF($AK237:$AU237<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D237=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU237>0,'Calculator Table'!BT237>0),\"Z-ERROR\",IF('Calculator Table'!BU237>0,\"X\",IF('Calculator Table'!BV237>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA237,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA237,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB237,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB237,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ237,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ237,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR237,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR237,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS237,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS237,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT237,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT237,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU237,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU237,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV237,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV237,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW237,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW237,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX237,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX237,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY237,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY237,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ237,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ237,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC237,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC237,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD237,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD237,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG237,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG237,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH237,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH237,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE237,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE237,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF237,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF237,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK237,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK237,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL237,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL237,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI237,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI237,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ237,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ237,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q237=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R237:$AU237<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C238","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R238:$AI238))/SUM(IF($R238:$AI238<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R238:$AI238))/SUM(IF($R238:$AI238<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK238:$AN238))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK238:$AN238))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP238:$AU238))/SUM(IF($AP238:$AU238<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP238:$AU238))/SUM(IF($AP238:$AU238<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R238:$AU238))/SUM(IF($R238:$AU238<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R238:$AU238))/SUM(IF($R238:$AU238<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK238:$AU238))/SUM(IF($AK238:$AU238<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK238:$AU238))/SUM(IF($AK238:$AU238<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D238=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU238>0,'Calculator Table'!BT238>0),\"Z-ERROR\",IF('Calculator Table'!BU238>0,\"X\",IF('Calculator Table'!BV238>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA238,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA238,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB238,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB238,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ238,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ238,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR238,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR238,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS238,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS238,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT238,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT238,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU238,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU238,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV238,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV238,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW238,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW238,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX238,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX238,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY238,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY238,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ238,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ238,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC238,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC238,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD238,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD238,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG238,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG238,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH238,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH238,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE238,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE238,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF238,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF238,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK238,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK238,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL238,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL238,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI238,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI238,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ238,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ238,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q238=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R238:$AU238<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C239","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R239:$AI239))/SUM(IF($R239:$AI239<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R239:$AI239))/SUM(IF($R239:$AI239<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK239:$AN239))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK239:$AN239))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP239:$AU239))/SUM(IF($AP239:$AU239<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP239:$AU239))/SUM(IF($AP239:$AU239<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R239:$AU239))/SUM(IF($R239:$AU239<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R239:$AU239))/SUM(IF($R239:$AU239<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK239:$AU239))/SUM(IF($AK239:$AU239<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK239:$AU239))/SUM(IF($AK239:$AU239<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D239=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU239>0,'Calculator Table'!BT239>0),\"Z-ERROR\",IF('Calculator Table'!BU239>0,\"X\",IF('Calculator Table'!BV239>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA239,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA239,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB239,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB239,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ239,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ239,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR239,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR239,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS239,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS239,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT239,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT239,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU239,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU239,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV239,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV239,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW239,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW239,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX239,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX239,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY239,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY239,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ239,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ239,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC239,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC239,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD239,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD239,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG239,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG239,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH239,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH239,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE239,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE239,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF239,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF239,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK239,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK239,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL239,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL239,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI239,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI239,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ239,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ239,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q239=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R239:$AU239<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C240","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R240:$AI240))/SUM(IF($R240:$AI240<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R240:$AI240))/SUM(IF($R240:$AI240<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK240:$AN240))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK240:$AN240))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP240:$AU240))/SUM(IF($AP240:$AU240<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP240:$AU240))/SUM(IF($AP240:$AU240<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R240:$AU240))/SUM(IF($R240:$AU240<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R240:$AU240))/SUM(IF($R240:$AU240<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK240:$AU240))/SUM(IF($AK240:$AU240<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK240:$AU240))/SUM(IF($AK240:$AU240<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D240=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU240>0,'Calculator Table'!BT240>0),\"Z-ERROR\",IF('Calculator Table'!BU240>0,\"X\",IF('Calculator Table'!BV240>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA240,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA240,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB240,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB240,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ240,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ240,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR240,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR240,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS240,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS240,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT240,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT240,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU240,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU240,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV240,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV240,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW240,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW240,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX240,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX240,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY240,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY240,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ240,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ240,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC240,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC240,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD240,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD240,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG240,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG240,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH240,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH240,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE240,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE240,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF240,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF240,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK240,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK240,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL240,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL240,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI240,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI240,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ240,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ240,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q240=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R240:$AU240<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C241","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R241:$AI241))/SUM(IF($R241:$AI241<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R241:$AI241))/SUM(IF($R241:$AI241<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK241:$AN241))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK241:$AN241))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP241:$AU241))/SUM(IF($AP241:$AU241<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP241:$AU241))/SUM(IF($AP241:$AU241<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R241:$AU241))/SUM(IF($R241:$AU241<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R241:$AU241))/SUM(IF($R241:$AU241<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK241:$AU241))/SUM(IF($AK241:$AU241<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK241:$AU241))/SUM(IF($AK241:$AU241<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D241=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU241>0,'Calculator Table'!BT241>0),\"Z-ERROR\",IF('Calculator Table'!BU241>0,\"X\",IF('Calculator Table'!BV241>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA241,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA241,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB241,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB241,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ241,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ241,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR241,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR241,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS241,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS241,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT241,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT241,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU241,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU241,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV241,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV241,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW241,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW241,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX241,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX241,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY241,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY241,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ241,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ241,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC241,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC241,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD241,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD241,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG241,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG241,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH241,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH241,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE241,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE241,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF241,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF241,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK241,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK241,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL241,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL241,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI241,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI241,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ241,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ241,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q241=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R241:$AU241<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C242","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R242:$AI242))/SUM(IF($R242:$AI242<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R242:$AI242))/SUM(IF($R242:$AI242<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK242:$AN242))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK242:$AN242))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP242:$AU242))/SUM(IF($AP242:$AU242<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP242:$AU242))/SUM(IF($AP242:$AU242<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R242:$AU242))/SUM(IF($R242:$AU242<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R242:$AU242))/SUM(IF($R242:$AU242<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK242:$AU242))/SUM(IF($AK242:$AU242<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK242:$AU242))/SUM(IF($AK242:$AU242<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D242=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU242>0,'Calculator Table'!BT242>0),\"Z-ERROR\",IF('Calculator Table'!BU242>0,\"X\",IF('Calculator Table'!BV242>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA242,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA242,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB242,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB242,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ242,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ242,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR242,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR242,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS242,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS242,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT242,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT242,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU242,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU242,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV242,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV242,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW242,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW242,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX242,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX242,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY242,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY242,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ242,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ242,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC242,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC242,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD242,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD242,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG242,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG242,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH242,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH242,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE242,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE242,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF242,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF242,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK242,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK242,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL242,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL242,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI242,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI242,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ242,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ242,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q242=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R242:$AU242<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C243","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R243:$AI243))/SUM(IF($R243:$AI243<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R243:$AI243))/SUM(IF($R243:$AI243<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK243:$AN243))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK243:$AN243))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP243:$AU243))/SUM(IF($AP243:$AU243<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP243:$AU243))/SUM(IF($AP243:$AU243<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R243:$AU243))/SUM(IF($R243:$AU243<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R243:$AU243))/SUM(IF($R243:$AU243<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK243:$AU243))/SUM(IF($AK243:$AU243<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK243:$AU243))/SUM(IF($AK243:$AU243<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D243=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU243>0,'Calculator Table'!BT243>0),\"Z-ERROR\",IF('Calculator Table'!BU243>0,\"X\",IF('Calculator Table'!BV243>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA243,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA243,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB243,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB243,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ243,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ243,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR243,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR243,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS243,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS243,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT243,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT243,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU243,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU243,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV243,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV243,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW243,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW243,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX243,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX243,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY243,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY243,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ243,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ243,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC243,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC243,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD243,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD243,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG243,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG243,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH243,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH243,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE243,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE243,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF243,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF243,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK243,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK243,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL243,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL243,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI243,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI243,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ243,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ243,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q243=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R243:$AU243<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C244","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R244:$AI244))/SUM(IF($R244:$AI244<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R244:$AI244))/SUM(IF($R244:$AI244<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK244:$AN244))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK244:$AN244))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP244:$AU244))/SUM(IF($AP244:$AU244<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP244:$AU244))/SUM(IF($AP244:$AU244<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R244:$AU244))/SUM(IF($R244:$AU244<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R244:$AU244))/SUM(IF($R244:$AU244<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK244:$AU244))/SUM(IF($AK244:$AU244<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK244:$AU244))/SUM(IF($AK244:$AU244<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D244=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU244>0,'Calculator Table'!BT244>0),\"Z-ERROR\",IF('Calculator Table'!BU244>0,\"X\",IF('Calculator Table'!BV244>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA244,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA244,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB244,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB244,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ244,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ244,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR244,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR244,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS244,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS244,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT244,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT244,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU244,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU244,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV244,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV244,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW244,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW244,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX244,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX244,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY244,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY244,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ244,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ244,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC244,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC244,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD244,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD244,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG244,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG244,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH244,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH244,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE244,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE244,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF244,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF244,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK244,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK244,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL244,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL244,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI244,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI244,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ244,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ244,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q244=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R244:$AU244<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C245","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R245:$AI245))/SUM(IF($R245:$AI245<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R245:$AI245))/SUM(IF($R245:$AI245<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK245:$AN245))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK245:$AN245))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP245:$AU245))/SUM(IF($AP245:$AU245<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP245:$AU245))/SUM(IF($AP245:$AU245<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R245:$AU245))/SUM(IF($R245:$AU245<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R245:$AU245))/SUM(IF($R245:$AU245<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK245:$AU245))/SUM(IF($AK245:$AU245<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK245:$AU245))/SUM(IF($AK245:$AU245<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D245=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU245>0,'Calculator Table'!BT245>0),\"Z-ERROR\",IF('Calculator Table'!BU245>0,\"X\",IF('Calculator Table'!BV245>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA245,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA245,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB245,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB245,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ245,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ245,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR245,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR245,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS245,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS245,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT245,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT245,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU245,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU245,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV245,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV245,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW245,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW245,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX245,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX245,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY245,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY245,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ245,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ245,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC245,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC245,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD245,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD245,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG245,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG245,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH245,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH245,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE245,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE245,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF245,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF245,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK245,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK245,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL245,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL245,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI245,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI245,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ245,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ245,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q245=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R245:$AU245<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C246","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R246:$AI246))/SUM(IF($R246:$AI246<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R246:$AI246))/SUM(IF($R246:$AI246<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK246:$AN246))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK246:$AN246))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP246:$AU246))/SUM(IF($AP246:$AU246<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP246:$AU246))/SUM(IF($AP246:$AU246<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R246:$AU246))/SUM(IF($R246:$AU246<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R246:$AU246))/SUM(IF($R246:$AU246<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK246:$AU246))/SUM(IF($AK246:$AU246<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK246:$AU246))/SUM(IF($AK246:$AU246<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D246=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU246>0,'Calculator Table'!BT246>0),\"Z-ERROR\",IF('Calculator Table'!BU246>0,\"X\",IF('Calculator Table'!BV246>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA246,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA246,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB246,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB246,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ246,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ246,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR246,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR246,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS246,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS246,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT246,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT246,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU246,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU246,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV246,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV246,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW246,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW246,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX246,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX246,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY246,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY246,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ246,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ246,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC246,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC246,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD246,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD246,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG246,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG246,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH246,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH246,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE246,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE246,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF246,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF246,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK246,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK246,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL246,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL246,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI246,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI246,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ246,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ246,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q246=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R246:$AU246<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C247","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R247:$AI247))/SUM(IF($R247:$AI247<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R247:$AI247))/SUM(IF($R247:$AI247<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK247:$AN247))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK247:$AN247))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP247:$AU247))/SUM(IF($AP247:$AU247<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP247:$AU247))/SUM(IF($AP247:$AU247<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R247:$AU247))/SUM(IF($R247:$AU247<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R247:$AU247))/SUM(IF($R247:$AU247<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK247:$AU247))/SUM(IF($AK247:$AU247<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK247:$AU247))/SUM(IF($AK247:$AU247<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D247=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU247>0,'Calculator Table'!BT247>0),\"Z-ERROR\",IF('Calculator Table'!BU247>0,\"X\",IF('Calculator Table'!BV247>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA247,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA247,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB247,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB247,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ247,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ247,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR247,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR247,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS247,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS247,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT247,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT247,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU247,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU247,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV247,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV247,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW247,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW247,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX247,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX247,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY247,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY247,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ247,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ247,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC247,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC247,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD247,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD247,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG247,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG247,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH247,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH247,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE247,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE247,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF247,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF247,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK247,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK247,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL247,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL247,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI247,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI247,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ247,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ247,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q247=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R247:$AU247<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C248","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R248:$AI248))/SUM(IF($R248:$AI248<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R248:$AI248))/SUM(IF($R248:$AI248<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK248:$AN248))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK248:$AN248))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP248:$AU248))/SUM(IF($AP248:$AU248<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP248:$AU248))/SUM(IF($AP248:$AU248<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R248:$AU248))/SUM(IF($R248:$AU248<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R248:$AU248))/SUM(IF($R248:$AU248<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK248:$AU248))/SUM(IF($AK248:$AU248<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK248:$AU248))/SUM(IF($AK248:$AU248<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D248=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU248>0,'Calculator Table'!BT248>0),\"Z-ERROR\",IF('Calculator Table'!BU248>0,\"X\",IF('Calculator Table'!BV248>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA248,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA248,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB248,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB248,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ248,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ248,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR248,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR248,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS248,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS248,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT248,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT248,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU248,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU248,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV248,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV248,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW248,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW248,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX248,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX248,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY248,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY248,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ248,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ248,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC248,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC248,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD248,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD248,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG248,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG248,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH248,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH248,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE248,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE248,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF248,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF248,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK248,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK248,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL248,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL248,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI248,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI248,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ248,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ248,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q248=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R248:$AU248<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C249","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R249:$AI249))/SUM(IF($R249:$AI249<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R249:$AI249))/SUM(IF($R249:$AI249<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK249:$AN249))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK249:$AN249))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP249:$AU249))/SUM(IF($AP249:$AU249<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP249:$AU249))/SUM(IF($AP249:$AU249<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R249:$AU249))/SUM(IF($R249:$AU249<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R249:$AU249))/SUM(IF($R249:$AU249<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK249:$AU249))/SUM(IF($AK249:$AU249<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK249:$AU249))/SUM(IF($AK249:$AU249<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D249=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU249>0,'Calculator Table'!BT249>0),\"Z-ERROR\",IF('Calculator Table'!BU249>0,\"X\",IF('Calculator Table'!BV249>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA249,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA249,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB249,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB249,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ249,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ249,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR249,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR249,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS249,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS249,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT249,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT249,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU249,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU249,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV249,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV249,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW249,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW249,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX249,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX249,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY249,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY249,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ249,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ249,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC249,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC249,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD249,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD249,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG249,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG249,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH249,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH249,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE249,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE249,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF249,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF249,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK249,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK249,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL249,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL249,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI249,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI249,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ249,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ249,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q249=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R249:$AU249<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C250","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R250:$AI250))/SUM(IF($R250:$AI250<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R250:$AI250))/SUM(IF($R250:$AI250<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK250:$AN250))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK250:$AN250))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP250:$AU250))/SUM(IF($AP250:$AU250<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP250:$AU250))/SUM(IF($AP250:$AU250<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R250:$AU250))/SUM(IF($R250:$AU250<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R250:$AU250))/SUM(IF($R250:$AU250<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK250:$AU250))/SUM(IF($AK250:$AU250<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK250:$AU250))/SUM(IF($AK250:$AU250<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D250=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU250>0,'Calculator Table'!BT250>0),\"Z-ERROR\",IF('Calculator Table'!BU250>0,\"X\",IF('Calculator Table'!BV250>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA250,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA250,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB250,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB250,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ250,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ250,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR250,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR250,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS250,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS250,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT250,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT250,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU250,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU250,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV250,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV250,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW250,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW250,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX250,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX250,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY250,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY250,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ250,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ250,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC250,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC250,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD250,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD250,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG250,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG250,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH250,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH250,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE250,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE250,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF250,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF250,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK250,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK250,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL250,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL250,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI250,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI250,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ250,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ250,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q250=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R250:$AU250<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C255","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R255:$AI255))/SUM(IF($R255:$AI255<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R255:$AI255))/SUM(IF($R255:$AI255<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK255:$AN255))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK255:$AN255))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP255:$AU255))/SUM(IF($AP255:$AU255<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP255:$AU255))/SUM(IF($AP255:$AU255<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R255:$AU255))/SUM(IF($R255:$AU255<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R255:$AU255))/SUM(IF($R255:$AU255<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK255:$AU255))/SUM(IF($AK255:$AU255<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK255:$AU255))/SUM(IF($AK255:$AU255<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D255=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU255>0,'Calculator Table'!BT255>0),\"Z-ERROR\",IF('Calculator Table'!BU255>0,\"X\",IF('Calculator Table'!BV255>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA255,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA255,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB255,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB255,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ255,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ255,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR255,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR255,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS255,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS255,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT255,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT255,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU255,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU255,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV255,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV255,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW255,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW255,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX255,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX255,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY255,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY255,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ255,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ255,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC255,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC255,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD255,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD255,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG255,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG255,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH255,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH255,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE255,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE255,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF255,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF255,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK255,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK255,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL255,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL255,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI255,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI255,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ255,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ255,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q255=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R255:$AU255<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C260","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R260:$AI260))/SUM(IF($R260:$AI260<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R260:$AI260))/SUM(IF($R260:$AI260<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK260:$AN260))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK260:$AN260))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP260:$AU260))/SUM(IF($AP260:$AU260<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP260:$AU260))/SUM(IF($AP260:$AU260<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R260:$AU260))/SUM(IF($R260:$AU260<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R260:$AU260))/SUM(IF($R260:$AU260<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK260:$AU260))/SUM(IF($AK260:$AU260<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK260:$AU260))/SUM(IF($AK260:$AU260<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},{"$f":"IF(AND(ISERROR(B260),ISERROR(L260)),B260,AVERAGE(IF(NOT(ISERROR(B260)),B260),IF(NOT(ISERROR(L260)),L260)))","v":0},{"$f":"IF(AND(ISERROR(C260),ISERROR(M260)),C260,AVERAGE(IF(NOT(ISERROR(C260)),C260),IF(NOT(ISERROR(M260)),M260)))","v":0},{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D260=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU260>0,'Calculator Table'!BT260>0),\"Z-ERROR\",IF('Calculator Table'!BU260>0,\"X\",IF('Calculator Table'!BV260>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA260,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA260,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB260,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB260,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ260,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ260,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR260,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR260,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS260,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS260,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT260,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT260,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU260,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU260,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV260,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV260,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW260,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW260,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX260,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX260,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY260,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY260,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ260,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ260,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC260,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC260,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD260,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD260,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG260,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG260,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH260,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH260,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE260,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE260,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF260,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF260,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK260,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK260,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL260,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL260,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI260,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI260,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ260,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ260,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q260=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R260:$AU260<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C269","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R269:$AI269))/SUM(IF($R269:$AI269<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R269:$AI269))/SUM(IF($R269:$AI269<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK269:$AN269))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK269:$AN269))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP269:$AU269))/SUM(IF($AP269:$AU269<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP269:$AU269))/SUM(IF($AP269:$AU269<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R269:$AU269))/SUM(IF($R269:$AU269<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R269:$AU269))/SUM(IF($R269:$AU269<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK269:$AU269))/SUM(IF($AK269:$AU269<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK269:$AU269))/SUM(IF($AK269:$AU269<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D269=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU269>0,'Calculator Table'!BT269>0),\"Z-ERROR\",IF('Calculator Table'!BU269>0,\"X\",IF('Calculator Table'!BV269>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA269,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA269,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB269,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB269,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ269,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ269,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR269,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR269,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS269,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS269,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT269,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT269,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU269,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU269,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV269,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV269,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW269,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW269,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX269,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX269,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY269,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY269,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ269,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ269,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC269,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC269,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD269,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD269,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG269,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG269,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH269,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH269,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE269,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE269,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF269,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF269,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK269,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK269,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL269,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL269,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI269,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI269,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ269,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ269,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q269=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R269:$AU269<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C277","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R277:$AI277))/SUM(IF($R277:$AI277<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R277:$AI277))/SUM(IF($R277:$AI277<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK277:$AN277))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK277:$AN277))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP277:$AU277))/SUM(IF($AP277:$AU277<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP277:$AU277))/SUM(IF($AP277:$AU277<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R277:$AU277))/SUM(IF($R277:$AU277<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R277:$AU277))/SUM(IF($R277:$AU277<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK277:$AU277))/SUM(IF($AK277:$AU277<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK277:$AU277))/SUM(IF($AK277:$AU277<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D277=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU277>0,'Calculator Table'!BT277>0),\"Z-ERROR\",IF('Calculator Table'!BU277>0,\"X\",IF('Calculator Table'!BV277>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA277,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA277,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB277,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB277,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ277,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ277,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR277,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR277,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS277,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS277,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT277,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT277,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU277,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU277,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV277,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV277,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW277,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW277,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX277,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX277,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY277,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY277,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ277,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ277,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC277,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC277,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD277,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD277,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG277,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG277,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH277,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH277,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE277,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE277,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF277,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF277,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK277,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK277,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL277,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL277,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI277,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI277,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ277,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ277,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q277=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R277:$AU277<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C283","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R283:$AI283))/SUM(IF($R283:$AI283<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R283:$AI283))/SUM(IF($R283:$AI283<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK283:$AN283))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK283:$AN283))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP283:$AU283))/SUM(IF($AP283:$AU283<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP283:$AU283))/SUM(IF($AP283:$AU283<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R283:$AU283))/SUM(IF($R283:$AU283<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R283:$AU283))/SUM(IF($R283:$AU283<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK283:$AU283))/SUM(IF($AK283:$AU283<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK283:$AU283))/SUM(IF($AK283:$AU283<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D283=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU283>0,'Calculator Table'!BT283>0),\"Z-ERROR\",IF('Calculator Table'!BU283>0,\"X\",IF('Calculator Table'!BV283>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA283,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA283,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB283,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB283,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ283,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ283,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR283,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR283,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS283,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS283,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT283,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT283,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU283,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU283,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV283,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV283,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW283,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW283,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX283,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX283,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY283,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY283,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ283,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ283,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC283,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC283,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD283,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD283,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG283,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG283,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH283,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH283,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE283,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE283,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF283,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF283,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK283,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK283,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL283,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL283,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI283,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI283,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ283,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ283,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q283=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R283:$AU283<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C294","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R294:$AI294))/SUM(IF($R294:$AI294<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R294:$AI294))/SUM(IF($R294:$AI294<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK294:$AN294))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK294:$AN294))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP294:$AU294))/SUM(IF($AP294:$AU294<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP294:$AU294))/SUM(IF($AP294:$AU294<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R294:$AU294))/SUM(IF($R294:$AU294<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R294:$AU294))/SUM(IF($R294:$AU294<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK294:$AU294))/SUM(IF($AK294:$AU294<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK294:$AU294))/SUM(IF($AK294:$AU294<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D294=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU294>0,'Calculator Table'!BT294>0),\"Z-ERROR\",IF('Calculator Table'!BU294>0,\"X\",IF('Calculator Table'!BV294>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA294,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA294,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB294,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB294,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ294,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ294,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR294,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR294,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS294,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS294,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT294,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT294,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU294,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU294,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV294,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV294,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW294,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW294,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX294,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX294,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY294,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY294,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ294,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ294,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC294,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC294,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD294,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD294,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG294,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG294,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH294,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH294,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE294,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE294,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF294,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF294,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK294,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK294,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL294,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL294,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI294,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI294,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ294,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ294,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q294=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R294:$AU294<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C297","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R297:$AI297))/SUM(IF($R297:$AI297<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R297:$AI297))/SUM(IF($R297:$AI297<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK297:$AN297))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK297:$AN297))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP297:$AU297))/SUM(IF($AP297:$AU297<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP297:$AU297))/SUM(IF($AP297:$AU297<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R297:$AU297))/SUM(IF($R297:$AU297<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R297:$AU297))/SUM(IF($R297:$AU297<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK297:$AU297))/SUM(IF($AK297:$AU297<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK297:$AU297))/SUM(IF($AK297:$AU297<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D297=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU297>0,'Calculator Table'!BT297>0),\"Z-ERROR\",IF('Calculator Table'!BU297>0,\"X\",IF('Calculator Table'!BV297>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA297,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA297,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB297,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB297,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ297,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ297,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR297,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR297,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS297,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS297,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT297,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT297,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU297,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU297,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV297,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV297,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW297,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW297,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX297,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX297,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY297,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY297,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ297,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ297,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC297,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC297,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD297,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD297,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG297,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG297,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH297,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH297,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE297,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE297,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF297,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF297,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK297,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK297,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL297,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL297,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI297,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI297,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ297,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ297,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q297=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R297:$AU297<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C303","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R303:$AI303))/SUM(IF($R303:$AI303<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R303:$AI303))/SUM(IF($R303:$AI303<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK303:$AN303))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK303:$AN303))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP303:$AU303))/SUM(IF($AP303:$AU303<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP303:$AU303))/SUM(IF($AP303:$AU303<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R303:$AU303))/SUM(IF($R303:$AU303<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R303:$AU303))/SUM(IF($R303:$AU303<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK303:$AU303))/SUM(IF($AK303:$AU303<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK303:$AU303))/SUM(IF($AK303:$AU303<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D303=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU303>0,'Calculator Table'!BT303>0),\"Z-ERROR\",IF('Calculator Table'!BU303>0,\"X\",IF('Calculator Table'!BV303>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA303,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA303,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB303,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB303,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ303,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ303,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR303,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR303,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS303,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS303,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT303,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT303,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU303,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU303,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV303,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV303,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW303,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW303,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX303,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX303,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY303,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY303,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ303,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ303,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC303,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC303,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD303,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD303,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG303,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG303,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH303,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH303,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE303,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE303,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF303,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF303,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK303,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK303,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL303,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL303,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI303,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI303,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ303,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ303,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q303=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R303:$AU303<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C312","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R312:$AI312))/SUM(IF($R312:$AI312<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R312:$AI312))/SUM(IF($R312:$AI312<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK312:$AN312))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK312:$AN312))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP312:$AU312))/SUM(IF($AP312:$AU312<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP312:$AU312))/SUM(IF($AP312:$AU312<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R312:$AU312))/SUM(IF($R312:$AU312<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R312:$AU312))/SUM(IF($R312:$AU312<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK312:$AU312))/SUM(IF($AK312:$AU312<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK312:$AU312))/SUM(IF($AK312:$AU312<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D312=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU312>0,'Calculator Table'!BT312>0),\"Z-ERROR\",IF('Calculator Table'!BU312>0,\"X\",IF('Calculator Table'!BV312>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA312,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA312,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB312,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB312,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ312,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ312,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR312,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR312,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS312,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS312,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT312,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT312,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU312,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU312,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV312,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV312,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW312,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW312,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX312,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX312,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY312,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY312,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ312,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ312,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC312,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC312,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD312,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD312,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG312,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG312,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH312,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH312,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE312,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE312,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF312,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF312,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK312,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK312,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL312,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL312,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI312,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI312,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ312,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ312,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q312=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R312:$AU312<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C320","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R320:$AI320))/SUM(IF($R320:$AI320<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R320:$AI320))/SUM(IF($R320:$AI320<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK320:$AN320))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK320:$AN320))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP320:$AU320))/SUM(IF($AP320:$AU320<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP320:$AU320))/SUM(IF($AP320:$AU320<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R320:$AU320))/SUM(IF($R320:$AU320<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R320:$AU320))/SUM(IF($R320:$AU320<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK320:$AU320))/SUM(IF($AK320:$AU320<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK320:$AU320))/SUM(IF($AK320:$AU320<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D320=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU320>0,'Calculator Table'!BT320>0),\"Z-ERROR\",IF('Calculator Table'!BU320>0,\"X\",IF('Calculator Table'!BV320>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA320,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA320,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB320,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB320,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ320,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ320,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR320,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR320,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS320,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS320,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT320,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT320,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU320,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU320,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV320,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV320,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW320,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW320,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX320,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX320,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY320,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY320,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ320,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ320,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC320,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC320,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD320,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD320,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG320,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG320,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH320,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH320,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE320,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE320,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF320,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF320,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK320,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK320,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL320,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL320,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI320,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI320,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ320,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ320,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q320=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R320:$AU320<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C329","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R329:$AI329))/SUM(IF($R329:$AI329<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R329:$AI329))/SUM(IF($R329:$AI329<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK329:$AN329))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK329:$AN329))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP329:$AU329))/SUM(IF($AP329:$AU329<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP329:$AU329))/SUM(IF($AP329:$AU329<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R329:$AU329))/SUM(IF($R329:$AU329<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R329:$AU329))/SUM(IF($R329:$AU329<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK329:$AU329))/SUM(IF($AK329:$AU329<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK329:$AU329))/SUM(IF($AK329:$AU329<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D329=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU329>0,'Calculator Table'!BT329>0),\"Z-ERROR\",IF('Calculator Table'!BU329>0,\"X\",IF('Calculator Table'!BV329>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA329,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA329,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB329,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB329,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ329,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ329,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR329,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR329,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS329,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS329,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT329,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT329,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU329,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU329,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV329,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV329,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW329,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW329,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX329,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX329,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY329,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY329,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ329,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ329,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC329,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC329,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD329,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD329,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG329,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG329,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH329,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH329,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE329,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE329,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF329,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF329,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK329,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK329,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL329,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL329,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI329,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI329,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ329,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ329,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q329=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R329:$AU329<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C334","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R334:$AI334))/SUM(IF($R334:$AI334<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R334:$AI334))/SUM(IF($R334:$AI334<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK334:$AN334))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK334:$AN334))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP334:$AU334))/SUM(IF($AP334:$AU334<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP334:$AU334))/SUM(IF($AP334:$AU334<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R334:$AU334))/SUM(IF($R334:$AU334<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R334:$AU334))/SUM(IF($R334:$AU334<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK334:$AU334))/SUM(IF($AK334:$AU334<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK334:$AU334))/SUM(IF($AK334:$AU334<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D334=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU334>0,'Calculator Table'!BT334>0),\"Z-ERROR\",IF('Calculator Table'!BU334>0,\"X\",IF('Calculator Table'!BV334>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA334,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA334,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB334,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB334,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ334,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ334,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR334,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR334,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS334,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS334,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT334,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT334,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU334,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU334,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV334,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV334,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW334,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW334,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX334,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX334,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY334,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY334,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ334,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ334,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC334,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC334,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD334,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD334,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG334,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG334,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH334,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH334,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE334,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE334,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF334,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF334,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK334,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK334,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL334,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL334,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI334,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI334,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ334,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ334,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q334=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R334:$AU334<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C346","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R346:$AI346))/SUM(IF($R346:$AI346<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R346:$AI346))/SUM(IF($R346:$AI346<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK346:$AN346))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK346:$AN346))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP346:$AU346))/SUM(IF($AP346:$AU346<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP346:$AU346))/SUM(IF($AP346:$AU346<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R346:$AU346))/SUM(IF($R346:$AU346<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R346:$AU346))/SUM(IF($R346:$AU346<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK346:$AU346))/SUM(IF($AK346:$AU346<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK346:$AU346))/SUM(IF($AK346:$AU346<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D346=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU346>0,'Calculator Table'!BT346>0),\"Z-ERROR\",IF('Calculator Table'!BU346>0,\"X\",IF('Calculator Table'!BV346>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA346,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA346,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB346,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB346,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ346,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ346,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR346,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR346,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS346,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS346,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT346,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT346,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU346,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU346,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV346,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV346,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW346,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW346,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX346,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX346,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY346,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY346,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ346,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ346,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC346,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC346,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD346,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD346,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG346,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG346,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH346,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH346,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE346,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE346,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF346,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF346,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK346,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK346,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL346,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL346,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI346,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI346,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ346,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ346,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q346=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R346:$AU346<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C351","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R351:$AI351))/SUM(IF($R351:$AI351<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R351:$AI351))/SUM(IF($R351:$AI351<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK351:$AN351))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK351:$AN351))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP351:$AU351))/SUM(IF($AP351:$AU351<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP351:$AU351))/SUM(IF($AP351:$AU351<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R351:$AU351))/SUM(IF($R351:$AU351<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R351:$AU351))/SUM(IF($R351:$AU351<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK351:$AU351))/SUM(IF($AK351:$AU351<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK351:$AU351))/SUM(IF($AK351:$AU351<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D351=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU351>0,'Calculator Table'!BT351>0),\"Z-ERROR\",IF('Calculator Table'!BU351>0,\"X\",IF('Calculator Table'!BV351>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA351,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA351,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB351,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB351,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ351,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ351,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR351,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR351,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS351,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS351,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT351,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT351,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU351,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU351,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV351,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV351,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW351,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW351,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX351,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX351,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY351,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY351,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ351,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ351,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC351,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC351,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD351,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD351,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG351,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG351,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH351,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH351,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE351,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE351,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF351,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF351,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK351,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK351,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL351,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL351,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI351,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI351,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ351,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ351,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q351=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R351:$AU351<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C363","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R363:$AI363))/SUM(IF($R363:$AI363<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R363:$AI363))/SUM(IF($R363:$AI363<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK363:$AN363))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK363:$AN363))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP363:$AU363))/SUM(IF($AP363:$AU363<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP363:$AU363))/SUM(IF($AP363:$AU363<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R363:$AU363))/SUM(IF($R363:$AU363<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R363:$AU363))/SUM(IF($R363:$AU363<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK363:$AU363))/SUM(IF($AK363:$AU363<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK363:$AU363))/SUM(IF($AK363:$AU363<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D363=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU363>0,'Calculator Table'!BT363>0),\"Z-ERROR\",IF('Calculator Table'!BU363>0,\"X\",IF('Calculator Table'!BV363>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA363,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA363,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB363,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB363,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ363,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ363,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR363,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR363,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS363,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS363,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT363,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT363,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU363,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU363,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV363,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV363,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW363,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW363,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX363,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX363,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY363,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY363,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ363,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ363,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC363,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC363,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD363,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD363,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG363,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG363,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH363,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH363,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE363,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE363,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF363,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF363,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK363,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK363,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL363,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL363,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI363,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI363,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ363,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ363,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q363=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R363:$AU363<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C365","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R365:$AI365))/SUM(IF($R365:$AI365<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R365:$AI365))/SUM(IF($R365:$AI365<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK365:$AN365))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK365:$AN365))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP365:$AU365))/SUM(IF($AP365:$AU365<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP365:$AU365))/SUM(IF($AP365:$AU365<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R365:$AU365))/SUM(IF($R365:$AU365<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R365:$AU365))/SUM(IF($R365:$AU365<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK365:$AU365))/SUM(IF($AK365:$AU365<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK365:$AU365))/SUM(IF($AK365:$AU365<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D365=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU365>0,'Calculator Table'!BT365>0),\"Z-ERROR\",IF('Calculator Table'!BU365>0,\"X\",IF('Calculator Table'!BV365>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA365,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA365,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB365,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB365,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ365,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ365,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR365,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR365,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS365,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS365,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT365,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT365,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU365,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU365,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV365,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV365,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW365,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW365,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX365,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX365,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY365,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY365,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ365,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ365,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC365,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC365,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD365,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD365,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG365,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG365,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH365,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH365,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE365,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE365,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF365,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF365,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK365,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK365,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL365,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL365,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI365,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI365,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ365,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ365,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q365=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R365:$AU365<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C372","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R372:$AI372))/SUM(IF($R372:$AI372<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R372:$AI372))/SUM(IF($R372:$AI372<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK372:$AN372))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK372:$AN372))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP372:$AU372))/SUM(IF($AP372:$AU372<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP372:$AU372))/SUM(IF($AP372:$AU372<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R372:$AU372))/SUM(IF($R372:$AU372<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R372:$AU372))/SUM(IF($R372:$AU372<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK372:$AU372))/SUM(IF($AK372:$AU372<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK372:$AU372))/SUM(IF($AK372:$AU372<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D372=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU372>0,'Calculator Table'!BT372>0),\"Z-ERROR\",IF('Calculator Table'!BU372>0,\"X\",IF('Calculator Table'!BV372>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA372,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA372,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB372,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB372,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ372,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ372,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR372,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR372,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS372,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS372,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT372,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT372,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU372,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU372,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV372,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV372,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW372,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW372,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX372,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX372,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY372,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY372,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ372,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ372,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC372,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC372,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD372,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD372,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG372,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG372,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH372,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH372,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE372,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE372,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF372,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF372,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK372,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK372,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL372,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL372,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI372,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI372,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ372,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ372,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q372=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R372:$AU372<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C381","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R381:$AI381))/SUM(IF($R381:$AI381<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R381:$AI381))/SUM(IF($R381:$AI381<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK381:$AN381))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK381:$AN381))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP381:$AU381))/SUM(IF($AP381:$AU381<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP381:$AU381))/SUM(IF($AP381:$AU381<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R381:$AU381))/SUM(IF($R381:$AU381<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R381:$AU381))/SUM(IF($R381:$AU381<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK381:$AU381))/SUM(IF($AK381:$AU381<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK381:$AU381))/SUM(IF($AK381:$AU381<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D381=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU381>0,'Calculator Table'!BT381>0),\"Z-ERROR\",IF('Calculator Table'!BU381>0,\"X\",IF('Calculator Table'!BV381>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA381,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA381,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB381,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB381,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ381,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ381,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR381,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR381,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS381,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS381,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT381,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT381,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU381,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU381,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV381,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV381,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW381,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW381,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX381,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX381,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY381,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY381,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ381,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ381,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC381,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC381,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD381,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD381,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG381,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG381,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH381,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH381,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE381,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE381,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF381,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF381,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK381,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK381,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL381,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL381,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI381,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI381,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ381,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ381,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q381=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R381:$AU381<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C388","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R388:$AI388))/SUM(IF($R388:$AI388<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R388:$AI388))/SUM(IF($R388:$AI388<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK388:$AN388))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK388:$AN388))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP388:$AU388))/SUM(IF($AP388:$AU388<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP388:$AU388))/SUM(IF($AP388:$AU388<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R388:$AU388))/SUM(IF($R388:$AU388<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R388:$AU388))/SUM(IF($R388:$AU388<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK388:$AU388))/SUM(IF($AK388:$AU388<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK388:$AU388))/SUM(IF($AK388:$AU388<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},{"$f":"IF(AND(ISERROR(B388),ISERROR(L388)),B388,AVERAGE(IF(NOT(ISERROR(B388)),B388),IF(NOT(ISERROR(L388)),L388)))","v":0},{"$f":"IF(AND(ISERROR(C388),ISERROR(M388)),C388,AVERAGE(IF(NOT(ISERROR(C388)),C388),IF(NOT(ISERROR(M388)),M388)))","v":0},{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D388=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU388>0,'Calculator Table'!BT388>0),\"Z-ERROR\",IF('Calculator Table'!BU388>0,\"X\",IF('Calculator Table'!BV388>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA388,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA388,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB388,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB388,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ388,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ388,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR388,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR388,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS388,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS388,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT388,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT388,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU388,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU388,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV388,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV388,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW388,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW388,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX388,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX388,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY388,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY388,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ388,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ388,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC388,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC388,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD388,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD388,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG388,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG388,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH388,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH388,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE388,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE388,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF388,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF388,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK388,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK388,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL388,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL388,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI388,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI388,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ388,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ388,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q388=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R388:$AU388<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C398","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R398:$AI398))/SUM(IF($R398:$AI398<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R398:$AI398))/SUM(IF($R398:$AI398<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK398:$AN398))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK398:$AN398))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP398:$AU398))/SUM(IF($AP398:$AU398<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP398:$AU398))/SUM(IF($AP398:$AU398<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R398:$AU398))/SUM(IF($R398:$AU398<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R398:$AU398))/SUM(IF($R398:$AU398<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK398:$AU398))/SUM(IF($AK398:$AU398<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK398:$AU398))/SUM(IF($AK398:$AU398<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D398=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU398>0,'Calculator Table'!BT398>0),\"Z-ERROR\",IF('Calculator Table'!BU398>0,\"X\",IF('Calculator Table'!BV398>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA398,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA398,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB398,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB398,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ398,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ398,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR398,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR398,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS398,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS398,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT398,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT398,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU398,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU398,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV398,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV398,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW398,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW398,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX398,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX398,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY398,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY398,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ398,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ398,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC398,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC398,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD398,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD398,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG398,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG398,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH398,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH398,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE398,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE398,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF398,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF398,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK398,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK398,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL398,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL398,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI398,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI398,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ398,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ398,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q398=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R398:$AU398<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C402","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R402:$AI402))/SUM(IF($R402:$AI402<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R402:$AI402))/SUM(IF($R402:$AI402<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK402:$AN402))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK402:$AN402))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP402:$AU402))/SUM(IF($AP402:$AU402<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP402:$AU402))/SUM(IF($AP402:$AU402<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R402:$AU402))/SUM(IF($R402:$AU402<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R402:$AU402))/SUM(IF($R402:$AU402<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK402:$AU402))/SUM(IF($AK402:$AU402<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK402:$AU402))/SUM(IF($AK402:$AU402<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D402=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU402>0,'Calculator Table'!BT402>0),\"Z-ERROR\",IF('Calculator Table'!BU402>0,\"X\",IF('Calculator Table'!BV402>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA402,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA402,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB402,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB402,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ402,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ402,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR402,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR402,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS402,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS402,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT402,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT402,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU402,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU402,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV402,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV402,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW402,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW402,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX402,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX402,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY402,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY402,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ402,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ402,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC402,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC402,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD402,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD402,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG402,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG402,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH402,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH402,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE402,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE402,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF402,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF402,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK402,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK402,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL402,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL402,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI402,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI402,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ402,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ402,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q402=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R402:$AU402<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C415","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R415:$AI415))/SUM(IF($R415:$AI415<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R415:$AI415))/SUM(IF($R415:$AI415<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK415:$AN415))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK415:$AN415))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP415:$AU415))/SUM(IF($AP415:$AU415<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP415:$AU415))/SUM(IF($AP415:$AU415<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R415:$AU415))/SUM(IF($R415:$AU415<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R415:$AU415))/SUM(IF($R415:$AU415<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK415:$AU415))/SUM(IF($AK415:$AU415<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK415:$AU415))/SUM(IF($AK415:$AU415<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D415=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU415>0,'Calculator Table'!BT415>0),\"Z-ERROR\",IF('Calculator Table'!BU415>0,\"X\",IF('Calculator Table'!BV415>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA415,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA415,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB415,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB415,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ415,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ415,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR415,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR415,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS415,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS415,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT415,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT415,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU415,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU415,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV415,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV415,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW415,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW415,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX415,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX415,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY415,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY415,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ415,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ415,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC415,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC415,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD415,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD415,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG415,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG415,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH415,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH415,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE415,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE415,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF415,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF415,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK415,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK415,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL415,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL415,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI415,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI415,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ415,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ415,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q415=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R415:$AU415<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C423","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R423:$AI423))/SUM(IF($R423:$AI423<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R423:$AI423))/SUM(IF($R423:$AI423<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK423:$AN423))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK423:$AN423))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP423:$AU423))/SUM(IF($AP423:$AU423<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP423:$AU423))/SUM(IF($AP423:$AU423<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R423:$AU423))/SUM(IF($R423:$AU423<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R423:$AU423))/SUM(IF($R423:$AU423<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK423:$AU423))/SUM(IF($AK423:$AU423<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK423:$AU423))/SUM(IF($AK423:$AU423<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D423=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU423>0,'Calculator Table'!BT423>0),\"Z-ERROR\",IF('Calculator Table'!BU423>0,\"X\",IF('Calculator Table'!BV423>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA423,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA423,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB423,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB423,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ423,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ423,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR423,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR423,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS423,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS423,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT423,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT423,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU423,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU423,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV423,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV423,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW423,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW423,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX423,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX423,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY423,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY423,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ423,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ423,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC423,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC423,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD423,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD423,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG423,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG423,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH423,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH423,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE423,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE423,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF423,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF423,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK423,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK423,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL423,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL423,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI423,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI423,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ423,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ423,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q423=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R423:$AU423<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C424","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R424:$AI424))/SUM(IF($R424:$AI424<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R424:$AI424))/SUM(IF($R424:$AI424<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK424:$AN424))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK424:$AN424))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP424:$AU424))/SUM(IF($AP424:$AU424<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP424:$AU424))/SUM(IF($AP424:$AU424<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R424:$AU424))/SUM(IF($R424:$AU424<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R424:$AU424))/SUM(IF($R424:$AU424<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK424:$AU424))/SUM(IF($AK424:$AU424<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK424:$AU424))/SUM(IF($AK424:$AU424<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D424=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU424>0,'Calculator Table'!BT424>0),\"Z-ERROR\",IF('Calculator Table'!BU424>0,\"X\",IF('Calculator Table'!BV424>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA424,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA424,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB424,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB424,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ424,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ424,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR424,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR424,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS424,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS424,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT424,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT424,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU424,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU424,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV424,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV424,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW424,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW424,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX424,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX424,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY424,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY424,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ424,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ424,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC424,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC424,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD424,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD424,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG424,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG424,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH424,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH424,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE424,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE424,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF424,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF424,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK424,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK424,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL424,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL424,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI424,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI424,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ424,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ424,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q424=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R424:$AU424<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C437","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R437:$AI437))/SUM(IF($R437:$AI437<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R437:$AI437))/SUM(IF($R437:$AI437<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK437:$AN437))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK437:$AN437))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP437:$AU437))/SUM(IF($AP437:$AU437<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP437:$AU437))/SUM(IF($AP437:$AU437<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R437:$AU437))/SUM(IF($R437:$AU437<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R437:$AU437))/SUM(IF($R437:$AU437<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK437:$AU437))/SUM(IF($AK437:$AU437<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK437:$AU437))/SUM(IF($AK437:$AU437<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D437=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU437>0,'Calculator Table'!BT437>0),\"Z-ERROR\",IF('Calculator Table'!BU437>0,\"X\",IF('Calculator Table'!BV437>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA437,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA437,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB437,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB437,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ437,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ437,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR437,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR437,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS437,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS437,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT437,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT437,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU437,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU437,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV437,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV437,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW437,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW437,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX437,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX437,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY437,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY437,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ437,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ437,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC437,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC437,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD437,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD437,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG437,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG437,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH437,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH437,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE437,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE437,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF437,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF437,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK437,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK437,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL437,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL437,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI437,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI437,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ437,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ437,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q437=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R437:$AU437<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C441","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R441:$AI441))/SUM(IF($R441:$AI441<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R441:$AI441))/SUM(IF($R441:$AI441<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK441:$AN441))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK441:$AN441))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP441:$AU441))/SUM(IF($AP441:$AU441<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP441:$AU441))/SUM(IF($AP441:$AU441<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R441:$AU441))/SUM(IF($R441:$AU441<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R441:$AU441))/SUM(IF($R441:$AU441<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK441:$AU441))/SUM(IF($AK441:$AU441<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK441:$AU441))/SUM(IF($AK441:$AU441<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D441=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU441>0,'Calculator Table'!BT441>0),\"Z-ERROR\",IF('Calculator Table'!BU441>0,\"X\",IF('Calculator Table'!BV441>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA441,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA441,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB441,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB441,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ441,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ441,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR441,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR441,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS441,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS441,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT441,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT441,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU441,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU441,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV441,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV441,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW441,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW441,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX441,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX441,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY441,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY441,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ441,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ441,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC441,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC441,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD441,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD441,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG441,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG441,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH441,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH441,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE441,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE441,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF441,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF441,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK441,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK441,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL441,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL441,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI441,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI441,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ441,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ441,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q441=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R441:$AU441<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C450","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R450:$AI450))/SUM(IF($R450:$AI450<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R450:$AI450))/SUM(IF($R450:$AI450<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK450:$AN450))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK450:$AN450))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP450:$AU450))/SUM(IF($AP450:$AU450<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP450:$AU450))/SUM(IF($AP450:$AU450<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R450:$AU450))/SUM(IF($R450:$AU450<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R450:$AU450))/SUM(IF($R450:$AU450<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK450:$AU450))/SUM(IF($AK450:$AU450<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK450:$AU450))/SUM(IF($AK450:$AU450<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D450=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU450>0,'Calculator Table'!BT450>0),\"Z-ERROR\",IF('Calculator Table'!BU450>0,\"X\",IF('Calculator Table'!BV450>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA450,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA450,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB450,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB450,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ450,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ450,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR450,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR450,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS450,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS450,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT450,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT450,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU450,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU450,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV450,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV450,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW450,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW450,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX450,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX450,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY450,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY450,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ450,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ450,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC450,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC450,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD450,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD450,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG450,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG450,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH450,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH450,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE450,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE450,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF450,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF450,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK450,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK450,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL450,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL450,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI450,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI450,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ450,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ450,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q450=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R450:$AU450<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C460","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R460:$AI460))/SUM(IF($R460:$AI460<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R460:$AI460))/SUM(IF($R460:$AI460<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK460:$AN460))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK460:$AN460))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP460:$AU460))/SUM(IF($AP460:$AU460<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP460:$AU460))/SUM(IF($AP460:$AU460<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R460:$AU460))/SUM(IF($R460:$AU460<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R460:$AU460))/SUM(IF($R460:$AU460<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK460:$AU460))/SUM(IF($AK460:$AU460<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK460:$AU460))/SUM(IF($AK460:$AU460<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D460=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU460>0,'Calculator Table'!BT460>0),\"Z-ERROR\",IF('Calculator Table'!BU460>0,\"X\",IF('Calculator Table'!BV460>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA460,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA460,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB460,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB460,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ460,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ460,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR460,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR460,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS460,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS460,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT460,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT460,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU460,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU460,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV460,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV460,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW460,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW460,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX460,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX460,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY460,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY460,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ460,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ460,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC460,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC460,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD460,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD460,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG460,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG460,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH460,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH460,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE460,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE460,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF460,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF460,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK460,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK460,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL460,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL460,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI460,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI460,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ460,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ460,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q460=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R460:$AU460<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C467","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R467:$AI467))/SUM(IF($R467:$AI467<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R467:$AI467))/SUM(IF($R467:$AI467<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK467:$AN467))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK467:$AN467))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP467:$AU467))/SUM(IF($AP467:$AU467<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP467:$AU467))/SUM(IF($AP467:$AU467<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R467:$AU467))/SUM(IF($R467:$AU467<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R467:$AU467))/SUM(IF($R467:$AU467<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK467:$AU467))/SUM(IF($AK467:$AU467<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK467:$AU467))/SUM(IF($AK467:$AU467<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D467=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU467>0,'Calculator Table'!BT467>0),\"Z-ERROR\",IF('Calculator Table'!BU467>0,\"X\",IF('Calculator Table'!BV467>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA467,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA467,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB467,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB467,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ467,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ467,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR467,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR467,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS467,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS467,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT467,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT467,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU467,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU467,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV467,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV467,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW467,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW467,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX467,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX467,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY467,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY467,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ467,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ467,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC467,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC467,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD467,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD467,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG467,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG467,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH467,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH467,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE467,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE467,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF467,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF467,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK467,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK467,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL467,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL467,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI467,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI467,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ467,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ467,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q467=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R467:$AU467<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C474","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R474:$AI474))/SUM(IF($R474:$AI474<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R474:$AI474))/SUM(IF($R474:$AI474<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK474:$AN474))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK474:$AN474))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP474:$AU474))/SUM(IF($AP474:$AU474<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP474:$AU474))/SUM(IF($AP474:$AU474<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R474:$AU474))/SUM(IF($R474:$AU474<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R474:$AU474))/SUM(IF($R474:$AU474<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK474:$AU474))/SUM(IF($AK474:$AU474<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK474:$AU474))/SUM(IF($AK474:$AU474<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D474=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU474>0,'Calculator Table'!BT474>0),\"Z-ERROR\",IF('Calculator Table'!BU474>0,\"X\",IF('Calculator Table'!BV474>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA474,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA474,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB474,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB474,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ474,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ474,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR474,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR474,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS474,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS474,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT474,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT474,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU474,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU474,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV474,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV474,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW474,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW474,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX474,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX474,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY474,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY474,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ474,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ474,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC474,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC474,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD474,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD474,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG474,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG474,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH474,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH474,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE474,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE474,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF474,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF474,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK474,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK474,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL474,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL474,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI474,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI474,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ474,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ474,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q474=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R474:$AU474<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C484","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R484:$AI484))/SUM(IF($R484:$AI484<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R484:$AI484))/SUM(IF($R484:$AI484<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK484:$AN484))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK484:$AN484))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP484:$AU484))/SUM(IF($AP484:$AU484<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP484:$AU484))/SUM(IF($AP484:$AU484<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R484:$AU484))/SUM(IF($R484:$AU484<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R484:$AU484))/SUM(IF($R484:$AU484<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK484:$AU484))/SUM(IF($AK484:$AU484<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK484:$AU484))/SUM(IF($AK484:$AU484<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D484=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU484>0,'Calculator Table'!BT484>0),\"Z-ERROR\",IF('Calculator Table'!BU484>0,\"X\",IF('Calculator Table'!BV484>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA484,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA484,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB484,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB484,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ484,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ484,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR484,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR484,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS484,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS484,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT484,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT484,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU484,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU484,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV484,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV484,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW484,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW484,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX484,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX484,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY484,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY484,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ484,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ484,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC484,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC484,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD484,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD484,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG484,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG484,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH484,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH484,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE484,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE484,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF484,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF484,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK484,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK484,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL484,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL484,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI484,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI484,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ484,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ484,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q484=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R484:$AU484<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C491","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R491:$AI491))/SUM(IF($R491:$AI491<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R491:$AI491))/SUM(IF($R491:$AI491<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK491:$AN491))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK491:$AN491))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP491:$AU491))/SUM(IF($AP491:$AU491<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP491:$AU491))/SUM(IF($AP491:$AU491<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R491:$AU491))/SUM(IF($R491:$AU491<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R491:$AU491))/SUM(IF($R491:$AU491<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK491:$AU491))/SUM(IF($AK491:$AU491<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK491:$AU491))/SUM(IF($AK491:$AU491<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D491=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU491>0,'Calculator Table'!BT491>0),\"Z-ERROR\",IF('Calculator Table'!BU491>0,\"X\",IF('Calculator Table'!BV491>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA491,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA491,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB491,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB491,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ491,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ491,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR491,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR491,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS491,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS491,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT491,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT491,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU491,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU491,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV491,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV491,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW491,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW491,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX491,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX491,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY491,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY491,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ491,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ491,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC491,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC491,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD491,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD491,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG491,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG491,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH491,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH491,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE491,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE491,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF491,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF491,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK491,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK491,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL491,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL491,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI491,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI491,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ491,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ491,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q491=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R491:$AU491<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C493","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R493:$AI493))/SUM(IF($R493:$AI493<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R493:$AI493))/SUM(IF($R493:$AI493<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK493:$AN493))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK493:$AN493))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP493:$AU493))/SUM(IF($AP493:$AU493<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP493:$AU493))/SUM(IF($AP493:$AU493<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R493:$AU493))/SUM(IF($R493:$AU493<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R493:$AU493))/SUM(IF($R493:$AU493<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK493:$AU493))/SUM(IF($AK493:$AU493<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK493:$AU493))/SUM(IF($AK493:$AU493<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D493=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU493>0,'Calculator Table'!BT493>0),\"Z-ERROR\",IF('Calculator Table'!BU493>0,\"X\",IF('Calculator Table'!BV493>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA493,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA493,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB493,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB493,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ493,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ493,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR493,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR493,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS493,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS493,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT493,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT493,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU493,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU493,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV493,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV493,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW493,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW493,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX493,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX493,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY493,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY493,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ493,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ493,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC493,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC493,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD493,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD493,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG493,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG493,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH493,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH493,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE493,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE493,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF493,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF493,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK493,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK493,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL493,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL493,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI493,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI493,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ493,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ493,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q493=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R493:$AU493<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C505","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R505:$AI505))/SUM(IF($R505:$AI505<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R505:$AI505))/SUM(IF($R505:$AI505<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK505:$AN505))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK505:$AN505))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP505:$AU505))/SUM(IF($AP505:$AU505<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP505:$AU505))/SUM(IF($AP505:$AU505<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R505:$AU505))/SUM(IF($R505:$AU505<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R505:$AU505))/SUM(IF($R505:$AU505<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK505:$AU505))/SUM(IF($AK505:$AU505<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK505:$AU505))/SUM(IF($AK505:$AU505<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D505=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU505>0,'Calculator Table'!BT505>0),\"Z-ERROR\",IF('Calculator Table'!BU505>0,\"X\",IF('Calculator Table'!BV505>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA505,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA505,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB505,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB505,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ505,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ505,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR505,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR505,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS505,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS505,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT505,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT505,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU505,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU505,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV505,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV505,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW505,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW505,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX505,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX505,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY505,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY505,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ505,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ505,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC505,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC505,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD505,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD505,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG505,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG505,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH505,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH505,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE505,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE505,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF505,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF505,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK505,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK505,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL505,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL505,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI505,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI505,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ505,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ505,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q505=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R505:$AU505<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C510","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R510:$AI510))/SUM(IF($R510:$AI510<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R510:$AI510))/SUM(IF($R510:$AI510<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK510:$AN510))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK510:$AN510))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP510:$AU510))/SUM(IF($AP510:$AU510<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP510:$AU510))/SUM(IF($AP510:$AU510<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R510:$AU510))/SUM(IF($R510:$AU510<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R510:$AU510))/SUM(IF($R510:$AU510<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK510:$AU510))/SUM(IF($AK510:$AU510<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK510:$AU510))/SUM(IF($AK510:$AU510<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D510=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU510>0,'Calculator Table'!BT510>0),\"Z-ERROR\",IF('Calculator Table'!BU510>0,\"X\",IF('Calculator Table'!BV510>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA510,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA510,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB510,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB510,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ510,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ510,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR510,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR510,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS510,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS510,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT510,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT510,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU510,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU510,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV510,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV510,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW510,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW510,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX510,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX510,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY510,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY510,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ510,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ510,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC510,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC510,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD510,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD510,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG510,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG510,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH510,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH510,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE510,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE510,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF510,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF510,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK510,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK510,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL510,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL510,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI510,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI510,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ510,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ510,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q510=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R510:$AU510<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C519","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R519:$AI519))/SUM(IF($R519:$AI519<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R519:$AI519))/SUM(IF($R519:$AI519<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK519:$AN519))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK519:$AN519))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP519:$AU519))/SUM(IF($AP519:$AU519<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP519:$AU519))/SUM(IF($AP519:$AU519<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R519:$AU519))/SUM(IF($R519:$AU519<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R519:$AU519))/SUM(IF($R519:$AU519<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK519:$AU519))/SUM(IF($AK519:$AU519<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK519:$AU519))/SUM(IF($AK519:$AU519<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D519=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU519>0,'Calculator Table'!BT519>0),\"Z-ERROR\",IF('Calculator Table'!BU519>0,\"X\",IF('Calculator Table'!BV519>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA519,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA519,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB519,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB519,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ519,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ519,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR519,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR519,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS519,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS519,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT519,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT519,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU519,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU519,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV519,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV519,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW519,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW519,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX519,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX519,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY519,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY519,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ519,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ519,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC519,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC519,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD519,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD519,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG519,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG519,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH519,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH519,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE519,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE519,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF519,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF519,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK519,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK519,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL519,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL519,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI519,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI519,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ519,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ519,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q519=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R519:$AU519<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C528","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R528:$AI528))/SUM(IF($R528:$AI528<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R528:$AI528))/SUM(IF($R528:$AI528<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK528:$AN528))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK528:$AN528))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP528:$AU528))/SUM(IF($AP528:$AU528<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP528:$AU528))/SUM(IF($AP528:$AU528<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R528:$AU528))/SUM(IF($R528:$AU528<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R528:$AU528))/SUM(IF($R528:$AU528<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK528:$AU528))/SUM(IF($AK528:$AU528<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK528:$AU528))/SUM(IF($AK528:$AU528<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D528=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU528>0,'Calculator Table'!BT528>0),\"Z-ERROR\",IF('Calculator Table'!BU528>0,\"X\",IF('Calculator Table'!BV528>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA528,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA528,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB528,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB528,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ528,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ528,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR528,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR528,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS528,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS528,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT528,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT528,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU528,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU528,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV528,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV528,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW528,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW528,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX528,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX528,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY528,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY528,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ528,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ528,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC528,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC528,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD528,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD528,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG528,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG528,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH528,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH528,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE528,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE528,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF528,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF528,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK528,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK528,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL528,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL528,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI528,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI528,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ528,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ528,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q528=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R528:$AU528<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C536","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R536:$AI536))/SUM(IF($R536:$AI536<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R536:$AI536))/SUM(IF($R536:$AI536<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK536:$AN536))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK536:$AN536))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP536:$AU536))/SUM(IF($AP536:$AU536<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP536:$AU536))/SUM(IF($AP536:$AU536<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R536:$AU536))/SUM(IF($R536:$AU536<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R536:$AU536))/SUM(IF($R536:$AU536<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK536:$AU536))/SUM(IF($AK536:$AU536<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK536:$AU536))/SUM(IF($AK536:$AU536<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D536=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU536>0,'Calculator Table'!BT536>0),\"Z-ERROR\",IF('Calculator Table'!BU536>0,\"X\",IF('Calculator Table'!BV536>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA536,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA536,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB536,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB536,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ536,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ536,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR536,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR536,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS536,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS536,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT536,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT536,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU536,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU536,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV536,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV536,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW536,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW536,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX536,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX536,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY536,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY536,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ536,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ536,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC536,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC536,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD536,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD536,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG536,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG536,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH536,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH536,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE536,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE536,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF536,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF536,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK536,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK536,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL536,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL536,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI536,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI536,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ536,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ536,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q536=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R536:$AU536<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C542","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R542:$AI542))/SUM(IF($R542:$AI542<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R542:$AI542))/SUM(IF($R542:$AI542<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK542:$AN542))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK542:$AN542))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP542:$AU542))/SUM(IF($AP542:$AU542<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP542:$AU542))/SUM(IF($AP542:$AU542<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R542:$AU542))/SUM(IF($R542:$AU542<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R542:$AU542))/SUM(IF($R542:$AU542<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK542:$AU542))/SUM(IF($AK542:$AU542<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK542:$AU542))/SUM(IF($AK542:$AU542<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D542=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU542>0,'Calculator Table'!BT542>0),\"Z-ERROR\",IF('Calculator Table'!BU542>0,\"X\",IF('Calculator Table'!BV542>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA542,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA542,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB542,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB542,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ542,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ542,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR542,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR542,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS542,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS542,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT542,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT542,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU542,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU542,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV542,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV542,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW542,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW542,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX542,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX542,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY542,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY542,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ542,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ542,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC542,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC542,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD542,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD542,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG542,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG542,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH542,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH542,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE542,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE542,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF542,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF542,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK542,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK542,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL542,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL542,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI542,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI542,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ542,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ542,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q542=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R542:$AU542<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C545","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R545:$AI545))/SUM(IF($R545:$AI545<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R545:$AI545))/SUM(IF($R545:$AI545<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK545:$AN545))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK545:$AN545))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP545:$AU545))/SUM(IF($AP545:$AU545<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP545:$AU545))/SUM(IF($AP545:$AU545<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R545:$AU545))/SUM(IF($R545:$AU545<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R545:$AU545))/SUM(IF($R545:$AU545<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK545:$AU545))/SUM(IF($AK545:$AU545<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK545:$AU545))/SUM(IF($AK545:$AU545<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D545=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU545>0,'Calculator Table'!BT545>0),\"Z-ERROR\",IF('Calculator Table'!BU545>0,\"X\",IF('Calculator Table'!BV545>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA545,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA545,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB545,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB545,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ545,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ545,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR545,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR545,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS545,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS545,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT545,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT545,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU545,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU545,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV545,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV545,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW545,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW545,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX545,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX545,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY545,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY545,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ545,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ545,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC545,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC545,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD545,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD545,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG545,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG545,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH545,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH545,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE545,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE545,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF545,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF545,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK545,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK545,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL545,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL545,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI545,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI545,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ545,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ545,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q545=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R545:$AU545<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C556","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R556:$AI556))/SUM(IF($R556:$AI556<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R556:$AI556))/SUM(IF($R556:$AI556<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK556:$AN556))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK556:$AN556))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP556:$AU556))/SUM(IF($AP556:$AU556<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP556:$AU556))/SUM(IF($AP556:$AU556<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R556:$AU556))/SUM(IF($R556:$AU556<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R556:$AU556))/SUM(IF($R556:$AU556<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK556:$AU556))/SUM(IF($AK556:$AU556<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK556:$AU556))/SUM(IF($AK556:$AU556<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D556=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU556>0,'Calculator Table'!BT556>0),\"Z-ERROR\",IF('Calculator Table'!BU556>0,\"X\",IF('Calculator Table'!BV556>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA556,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA556,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB556,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB556,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ556,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ556,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR556,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR556,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS556,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS556,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT556,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT556,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU556,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU556,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV556,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV556,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW556,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW556,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX556,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX556,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY556,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY556,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ556,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ556,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC556,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC556,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD556,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD556,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG556,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG556,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH556,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH556,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE556,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE556,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF556,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF556,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK556,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK556,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL556,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL556,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI556,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI556,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ556,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ556,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q556=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R556:$AU556<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C562","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R562:$AI562))/SUM(IF($R562:$AI562<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R562:$AI562))/SUM(IF($R562:$AI562<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK562:$AN562))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK562:$AN562))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP562:$AU562))/SUM(IF($AP562:$AU562<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP562:$AU562))/SUM(IF($AP562:$AU562<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R562:$AU562))/SUM(IF($R562:$AU562<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R562:$AU562))/SUM(IF($R562:$AU562<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK562:$AU562))/SUM(IF($AK562:$AU562<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK562:$AU562))/SUM(IF($AK562:$AU562<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D562=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU562>0,'Calculator Table'!BT562>0),\"Z-ERROR\",IF('Calculator Table'!BU562>0,\"X\",IF('Calculator Table'!BV562>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA562,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA562,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB562,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB562,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ562,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ562,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR562,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR562,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS562,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS562,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT562,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT562,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU562,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU562,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV562,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV562,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW562,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW562,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX562,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX562,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY562,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY562,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ562,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ562,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC562,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC562,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD562,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD562,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG562,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG562,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH562,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH562,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE562,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE562,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF562,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF562,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK562,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK562,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL562,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL562,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI562,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI562,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ562,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ562,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q562=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R562:$AU562<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C570","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R570:$AI570))/SUM(IF($R570:$AI570<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R570:$AI570))/SUM(IF($R570:$AI570<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK570:$AN570))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK570:$AN570))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP570:$AU570))/SUM(IF($AP570:$AU570<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP570:$AU570))/SUM(IF($AP570:$AU570<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R570:$AU570))/SUM(IF($R570:$AU570<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R570:$AU570))/SUM(IF($R570:$AU570<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK570:$AU570))/SUM(IF($AK570:$AU570<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK570:$AU570))/SUM(IF($AK570:$AU570<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D570=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU570>0,'Calculator Table'!BT570>0),\"Z-ERROR\",IF('Calculator Table'!BU570>0,\"X\",IF('Calculator Table'!BV570>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA570,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA570,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB570,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB570,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ570,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ570,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR570,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR570,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS570,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS570,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT570,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT570,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU570,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU570,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV570,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV570,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW570,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW570,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX570,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX570,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY570,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY570,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ570,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ570,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC570,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC570,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD570,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD570,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG570,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG570,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH570,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH570,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE570,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE570,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF570,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF570,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK570,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK570,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL570,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL570,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI570,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI570,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ570,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ570,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q570=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R570:$AU570<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C579","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R579:$AI579))/SUM(IF($R579:$AI579<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R579:$AI579))/SUM(IF($R579:$AI579<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK579:$AN579))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK579:$AN579))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP579:$AU579))/SUM(IF($AP579:$AU579<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP579:$AU579))/SUM(IF($AP579:$AU579<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R579:$AU579))/SUM(IF($R579:$AU579<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R579:$AU579))/SUM(IF($R579:$AU579<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK579:$AU579))/SUM(IF($AK579:$AU579<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK579:$AU579))/SUM(IF($AK579:$AU579<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D579=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU579>0,'Calculator Table'!BT579>0),\"Z-ERROR\",IF('Calculator Table'!BU579>0,\"X\",IF('Calculator Table'!BV579>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA579,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA579,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB579,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB579,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ579,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ579,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR579,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR579,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS579,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS579,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT579,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT579,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU579,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU579,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV579,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV579,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW579,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW579,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX579,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX579,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY579,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY579,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ579,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ579,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC579,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC579,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD579,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD579,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG579,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG579,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH579,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH579,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE579,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE579,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF579,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF579,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK579,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK579,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL579,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL579,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI579,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI579,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ579,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ579,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q579=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R579:$AU579<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C588","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R588:$AI588))/SUM(IF($R588:$AI588<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R588:$AI588))/SUM(IF($R588:$AI588<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK588:$AN588))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK588:$AN588))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP588:$AU588))/SUM(IF($AP588:$AU588<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP588:$AU588))/SUM(IF($AP588:$AU588<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R588:$AU588))/SUM(IF($R588:$AU588<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R588:$AU588))/SUM(IF($R588:$AU588<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK588:$AU588))/SUM(IF($AK588:$AU588<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK588:$AU588))/SUM(IF($AK588:$AU588<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D588=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU588>0,'Calculator Table'!BT588>0),\"Z-ERROR\",IF('Calculator Table'!BU588>0,\"X\",IF('Calculator Table'!BV588>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA588,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA588,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB588,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB588,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ588,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ588,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR588,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR588,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS588,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS588,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT588,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT588,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU588,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU588,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV588,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV588,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW588,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW588,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX588,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX588,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY588,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY588,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ588,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ588,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC588,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC588,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD588,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD588,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG588,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG588,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH588,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH588,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE588,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE588,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF588,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF588,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK588,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK588,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL588,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL588,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI588,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI588,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ588,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ588,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q588=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R588:$AU588<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C593","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R593:$AI593))/SUM(IF($R593:$AI593<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R593:$AI593))/SUM(IF($R593:$AI593<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK593:$AN593))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK593:$AN593))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP593:$AU593))/SUM(IF($AP593:$AU593<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP593:$AU593))/SUM(IF($AP593:$AU593<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R593:$AU593))/SUM(IF($R593:$AU593<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R593:$AU593))/SUM(IF($R593:$AU593<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK593:$AU593))/SUM(IF($AK593:$AU593<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK593:$AU593))/SUM(IF($AK593:$AU593<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D593=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU593>0,'Calculator Table'!BT593>0),\"Z-ERROR\",IF('Calculator Table'!BU593>0,\"X\",IF('Calculator Table'!BV593>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA593,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA593,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB593,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB593,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ593,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ593,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR593,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR593,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS593,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS593,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT593,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT593,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU593,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU593,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV593,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV593,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW593,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW593,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX593,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX593,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY593,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY593,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ593,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ593,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC593,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC593,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD593,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD593,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG593,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG593,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH593,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH593,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE593,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE593,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF593,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF593,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK593,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK593,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL593,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL593,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI593,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI593,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ593,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ593,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q593=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R593:$AU593<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C605","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R605:$AI605))/SUM(IF($R605:$AI605<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R605:$AI605))/SUM(IF($R605:$AI605<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK605:$AN605))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK605:$AN605))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP605:$AU605))/SUM(IF($AP605:$AU605<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP605:$AU605))/SUM(IF($AP605:$AU605<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R605:$AU605))/SUM(IF($R605:$AU605<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R605:$AU605))/SUM(IF($R605:$AU605<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK605:$AU605))/SUM(IF($AK605:$AU605<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK605:$AU605))/SUM(IF($AK605:$AU605<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D605=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU605>0,'Calculator Table'!BT605>0),\"Z-ERROR\",IF('Calculator Table'!BU605>0,\"X\",IF('Calculator Table'!BV605>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA605,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA605,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB605,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB605,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ605,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ605,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR605,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR605,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS605,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS605,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT605,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT605,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU605,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU605,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV605,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV605,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW605,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW605,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX605,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX605,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY605,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY605,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ605,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ605,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC605,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC605,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD605,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD605,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG605,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG605,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH605,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH605,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE605,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE605,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF605,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF605,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK605,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK605,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL605,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL605,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI605,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI605,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ605,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ605,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q605=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R605:$AU605<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C610","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R610:$AI610))/SUM(IF($R610:$AI610<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R610:$AI610))/SUM(IF($R610:$AI610<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK610:$AN610))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK610:$AN610))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP610:$AU610))/SUM(IF($AP610:$AU610<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP610:$AU610))/SUM(IF($AP610:$AU610<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R610:$AU610))/SUM(IF($R610:$AU610<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R610:$AU610))/SUM(IF($R610:$AU610<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK610:$AU610))/SUM(IF($AK610:$AU610<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK610:$AU610))/SUM(IF($AK610:$AU610<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D610=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU610>0,'Calculator Table'!BT610>0),\"Z-ERROR\",IF('Calculator Table'!BU610>0,\"X\",IF('Calculator Table'!BV610>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA610,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA610,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB610,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB610,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ610,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ610,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR610,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR610,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS610,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS610,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT610,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT610,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU610,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU610,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV610,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV610,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW610,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW610,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX610,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX610,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY610,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY610,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ610,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ610,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC610,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC610,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD610,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD610,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG610,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG610,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH610,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH610,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE610,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE610,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF610,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF610,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK610,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK610,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL610,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL610,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI610,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI610,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ610,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ610,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q610=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R610:$AU610<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C614","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R614:$AI614))/SUM(IF($R614:$AI614<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R614:$AI614))/SUM(IF($R614:$AI614<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK614:$AN614))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK614:$AN614))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP614:$AU614))/SUM(IF($AP614:$AU614<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP614:$AU614))/SUM(IF($AP614:$AU614<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R614:$AU614))/SUM(IF($R614:$AU614<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R614:$AU614))/SUM(IF($R614:$AU614<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK614:$AU614))/SUM(IF($AK614:$AU614<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK614:$AU614))/SUM(IF($AK614:$AU614<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D614=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU614>0,'Calculator Table'!BT614>0),\"Z-ERROR\",IF('Calculator Table'!BU614>0,\"X\",IF('Calculator Table'!BV614>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA614,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA614,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB614,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB614,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ614,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ614,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR614,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR614,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS614,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS614,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT614,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT614,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU614,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU614,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV614,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV614,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW614,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW614,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX614,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX614,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY614,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY614,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ614,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ614,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC614,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC614,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD614,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD614,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG614,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG614,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH614,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH614,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE614,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE614,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF614,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF614,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK614,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK614,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL614,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL614,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI614,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI614,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ614,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ614,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q614=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R614:$AU614<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C624","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R624:$AI624))/SUM(IF($R624:$AI624<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R624:$AI624))/SUM(IF($R624:$AI624<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK624:$AN624))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK624:$AN624))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP624:$AU624))/SUM(IF($AP624:$AU624<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP624:$AU624))/SUM(IF($AP624:$AU624<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R624:$AU624))/SUM(IF($R624:$AU624<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R624:$AU624))/SUM(IF($R624:$AU624<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK624:$AU624))/SUM(IF($AK624:$AU624<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK624:$AU624))/SUM(IF($AK624:$AU624<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D624=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU624>0,'Calculator Table'!BT624>0),\"Z-ERROR\",IF('Calculator Table'!BU624>0,\"X\",IF('Calculator Table'!BV624>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA624,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA624,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB624,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB624,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ624,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ624,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR624,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR624,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS624,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS624,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT624,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT624,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU624,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU624,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV624,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV624,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW624,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW624,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX624,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX624,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY624,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY624,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ624,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ624,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC624,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC624,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD624,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD624,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG624,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG624,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH624,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH624,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE624,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE624,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF624,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF624,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK624,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK624,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL624,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL624,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI624,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI624,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ624,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ624,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q624=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R624:$AU624<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C631","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R631:$AI631))/SUM(IF($R631:$AI631<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R631:$AI631))/SUM(IF($R631:$AI631<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK631:$AN631))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK631:$AN631))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP631:$AU631))/SUM(IF($AP631:$AU631<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP631:$AU631))/SUM(IF($AP631:$AU631<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R631:$AU631))/SUM(IF($R631:$AU631<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R631:$AU631))/SUM(IF($R631:$AU631<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK631:$AU631))/SUM(IF($AK631:$AU631<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK631:$AU631))/SUM(IF($AK631:$AU631<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D631=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU631>0,'Calculator Table'!BT631>0),\"Z-ERROR\",IF('Calculator Table'!BU631>0,\"X\",IF('Calculator Table'!BV631>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA631,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA631,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB631,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB631,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ631,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ631,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR631,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR631,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS631,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS631,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT631,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT631,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU631,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU631,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV631,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV631,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW631,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW631,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX631,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX631,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY631,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY631,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ631,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ631,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC631,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC631,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD631,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD631,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG631,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG631,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH631,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH631,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE631,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE631,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF631,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF631,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK631,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK631,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL631,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL631,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI631,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI631,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ631,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ631,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q631=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R631:$AU631<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C638","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R638:$AI638))/SUM(IF($R638:$AI638<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R638:$AI638))/SUM(IF($R638:$AI638<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK638:$AN638))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK638:$AN638))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP638:$AU638))/SUM(IF($AP638:$AU638<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP638:$AU638))/SUM(IF($AP638:$AU638<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R638:$AU638))/SUM(IF($R638:$AU638<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R638:$AU638))/SUM(IF($R638:$AU638<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK638:$AU638))/SUM(IF($AK638:$AU638<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK638:$AU638))/SUM(IF($AK638:$AU638<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D638=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU638>0,'Calculator Table'!BT638>0),\"Z-ERROR\",IF('Calculator Table'!BU638>0,\"X\",IF('Calculator Table'!BV638>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA638,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA638,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB638,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB638,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ638,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ638,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR638,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR638,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS638,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS638,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT638,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT638,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU638,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU638,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV638,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV638,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW638,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW638,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX638,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX638,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY638,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY638,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ638,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ638,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC638,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC638,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD638,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD638,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG638,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG638,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH638,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH638,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE638,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE638,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF638,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF638,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK638,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK638,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL638,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL638,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI638,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI638,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ638,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ638,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q638=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R638:$AU638<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C648","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R648:$AI648))/SUM(IF($R648:$AI648<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R648:$AI648))/SUM(IF($R648:$AI648<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK648:$AN648))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK648:$AN648))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP648:$AU648))/SUM(IF($AP648:$AU648<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP648:$AU648))/SUM(IF($AP648:$AU648<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R648:$AU648))/SUM(IF($R648:$AU648<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R648:$AU648))/SUM(IF($R648:$AU648<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK648:$AU648))/SUM(IF($AK648:$AU648<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK648:$AU648))/SUM(IF($AK648:$AU648<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D648=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU648>0,'Calculator Table'!BT648>0),\"Z-ERROR\",IF('Calculator Table'!BU648>0,\"X\",IF('Calculator Table'!BV648>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA648,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA648,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB648,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB648,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ648,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ648,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR648,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR648,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS648,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS648,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT648,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT648,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU648,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU648,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV648,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV648,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW648,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW648,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX648,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX648,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY648,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY648,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ648,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ648,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC648,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC648,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD648,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD648,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG648,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG648,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH648,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH648,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE648,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE648,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF648,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF648,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK648,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK648,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL648,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL648,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI648,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI648,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ648,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ648,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q648=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R648:$AU648<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C657","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R657:$AI657))/SUM(IF($R657:$AI657<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R657:$AI657))/SUM(IF($R657:$AI657<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK657:$AN657))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK657:$AN657))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP657:$AU657))/SUM(IF($AP657:$AU657<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP657:$AU657))/SUM(IF($AP657:$AU657<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R657:$AU657))/SUM(IF($R657:$AU657<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R657:$AU657))/SUM(IF($R657:$AU657<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK657:$AU657))/SUM(IF($AK657:$AU657<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK657:$AU657))/SUM(IF($AK657:$AU657<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D657=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU657>0,'Calculator Table'!BT657>0),\"Z-ERROR\",IF('Calculator Table'!BU657>0,\"X\",IF('Calculator Table'!BV657>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA657,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA657,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB657,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB657,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ657,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ657,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR657,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR657,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS657,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS657,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT657,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT657,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU657,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU657,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV657,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV657,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW657,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW657,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX657,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX657,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY657,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY657,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ657,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ657,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC657,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC657,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD657,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD657,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG657,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG657,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH657,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH657,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE657,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE657,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF657,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF657,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK657,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK657,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL657,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL657,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI657,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI657,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ657,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ657,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q657=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R657:$AU657<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C661","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R661:$AI661))/SUM(IF($R661:$AI661<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R661:$AI661))/SUM(IF($R661:$AI661<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK661:$AN661))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK661:$AN661))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP661:$AU661))/SUM(IF($AP661:$AU661<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP661:$AU661))/SUM(IF($AP661:$AU661<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R661:$AU661))/SUM(IF($R661:$AU661<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R661:$AU661))/SUM(IF($R661:$AU661<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK661:$AU661))/SUM(IF($AK661:$AU661<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK661:$AU661))/SUM(IF($AK661:$AU661<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D661=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU661>0,'Calculator Table'!BT661>0),\"Z-ERROR\",IF('Calculator Table'!BU661>0,\"X\",IF('Calculator Table'!BV661>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA661,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA661,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB661,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB661,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ661,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ661,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR661,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR661,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS661,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS661,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT661,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT661,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU661,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU661,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV661,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV661,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW661,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW661,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX661,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX661,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY661,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY661,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ661,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ661,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC661,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC661,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD661,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD661,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG661,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG661,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH661,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH661,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE661,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE661,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF661,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF661,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK661,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK661,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL661,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL661,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI661,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI661,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ661,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ661,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q661=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R661:$AU661<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C666","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R666:$AI666))/SUM(IF($R666:$AI666<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R666:$AI666))/SUM(IF($R666:$AI666<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK666:$AN666))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK666:$AN666))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP666:$AU666))/SUM(IF($AP666:$AU666<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP666:$AU666))/SUM(IF($AP666:$AU666<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R666:$AU666))/SUM(IF($R666:$AU666<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R666:$AU666))/SUM(IF($R666:$AU666<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK666:$AU666))/SUM(IF($AK666:$AU666<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK666:$AU666))/SUM(IF($AK666:$AU666<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D666=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU666>0,'Calculator Table'!BT666>0),\"Z-ERROR\",IF('Calculator Table'!BU666>0,\"X\",IF('Calculator Table'!BV666>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA666,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA666,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB666,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB666,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ666,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ666,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR666,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR666,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS666,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS666,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT666,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT666,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU666,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU666,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV666,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV666,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW666,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW666,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX666,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX666,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY666,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY666,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ666,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ666,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC666,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC666,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD666,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD666,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG666,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG666,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH666,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH666,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE666,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE666,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF666,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF666,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK666,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK666,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL666,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL666,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI666,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI666,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ666,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ666,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q666=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R666:$AU666<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C675","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R675:$AI675))/SUM(IF($R675:$AI675<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R675:$AI675))/SUM(IF($R675:$AI675<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK675:$AN675))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK675:$AN675))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP675:$AU675))/SUM(IF($AP675:$AU675<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP675:$AU675))/SUM(IF($AP675:$AU675<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R675:$AU675))/SUM(IF($R675:$AU675<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R675:$AU675))/SUM(IF($R675:$AU675<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK675:$AU675))/SUM(IF($AK675:$AU675<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK675:$AU675))/SUM(IF($AK675:$AU675<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D675=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU675>0,'Calculator Table'!BT675>0),\"Z-ERROR\",IF('Calculator Table'!BU675>0,\"X\",IF('Calculator Table'!BV675>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA675,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA675,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB675,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB675,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ675,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ675,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR675,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR675,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS675,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS675,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT675,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT675,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU675,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU675,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV675,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV675,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW675,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW675,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX675,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX675,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY675,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY675,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ675,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ675,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC675,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC675,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD675,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD675,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG675,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG675,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH675,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH675,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE675,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE675,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF675,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF675,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK675,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK675,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL675,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL675,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI675,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI675,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ675,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ675,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q675=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R675:$AU675<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C683","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R683:$AI683))/SUM(IF($R683:$AI683<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R683:$AI683))/SUM(IF($R683:$AI683<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK683:$AN683))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK683:$AN683))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP683:$AU683))/SUM(IF($AP683:$AU683<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP683:$AU683))/SUM(IF($AP683:$AU683<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R683:$AU683))/SUM(IF($R683:$AU683<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R683:$AU683))/SUM(IF($R683:$AU683<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK683:$AU683))/SUM(IF($AK683:$AU683<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK683:$AU683))/SUM(IF($AK683:$AU683<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D683=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU683>0,'Calculator Table'!BT683>0),\"Z-ERROR\",IF('Calculator Table'!BU683>0,\"X\",IF('Calculator Table'!BV683>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA683,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA683,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB683,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB683,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ683,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ683,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR683,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR683,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS683,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS683,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT683,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT683,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU683,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU683,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV683,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV683,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW683,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW683,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX683,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX683,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY683,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY683,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ683,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ683,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC683,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC683,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD683,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD683,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG683,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG683,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH683,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH683,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE683,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE683,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF683,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF683,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK683,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK683,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL683,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL683,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI683,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI683,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ683,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ683,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q683=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R683:$AU683<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C689","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R689:$AI689))/SUM(IF($R689:$AI689<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R689:$AI689))/SUM(IF($R689:$AI689<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK689:$AN689))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK689:$AN689))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP689:$AU689))/SUM(IF($AP689:$AU689<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP689:$AU689))/SUM(IF($AP689:$AU689<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R689:$AU689))/SUM(IF($R689:$AU689<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R689:$AU689))/SUM(IF($R689:$AU689<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK689:$AU689))/SUM(IF($AK689:$AU689<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK689:$AU689))/SUM(IF($AK689:$AU689<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D689=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU689>0,'Calculator Table'!BT689>0),\"Z-ERROR\",IF('Calculator Table'!BU689>0,\"X\",IF('Calculator Table'!BV689>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA689,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA689,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB689,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB689,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ689,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ689,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR689,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR689,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS689,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS689,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT689,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT689,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU689,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU689,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV689,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV689,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW689,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW689,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX689,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX689,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY689,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY689,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ689,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ689,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC689,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC689,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD689,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD689,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG689,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG689,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH689,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH689,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE689,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE689,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF689,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF689,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK689,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK689,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL689,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL689,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI689,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI689,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ689,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ689,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q689=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R689:$AU689<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C700","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R700:$AI700))/SUM(IF($R700:$AI700<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R700:$AI700))/SUM(IF($R700:$AI700<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK700:$AN700))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK700:$AN700))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP700:$AU700))/SUM(IF($AP700:$AU700<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP700:$AU700))/SUM(IF($AP700:$AU700<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R700:$AU700))/SUM(IF($R700:$AU700<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R700:$AU700))/SUM(IF($R700:$AU700<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK700:$AU700))/SUM(IF($AK700:$AU700<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK700:$AU700))/SUM(IF($AK700:$AU700<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D700=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU700>0,'Calculator Table'!BT700>0),\"Z-ERROR\",IF('Calculator Table'!BU700>0,\"X\",IF('Calculator Table'!BV700>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA700,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA700,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB700,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB700,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ700,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ700,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR700,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR700,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS700,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS700,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT700,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT700,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU700,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU700,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV700,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV700,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW700,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW700,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX700,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX700,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY700,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY700,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ700,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ700,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC700,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC700,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD700,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD700,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG700,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG700,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH700,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH700,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE700,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE700,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF700,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF700,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK700,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK700,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL700,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL700,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI700,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI700,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ700,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ700,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q700=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R700:$AU700<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C706","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R706:$AI706))/SUM(IF($R706:$AI706<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R706:$AI706))/SUM(IF($R706:$AI706<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK706:$AN706))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK706:$AN706))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP706:$AU706))/SUM(IF($AP706:$AU706<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP706:$AU706))/SUM(IF($AP706:$AU706<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R706:$AU706))/SUM(IF($R706:$AU706<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R706:$AU706))/SUM(IF($R706:$AU706<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK706:$AU706))/SUM(IF($AK706:$AU706<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK706:$AU706))/SUM(IF($AK706:$AU706<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D706=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU706>0,'Calculator Table'!BT706>0),\"Z-ERROR\",IF('Calculator Table'!BU706>0,\"X\",IF('Calculator Table'!BV706>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA706,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA706,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB706,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB706,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ706,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ706,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR706,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR706,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS706,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS706,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT706,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT706,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU706,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU706,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV706,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV706,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW706,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW706,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX706,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX706,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY706,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY706,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ706,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ706,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC706,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC706,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD706,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD706,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG706,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG706,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH706,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH706,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE706,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE706,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF706,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF706,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK706,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK706,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL706,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL706,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI706,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI706,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ706,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ706,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q706=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R706:$AU706<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C717","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R717:$AI717))/SUM(IF($R717:$AI717<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R717:$AI717))/SUM(IF($R717:$AI717<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK717:$AN717))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK717:$AN717))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP717:$AU717))/SUM(IF($AP717:$AU717<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP717:$AU717))/SUM(IF($AP717:$AU717<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R717:$AU717))/SUM(IF($R717:$AU717<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R717:$AU717))/SUM(IF($R717:$AU717<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK717:$AU717))/SUM(IF($AK717:$AU717<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK717:$AU717))/SUM(IF($AK717:$AU717<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D717=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU717>0,'Calculator Table'!BT717>0),\"Z-ERROR\",IF('Calculator Table'!BU717>0,\"X\",IF('Calculator Table'!BV717>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA717,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA717,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB717,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB717,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ717,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ717,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR717,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR717,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS717,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS717,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT717,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT717,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU717,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU717,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV717,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV717,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW717,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW717,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX717,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX717,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY717,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY717,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ717,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ717,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC717,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC717,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD717,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD717,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG717,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG717,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH717,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH717,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE717,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE717,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF717,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF717,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK717,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK717,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL717,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL717,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI717,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI717,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ717,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ717,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q717=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R717:$AU717<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C726","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R726:$AI726))/SUM(IF($R726:$AI726<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R726:$AI726))/SUM(IF($R726:$AI726<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK726:$AN726))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK726:$AN726))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP726:$AU726))/SUM(IF($AP726:$AU726<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP726:$AU726))/SUM(IF($AP726:$AU726<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R726:$AU726))/SUM(IF($R726:$AU726<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R726:$AU726))/SUM(IF($R726:$AU726<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK726:$AU726))/SUM(IF($AK726:$AU726<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK726:$AU726))/SUM(IF($AK726:$AU726<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D726=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU726>0,'Calculator Table'!BT726>0),\"Z-ERROR\",IF('Calculator Table'!BU726>0,\"X\",IF('Calculator Table'!BV726>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA726,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA726,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB726,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB726,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ726,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ726,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR726,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR726,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS726,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS726,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT726,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT726,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU726,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU726,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV726,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV726,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW726,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW726,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX726,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX726,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY726,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY726,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ726,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ726,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC726,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC726,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD726,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD726,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG726,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG726,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH726,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH726,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE726,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE726,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF726,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF726,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK726,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK726,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL726,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL726,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI726,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI726,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ726,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ726,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q726=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R726:$AU726<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C733","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R733:$AI733))/SUM(IF($R733:$AI733<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R733:$AI733))/SUM(IF($R733:$AI733<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK733:$AN733))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK733:$AN733))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP733:$AU733))/SUM(IF($AP733:$AU733<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP733:$AU733))/SUM(IF($AP733:$AU733<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R733:$AU733))/SUM(IF($R733:$AU733<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R733:$AU733))/SUM(IF($R733:$AU733<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK733:$AU733))/SUM(IF($AK733:$AU733<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK733:$AU733))/SUM(IF($AK733:$AU733<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D733=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU733>0,'Calculator Table'!BT733>0),\"Z-ERROR\",IF('Calculator Table'!BU733>0,\"X\",IF('Calculator Table'!BV733>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA733,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA733,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB733,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB733,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ733,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ733,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR733,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR733,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS733,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS733,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT733,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT733,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU733,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU733,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV733,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV733,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW733,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW733,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX733,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX733,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY733,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY733,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ733,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ733,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC733,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC733,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD733,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD733,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG733,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG733,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH733,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH733,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE733,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE733,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF733,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF733,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK733,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK733,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL733,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL733,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI733,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI733,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ733,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ733,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q733=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R733:$AU733<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C735","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R735:$AI735))/SUM(IF($R735:$AI735<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R735:$AI735))/SUM(IF($R735:$AI735<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK735:$AN735))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK735:$AN735))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP735:$AU735))/SUM(IF($AP735:$AU735<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP735:$AU735))/SUM(IF($AP735:$AU735<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R735:$AU735))/SUM(IF($R735:$AU735<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R735:$AU735))/SUM(IF($R735:$AU735<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK735:$AU735))/SUM(IF($AK735:$AU735<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK735:$AU735))/SUM(IF($AK735:$AU735<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D735=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU735>0,'Calculator Table'!BT735>0),\"Z-ERROR\",IF('Calculator Table'!BU735>0,\"X\",IF('Calculator Table'!BV735>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA735,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA735,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB735,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB735,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ735,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ735,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR735,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR735,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS735,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS735,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT735,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT735,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU735,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU735,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV735,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV735,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW735,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW735,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX735,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX735,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY735,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY735,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ735,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ735,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC735,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC735,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD735,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD735,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG735,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG735,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH735,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH735,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE735,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE735,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF735,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF735,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK735,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK735,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL735,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL735,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI735,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI735,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ735,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ735,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q735=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R735:$AU735<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C743","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R743:$AI743))/SUM(IF($R743:$AI743<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R743:$AI743))/SUM(IF($R743:$AI743<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK743:$AN743))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK743:$AN743))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP743:$AU743))/SUM(IF($AP743:$AU743<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP743:$AU743))/SUM(IF($AP743:$AU743<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R743:$AU743))/SUM(IF($R743:$AU743<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R743:$AU743))/SUM(IF($R743:$AU743<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK743:$AU743))/SUM(IF($AK743:$AU743<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK743:$AU743))/SUM(IF($AK743:$AU743<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D743=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU743>0,'Calculator Table'!BT743>0),\"Z-ERROR\",IF('Calculator Table'!BU743>0,\"X\",IF('Calculator Table'!BV743>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA743,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA743,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB743,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB743,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ743,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ743,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR743,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR743,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS743,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS743,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT743,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT743,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU743,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU743,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV743,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV743,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW743,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW743,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX743,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX743,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY743,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY743,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ743,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ743,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC743,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC743,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD743,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD743,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG743,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG743,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH743,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH743,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE743,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE743,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF743,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF743,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK743,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK743,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL743,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL743,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI743,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI743,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ743,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ743,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q743=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R743:$AU743<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C752","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R752:$AI752))/SUM(IF($R752:$AI752<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R752:$AI752))/SUM(IF($R752:$AI752<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK752:$AN752))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK752:$AN752))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP752:$AU752))/SUM(IF($AP752:$AU752<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP752:$AU752))/SUM(IF($AP752:$AU752<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R752:$AU752))/SUM(IF($R752:$AU752<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R752:$AU752))/SUM(IF($R752:$AU752<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK752:$AU752))/SUM(IF($AK752:$AU752<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK752:$AU752))/SUM(IF($AK752:$AU752<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D752=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU752>0,'Calculator Table'!BT752>0),\"Z-ERROR\",IF('Calculator Table'!BU752>0,\"X\",IF('Calculator Table'!BV752>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA752,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA752,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB752,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB752,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ752,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ752,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR752,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR752,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS752,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS752,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT752,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT752,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU752,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU752,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV752,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV752,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW752,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW752,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX752,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX752,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY752,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY752,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ752,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ752,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC752,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC752,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD752,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD752,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG752,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG752,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH752,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH752,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE752,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE752,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF752,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF752,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK752,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK752,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL752,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL752,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI752,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI752,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ752,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ752,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q752=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R752:$AU752<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C757","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R757:$AI757))/SUM(IF($R757:$AI757<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R757:$AI757))/SUM(IF($R757:$AI757<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK757:$AN757))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK757:$AN757))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP757:$AU757))/SUM(IF($AP757:$AU757<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP757:$AU757))/SUM(IF($AP757:$AU757<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R757:$AU757))/SUM(IF($R757:$AU757<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R757:$AU757))/SUM(IF($R757:$AU757<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK757:$AU757))/SUM(IF($AK757:$AU757<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK757:$AU757))/SUM(IF($AK757:$AU757<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D757=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU757>0,'Calculator Table'!BT757>0),\"Z-ERROR\",IF('Calculator Table'!BU757>0,\"X\",IF('Calculator Table'!BV757>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA757,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA757,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB757,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB757,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ757,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ757,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR757,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR757,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS757,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS757,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT757,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT757,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU757,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU757,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV757,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV757,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW757,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW757,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX757,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX757,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY757,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY757,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ757,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ757,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC757,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC757,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD757,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD757,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG757,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG757,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH757,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH757,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE757,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE757,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF757,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF757,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK757,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK757,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL757,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL757,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI757,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI757,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ757,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ757,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q757=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R757:$AU757<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C769","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R769:$AI769))/SUM(IF($R769:$AI769<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R769:$AI769))/SUM(IF($R769:$AI769<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK769:$AN769))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK769:$AN769))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP769:$AU769))/SUM(IF($AP769:$AU769<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP769:$AU769))/SUM(IF($AP769:$AU769<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R769:$AU769))/SUM(IF($R769:$AU769<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R769:$AU769))/SUM(IF($R769:$AU769<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK769:$AU769))/SUM(IF($AK769:$AU769<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK769:$AU769))/SUM(IF($AK769:$AU769<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D769=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU769>0,'Calculator Table'!BT769>0),\"Z-ERROR\",IF('Calculator Table'!BU769>0,\"X\",IF('Calculator Table'!BV769>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA769,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA769,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB769,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB769,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ769,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ769,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR769,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR769,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS769,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS769,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT769,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT769,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU769,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU769,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV769,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV769,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW769,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW769,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX769,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX769,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY769,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY769,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ769,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ769,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC769,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC769,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD769,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD769,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG769,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG769,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH769,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH769,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE769,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE769,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF769,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF769,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK769,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK769,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL769,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL769,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI769,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI769,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ769,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ769,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q769=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R769:$AU769<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C778","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R778:$AI778))/SUM(IF($R778:$AI778<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R778:$AI778))/SUM(IF($R778:$AI778<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK778:$AN778))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK778:$AN778))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP778:$AU778))/SUM(IF($AP778:$AU778<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP778:$AU778))/SUM(IF($AP778:$AU778<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R778:$AU778))/SUM(IF($R778:$AU778<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R778:$AU778))/SUM(IF($R778:$AU778<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK778:$AU778))/SUM(IF($AK778:$AU778<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK778:$AU778))/SUM(IF($AK778:$AU778<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D778=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU778>0,'Calculator Table'!BT778>0),\"Z-ERROR\",IF('Calculator Table'!BU778>0,\"X\",IF('Calculator Table'!BV778>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA778,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA778,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB778,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB778,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ778,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ778,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR778,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR778,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS778,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS778,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT778,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT778,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU778,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU778,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV778,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV778,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW778,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW778,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX778,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX778,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY778,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY778,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ778,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ778,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC778,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC778,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD778,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD778,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG778,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG778,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH778,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH778,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE778,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE778,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF778,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF778,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK778,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK778,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL778,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL778,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI778,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI778,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ778,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ778,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q778=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R778:$AU778<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C786","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R786:$AI786))/SUM(IF($R786:$AI786<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R786:$AI786))/SUM(IF($R786:$AI786<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK786:$AN786))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK786:$AN786))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP786:$AU786))/SUM(IF($AP786:$AU786<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP786:$AU786))/SUM(IF($AP786:$AU786<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R786:$AU786))/SUM(IF($R786:$AU786<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R786:$AU786))/SUM(IF($R786:$AU786<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK786:$AU786))/SUM(IF($AK786:$AU786<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK786:$AU786))/SUM(IF($AK786:$AU786<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D786=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU786>0,'Calculator Table'!BT786>0),\"Z-ERROR\",IF('Calculator Table'!BU786>0,\"X\",IF('Calculator Table'!BV786>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA786,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA786,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB786,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB786,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ786,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ786,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR786,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR786,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS786,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS786,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT786,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT786,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU786,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU786,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV786,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV786,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW786,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW786,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX786,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX786,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY786,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY786,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ786,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ786,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC786,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC786,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD786,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD786,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG786,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG786,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH786,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH786,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE786,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE786,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF786,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF786,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK786,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK786,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL786,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL786,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI786,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI786,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ786,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ786,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q786=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R786:$AU786<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C787","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R787:$AI787))/SUM(IF($R787:$AI787<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R787:$AI787))/SUM(IF($R787:$AI787<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK787:$AN787))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK787:$AN787))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP787:$AU787))/SUM(IF($AP787:$AU787<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP787:$AU787))/SUM(IF($AP787:$AU787<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R787:$AU787))/SUM(IF($R787:$AU787<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R787:$AU787))/SUM(IF($R787:$AU787<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK787:$AU787))/SUM(IF($AK787:$AU787<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK787:$AU787))/SUM(IF($AK787:$AU787<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D787=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU787>0,'Calculator Table'!BT787>0),\"Z-ERROR\",IF('Calculator Table'!BU787>0,\"X\",IF('Calculator Table'!BV787>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA787,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA787,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB787,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB787,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ787,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ787,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR787,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR787,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS787,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS787,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT787,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT787,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU787,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU787,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV787,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV787,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW787,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW787,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX787,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX787,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY787,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY787,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ787,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ787,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC787,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC787,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD787,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD787,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG787,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG787,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH787,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH787,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE787,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE787,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF787,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF787,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK787,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK787,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL787,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL787,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI787,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI787,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ787,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ787,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q787=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R787:$AU787<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C801","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R801:$AI801))/SUM(IF($R801:$AI801<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R801:$AI801))/SUM(IF($R801:$AI801<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK801:$AN801))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK801:$AN801))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP801:$AU801))/SUM(IF($AP801:$AU801<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP801:$AU801))/SUM(IF($AP801:$AU801<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R801:$AU801))/SUM(IF($R801:$AU801<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R801:$AU801))/SUM(IF($R801:$AU801<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK801:$AU801))/SUM(IF($AK801:$AU801<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK801:$AU801))/SUM(IF($AK801:$AU801<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D801=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU801>0,'Calculator Table'!BT801>0),\"Z-ERROR\",IF('Calculator Table'!BU801>0,\"X\",IF('Calculator Table'!BV801>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA801,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA801,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB801,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB801,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ801,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ801,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR801,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR801,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS801,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS801,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT801,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT801,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU801,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU801,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV801,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV801,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW801,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW801,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX801,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX801,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY801,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY801,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ801,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ801,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC801,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC801,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD801,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD801,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG801,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG801,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH801,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH801,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE801,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE801,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF801,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF801,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK801,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK801,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL801,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL801,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI801,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI801,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ801,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ801,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q801=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R801:$AU801<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C804","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R804:$AI804))/SUM(IF($R804:$AI804<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R804:$AI804))/SUM(IF($R804:$AI804<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK804:$AN804))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK804:$AN804))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP804:$AU804))/SUM(IF($AP804:$AU804<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP804:$AU804))/SUM(IF($AP804:$AU804<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R804:$AU804))/SUM(IF($R804:$AU804<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R804:$AU804))/SUM(IF($R804:$AU804<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK804:$AU804))/SUM(IF($AK804:$AU804<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK804:$AU804))/SUM(IF($AK804:$AU804<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D804=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU804>0,'Calculator Table'!BT804>0),\"Z-ERROR\",IF('Calculator Table'!BU804>0,\"X\",IF('Calculator Table'!BV804>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA804,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA804,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB804,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB804,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ804,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ804,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR804,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR804,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS804,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS804,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT804,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT804,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU804,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU804,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV804,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV804,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW804,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW804,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX804,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX804,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY804,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY804,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ804,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ804,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC804,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC804,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD804,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD804,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG804,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG804,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH804,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH804,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE804,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE804,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF804,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF804,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK804,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK804,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL804,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL804,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI804,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI804,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ804,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ804,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q804=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R804:$AU804<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C815","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R815:$AI815))/SUM(IF($R815:$AI815<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R815:$AI815))/SUM(IF($R815:$AI815<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK815:$AN815))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK815:$AN815))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP815:$AU815))/SUM(IF($AP815:$AU815<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP815:$AU815))/SUM(IF($AP815:$AU815<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R815:$AU815))/SUM(IF($R815:$AU815<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R815:$AU815))/SUM(IF($R815:$AU815<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK815:$AU815))/SUM(IF($AK815:$AU815<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK815:$AU815))/SUM(IF($AK815:$AU815<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D815=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU815>0,'Calculator Table'!BT815>0),\"Z-ERROR\",IF('Calculator Table'!BU815>0,\"X\",IF('Calculator Table'!BV815>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA815,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA815,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB815,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB815,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ815,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ815,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR815,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR815,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS815,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS815,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT815,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT815,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU815,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU815,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV815,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV815,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW815,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW815,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX815,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX815,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY815,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY815,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ815,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ815,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC815,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC815,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD815,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD815,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG815,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG815,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH815,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH815,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE815,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE815,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF815,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF815,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK815,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK815,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL815,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL815,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI815,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI815,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ815,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ815,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q815=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R815:$AU815<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C821","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R821:$AI821))/SUM(IF($R821:$AI821<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R821:$AI821))/SUM(IF($R821:$AI821<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK821:$AN821))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK821:$AN821))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP821:$AU821))/SUM(IF($AP821:$AU821<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP821:$AU821))/SUM(IF($AP821:$AU821<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R821:$AU821))/SUM(IF($R821:$AU821<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R821:$AU821))/SUM(IF($R821:$AU821<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK821:$AU821))/SUM(IF($AK821:$AU821<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK821:$AU821))/SUM(IF($AK821:$AU821<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D821=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU821>0,'Calculator Table'!BT821>0),\"Z-ERROR\",IF('Calculator Table'!BU821>0,\"X\",IF('Calculator Table'!BV821>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA821,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA821,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB821,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB821,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ821,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ821,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR821,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR821,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS821,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS821,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT821,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT821,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU821,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU821,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV821,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV821,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW821,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW821,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX821,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX821,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY821,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY821,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ821,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ821,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC821,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC821,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD821,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD821,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG821,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG821,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH821,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH821,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE821,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE821,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF821,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF821,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK821,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK821,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL821,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL821,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI821,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI821,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ821,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ821,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q821=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R821:$AU821<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C829","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R829:$AI829))/SUM(IF($R829:$AI829<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R829:$AI829))/SUM(IF($R829:$AI829<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK829:$AN829))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK829:$AN829))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP829:$AU829))/SUM(IF($AP829:$AU829<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP829:$AU829))/SUM(IF($AP829:$AU829<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R829:$AU829))/SUM(IF($R829:$AU829<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R829:$AU829))/SUM(IF($R829:$AU829<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK829:$AU829))/SUM(IF($AK829:$AU829<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK829:$AU829))/SUM(IF($AK829:$AU829<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D829=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU829>0,'Calculator Table'!BT829>0),\"Z-ERROR\",IF('Calculator Table'!BU829>0,\"X\",IF('Calculator Table'!BV829>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA829,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA829,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB829,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB829,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ829,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ829,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR829,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR829,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS829,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS829,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT829,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT829,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU829,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU829,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV829,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV829,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW829,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW829,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX829,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX829,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY829,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY829,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ829,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ829,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC829,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC829,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD829,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD829,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG829,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG829,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH829,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH829,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE829,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE829,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF829,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF829,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK829,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK829,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL829,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL829,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI829,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI829,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ829,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ829,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q829=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R829:$AU829<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C838","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R838:$AI838))/SUM(IF($R838:$AI838<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R838:$AI838))/SUM(IF($R838:$AI838<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK838:$AN838))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK838:$AN838))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP838:$AU838))/SUM(IF($AP838:$AU838<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP838:$AU838))/SUM(IF($AP838:$AU838<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R838:$AU838))/SUM(IF($R838:$AU838<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R838:$AU838))/SUM(IF($R838:$AU838<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK838:$AU838))/SUM(IF($AK838:$AU838<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK838:$AU838))/SUM(IF($AK838:$AU838<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D838=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU838>0,'Calculator Table'!BT838>0),\"Z-ERROR\",IF('Calculator Table'!BU838>0,\"X\",IF('Calculator Table'!BV838>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA838,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA838,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB838,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB838,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ838,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ838,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR838,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR838,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS838,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS838,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT838,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT838,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU838,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU838,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV838,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV838,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW838,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW838,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX838,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX838,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY838,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY838,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ838,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ838,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(Z838),ISNUMBER(AB838)),MIN(Z838,AB838),\"--\")","v":"--"},{"$f":"IF(OR(ISNUMBER(AA838),ISNUMBER(AC838)),MIN(AA838,AC838),\"--\")","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC838,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC838,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD838,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD838,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(X838),ISNUMBER(V838)),\"--\",AF838)","v":"--"},{"$f":"IF(OR(ISNUMBER(Y838),ISNUMBER(W838)),\"--\",AG838)","v":"--"},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG838,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG838,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH838,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH838,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE838,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE838,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF838,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF838,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK838,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK838,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL838,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL838,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI838,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI838,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ838,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ838,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISNUMBER(AP838),\"--\",AR838)","v":"--"},{"$f":"IF(ISNUMBER(AQ838),\"--\",AS838)","v":"--"},{"$f":"IF(Q838=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R838:$AU838<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C846","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R846:$AI846))/SUM(IF($R846:$AI846<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R846:$AI846))/SUM(IF($R846:$AI846<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK846:$AN846))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK846:$AN846))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP846:$AU846))/SUM(IF($AP846:$AU846<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP846:$AU846))/SUM(IF($AP846:$AU846<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R846:$AU846))/SUM(IF($R846:$AU846<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R846:$AU846))/SUM(IF($R846:$AU846<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK846:$AU846))/SUM(IF($AK846:$AU846<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK846:$AU846))/SUM(IF($AK846:$AU846<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D846=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU846>0,'Calculator Table'!BT846>0),\"Z-ERROR\",IF('Calculator Table'!BU846>0,\"X\",IF('Calculator Table'!BV846>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA846,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA846,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB846,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB846,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ846,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ846,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR846,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR846,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS846,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS846,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT846,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT846,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU846,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU846,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV846,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV846,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW846,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW846,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX846,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX846,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY846,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY846,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ846,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ846,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC846,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC846,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD846,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD846,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG846,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG846,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH846,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH846,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE846,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE846,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF846,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF846,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK846,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK846,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL846,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL846,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI846,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI846,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ846,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ846,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q846=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R846:$AU846<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C847","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R847:$AI847))/SUM(IF($R847:$AI847<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R847:$AI847))/SUM(IF($R847:$AI847<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK847:$AN847))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK847:$AN847))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP847:$AU847))/SUM(IF($AP847:$AU847<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP847:$AU847))/SUM(IF($AP847:$AU847<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R847:$AU847))/SUM(IF($R847:$AU847<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R847:$AU847))/SUM(IF($R847:$AU847<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK847:$AU847))/SUM(IF($AK847:$AU847<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK847:$AU847))/SUM(IF($AK847:$AU847<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D847=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU847>0,'Calculator Table'!BT847>0),\"Z-ERROR\",IF('Calculator Table'!BU847>0,\"X\",IF('Calculator Table'!BV847>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA847,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA847,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB847,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB847,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ847,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ847,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR847,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR847,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS847,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS847,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT847,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT847,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU847,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU847,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV847,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV847,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW847,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW847,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX847,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX847,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY847,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY847,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ847,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ847,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC847,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC847,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD847,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD847,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG847,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG847,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH847,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH847,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE847,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE847,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF847,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF847,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK847,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK847,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL847,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL847,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI847,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI847,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ847,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ847,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q847=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R847:$AU847<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C856","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R856:$AI856))/SUM(IF($R856:$AI856<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R856:$AI856))/SUM(IF($R856:$AI856<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK856:$AN856))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK856:$AN856))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP856:$AU856))/SUM(IF($AP856:$AU856<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP856:$AU856))/SUM(IF($AP856:$AU856<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R856:$AU856))/SUM(IF($R856:$AU856<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R856:$AU856))/SUM(IF($R856:$AU856<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK856:$AU856))/SUM(IF($AK856:$AU856<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK856:$AU856))/SUM(IF($AK856:$AU856<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D856=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU856>0,'Calculator Table'!BT856>0),\"Z-ERROR\",IF('Calculator Table'!BU856>0,\"X\",IF('Calculator Table'!BV856>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA856,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA856,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB856,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB856,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ856,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ856,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR856,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR856,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS856,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS856,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT856,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT856,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU856,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU856,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV856,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV856,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW856,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW856,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX856,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX856,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY856,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY856,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ856,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ856,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC856,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC856,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD856,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD856,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG856,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG856,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH856,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH856,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE856,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE856,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF856,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF856,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK856,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK856,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL856,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL856,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI856,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI856,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ856,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ856,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q856=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R856:$AU856<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C869","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R869:$AI869))/SUM(IF($R869:$AI869<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R869:$AI869))/SUM(IF($R869:$AI869<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK869:$AN869))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK869:$AN869))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP869:$AU869))/SUM(IF($AP869:$AU869<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP869:$AU869))/SUM(IF($AP869:$AU869<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R869:$AU869))/SUM(IF($R869:$AU869<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R869:$AU869))/SUM(IF($R869:$AU869<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK869:$AU869))/SUM(IF($AK869:$AU869<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK869:$AU869))/SUM(IF($AK869:$AU869<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D869=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU869>0,'Calculator Table'!BT869>0),\"Z-ERROR\",IF('Calculator Table'!BU869>0,\"X\",IF('Calculator Table'!BV869>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA869,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA869,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB869,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB869,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ869,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ869,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR869,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR869,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS869,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS869,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT869,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT869,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU869,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU869,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV869,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV869,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW869,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW869,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX869,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX869,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY869,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY869,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ869,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ869,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC869,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC869,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD869,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD869,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG869,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG869,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH869,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH869,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE869,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE869,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF869,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF869,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK869,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK869,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL869,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL869,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI869,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI869,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ869,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ869,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q869=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R869:$AU869<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C873","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R873:$AI873))/SUM(IF($R873:$AI873<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R873:$AI873))/SUM(IF($R873:$AI873<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK873:$AN873))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK873:$AN873))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP873:$AU873))/SUM(IF($AP873:$AU873<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP873:$AU873))/SUM(IF($AP873:$AU873<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R873:$AU873))/SUM(IF($R873:$AU873<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R873:$AU873))/SUM(IF($R873:$AU873<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK873:$AU873))/SUM(IF($AK873:$AU873<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK873:$AU873))/SUM(IF($AK873:$AU873<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D873=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU873>0,'Calculator Table'!BT873>0),\"Z-ERROR\",IF('Calculator Table'!BU873>0,\"X\",IF('Calculator Table'!BV873>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA873,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA873,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB873,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB873,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ873,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ873,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR873,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR873,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS873,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS873,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT873,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT873,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU873,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU873,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV873,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV873,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW873,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW873,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX873,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX873,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY873,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY873,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ873,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ873,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC873,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC873,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD873,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD873,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG873,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG873,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH873,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH873,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE873,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE873,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF873,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF873,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK873,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK873,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL873,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL873,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI873,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI873,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ873,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ873,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q873=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R873:$AU873<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C883","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R883:$AI883))/SUM(IF($R883:$AI883<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R883:$AI883))/SUM(IF($R883:$AI883<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK883:$AN883))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK883:$AN883))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP883:$AU883))/SUM(IF($AP883:$AU883<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP883:$AU883))/SUM(IF($AP883:$AU883<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R883:$AU883))/SUM(IF($R883:$AU883<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R883:$AU883))/SUM(IF($R883:$AU883<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK883:$AU883))/SUM(IF($AK883:$AU883<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK883:$AU883))/SUM(IF($AK883:$AU883<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D883=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU883>0,'Calculator Table'!BT883>0),\"Z-ERROR\",IF('Calculator Table'!BU883>0,\"X\",IF('Calculator Table'!BV883>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA883,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA883,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB883,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB883,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ883,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ883,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR883,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR883,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS883,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS883,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT883,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT883,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU883,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU883,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV883,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV883,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW883,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW883,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX883,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX883,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY883,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY883,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ883,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ883,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC883,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC883,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD883,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD883,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG883,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG883,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH883,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH883,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE883,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE883,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF883,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF883,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK883,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK883,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL883,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL883,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI883,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI883,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ883,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ883,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q883=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R883:$AU883<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C890","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R890:$AI890))/SUM(IF($R890:$AI890<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R890:$AI890))/SUM(IF($R890:$AI890<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK890:$AN890))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK890:$AN890))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP890:$AU890))/SUM(IF($AP890:$AU890<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP890:$AU890))/SUM(IF($AP890:$AU890<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R890:$AU890))/SUM(IF($R890:$AU890<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R890:$AU890))/SUM(IF($R890:$AU890<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK890:$AU890))/SUM(IF($AK890:$AU890<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK890:$AU890))/SUM(IF($AK890:$AU890<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D890=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU890>0,'Calculator Table'!BT890>0),\"Z-ERROR\",IF('Calculator Table'!BU890>0,\"X\",IF('Calculator Table'!BV890>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA890,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA890,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB890,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB890,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ890,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ890,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR890,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR890,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS890,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS890,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT890,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT890,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU890,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU890,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV890,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV890,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW890,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW890,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX890,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX890,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY890,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY890,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ890,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ890,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC890,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC890,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD890,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD890,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG890,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG890,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH890,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH890,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE890,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE890,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF890,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF890,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK890,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK890,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL890,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL890,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI890,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI890,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ890,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ890,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q890=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R890:$AU890<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C897","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R897:$AI897))/SUM(IF($R897:$AI897<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R897:$AI897))/SUM(IF($R897:$AI897<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK897:$AN897))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK897:$AN897))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP897:$AU897))/SUM(IF($AP897:$AU897<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP897:$AU897))/SUM(IF($AP897:$AU897<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R897:$AU897))/SUM(IF($R897:$AU897<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R897:$AU897))/SUM(IF($R897:$AU897<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK897:$AU897))/SUM(IF($AK897:$AU897<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK897:$AU897))/SUM(IF($AK897:$AU897<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D897=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU897>0,'Calculator Table'!BT897>0),\"Z-ERROR\",IF('Calculator Table'!BU897>0,\"X\",IF('Calculator Table'!BV897>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA897,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA897,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB897,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB897,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ897,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ897,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR897,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR897,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS897,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS897,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT897,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT897,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU897,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU897,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV897,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV897,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW897,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW897,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX897,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX897,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY897,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY897,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ897,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ897,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC897,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC897,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD897,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD897,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG897,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG897,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH897,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH897,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE897,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE897,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF897,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF897,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK897,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK897,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL897,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL897,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI897,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI897,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ897,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ897,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q897=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R897:$AU897<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C907","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R907:$AI907))/SUM(IF($R907:$AI907<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R907:$AI907))/SUM(IF($R907:$AI907<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK907:$AN907))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK907:$AN907))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP907:$AU907))/SUM(IF($AP907:$AU907<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP907:$AU907))/SUM(IF($AP907:$AU907<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R907:$AU907))/SUM(IF($R907:$AU907<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R907:$AU907))/SUM(IF($R907:$AU907<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK907:$AU907))/SUM(IF($AK907:$AU907<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK907:$AU907))/SUM(IF($AK907:$AU907<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D907=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU907>0,'Calculator Table'!BT907>0),\"Z-ERROR\",IF('Calculator Table'!BU907>0,\"X\",IF('Calculator Table'!BV907>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA907,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA907,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB907,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB907,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ907,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ907,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR907,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR907,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS907,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS907,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT907,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT907,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU907,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU907,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV907,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV907,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW907,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW907,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX907,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX907,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY907,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY907,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ907,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ907,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC907,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC907,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD907,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD907,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG907,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG907,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH907,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH907,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE907,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE907,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF907,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF907,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK907,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK907,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL907,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL907,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI907,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI907,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ907,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ907,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q907=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R907:$AU907<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C911","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R911:$AI911))/SUM(IF($R911:$AI911<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R911:$AI911))/SUM(IF($R911:$AI911<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK911:$AN911))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK911:$AN911))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP911:$AU911))/SUM(IF($AP911:$AU911<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP911:$AU911))/SUM(IF($AP911:$AU911<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R911:$AU911))/SUM(IF($R911:$AU911<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R911:$AU911))/SUM(IF($R911:$AU911<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK911:$AU911))/SUM(IF($AK911:$AU911<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK911:$AU911))/SUM(IF($AK911:$AU911<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D911=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU911>0,'Calculator Table'!BT911>0),\"Z-ERROR\",IF('Calculator Table'!BU911>0,\"X\",IF('Calculator Table'!BV911>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA911,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA911,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB911,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB911,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ911,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ911,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR911,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR911,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS911,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS911,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT911,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT911,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU911,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU911,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV911,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV911,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW911,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW911,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX911,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX911,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY911,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY911,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ911,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ911,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC911,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC911,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD911,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD911,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG911,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG911,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH911,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH911,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE911,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE911,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF911,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF911,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK911,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK911,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL911,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL911,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI911,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI911,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ911,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ911,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q911=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R911:$AU911<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C916","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R916:$AI916))/SUM(IF($R916:$AI916<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R916:$AI916))/SUM(IF($R916:$AI916<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK916:$AN916))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK916:$AN916))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP916:$AU916))/SUM(IF($AP916:$AU916<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP916:$AU916))/SUM(IF($AP916:$AU916<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R916:$AU916))/SUM(IF($R916:$AU916<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R916:$AU916))/SUM(IF($R916:$AU916<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK916:$AU916))/SUM(IF($AK916:$AU916<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK916:$AU916))/SUM(IF($AK916:$AU916<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D916=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU916>0,'Calculator Table'!BT916>0),\"Z-ERROR\",IF('Calculator Table'!BU916>0,\"X\",IF('Calculator Table'!BV916>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA916,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA916,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB916,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB916,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ916,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ916,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR916,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR916,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS916,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS916,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT916,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT916,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU916,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU916,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV916,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV916,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW916,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW916,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX916,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX916,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY916,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY916,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ916,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ916,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC916,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC916,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD916,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD916,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG916,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG916,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH916,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH916,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE916,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE916,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF916,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF916,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK916,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK916,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL916,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL916,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI916,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI916,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ916,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ916,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q916=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R916:$AU916<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C925","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R925:$AI925))/SUM(IF($R925:$AI925<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R925:$AI925))/SUM(IF($R925:$AI925<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK925:$AN925))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK925:$AN925))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP925:$AU925))/SUM(IF($AP925:$AU925<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP925:$AU925))/SUM(IF($AP925:$AU925<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R925:$AU925))/SUM(IF($R925:$AU925<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R925:$AU925))/SUM(IF($R925:$AU925<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK925:$AU925))/SUM(IF($AK925:$AU925<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK925:$AU925))/SUM(IF($AK925:$AU925<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D925=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU925>0,'Calculator Table'!BT925>0),\"Z-ERROR\",IF('Calculator Table'!BU925>0,\"X\",IF('Calculator Table'!BV925>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA925,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA925,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB925,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB925,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ925,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ925,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR925,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR925,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS925,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS925,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT925,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT925,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU925,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU925,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV925,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV925,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW925,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW925,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX925,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX925,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY925,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY925,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ925,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ925,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC925,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC925,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD925,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD925,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG925,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG925,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH925,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH925,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE925,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE925,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF925,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF925,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK925,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK925,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL925,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL925,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI925,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI925,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ925,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ925,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q925=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R925:$AU925<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C934","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R934:$AI934))/SUM(IF($R934:$AI934<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R934:$AI934))/SUM(IF($R934:$AI934<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK934:$AN934))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK934:$AN934))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP934:$AU934))/SUM(IF($AP934:$AU934<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP934:$AU934))/SUM(IF($AP934:$AU934<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R934:$AU934))/SUM(IF($R934:$AU934<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R934:$AU934))/SUM(IF($R934:$AU934<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK934:$AU934))/SUM(IF($AK934:$AU934<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK934:$AU934))/SUM(IF($AK934:$AU934<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D934=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU934>0,'Calculator Table'!BT934>0),\"Z-ERROR\",IF('Calculator Table'!BU934>0,\"X\",IF('Calculator Table'!BV934>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA934,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA934,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB934,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB934,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ934,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ934,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR934,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR934,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS934,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS934,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT934,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT934,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU934,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU934,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV934,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV934,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW934,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW934,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX934,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX934,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY934,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY934,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ934,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ934,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC934,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC934,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD934,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD934,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG934,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG934,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH934,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH934,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE934,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE934,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF934,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF934,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK934,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK934,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL934,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL934,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI934,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI934,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ934,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ934,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q934=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R934:$AU934<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C942","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R942:$AI942))/SUM(IF($R942:$AI942<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R942:$AI942))/SUM(IF($R942:$AI942<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK942:$AN942))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK942:$AN942))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP942:$AU942))/SUM(IF($AP942:$AU942<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP942:$AU942))/SUM(IF($AP942:$AU942<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R942:$AU942))/SUM(IF($R942:$AU942<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R942:$AU942))/SUM(IF($R942:$AU942<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK942:$AU942))/SUM(IF($AK942:$AU942<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK942:$AU942))/SUM(IF($AK942:$AU942<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D942=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU942>0,'Calculator Table'!BT942>0),\"Z-ERROR\",IF('Calculator Table'!BU942>0,\"X\",IF('Calculator Table'!BV942>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA942,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA942,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB942,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB942,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ942,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ942,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR942,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR942,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS942,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS942,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT942,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT942,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU942,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU942,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV942,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV942,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW942,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW942,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX942,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX942,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY942,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY942,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ942,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ942,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC942,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC942,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD942,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD942,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG942,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG942,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH942,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH942,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE942,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE942,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF942,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF942,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK942,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK942,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL942,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL942,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI942,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI942,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ942,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ942,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q942=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R942:$AU942<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C948","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R948:$AI948))/SUM(IF($R948:$AI948<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R948:$AI948))/SUM(IF($R948:$AI948<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK948:$AN948))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK948:$AN948))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP948:$AU948))/SUM(IF($AP948:$AU948<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP948:$AU948))/SUM(IF($AP948:$AU948<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R948:$AU948))/SUM(IF($R948:$AU948<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R948:$AU948))/SUM(IF($R948:$AU948<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK948:$AU948))/SUM(IF($AK948:$AU948<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK948:$AU948))/SUM(IF($AK948:$AU948<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D948=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU948>0,'Calculator Table'!BT948>0),\"Z-ERROR\",IF('Calculator Table'!BU948>0,\"X\",IF('Calculator Table'!BV948>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA948,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA948,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB948,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB948,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ948,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ948,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR948,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR948,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS948,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS948,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT948,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT948,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU948,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU948,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV948,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV948,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW948,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW948,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX948,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX948,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY948,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY948,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ948,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ948,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC948,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC948,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD948,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD948,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG948,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG948,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH948,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH948,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE948,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE948,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF948,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF948,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK948,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK948,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL948,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL948,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI948,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI948,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ948,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ948,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q948=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R948:$AU948<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C959","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R959:$AI959))/SUM(IF($R959:$AI959<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R959:$AI959))/SUM(IF($R959:$AI959<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK959:$AN959))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK959:$AN959))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP959:$AU959))/SUM(IF($AP959:$AU959<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP959:$AU959))/SUM(IF($AP959:$AU959<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R959:$AU959))/SUM(IF($R959:$AU959<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R959:$AU959))/SUM(IF($R959:$AU959<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK959:$AU959))/SUM(IF($AK959:$AU959<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK959:$AU959))/SUM(IF($AK959:$AU959<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D959=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU959>0,'Calculator Table'!BT959>0),\"Z-ERROR\",IF('Calculator Table'!BU959>0,\"X\",IF('Calculator Table'!BV959>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA959,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA959,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB959,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB959,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ959,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ959,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR959,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR959,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS959,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS959,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT959,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT959,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU959,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU959,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV959,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV959,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW959,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW959,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX959,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX959,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY959,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY959,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ959,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ959,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC959,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC959,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD959,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD959,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG959,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG959,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH959,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH959,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE959,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE959,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF959,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF959,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK959,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK959,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL959,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL959,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI959,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI959,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ959,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ959,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q959=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R959:$AU959<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C965","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R965:$AI965))/SUM(IF($R965:$AI965<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R965:$AI965))/SUM(IF($R965:$AI965<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK965:$AN965))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK965:$AN965))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP965:$AU965))/SUM(IF($AP965:$AU965<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP965:$AU965))/SUM(IF($AP965:$AU965<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R965:$AU965))/SUM(IF($R965:$AU965<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R965:$AU965))/SUM(IF($R965:$AU965<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$f":"(IF(NOT(ISERROR(B965)),B965*B$2)+IF(NOT(ISERROR(F965)),F965*F$2))/(IF(NOT(ISERROR(B965)),B$2)+IF(NOT(ISERROR(F965)),F$2))+D965","v":{"$error":"#DIV/0!"}},{"$f":"(IF(NOT(ISERROR(C965)),C965*C$2)+IF(NOT(ISERROR(G965)),G965*G$2))/(IF(NOT(ISERROR(C965)),C$2)+IF(NOT(ISERROR(G965)),G$2))+E965","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK965:$AU965))/SUM(IF($AK965:$AU965<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK965:$AU965))/SUM(IF($AK965:$AU965<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},{"$f":"IF(AND(ISERROR(B965),ISERROR(L965)),B965,AVERAGE(IF(NOT(ISERROR(B965)),B965),IF(NOT(ISERROR(L965)),L965)))","v":0},{"$f":"IF(AND(ISERROR(C965),ISERROR(M965)),C965,AVERAGE(IF(NOT(ISERROR(C965)),C965),IF(NOT(ISERROR(M965)),M965)))","v":0},{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D965=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU965>0,'Calculator Table'!BT965>0),\"Z-ERROR\",IF('Calculator Table'!BU965>0,\"X\",IF('Calculator Table'!BV965>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA965,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA965,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB965,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB965,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ965,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ965,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR965,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR965,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS965,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS965,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT965,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT965,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU965,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU965,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV965,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV965,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW965,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW965,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX965,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX965,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY965,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY965,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ965,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ965,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC965,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC965,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD965,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD965,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG965,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG965,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH965,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH965,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE965,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE965,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF965,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF965,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK965,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK965,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL965,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL965,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI965,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI965,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ965,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ965,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q965=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R965:$AU965<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C968","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R968:$AI968))/SUM(IF($R968:$AI968<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R968:$AI968))/SUM(IF($R968:$AI968<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK968:$AN968))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK968:$AN968))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP968:$AU968))/SUM(IF($AP968:$AU968<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP968:$AU968))/SUM(IF($AP968:$AU968<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R968:$AU968))/SUM(IF($R968:$AU968<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R968:$AU968))/SUM(IF($R968:$AU968<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK968:$AU968))/SUM(IF($AK968:$AU968<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK968:$AU968))/SUM(IF($AK968:$AU968<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D968=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU968>0,'Calculator Table'!BT968>0),\"Z-ERROR\",IF('Calculator Table'!BU968>0,\"X\",IF('Calculator Table'!BV968>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA968,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA968,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB968,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB968,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ968,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ968,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR968,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR968,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS968,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS968,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT968,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT968,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU968,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU968,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV968,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV968,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW968,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW968,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX968,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX968,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY968,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY968,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ968,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ968,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC968,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC968,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD968,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD968,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG968,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG968,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH968,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH968,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE968,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE968,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF968,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF968,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK968,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK968,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL968,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL968,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI968,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI968,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ968,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ968,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q968=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R968:$AU968<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C979","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R979:$AI979))/SUM(IF($R979:$AI979<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R979:$AI979))/SUM(IF($R979:$AI979<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK979:$AN979))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK979:$AN979))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP979:$AU979))/SUM(IF($AP979:$AU979<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP979:$AU979))/SUM(IF($AP979:$AU979<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R979:$AU979))/SUM(IF($R979:$AU979<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R979:$AU979))/SUM(IF($R979:$AU979<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK979:$AU979))/SUM(IF($AK979:$AU979<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK979:$AU979))/SUM(IF($AK979:$AU979<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D979=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU979>0,'Calculator Table'!BT979>0),\"Z-ERROR\",IF('Calculator Table'!BU979>0,\"X\",IF('Calculator Table'!BV979>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA979,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA979,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB979,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB979,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ979,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ979,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR979,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR979,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS979,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS979,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT979,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT979,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU979,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU979,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV979,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV979,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW979,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW979,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX979,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX979,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY979,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY979,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ979,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ979,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC979,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC979,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD979,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD979,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG979,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG979,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH979,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH979,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE979,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE979,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF979,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF979,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK979,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK979,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL979,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL979,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI979,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI979,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ979,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ979,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q979=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R979:$AU979<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C985","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R985:$AI985))/SUM(IF($R985:$AI985<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R985:$AI985))/SUM(IF($R985:$AI985<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK985:$AN985))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK985:$AN985))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP985:$AU985))/SUM(IF($AP985:$AU985<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP985:$AU985))/SUM(IF($AP985:$AU985<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R985:$AU985))/SUM(IF($R985:$AU985<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R985:$AU985))/SUM(IF($R985:$AU985<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK985:$AU985))/SUM(IF($AK985:$AU985<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK985:$AU985))/SUM(IF($AK985:$AU985<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D985=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU985>0,'Calculator Table'!BT985>0),\"Z-ERROR\",IF('Calculator Table'!BU985>0,\"X\",IF('Calculator Table'!BV985>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA985,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA985,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB985,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB985,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ985,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ985,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR985,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR985,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS985,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS985,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT985,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT985,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU985,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU985,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV985,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV985,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW985,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW985,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX985,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX985,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY985,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY985,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ985,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ985,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC985,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC985,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD985,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD985,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG985,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG985,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH985,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH985,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE985,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE985,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF985,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF985,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK985,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK985,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL985,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL985,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI985,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI985,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ985,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ985,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q985=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R985:$AU985<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C994","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R994:$AI994))/SUM(IF($R994:$AI994<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R994:$AI994))/SUM(IF($R994:$AI994<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK994:$AN994))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK994:$AN994))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP994:$AU994))/SUM(IF($AP994:$AU994<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP994:$AU994))/SUM(IF($AP994:$AU994<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R994:$AU994))/SUM(IF($R994:$AU994<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R994:$AU994))/SUM(IF($R994:$AU994<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK994:$AU994))/SUM(IF($AK994:$AU994<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK994:$AU994))/SUM(IF($AK994:$AU994<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D994=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU994>0,'Calculator Table'!BT994>0),\"Z-ERROR\",IF('Calculator Table'!BU994>0,\"X\",IF('Calculator Table'!BV994>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA994,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA994,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB994,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB994,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ994,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ994,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR994,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR994,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS994,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS994,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT994,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT994,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU994,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU994,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV994,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV994,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW994,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW994,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX994,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX994,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY994,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY994,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ994,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ994,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC994,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC994,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD994,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD994,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG994,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG994,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH994,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH994,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE994,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE994,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF994,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF994,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK994,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK994,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL994,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL994,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI994,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI994,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ994,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ994,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q994=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R994:$AU994<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1002","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1002:$AI1002))/SUM(IF($R1002:$AI1002<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1002:$AI1002))/SUM(IF($R1002:$AI1002<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1002:$AN1002))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1002:$AN1002))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1002:$AU1002))/SUM(IF($AP1002:$AU1002<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1002:$AU1002))/SUM(IF($AP1002:$AU1002<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1002:$AU1002))/SUM(IF($R1002:$AU1002<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1002:$AU1002))/SUM(IF($R1002:$AU1002<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1002:$AU1002))/SUM(IF($AK1002:$AU1002<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1002:$AU1002))/SUM(IF($AK1002:$AU1002<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1002=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1002>0,'Calculator Table'!BT1002>0),\"Z-ERROR\",IF('Calculator Table'!BU1002>0,\"X\",IF('Calculator Table'!BV1002>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1002,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1002,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1002,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1002,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1002,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1002,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1002,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1002,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1002,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1002,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1002,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1002,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1002,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1002,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1002,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1002,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1002,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1002,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1002,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1002,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1002,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1002,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1002,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1002,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1002,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1002,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1002,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1002,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1002,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1002,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1002,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1002,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1002,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1002,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1002,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1002,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1002,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1002,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1002,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1002,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1002,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1002,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1002,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1002,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1002=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1002:$AU1002<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1011","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1011:$AI1011))/SUM(IF($R1011:$AI1011<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1011:$AI1011))/SUM(IF($R1011:$AI1011<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1011:$AN1011))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1011:$AN1011))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1011:$AU1011))/SUM(IF($AP1011:$AU1011<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1011:$AU1011))/SUM(IF($AP1011:$AU1011<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1011:$AU1011))/SUM(IF($R1011:$AU1011<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1011:$AU1011))/SUM(IF($R1011:$AU1011<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1011:$AU1011))/SUM(IF($AK1011:$AU1011<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1011:$AU1011))/SUM(IF($AK1011:$AU1011<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1011=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1011>0,'Calculator Table'!BT1011>0),\"Z-ERROR\",IF('Calculator Table'!BU1011>0,\"X\",IF('Calculator Table'!BV1011>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1011,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1011,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1011,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1011,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1011,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1011,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1011,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1011,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1011,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1011,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1011,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1011,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1011,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1011,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1011,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1011,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1011,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1011,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1011,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1011,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1011,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1011,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1011,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1011,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1011,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1011,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1011,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1011,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1011,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1011,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1011,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1011,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1011,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1011,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1011,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1011,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1011,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1011,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1011,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1011,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1011,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1011,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1011,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1011,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1011=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1011:$AU1011<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1016","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1016:$AI1016))/SUM(IF($R1016:$AI1016<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1016:$AI1016))/SUM(IF($R1016:$AI1016<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1016:$AN1016))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1016:$AN1016))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1016:$AU1016))/SUM(IF($AP1016:$AU1016<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1016:$AU1016))/SUM(IF($AP1016:$AU1016<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1016:$AU1016))/SUM(IF($R1016:$AU1016<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1016:$AU1016))/SUM(IF($R1016:$AU1016<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1016:$AU1016))/SUM(IF($AK1016:$AU1016<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1016:$AU1016))/SUM(IF($AK1016:$AU1016<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1016=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1016>0,'Calculator Table'!BT1016>0),\"Z-ERROR\",IF('Calculator Table'!BU1016>0,\"X\",IF('Calculator Table'!BV1016>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1016,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1016,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1016,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1016,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1016,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1016,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1016,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1016,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1016,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1016,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1016,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1016,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1016,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1016,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1016,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1016,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1016,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1016,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1016,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1016,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1016,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1016,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1016,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1016,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1016,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1016,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1016,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1016,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1016,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1016,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1016,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1016,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1016,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1016,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1016,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1016,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1016,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1016,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1016,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1016,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1016,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1016,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1016,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1016,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1016=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1016:$AU1016<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1028","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1028:$AI1028))/SUM(IF($R1028:$AI1028<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1028:$AI1028))/SUM(IF($R1028:$AI1028<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1028:$AN1028))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1028:$AN1028))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1028:$AU1028))/SUM(IF($AP1028:$AU1028<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1028:$AU1028))/SUM(IF($AP1028:$AU1028<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1028:$AU1028))/SUM(IF($R1028:$AU1028<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1028:$AU1028))/SUM(IF($R1028:$AU1028<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1028:$AU1028))/SUM(IF($AK1028:$AU1028<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1028:$AU1028))/SUM(IF($AK1028:$AU1028<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1028=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1028>0,'Calculator Table'!BT1028>0),\"Z-ERROR\",IF('Calculator Table'!BU1028>0,\"X\",IF('Calculator Table'!BV1028>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1028,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1028,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1028,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1028,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1028,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1028,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1028,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1028,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1028,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1028,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1028,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1028,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1028,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1028,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1028,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1028,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1028,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1028,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1028,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1028,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1028,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1028,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1028,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1028,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1028,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1028,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1028,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1028,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1028,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1028,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1028,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1028,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1028,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1028,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1028,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1028,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1028,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1028,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1028,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1028,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1028,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1028,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1028,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1028,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1028=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1028:$AU1028<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1030","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1030:$AI1030))/SUM(IF($R1030:$AI1030<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1030:$AI1030))/SUM(IF($R1030:$AI1030<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1030:$AN1030))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1030:$AN1030))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1030:$AU1030))/SUM(IF($AP1030:$AU1030<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1030:$AU1030))/SUM(IF($AP1030:$AU1030<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1030:$AU1030))/SUM(IF($R1030:$AU1030<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1030:$AU1030))/SUM(IF($R1030:$AU1030<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1030:$AU1030))/SUM(IF($AK1030:$AU1030<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1030:$AU1030))/SUM(IF($AK1030:$AU1030<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},{"$f":"IF(AND(ISERROR(B1030),ISERROR(L1030)),B1030,AVERAGE(IF(NOT(ISERROR(B1030)),B1030),IF(NOT(ISERROR(L1030)),L1030)))","v":0},{"$f":"IF(AND(ISERROR(C1030),ISERROR(M1030)),C1030,AVERAGE(IF(NOT(ISERROR(C1030)),C1030),IF(NOT(ISERROR(M1030)),M1030)))","v":0},{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1030=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1030>0,'Calculator Table'!BT1030>0),\"Z-ERROR\",IF('Calculator Table'!BU1030>0,\"X\",IF('Calculator Table'!BV1030>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1030,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1030,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1030,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1030,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1030,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1030,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1030,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1030,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1030,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1030,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1030,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1030,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1030,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1030,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1030,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1030,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1030,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1030,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1030,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1030,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1030,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1030,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1030,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1030,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(Z1030),ISNUMBER(AB1030)),MIN(Z1030,AB1030),\"--\")","v":"--"},{"$f":"IF(OR(ISNUMBER(AA1030),ISNUMBER(AC1030)),MIN(AA1030,AC1030),\"--\")","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1030,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1030,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1030,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1030,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(X1030),ISNUMBER(V1030)),\"--\",AF1030)","v":"--"},{"$f":"IF(OR(ISNUMBER(Y1030),ISNUMBER(W1030)),\"--\",AG1030)","v":"--"},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1030,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1030,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1030,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1030,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1030,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1030,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1030,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1030,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1030,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1030,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1030,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1030,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1030,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1030,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1030,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1030,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISNUMBER(AP1030),\"--\",AR1030)","v":"--"},{"$f":"IF(ISNUMBER(AQ1030),\"--\",AS1030)","v":"--"},{"$f":"IF(Q1030=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1030:$AU1030<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1037","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1037:$AI1037))/SUM(IF($R1037:$AI1037<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1037:$AI1037))/SUM(IF($R1037:$AI1037<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1037:$AN1037))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1037:$AN1037))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1037:$AU1037))/SUM(IF($AP1037:$AU1037<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1037:$AU1037))/SUM(IF($AP1037:$AU1037<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1037:$AU1037))/SUM(IF($R1037:$AU1037<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1037:$AU1037))/SUM(IF($R1037:$AU1037<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1037:$AU1037))/SUM(IF($AK1037:$AU1037<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1037:$AU1037))/SUM(IF($AK1037:$AU1037<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1037=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1037>0,'Calculator Table'!BT1037>0),\"Z-ERROR\",IF('Calculator Table'!BU1037>0,\"X\",IF('Calculator Table'!BV1037>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1037,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1037,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1037,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1037,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1037,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1037,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1037,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1037,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1037,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1037,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1037,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1037,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1037,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1037,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1037,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1037,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1037,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1037,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1037,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1037,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1037,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1037,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1037,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1037,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1037,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1037,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1037,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1037,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1037,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1037,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1037,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1037,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1037,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1037,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1037,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1037,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1037,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1037,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1037,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1037,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1037,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1037,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1037,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1037,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1037=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1037:$AU1037<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1044","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1044:$AI1044))/SUM(IF($R1044:$AI1044<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1044:$AI1044))/SUM(IF($R1044:$AI1044<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1044:$AN1044))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1044:$AN1044))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1044:$AU1044))/SUM(IF($AP1044:$AU1044<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1044:$AU1044))/SUM(IF($AP1044:$AU1044<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1044:$AU1044))/SUM(IF($R1044:$AU1044<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1044:$AU1044))/SUM(IF($R1044:$AU1044<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1044:$AU1044))/SUM(IF($AK1044:$AU1044<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1044:$AU1044))/SUM(IF($AK1044:$AU1044<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1044=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1044>0,'Calculator Table'!BT1044>0),\"Z-ERROR\",IF('Calculator Table'!BU1044>0,\"X\",IF('Calculator Table'!BV1044>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1044,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1044,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1044,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1044,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1044,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1044,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1044,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1044,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1044,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1044,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1044,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1044,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1044,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1044,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1044,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1044,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1044,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1044,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1044,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1044,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1044,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1044,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1044,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1044,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1044,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1044,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1044,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1044,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1044,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1044,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1044,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1044,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1044,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1044,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1044,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1044,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1044,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1044,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1044,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1044,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1044,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1044,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1044,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1044,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1044=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1044:$AU1044<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1054","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1054:$AI1054))/SUM(IF($R1054:$AI1054<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1054:$AI1054))/SUM(IF($R1054:$AI1054<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1054:$AN1054))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1054:$AN1054))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1054:$AU1054))/SUM(IF($AP1054:$AU1054<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1054:$AU1054))/SUM(IF($AP1054:$AU1054<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1054:$AU1054))/SUM(IF($R1054:$AU1054<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1054:$AU1054))/SUM(IF($R1054:$AU1054<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1054:$AU1054))/SUM(IF($AK1054:$AU1054<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1054:$AU1054))/SUM(IF($AK1054:$AU1054<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1054=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1054>0,'Calculator Table'!BT1054>0),\"Z-ERROR\",IF('Calculator Table'!BU1054>0,\"X\",IF('Calculator Table'!BV1054>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1054,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1054,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1054,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1054,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1054,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1054,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1054,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1054,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1054,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1054,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1054,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1054,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1054,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1054,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1054,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1054,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1054,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1054,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1054,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1054,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1054,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1054,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1054,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1054,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1054,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1054,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1054,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1054,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1054,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1054,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1054,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1054,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1054,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1054,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1054,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1054,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1054,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1054,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1054,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1054,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1054,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1054,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1054,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1054,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1054=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1054:$AU1054<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1063","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1063:$AI1063))/SUM(IF($R1063:$AI1063<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1063:$AI1063))/SUM(IF($R1063:$AI1063<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1063:$AN1063))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1063:$AN1063))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1063:$AU1063))/SUM(IF($AP1063:$AU1063<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1063:$AU1063))/SUM(IF($AP1063:$AU1063<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1063:$AU1063))/SUM(IF($R1063:$AU1063<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1063:$AU1063))/SUM(IF($R1063:$AU1063<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1063:$AU1063))/SUM(IF($AK1063:$AU1063<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1063:$AU1063))/SUM(IF($AK1063:$AU1063<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1063=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1063>0,'Calculator Table'!BT1063>0),\"Z-ERROR\",IF('Calculator Table'!BU1063>0,\"X\",IF('Calculator Table'!BV1063>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1063,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1063,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1063,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1063,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1063,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1063,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1063,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1063,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1063,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1063,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1063,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1063,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1063,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1063,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1063,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1063,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1063,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1063,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1063,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1063,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1063,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1063,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1063,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1063,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1063,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1063,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1063,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1063,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1063,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1063,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1063,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1063,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1063,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1063,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1063,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1063,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1063,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1063,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1063,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1063,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1063,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1063,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1063,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1063,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1063=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1063:$AU1063<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1067","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1067:$AI1067))/SUM(IF($R1067:$AI1067<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1067:$AI1067))/SUM(IF($R1067:$AI1067<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1067:$AN1067))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1067:$AN1067))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1067:$AU1067))/SUM(IF($AP1067:$AU1067<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1067:$AU1067))/SUM(IF($AP1067:$AU1067<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1067:$AU1067))/SUM(IF($R1067:$AU1067<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1067:$AU1067))/SUM(IF($R1067:$AU1067<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1067:$AU1067))/SUM(IF($AK1067:$AU1067<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1067:$AU1067))/SUM(IF($AK1067:$AU1067<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1067=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1067>0,'Calculator Table'!BT1067>0),\"Z-ERROR\",IF('Calculator Table'!BU1067>0,\"X\",IF('Calculator Table'!BV1067>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1067,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1067,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1067,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1067,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1067,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1067,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1067,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1067,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1067,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1067,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1067,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1067,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1067,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1067,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1067,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1067,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1067,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1067,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1067,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1067,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1067,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1067,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1067,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1067,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1067,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1067,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1067,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1067,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1067,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1067,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1067,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1067,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1067,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1067,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1067,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1067,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1067,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1067,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1067,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1067,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1067,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1067,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1067,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1067,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1067=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1067:$AU1067<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1080","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1080:$AI1080))/SUM(IF($R1080:$AI1080<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1080:$AI1080))/SUM(IF($R1080:$AI1080<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1080:$AN1080))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1080:$AN1080))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1080:$AU1080))/SUM(IF($AP1080:$AU1080<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1080:$AU1080))/SUM(IF($AP1080:$AU1080<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1080:$AU1080))/SUM(IF($R1080:$AU1080<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1080:$AU1080))/SUM(IF($R1080:$AU1080<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1080:$AU1080))/SUM(IF($AK1080:$AU1080<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1080:$AU1080))/SUM(IF($AK1080:$AU1080<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1080=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1080>0,'Calculator Table'!BT1080>0),\"Z-ERROR\",IF('Calculator Table'!BU1080>0,\"X\",IF('Calculator Table'!BV1080>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1080,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1080,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1080,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1080,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1080,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1080,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1080,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1080,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1080,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1080,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1080,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1080,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1080,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1080,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1080,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1080,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1080,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1080,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1080,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1080,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1080,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1080,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1080,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1080,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1080,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1080,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1080,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1080,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1080,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1080,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1080,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1080,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1080,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1080,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1080,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1080,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1080,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1080,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1080,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1080,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1080,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1080,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1080,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1080,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1080=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1080:$AU1080<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1088","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1088:$AI1088))/SUM(IF($R1088:$AI1088<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1088:$AI1088))/SUM(IF($R1088:$AI1088<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1088:$AN1088))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1088:$AN1088))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1088:$AU1088))/SUM(IF($AP1088:$AU1088<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1088:$AU1088))/SUM(IF($AP1088:$AU1088<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1088:$AU1088))/SUM(IF($R1088:$AU1088<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1088:$AU1088))/SUM(IF($R1088:$AU1088<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1088:$AU1088))/SUM(IF($AK1088:$AU1088<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1088:$AU1088))/SUM(IF($AK1088:$AU1088<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1088=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1088>0,'Calculator Table'!BT1088>0),\"Z-ERROR\",IF('Calculator Table'!BU1088>0,\"X\",IF('Calculator Table'!BV1088>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1088,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1088,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1088,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1088,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1088,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1088,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1088,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1088,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1088,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1088,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1088,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1088,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1088,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1088,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1088,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1088,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1088,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1088,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1088,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1088,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1088,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1088,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1088,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1088,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1088,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1088,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1088,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1088,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1088,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1088,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1088,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1088,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1088,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1088,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1088,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1088,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1088,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1088,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1088,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1088,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1088,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1088,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1088,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1088,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1088=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1088:$AU1088<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1089","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1089:$AI1089))/SUM(IF($R1089:$AI1089<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1089:$AI1089))/SUM(IF($R1089:$AI1089<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1089:$AN1089))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1089:$AN1089))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1089:$AU1089))/SUM(IF($AP1089:$AU1089<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1089:$AU1089))/SUM(IF($AP1089:$AU1089<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1089:$AU1089))/SUM(IF($R1089:$AU1089<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1089:$AU1089))/SUM(IF($R1089:$AU1089<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1089:$AU1089))/SUM(IF($AK1089:$AU1089<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1089:$AU1089))/SUM(IF($AK1089:$AU1089<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1089=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1089>0,'Calculator Table'!BT1089>0),\"Z-ERROR\",IF('Calculator Table'!BU1089>0,\"X\",IF('Calculator Table'!BV1089>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1089,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1089,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1089,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1089,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1089,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1089,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1089,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1089,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1089,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1089,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1089,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1089,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1089,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1089,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1089,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1089,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1089,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1089,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1089,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1089,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1089,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1089,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1089,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1089,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1089,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1089,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1089,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1089,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1089,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1089,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1089,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1089,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1089,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1089,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1089,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1089,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1089,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1089,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1089,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1089,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1089,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1089,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1089,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1089,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1089=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1089:$AU1089<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1098","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1098:$AI1098))/SUM(IF($R1098:$AI1098<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1098:$AI1098))/SUM(IF($R1098:$AI1098<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1098:$AN1098))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1098:$AN1098))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1098:$AU1098))/SUM(IF($AP1098:$AU1098<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1098:$AU1098))/SUM(IF($AP1098:$AU1098<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1098:$AU1098))/SUM(IF($R1098:$AU1098<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1098:$AU1098))/SUM(IF($R1098:$AU1098<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1098:$AU1098))/SUM(IF($AK1098:$AU1098<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1098:$AU1098))/SUM(IF($AK1098:$AU1098<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1098=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1098>0,'Calculator Table'!BT1098>0),\"Z-ERROR\",IF('Calculator Table'!BU1098>0,\"X\",IF('Calculator Table'!BV1098>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1098,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1098,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1098,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1098,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1098,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1098,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1098,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1098,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1098,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1098,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1098,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1098,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1098,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1098,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1098,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1098,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1098,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1098,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1098,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1098,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1098,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1098,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1098,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1098,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1098,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1098,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1098,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1098,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1098,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1098,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1098,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1098,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1098,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1098,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1098,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1098,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1098,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1098,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1098,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1098,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1098,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1098,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1098,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1098,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1098=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1098:$AU1098<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1106","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1106:$AI1106))/SUM(IF($R1106:$AI1106<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1106:$AI1106))/SUM(IF($R1106:$AI1106<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1106:$AN1106))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1106:$AN1106))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1106:$AU1106))/SUM(IF($AP1106:$AU1106<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1106:$AU1106))/SUM(IF($AP1106:$AU1106<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1106:$AU1106))/SUM(IF($R1106:$AU1106<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1106:$AU1106))/SUM(IF($R1106:$AU1106<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1106:$AU1106))/SUM(IF($AK1106:$AU1106<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1106:$AU1106))/SUM(IF($AK1106:$AU1106<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1106=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1106>0,'Calculator Table'!BT1106>0),\"Z-ERROR\",IF('Calculator Table'!BU1106>0,\"X\",IF('Calculator Table'!BV1106>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1106,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1106,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1106,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1106,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1106,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1106,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1106,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1106,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1106,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1106,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1106,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1106,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1106,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1106,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1106,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1106,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1106,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1106,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1106,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1106,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1106,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1106,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1106,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1106,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1106,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1106,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1106,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1106,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1106,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1106,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1106,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1106,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1106,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1106,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1106,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1106,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1106,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1106,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1106,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1106,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1106,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1106,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1106,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1106,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1106=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1106:$AU1106<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1112","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1112:$AI1112))/SUM(IF($R1112:$AI1112<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1112:$AI1112))/SUM(IF($R1112:$AI1112<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1112:$AN1112))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1112:$AN1112))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1112:$AU1112))/SUM(IF($AP1112:$AU1112<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1112:$AU1112))/SUM(IF($AP1112:$AU1112<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1112:$AU1112))/SUM(IF($R1112:$AU1112<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1112:$AU1112))/SUM(IF($R1112:$AU1112<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1112:$AU1112))/SUM(IF($AK1112:$AU1112<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1112:$AU1112))/SUM(IF($AK1112:$AU1112<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1112=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1112>0,'Calculator Table'!BT1112>0),\"Z-ERROR\",IF('Calculator Table'!BU1112>0,\"X\",IF('Calculator Table'!BV1112>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1112,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1112,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1112,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1112,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1112,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1112,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1112,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1112,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1112,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1112,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1112,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1112,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1112,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1112,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1112,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1112,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1112,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1112,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1112,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1112,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1112,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1112,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1112,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1112,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1112,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1112,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1112,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1112,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1112,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1112,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1112,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1112,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1112,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1112,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1112,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1112,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1112,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1112,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1112,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1112,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1112,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1112,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1112,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1112,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1112=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1112:$AU1112<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1123","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1123:$AI1123))/SUM(IF($R1123:$AI1123<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1123:$AI1123))/SUM(IF($R1123:$AI1123<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1123:$AN1123))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1123:$AN1123))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1123:$AU1123))/SUM(IF($AP1123:$AU1123<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1123:$AU1123))/SUM(IF($AP1123:$AU1123<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1123:$AU1123))/SUM(IF($R1123:$AU1123<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1123:$AU1123))/SUM(IF($R1123:$AU1123<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1123:$AU1123))/SUM(IF($AK1123:$AU1123<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1123:$AU1123))/SUM(IF($AK1123:$AU1123<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1123=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1123>0,'Calculator Table'!BT1123>0),\"Z-ERROR\",IF('Calculator Table'!BU1123>0,\"X\",IF('Calculator Table'!BV1123>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1123,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1123,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1123,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1123,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1123,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1123,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1123,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1123,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1123,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1123,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1123,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1123,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1123,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1123,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1123,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1123,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1123,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1123,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1123,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1123,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1123,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1123,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1123,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1123,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1123,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1123,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1123,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1123,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1123,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1123,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1123,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1123,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1123,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1123,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1123,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1123,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1123,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1123,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1123,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1123,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1123,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1123,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1123,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1123,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1123=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1123:$AU1123<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1132","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1132:$AI1132))/SUM(IF($R1132:$AI1132<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1132:$AI1132))/SUM(IF($R1132:$AI1132<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1132:$AN1132))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1132:$AN1132))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1132:$AU1132))/SUM(IF($AP1132:$AU1132<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1132:$AU1132))/SUM(IF($AP1132:$AU1132<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1132:$AU1132))/SUM(IF($R1132:$AU1132<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1132:$AU1132))/SUM(IF($R1132:$AU1132<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1132:$AU1132))/SUM(IF($AK1132:$AU1132<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1132:$AU1132))/SUM(IF($AK1132:$AU1132<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1132=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1132>0,'Calculator Table'!BT1132>0),\"Z-ERROR\",IF('Calculator Table'!BU1132>0,\"X\",IF('Calculator Table'!BV1132>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1132,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1132,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1132,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1132,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1132,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1132,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1132,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1132,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1132,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1132,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1132,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1132,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1132,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1132,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1132,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1132,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1132,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1132,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1132,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1132,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1132,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1132,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1132,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1132,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1132,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1132,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1132,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1132,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1132,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1132,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1132,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1132,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1132,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1132,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1132,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1132,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1132,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1132,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1132,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1132,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1132,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1132,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1132,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1132,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1132=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1132:$AU1132<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1135","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1135:$AI1135))/SUM(IF($R1135:$AI1135<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1135:$AI1135))/SUM(IF($R1135:$AI1135<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1135:$AN1135))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1135:$AN1135))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1135:$AU1135))/SUM(IF($AP1135:$AU1135<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1135:$AU1135))/SUM(IF($AP1135:$AU1135<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1135:$AU1135))/SUM(IF($R1135:$AU1135<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1135:$AU1135))/SUM(IF($R1135:$AU1135<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1135:$AU1135))/SUM(IF($AK1135:$AU1135<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1135:$AU1135))/SUM(IF($AK1135:$AU1135<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1135=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1135>0,'Calculator Table'!BT1135>0),\"Z-ERROR\",IF('Calculator Table'!BU1135>0,\"X\",IF('Calculator Table'!BV1135>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1135,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1135,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1135,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1135,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1135,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1135,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1135,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1135,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1135,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1135,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1135,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1135,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1135,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1135,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1135,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1135,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1135,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1135,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1135,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1135,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1135,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1135,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1135,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1135,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1135,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1135,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1135,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1135,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1135,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1135,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1135,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1135,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1135,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1135,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1135,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1135,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1135,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1135,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1135,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1135,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1135,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1135,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1135,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1135,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1135=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1135:$AU1135<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1149","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1149:$AI1149))/SUM(IF($R1149:$AI1149<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1149:$AI1149))/SUM(IF($R1149:$AI1149<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1149:$AN1149))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1149:$AN1149))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1149:$AU1149))/SUM(IF($AP1149:$AU1149<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1149:$AU1149))/SUM(IF($AP1149:$AU1149<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1149:$AU1149))/SUM(IF($R1149:$AU1149<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1149:$AU1149))/SUM(IF($R1149:$AU1149<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1149:$AU1149))/SUM(IF($AK1149:$AU1149<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1149:$AU1149))/SUM(IF($AK1149:$AU1149<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1149=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1149>0,'Calculator Table'!BT1149>0),\"Z-ERROR\",IF('Calculator Table'!BU1149>0,\"X\",IF('Calculator Table'!BV1149>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1149,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1149,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1149,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1149,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1149,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1149,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1149,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1149,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1149,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1149,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1149,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1149,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1149,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1149,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1149,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1149,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1149,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1149,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1149,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1149,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1149,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1149,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1149,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1149,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1149,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1149,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1149,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1149,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1149,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1149,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1149,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1149,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1149,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1149,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1149,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1149,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1149,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1149,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1149,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1149,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1149,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1149,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1149,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1149,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1149=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1149:$AU1149<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1156","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1156:$AI1156))/SUM(IF($R1156:$AI1156<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1156:$AI1156))/SUM(IF($R1156:$AI1156<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1156:$AN1156))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1156:$AN1156))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1156:$AU1156))/SUM(IF($AP1156:$AU1156<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1156:$AU1156))/SUM(IF($AP1156:$AU1156<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1156:$AU1156))/SUM(IF($R1156:$AU1156<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1156:$AU1156))/SUM(IF($R1156:$AU1156<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1156:$AU1156))/SUM(IF($AK1156:$AU1156<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1156:$AU1156))/SUM(IF($AK1156:$AU1156<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1156=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1156>0,'Calculator Table'!BT1156>0),\"Z-ERROR\",IF('Calculator Table'!BU1156>0,\"X\",IF('Calculator Table'!BV1156>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1156,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1156,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1156,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1156,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1156,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1156,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1156,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1156,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1156,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1156,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1156,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1156,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1156,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1156,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1156,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1156,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1156,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1156,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1156,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1156,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1156,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1156,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1156,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1156,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1156,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1156,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1156,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1156,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1156,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1156,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1156,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1156,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1156,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1156,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1156,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1156,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1156,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1156,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1156,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1156,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1156,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1156,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1156,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1156,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1156=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1156:$AU1156<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1158","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1158:$AI1158))/SUM(IF($R1158:$AI1158<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1158:$AI1158))/SUM(IF($R1158:$AI1158<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1158:$AN1158))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1158:$AN1158))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1158:$AU1158))/SUM(IF($AP1158:$AU1158<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1158:$AU1158))/SUM(IF($AP1158:$AU1158<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1158:$AU1158))/SUM(IF($R1158:$AU1158<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1158:$AU1158))/SUM(IF($R1158:$AU1158<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1158:$AU1158))/SUM(IF($AK1158:$AU1158<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1158:$AU1158))/SUM(IF($AK1158:$AU1158<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},{"$f":"IF(AND(ISERROR(B1158),ISERROR(L1158)),B1158,AVERAGE(IF(NOT(ISERROR(B1158)),B1158),IF(NOT(ISERROR(L1158)),L1158)))","v":0},{"$f":"IF(AND(ISERROR(C1158),ISERROR(M1158)),C1158,AVERAGE(IF(NOT(ISERROR(C1158)),C1158),IF(NOT(ISERROR(M1158)),M1158)))","v":0},{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1158=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1158>0,'Calculator Table'!BT1158>0),\"Z-ERROR\",IF('Calculator Table'!BU1158>0,\"X\",IF('Calculator Table'!BV1158>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1158,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1158,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1158,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1158,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1158,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1158,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1158,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1158,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1158,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1158,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1158,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1158,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1158,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1158,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1158,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1158,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1158,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1158,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1158,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1158,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1158,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1158,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1158,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1158,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(Z1158),ISNUMBER(AB1158)),MIN(Z1158,AB1158),\"--\")","v":"--"},{"$f":"IF(OR(ISNUMBER(AA1158),ISNUMBER(AC1158)),MIN(AA1158,AC1158),\"--\")","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1158,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1158,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1158,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1158,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(X1158),ISNUMBER(V1158)),\"--\",AF1158)","v":"--"},{"$f":"IF(OR(ISNUMBER(Y1158),ISNUMBER(W1158)),\"--\",AG1158)","v":"--"},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1158,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1158,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1158,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1158,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1158,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1158,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1158,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1158,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1158,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1158,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1158,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1158,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1158,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1158,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1158,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1158,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISNUMBER(AP1158),\"--\",AR1158)","v":"--"},{"$f":"IF(ISNUMBER(AQ1158),\"--\",AS1158)","v":"--"},{"$f":"IF(Q1158=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1158:$AU1158<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1170","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1170:$AI1170))/SUM(IF($R1170:$AI1170<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1170:$AI1170))/SUM(IF($R1170:$AI1170<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1170:$AN1170))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1170:$AN1170))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1170:$AU1170))/SUM(IF($AP1170:$AU1170<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1170:$AU1170))/SUM(IF($AP1170:$AU1170<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1170:$AU1170))/SUM(IF($R1170:$AU1170<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1170:$AU1170))/SUM(IF($R1170:$AU1170<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1170:$AU1170))/SUM(IF($AK1170:$AU1170<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1170:$AU1170))/SUM(IF($AK1170:$AU1170<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1170=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1170>0,'Calculator Table'!BT1170>0),\"Z-ERROR\",IF('Calculator Table'!BU1170>0,\"X\",IF('Calculator Table'!BV1170>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1170,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1170,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1170,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1170,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1170,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1170,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1170,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1170,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1170,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1170,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1170,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1170,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1170,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1170,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1170,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1170,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1170,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1170,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1170,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1170,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1170,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1170,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1170,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1170,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1170,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1170,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1170,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1170,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1170,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1170,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1170,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1170,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1170,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1170,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1170,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1170,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1170,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1170,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1170,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1170,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1170,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1170,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1170,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1170,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1170=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1170:$AU1170<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1175","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1175:$AI1175))/SUM(IF($R1175:$AI1175<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1175:$AI1175))/SUM(IF($R1175:$AI1175<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1175:$AN1175))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1175:$AN1175))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1175:$AU1175))/SUM(IF($AP1175:$AU1175<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1175:$AU1175))/SUM(IF($AP1175:$AU1175<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1175:$AU1175))/SUM(IF($R1175:$AU1175<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1175:$AU1175))/SUM(IF($R1175:$AU1175<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1175:$AU1175))/SUM(IF($AK1175:$AU1175<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1175:$AU1175))/SUM(IF($AK1175:$AU1175<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1175=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1175>0,'Calculator Table'!BT1175>0),\"Z-ERROR\",IF('Calculator Table'!BU1175>0,\"X\",IF('Calculator Table'!BV1175>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1175,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1175,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1175,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1175,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1175,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1175,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1175,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1175,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1175,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1175,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1175,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1175,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1175,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1175,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1175,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1175,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1175,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1175,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1175,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1175,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1175,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1175,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1175,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1175,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1175,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1175,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1175,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1175,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1175,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1175,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1175,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1175,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1175,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1175,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1175,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1175,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1175,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1175,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1175,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1175,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1175,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1175,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1175,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1175,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1175=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1175:$AU1175<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1180","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1180:$AI1180))/SUM(IF($R1180:$AI1180<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1180:$AI1180))/SUM(IF($R1180:$AI1180<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1180:$AN1180))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1180:$AN1180))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1180:$AU1180))/SUM(IF($AP1180:$AU1180<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1180:$AU1180))/SUM(IF($AP1180:$AU1180<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1180:$AU1180))/SUM(IF($R1180:$AU1180<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1180:$AU1180))/SUM(IF($R1180:$AU1180<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1180:$AU1180))/SUM(IF($AK1180:$AU1180<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1180:$AU1180))/SUM(IF($AK1180:$AU1180<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1180=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1180>0,'Calculator Table'!BT1180>0),\"Z-ERROR\",IF('Calculator Table'!BU1180>0,\"X\",IF('Calculator Table'!BV1180>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1180,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1180,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1180,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1180,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1180,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1180,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1180,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1180,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1180,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1180,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1180,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1180,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1180,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1180,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1180,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1180,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1180,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1180,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1180,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1180,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1180,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1180,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1180,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1180,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1180,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1180,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1180,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1180,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1180,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1180,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1180,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1180,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1180,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1180,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1180,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1180,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1180,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1180,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1180,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1180,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1180,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1180,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1180,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1180,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1180=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1180:$AU1180<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1192","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1192:$AI1192))/SUM(IF($R1192:$AI1192<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1192:$AI1192))/SUM(IF($R1192:$AI1192<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1192:$AN1192))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1192:$AN1192))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1192:$AU1192))/SUM(IF($AP1192:$AU1192<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1192:$AU1192))/SUM(IF($AP1192:$AU1192<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1192:$AU1192))/SUM(IF($R1192:$AU1192<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1192:$AU1192))/SUM(IF($R1192:$AU1192<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1192:$AU1192))/SUM(IF($AK1192:$AU1192<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1192:$AU1192))/SUM(IF($AK1192:$AU1192<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1192=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1192>0,'Calculator Table'!BT1192>0),\"Z-ERROR\",IF('Calculator Table'!BU1192>0,\"X\",IF('Calculator Table'!BV1192>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1192,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1192,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1192,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1192,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1192,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1192,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1192,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1192,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1192,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1192,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1192,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1192,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1192,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1192,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1192,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1192,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1192,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1192,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1192,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1192,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1192,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1192,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1192,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1192,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1192,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1192,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1192,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1192,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1192,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1192,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1192,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1192,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1192,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1192,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1192,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1192,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1192,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1192,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1192,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1192,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1192,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1192,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1192,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1192,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1192=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1192:$AU1192<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1201","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1201:$AI1201))/SUM(IF($R1201:$AI1201<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1201:$AI1201))/SUM(IF($R1201:$AI1201<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1201:$AN1201))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1201:$AN1201))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1201:$AU1201))/SUM(IF($AP1201:$AU1201<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1201:$AU1201))/SUM(IF($AP1201:$AU1201<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1201:$AU1201))/SUM(IF($R1201:$AU1201<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1201:$AU1201))/SUM(IF($R1201:$AU1201<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1201:$AU1201))/SUM(IF($AK1201:$AU1201<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1201:$AU1201))/SUM(IF($AK1201:$AU1201<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1201=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1201>0,'Calculator Table'!BT1201>0),\"Z-ERROR\",IF('Calculator Table'!BU1201>0,\"X\",IF('Calculator Table'!BV1201>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1201,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1201,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1201,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1201,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1201,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1201,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1201,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1201,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1201,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1201,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1201,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1201,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1201,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1201,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1201,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1201,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1201,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1201,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1201,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1201,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1201,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1201,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1201,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1201,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1201,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1201,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1201,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1201,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1201,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1201,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1201,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1201,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1201,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1201,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1201,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1201,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1201,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1201,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1201,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1201,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1201,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1201,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1201,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1201,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1201=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1201:$AU1201<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1207","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1207:$AI1207))/SUM(IF($R1207:$AI1207<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1207:$AI1207))/SUM(IF($R1207:$AI1207<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1207:$AN1207))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1207:$AN1207))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1207:$AU1207))/SUM(IF($AP1207:$AU1207<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1207:$AU1207))/SUM(IF($AP1207:$AU1207<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1207:$AU1207))/SUM(IF($R1207:$AU1207<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1207:$AU1207))/SUM(IF($R1207:$AU1207<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1207:$AU1207))/SUM(IF($AK1207:$AU1207<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1207:$AU1207))/SUM(IF($AK1207:$AU1207<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1207=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1207>0,'Calculator Table'!BT1207>0),\"Z-ERROR\",IF('Calculator Table'!BU1207>0,\"X\",IF('Calculator Table'!BV1207>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1207,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1207,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1207,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1207,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1207,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1207,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1207,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1207,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1207,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1207,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1207,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1207,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1207,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1207,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1207,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1207,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1207,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1207,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1207,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1207,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1207,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1207,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1207,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1207,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1207,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1207,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1207,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1207,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1207,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1207,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1207,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1207,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1207,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1207,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1207,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1207,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1207,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1207,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1207,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1207,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1207,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1207,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1207,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1207,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1207=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1207:$AU1207<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1210","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1210:$AI1210))/SUM(IF($R1210:$AI1210<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1210:$AI1210))/SUM(IF($R1210:$AI1210<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1210:$AN1210))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1210:$AN1210))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1210:$AU1210))/SUM(IF($AP1210:$AU1210<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1210:$AU1210))/SUM(IF($AP1210:$AU1210<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1210:$AU1210))/SUM(IF($R1210:$AU1210<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1210:$AU1210))/SUM(IF($R1210:$AU1210<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1210:$AU1210))/SUM(IF($AK1210:$AU1210<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1210:$AU1210))/SUM(IF($AK1210:$AU1210<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1210=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1210>0,'Calculator Table'!BT1210>0),\"Z-ERROR\",IF('Calculator Table'!BU1210>0,\"X\",IF('Calculator Table'!BV1210>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1210,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1210,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1210,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1210,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1210,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1210,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1210,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1210,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1210,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1210,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1210,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1210,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1210,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1210,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1210,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1210,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1210,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1210,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1210,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1210,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1210,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1210,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1210,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1210,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1210,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1210,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1210,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1210,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1210,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1210,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1210,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1210,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1210,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1210,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1210,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1210,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1210,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1210,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1210,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1210,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1210,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1210,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1210,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1210,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1210=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1210:$AU1210<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1224","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1224:$AI1224))/SUM(IF($R1224:$AI1224<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1224:$AI1224))/SUM(IF($R1224:$AI1224<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1224:$AN1224))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1224:$AN1224))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1224:$AU1224))/SUM(IF($AP1224:$AU1224<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1224:$AU1224))/SUM(IF($AP1224:$AU1224<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1224:$AU1224))/SUM(IF($R1224:$AU1224<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1224:$AU1224))/SUM(IF($R1224:$AU1224<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1224:$AU1224))/SUM(IF($AK1224:$AU1224<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1224:$AU1224))/SUM(IF($AK1224:$AU1224<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1224=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1224>0,'Calculator Table'!BT1224>0),\"Z-ERROR\",IF('Calculator Table'!BU1224>0,\"X\",IF('Calculator Table'!BV1224>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1224,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1224,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1224,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1224,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1224,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1224,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1224,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1224,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1224,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1224,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1224,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1224,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1224,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1224,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1224,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1224,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1224,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1224,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1224,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1224,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1224,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1224,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1224,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1224,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1224,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1224,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1224,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1224,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1224,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1224,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1224,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1224,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1224,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1224,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1224,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1224,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1224,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1224,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1224,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1224,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1224,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1224,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1224,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1224,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1224=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1224:$AU1224<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1227","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1227:$AI1227))/SUM(IF($R1227:$AI1227<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1227:$AI1227))/SUM(IF($R1227:$AI1227<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1227:$AN1227))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1227:$AN1227))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1227:$AU1227))/SUM(IF($AP1227:$AU1227<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1227:$AU1227))/SUM(IF($AP1227:$AU1227<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1227:$AU1227))/SUM(IF($R1227:$AU1227<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1227:$AU1227))/SUM(IF($R1227:$AU1227<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1227:$AU1227))/SUM(IF($AK1227:$AU1227<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1227:$AU1227))/SUM(IF($AK1227:$AU1227<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1227=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1227>0,'Calculator Table'!BT1227>0),\"Z-ERROR\",IF('Calculator Table'!BU1227>0,\"X\",IF('Calculator Table'!BV1227>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1227,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1227,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1227,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1227,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1227,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1227,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1227,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1227,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1227,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1227,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1227,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1227,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1227,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1227,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1227,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1227,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1227,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1227,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1227,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1227,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1227,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1227,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1227,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1227,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1227,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1227,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1227,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1227,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1227,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1227,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1227,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1227,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1227,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1227,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1227,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1227,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1227,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1227,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1227,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1227,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1227,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1227,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1227,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1227,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1227=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1227:$AU1227<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1238","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1238:$AI1238))/SUM(IF($R1238:$AI1238<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1238:$AI1238))/SUM(IF($R1238:$AI1238<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1238:$AN1238))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1238:$AN1238))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1238:$AU1238))/SUM(IF($AP1238:$AU1238<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1238:$AU1238))/SUM(IF($AP1238:$AU1238<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1238:$AU1238))/SUM(IF($R1238:$AU1238<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1238:$AU1238))/SUM(IF($R1238:$AU1238<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1238:$AU1238))/SUM(IF($AK1238:$AU1238<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1238:$AU1238))/SUM(IF($AK1238:$AU1238<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1238=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1238>0,'Calculator Table'!BT1238>0),\"Z-ERROR\",IF('Calculator Table'!BU1238>0,\"X\",IF('Calculator Table'!BV1238>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1238,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1238,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1238,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1238,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1238,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1238,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1238,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1238,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1238,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1238,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1238,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1238,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1238,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1238,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1238,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1238,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1238,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1238,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1238,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1238,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1238,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1238,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1238,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1238,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1238,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1238,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1238,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1238,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1238,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1238,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1238,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1238,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1238,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1238,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1238,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1238,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1238,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1238,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1238,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1238,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1238,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1238,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1238,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1238,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1238=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1238:$AU1238<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1244","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1244:$AI1244))/SUM(IF($R1244:$AI1244<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1244:$AI1244))/SUM(IF($R1244:$AI1244<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1244:$AN1244))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1244:$AN1244))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1244:$AU1244))/SUM(IF($AP1244:$AU1244<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1244:$AU1244))/SUM(IF($AP1244:$AU1244<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1244:$AU1244))/SUM(IF($R1244:$AU1244<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1244:$AU1244))/SUM(IF($R1244:$AU1244<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1244:$AU1244))/SUM(IF($AK1244:$AU1244<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1244:$AU1244))/SUM(IF($AK1244:$AU1244<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1244=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1244>0,'Calculator Table'!BT1244>0),\"Z-ERROR\",IF('Calculator Table'!BU1244>0,\"X\",IF('Calculator Table'!BV1244>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1244,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1244,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1244,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1244,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1244,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1244,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1244,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1244,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1244,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1244,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1244,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1244,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1244,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1244,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1244,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1244,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1244,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1244,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1244,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1244,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1244,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1244,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1244,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1244,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1244,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1244,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1244,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1244,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1244,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1244,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1244,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1244,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1244,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1244,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1244,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1244,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1244,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1244,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1244,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1244,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1244,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1244,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1244,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1244,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1244=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1244:$AU1244<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1252","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1252:$AI1252))/SUM(IF($R1252:$AI1252<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1252:$AI1252))/SUM(IF($R1252:$AI1252<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1252:$AN1252))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1252:$AN1252))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1252:$AU1252))/SUM(IF($AP1252:$AU1252<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1252:$AU1252))/SUM(IF($AP1252:$AU1252<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1252:$AU1252))/SUM(IF($R1252:$AU1252<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1252:$AU1252))/SUM(IF($R1252:$AU1252<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1252:$AU1252))/SUM(IF($AK1252:$AU1252<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1252:$AU1252))/SUM(IF($AK1252:$AU1252<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1252=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1252>0,'Calculator Table'!BT1252>0),\"Z-ERROR\",IF('Calculator Table'!BU1252>0,\"X\",IF('Calculator Table'!BV1252>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1252,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1252,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1252,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1252,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1252,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1252,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1252,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1252,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1252,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1252,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1252,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1252,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1252,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1252,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1252,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1252,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1252,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1252,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1252,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1252,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1252,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1252,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1252,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1252,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1252,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1252,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1252,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1252,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1252,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1252,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1252,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1252,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1252,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1252,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1252,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1252,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1252,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1252,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1252,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1252,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1252,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1252,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1252,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1252,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1252=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1252:$AU1252<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1261","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1261:$AI1261))/SUM(IF($R1261:$AI1261<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1261:$AI1261))/SUM(IF($R1261:$AI1261<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1261:$AN1261))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1261:$AN1261))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1261:$AU1261))/SUM(IF($AP1261:$AU1261<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1261:$AU1261))/SUM(IF($AP1261:$AU1261<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1261:$AU1261))/SUM(IF($R1261:$AU1261<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1261:$AU1261))/SUM(IF($R1261:$AU1261<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1261:$AU1261))/SUM(IF($AK1261:$AU1261<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1261:$AU1261))/SUM(IF($AK1261:$AU1261<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1261=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1261>0,'Calculator Table'!BT1261>0),\"Z-ERROR\",IF('Calculator Table'!BU1261>0,\"X\",IF('Calculator Table'!BV1261>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1261,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1261,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1261,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1261,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1261,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1261,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1261,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1261,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1261,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1261,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1261,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1261,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1261,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1261,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1261,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1261,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1261,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1261,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1261,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1261,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1261,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1261,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1261,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1261,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1261,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1261,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1261,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1261,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1261,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1261,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1261,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1261,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1261,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1261,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1261,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1261,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1261,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1261,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1261,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1261,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1261,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1261,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1261,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1261,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1261=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1261:$AU1261<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1270","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1270:$AI1270))/SUM(IF($R1270:$AI1270<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1270:$AI1270))/SUM(IF($R1270:$AI1270<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1270:$AN1270))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1270:$AN1270))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1270:$AU1270))/SUM(IF($AP1270:$AU1270<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1270:$AU1270))/SUM(IF($AP1270:$AU1270<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1270:$AU1270))/SUM(IF($R1270:$AU1270<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1270:$AU1270))/SUM(IF($R1270:$AU1270<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1270:$AU1270))/SUM(IF($AK1270:$AU1270<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1270:$AU1270))/SUM(IF($AK1270:$AU1270<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1270=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1270>0,'Calculator Table'!BT1270>0),\"Z-ERROR\",IF('Calculator Table'!BU1270>0,\"X\",IF('Calculator Table'!BV1270>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1270,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1270,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1270,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1270,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1270,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1270,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1270,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1270,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1270,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1270,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1270,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1270,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1270,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1270,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1270,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1270,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1270,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1270,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1270,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1270,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1270,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1270,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1270,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1270,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1270,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1270,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1270,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1270,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1270,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1270,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1270,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1270,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1270,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1270,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1270,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1270,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1270,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1270,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1270,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1270,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1270,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1270,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1270,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1270,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1270=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1270:$AU1270<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1275","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1275:$AI1275))/SUM(IF($R1275:$AI1275<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1275:$AI1275))/SUM(IF($R1275:$AI1275<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1275:$AN1275))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1275:$AN1275))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1275:$AU1275))/SUM(IF($AP1275:$AU1275<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1275:$AU1275))/SUM(IF($AP1275:$AU1275<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1275:$AU1275))/SUM(IF($R1275:$AU1275<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1275:$AU1275))/SUM(IF($R1275:$AU1275<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1275:$AU1275))/SUM(IF($AK1275:$AU1275<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1275:$AU1275))/SUM(IF($AK1275:$AU1275<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1275=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1275>0,'Calculator Table'!BT1275>0),\"Z-ERROR\",IF('Calculator Table'!BU1275>0,\"X\",IF('Calculator Table'!BV1275>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1275,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1275,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1275,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1275,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1275,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1275,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1275,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1275,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1275,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1275,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1275,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1275,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1275,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1275,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1275,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1275,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1275,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1275,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1275,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1275,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1275,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1275,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1275,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1275,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1275,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1275,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1275,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1275,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1275,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1275,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1275,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1275,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1275,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1275,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1275,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1275,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1275,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1275,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1275,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1275,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1275,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1275,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1275,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1275,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1275=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1275:$AU1275<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1279","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1279:$AI1279))/SUM(IF($R1279:$AI1279<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1279:$AI1279))/SUM(IF($R1279:$AI1279<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1279:$AN1279))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1279:$AN1279))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1279:$AU1279))/SUM(IF($AP1279:$AU1279<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1279:$AU1279))/SUM(IF($AP1279:$AU1279<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1279:$AU1279))/SUM(IF($R1279:$AU1279<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1279:$AU1279))/SUM(IF($R1279:$AU1279<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1279:$AU1279))/SUM(IF($AK1279:$AU1279<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1279:$AU1279))/SUM(IF($AK1279:$AU1279<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1279=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1279>0,'Calculator Table'!BT1279>0),\"Z-ERROR\",IF('Calculator Table'!BU1279>0,\"X\",IF('Calculator Table'!BV1279>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1279,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1279,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1279,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1279,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1279,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1279,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1279,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1279,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1279,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1279,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1279,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1279,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1279,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1279,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1279,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1279,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1279,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1279,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1279,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1279,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1279,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1279,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1279,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1279,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1279,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1279,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1279,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1279,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1279,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1279,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1279,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1279,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1279,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1279,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1279,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1279,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1279,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1279,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1279,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1279,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1279,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1279,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1279,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1279,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1279=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1279:$AU1279<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1289","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1289:$AI1289))/SUM(IF($R1289:$AI1289<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1289:$AI1289))/SUM(IF($R1289:$AI1289<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1289:$AN1289))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1289:$AN1289))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1289:$AU1289))/SUM(IF($AP1289:$AU1289<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1289:$AU1289))/SUM(IF($AP1289:$AU1289<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1289:$AU1289))/SUM(IF($R1289:$AU1289<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1289:$AU1289))/SUM(IF($R1289:$AU1289<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1289:$AU1289))/SUM(IF($AK1289:$AU1289<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1289:$AU1289))/SUM(IF($AK1289:$AU1289<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1289=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1289>0,'Calculator Table'!BT1289>0),\"Z-ERROR\",IF('Calculator Table'!BU1289>0,\"X\",IF('Calculator Table'!BV1289>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1289,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1289,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1289,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1289,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1289,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1289,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1289,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1289,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1289,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1289,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1289,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1289,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1289,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1289,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1289,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1289,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1289,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1289,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1289,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1289,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1289,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1289,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1289,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1289,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1289,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1289,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1289,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1289,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1289,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1289,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1289,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1289,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1289,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1289,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1289,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1289,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1289,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1289,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1289,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1289,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1289,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1289,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1289,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1289,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1289=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1289:$AU1289<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1296","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1296:$AI1296))/SUM(IF($R1296:$AI1296<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1296:$AI1296))/SUM(IF($R1296:$AI1296<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1296:$AN1296))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1296:$AN1296))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1296:$AU1296))/SUM(IF($AP1296:$AU1296<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1296:$AU1296))/SUM(IF($AP1296:$AU1296<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1296:$AU1296))/SUM(IF($R1296:$AU1296<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1296:$AU1296))/SUM(IF($R1296:$AU1296<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1296:$AU1296))/SUM(IF($AK1296:$AU1296<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1296:$AU1296))/SUM(IF($AK1296:$AU1296<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1296=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1296>0,'Calculator Table'!BT1296>0),\"Z-ERROR\",IF('Calculator Table'!BU1296>0,\"X\",IF('Calculator Table'!BV1296>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1296,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1296,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1296,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1296,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1296,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1296,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1296,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1296,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1296,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1296,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1296,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1296,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1296,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1296,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1296,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1296,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1296,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1296,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1296,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1296,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1296,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1296,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1296,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1296,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1296,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1296,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1296,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1296,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1296,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1296,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1296,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1296,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1296,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1296,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1296,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1296,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1296,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1296,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1296,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1296,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1296,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1296,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1296,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1296,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1296=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1296:$AU1296<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1303","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1303:$AI1303))/SUM(IF($R1303:$AI1303<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1303:$AI1303))/SUM(IF($R1303:$AI1303<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1303:$AN1303))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1303:$AN1303))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1303:$AU1303))/SUM(IF($AP1303:$AU1303<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1303:$AU1303))/SUM(IF($AP1303:$AU1303<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1303:$AU1303))/SUM(IF($R1303:$AU1303<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1303:$AU1303))/SUM(IF($R1303:$AU1303<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1303:$AU1303))/SUM(IF($AK1303:$AU1303<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1303:$AU1303))/SUM(IF($AK1303:$AU1303<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1303=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1303>0,'Calculator Table'!BT1303>0),\"Z-ERROR\",IF('Calculator Table'!BU1303>0,\"X\",IF('Calculator Table'!BV1303>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1303,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1303,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1303,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1303,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1303,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1303,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1303,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1303,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1303,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1303,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1303,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1303,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1303,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1303,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1303,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1303,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1303,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1303,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1303,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1303,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1303,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1303,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1303,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1303,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1303,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1303,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1303,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1303,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1303,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1303,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1303,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1303,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1303,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1303,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1303,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1303,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1303,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1303,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1303,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1303,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1303,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1303,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1303,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1303,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1303=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1303:$AU1303<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1313","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1313:$AI1313))/SUM(IF($R1313:$AI1313<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1313:$AI1313))/SUM(IF($R1313:$AI1313<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1313:$AN1313))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1313:$AN1313))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1313:$AU1313))/SUM(IF($AP1313:$AU1313<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1313:$AU1313))/SUM(IF($AP1313:$AU1313<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1313:$AU1313))/SUM(IF($R1313:$AU1313<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1313:$AU1313))/SUM(IF($R1313:$AU1313<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1313:$AU1313))/SUM(IF($AK1313:$AU1313<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1313:$AU1313))/SUM(IF($AK1313:$AU1313<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1313=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1313>0,'Calculator Table'!BT1313>0),\"Z-ERROR\",IF('Calculator Table'!BU1313>0,\"X\",IF('Calculator Table'!BV1313>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1313,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1313,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1313,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1313,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1313,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1313,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1313,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1313,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1313,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1313,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1313,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1313,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1313,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1313,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1313,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1313,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1313,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1313,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1313,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1313,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1313,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1313,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1313,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1313,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1313,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1313,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1313,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1313,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1313,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1313,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1313,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1313,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1313,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1313,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1313,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1313,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1313,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1313,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1313,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1313,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1313,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1313,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1313,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1313,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1313=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1313:$AU1313<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1320","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1320:$AI1320))/SUM(IF($R1320:$AI1320<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1320:$AI1320))/SUM(IF($R1320:$AI1320<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1320:$AN1320))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1320:$AN1320))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1320:$AU1320))/SUM(IF($AP1320:$AU1320<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1320:$AU1320))/SUM(IF($AP1320:$AU1320<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1320:$AU1320))/SUM(IF($R1320:$AU1320<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1320:$AU1320))/SUM(IF($R1320:$AU1320<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1320:$AU1320))/SUM(IF($AK1320:$AU1320<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1320:$AU1320))/SUM(IF($AK1320:$AU1320<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1320=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1320>0,'Calculator Table'!BT1320>0),\"Z-ERROR\",IF('Calculator Table'!BU1320>0,\"X\",IF('Calculator Table'!BV1320>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1320,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1320,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1320,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1320,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1320,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1320,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1320,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1320,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1320,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1320,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1320,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1320,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1320,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1320,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1320,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1320,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1320,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1320,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1320,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1320,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1320,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1320,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1320,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1320,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1320,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1320,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1320,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1320,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1320,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1320,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1320,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1320,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1320,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1320,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1320,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1320,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1320,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1320,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1320,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1320,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1320,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1320,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1320,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1320,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1320=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1320:$AU1320<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1330","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1330:$AI1330))/SUM(IF($R1330:$AI1330<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1330:$AI1330))/SUM(IF($R1330:$AI1330<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1330:$AN1330))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1330:$AN1330))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1330:$AU1330))/SUM(IF($AP1330:$AU1330<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1330:$AU1330))/SUM(IF($AP1330:$AU1330<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1330:$AU1330))/SUM(IF($R1330:$AU1330<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1330:$AU1330))/SUM(IF($R1330:$AU1330<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1330:$AU1330))/SUM(IF($AK1330:$AU1330<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1330:$AU1330))/SUM(IF($AK1330:$AU1330<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1330=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1330>0,'Calculator Table'!BT1330>0),\"Z-ERROR\",IF('Calculator Table'!BU1330>0,\"X\",IF('Calculator Table'!BV1330>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1330,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1330,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1330,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1330,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1330,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1330,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1330,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1330,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1330,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1330,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1330,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1330,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1330,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1330,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1330,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1330,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1330,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1330,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1330,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1330,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1330,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1330,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1330,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1330,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1330,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1330,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1330,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1330,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1330,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1330,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1330,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1330,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1330,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1330,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1330,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1330,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1330,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1330,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1330,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1330,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1330,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1330,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1330,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1330,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1330=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1330:$AU1330<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1331","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1331:$AI1331))/SUM(IF($R1331:$AI1331<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1331:$AI1331))/SUM(IF($R1331:$AI1331<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1331:$AN1331))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1331:$AN1331))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1331:$AU1331))/SUM(IF($AP1331:$AU1331<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1331:$AU1331))/SUM(IF($AP1331:$AU1331<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1331:$AU1331))/SUM(IF($R1331:$AU1331<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1331:$AU1331))/SUM(IF($R1331:$AU1331<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1331:$AU1331))/SUM(IF($AK1331:$AU1331<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1331:$AU1331))/SUM(IF($AK1331:$AU1331<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1331=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1331>0,'Calculator Table'!BT1331>0),\"Z-ERROR\",IF('Calculator Table'!BU1331>0,\"X\",IF('Calculator Table'!BV1331>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1331,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1331,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1331,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1331,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1331,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1331,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1331,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1331,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1331,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1331,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1331,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1331,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1331,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1331,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1331,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1331,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1331,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1331,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1331,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1331,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1331,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1331,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1331,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1331,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1331,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1331,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1331,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1331,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1331,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1331,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1331,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1331,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1331,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1331,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1331,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1331,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1331,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1331,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1331,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1331,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1331,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1331,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1331,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1331,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1331=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1331:$AU1331<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1340","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1340:$AI1340))/SUM(IF($R1340:$AI1340<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1340:$AI1340))/SUM(IF($R1340:$AI1340<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1340:$AN1340))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1340:$AN1340))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1340:$AU1340))/SUM(IF($AP1340:$AU1340<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1340:$AU1340))/SUM(IF($AP1340:$AU1340<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1340:$AU1340))/SUM(IF($R1340:$AU1340<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1340:$AU1340))/SUM(IF($R1340:$AU1340<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1340:$AU1340))/SUM(IF($AK1340:$AU1340<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1340:$AU1340))/SUM(IF($AK1340:$AU1340<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1340=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1340>0,'Calculator Table'!BT1340>0),\"Z-ERROR\",IF('Calculator Table'!BU1340>0,\"X\",IF('Calculator Table'!BV1340>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1340,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1340,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1340,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1340,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1340,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1340,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1340,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1340,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1340,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1340,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1340,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1340,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1340,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1340,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1340,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1340,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1340,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1340,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1340,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1340,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1340,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1340,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1340,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1340,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1340,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1340,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1340,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1340,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1340,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1340,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1340,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1340,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1340,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1340,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1340,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1340,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1340,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1340,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1340,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1340,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1340,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1340,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1340,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1340,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1340=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1340:$AU1340<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1348","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1348:$AI1348))/SUM(IF($R1348:$AI1348<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1348:$AI1348))/SUM(IF($R1348:$AI1348<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1348:$AN1348))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1348:$AN1348))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1348:$AU1348))/SUM(IF($AP1348:$AU1348<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1348:$AU1348))/SUM(IF($AP1348:$AU1348<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1348:$AU1348))/SUM(IF($R1348:$AU1348<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1348:$AU1348))/SUM(IF($R1348:$AU1348<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1348:$AU1348))/SUM(IF($AK1348:$AU1348<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1348:$AU1348))/SUM(IF($AK1348:$AU1348<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1348=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1348>0,'Calculator Table'!BT1348>0),\"Z-ERROR\",IF('Calculator Table'!BU1348>0,\"X\",IF('Calculator Table'!BV1348>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1348,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1348,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1348,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1348,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1348,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1348,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1348,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1348,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1348,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1348,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1348,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1348,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1348,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1348,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1348,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1348,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1348,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1348,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1348,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1348,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1348,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1348,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1348,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1348,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1348,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1348,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1348,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1348,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1348,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1348,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1348,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1348,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1348,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1348,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1348,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1348,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1348,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1348,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1348,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1348,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1348,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1348,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1348,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1348,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1348=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1348:$AU1348<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1357","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1357:$AI1357))/SUM(IF($R1357:$AI1357<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1357:$AI1357))/SUM(IF($R1357:$AI1357<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1357:$AN1357))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1357:$AN1357))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1357:$AU1357))/SUM(IF($AP1357:$AU1357<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1357:$AU1357))/SUM(IF($AP1357:$AU1357<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1357:$AU1357))/SUM(IF($R1357:$AU1357<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1357:$AU1357))/SUM(IF($R1357:$AU1357<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1357:$AU1357))/SUM(IF($AK1357:$AU1357<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1357:$AU1357))/SUM(IF($AK1357:$AU1357<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1357=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1357>0,'Calculator Table'!BT1357>0),\"Z-ERROR\",IF('Calculator Table'!BU1357>0,\"X\",IF('Calculator Table'!BV1357>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1357,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1357,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1357,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1357,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1357,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1357,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1357,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1357,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1357,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1357,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1357,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1357,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1357,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1357,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1357,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1357,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1357,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1357,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1357,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1357,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1357,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1357,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1357,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1357,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1357,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1357,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1357,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1357,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1357,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1357,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1357,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1357,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1357,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1357,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1357,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1357,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1357,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1357,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1357,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1357,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1357,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1357,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1357,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1357,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1357=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1357:$AU1357<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1365","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1365:$AI1365))/SUM(IF($R1365:$AI1365<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1365:$AI1365))/SUM(IF($R1365:$AI1365<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1365:$AN1365))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1365:$AN1365))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1365:$AU1365))/SUM(IF($AP1365:$AU1365<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1365:$AU1365))/SUM(IF($AP1365:$AU1365<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1365:$AU1365))/SUM(IF($R1365:$AU1365<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1365:$AU1365))/SUM(IF($R1365:$AU1365<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1365:$AU1365))/SUM(IF($AK1365:$AU1365<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1365:$AU1365))/SUM(IF($AK1365:$AU1365<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1365=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1365>0,'Calculator Table'!BT1365>0),\"Z-ERROR\",IF('Calculator Table'!BU1365>0,\"X\",IF('Calculator Table'!BV1365>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1365,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1365,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1365,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1365,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1365,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1365,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1365,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1365,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1365,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1365,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1365,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1365,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1365,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1365,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1365,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1365,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1365,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1365,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1365,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1365,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1365,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1365,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1365,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1365,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1365,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1365,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1365,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1365,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1365,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1365,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1365,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1365,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1365,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1365,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1365,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1365,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1365,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1365,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1365,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1365,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1365,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1365,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1365,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1365,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1365=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1365:$AU1365<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1371","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1371:$AI1371))/SUM(IF($R1371:$AI1371<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1371:$AI1371))/SUM(IF($R1371:$AI1371<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1371:$AN1371))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1371:$AN1371))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1371:$AU1371))/SUM(IF($AP1371:$AU1371<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1371:$AU1371))/SUM(IF($AP1371:$AU1371<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1371:$AU1371))/SUM(IF($R1371:$AU1371<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1371:$AU1371))/SUM(IF($R1371:$AU1371<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1371:$AU1371))/SUM(IF($AK1371:$AU1371<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1371:$AU1371))/SUM(IF($AK1371:$AU1371<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1371=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1371>0,'Calculator Table'!BT1371>0),\"Z-ERROR\",IF('Calculator Table'!BU1371>0,\"X\",IF('Calculator Table'!BV1371>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1371,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1371,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1371,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1371,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1371,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1371,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1371,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1371,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1371,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1371,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1371,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1371,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1371,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1371,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1371,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1371,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1371,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1371,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1371,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1371,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1371,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1371,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1371,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1371,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1371,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1371,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1371,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1371,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1371,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1371,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1371,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1371,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1371,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1371,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1371,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1371,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1371,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1371,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1371,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1371,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1371,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1371,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1371,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1371,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1371=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1371:$AU1371<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1382","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1382:$AI1382))/SUM(IF($R1382:$AI1382<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1382:$AI1382))/SUM(IF($R1382:$AI1382<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1382:$AN1382))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1382:$AN1382))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1382:$AU1382))/SUM(IF($AP1382:$AU1382<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1382:$AU1382))/SUM(IF($AP1382:$AU1382<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1382:$AU1382))/SUM(IF($R1382:$AU1382<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1382:$AU1382))/SUM(IF($R1382:$AU1382<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1382:$AU1382))/SUM(IF($AK1382:$AU1382<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1382:$AU1382))/SUM(IF($AK1382:$AU1382<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1382=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1382>0,'Calculator Table'!BT1382>0),\"Z-ERROR\",IF('Calculator Table'!BU1382>0,\"X\",IF('Calculator Table'!BV1382>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1382,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1382,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1382,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1382,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1382,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1382,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1382,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1382,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1382,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1382,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1382,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1382,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1382,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1382,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1382,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1382,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1382,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1382,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1382,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1382,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1382,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1382,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1382,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1382,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1382,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1382,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1382,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1382,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1382,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1382,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1382,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1382,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1382,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1382,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1382,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1382,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1382,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1382,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1382,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1382,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1382,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1382,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1382,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1382,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1382=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1382:$AU1382<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1385","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1385:$AI1385))/SUM(IF($R1385:$AI1385<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1385:$AI1385))/SUM(IF($R1385:$AI1385<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1385:$AN1385))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1385:$AN1385))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1385:$AU1385))/SUM(IF($AP1385:$AU1385<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1385:$AU1385))/SUM(IF($AP1385:$AU1385<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1385:$AU1385))/SUM(IF($R1385:$AU1385<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1385:$AU1385))/SUM(IF($R1385:$AU1385<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1385:$AU1385))/SUM(IF($AK1385:$AU1385<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1385:$AU1385))/SUM(IF($AK1385:$AU1385<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1385=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1385>0,'Calculator Table'!BT1385>0),\"Z-ERROR\",IF('Calculator Table'!BU1385>0,\"X\",IF('Calculator Table'!BV1385>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1385,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1385,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1385,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1385,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1385,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1385,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1385,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1385,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1385,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1385,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1385,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1385,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1385,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1385,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1385,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1385,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1385,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1385,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1385,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1385,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1385,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1385,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1385,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1385,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1385,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1385,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1385,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1385,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1385,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1385,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1385,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1385,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1385,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1385,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1385,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1385,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1385,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1385,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1385,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1385,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1385,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1385,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1385,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1385,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1385=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1385:$AU1385<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1391","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1391:$AI1391))/SUM(IF($R1391:$AI1391<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1391:$AI1391))/SUM(IF($R1391:$AI1391<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1391:$AN1391))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1391:$AN1391))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1391:$AU1391))/SUM(IF($AP1391:$AU1391<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1391:$AU1391))/SUM(IF($AP1391:$AU1391<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1391:$AU1391))/SUM(IF($R1391:$AU1391<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1391:$AU1391))/SUM(IF($R1391:$AU1391<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1391:$AU1391))/SUM(IF($AK1391:$AU1391<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1391:$AU1391))/SUM(IF($AK1391:$AU1391<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1391=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1391>0,'Calculator Table'!BT1391>0),\"Z-ERROR\",IF('Calculator Table'!BU1391>0,\"X\",IF('Calculator Table'!BV1391>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1391,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1391,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1391,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1391,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1391,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1391,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1391,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1391,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1391,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1391,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1391,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1391,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1391,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1391,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1391,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1391,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1391,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1391,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1391,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1391,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1391,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1391,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1391,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1391,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1391,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1391,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1391,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1391,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1391,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1391,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1391,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1391,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1391,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1391,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1391,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1391,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1391,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1391,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1391,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1391,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1391,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1391,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1391,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1391,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1391=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1391:$AU1391<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1400","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1400:$AI1400))/SUM(IF($R1400:$AI1400<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1400:$AI1400))/SUM(IF($R1400:$AI1400<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1400:$AN1400))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1400:$AN1400))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1400:$AU1400))/SUM(IF($AP1400:$AU1400<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1400:$AU1400))/SUM(IF($AP1400:$AU1400<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1400:$AU1400))/SUM(IF($R1400:$AU1400<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1400:$AU1400))/SUM(IF($R1400:$AU1400<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1400:$AU1400))/SUM(IF($AK1400:$AU1400<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1400:$AU1400))/SUM(IF($AK1400:$AU1400<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1400=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1400>0,'Calculator Table'!BT1400>0),\"Z-ERROR\",IF('Calculator Table'!BU1400>0,\"X\",IF('Calculator Table'!BV1400>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1400,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1400,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1400,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1400,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1400,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1400,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1400,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1400,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1400,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1400,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1400,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1400,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1400,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1400,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1400,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1400,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1400,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1400,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1400,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1400,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1400,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1400,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1400,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1400,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1400,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1400,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1400,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1400,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1400,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1400,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1400,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1400,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1400,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1400,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1400,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1400,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1400,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1400,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1400,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1400,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1400,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1400,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1400,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1400,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1400=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1400:$AU1400<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1408","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1408:$AI1408))/SUM(IF($R1408:$AI1408<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1408:$AI1408))/SUM(IF($R1408:$AI1408<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1408:$AN1408))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1408:$AN1408))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1408:$AU1408))/SUM(IF($AP1408:$AU1408<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1408:$AU1408))/SUM(IF($AP1408:$AU1408<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1408:$AU1408))/SUM(IF($R1408:$AU1408<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1408:$AU1408))/SUM(IF($R1408:$AU1408<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1408:$AU1408))/SUM(IF($AK1408:$AU1408<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1408:$AU1408))/SUM(IF($AK1408:$AU1408<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1408=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1408>0,'Calculator Table'!BT1408>0),\"Z-ERROR\",IF('Calculator Table'!BU1408>0,\"X\",IF('Calculator Table'!BV1408>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1408,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1408,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1408,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1408,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1408,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1408,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1408,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1408,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1408,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1408,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1408,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1408,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1408,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1408,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1408,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1408,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1408,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1408,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1408,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1408,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1408,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1408,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1408,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1408,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1408,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1408,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1408,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1408,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1408,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1408,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1408,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1408,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1408,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1408,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1408,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1408,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1408,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1408,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1408,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1408,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1408,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1408,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1408,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1408,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1408=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1408:$AU1408<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1417","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1417:$AI1417))/SUM(IF($R1417:$AI1417<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1417:$AI1417))/SUM(IF($R1417:$AI1417<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1417:$AN1417))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1417:$AN1417))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1417:$AU1417))/SUM(IF($AP1417:$AU1417<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1417:$AU1417))/SUM(IF($AP1417:$AU1417<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1417:$AU1417))/SUM(IF($R1417:$AU1417<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1417:$AU1417))/SUM(IF($R1417:$AU1417<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1417:$AU1417))/SUM(IF($AK1417:$AU1417<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1417:$AU1417))/SUM(IF($AK1417:$AU1417<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1417=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1417>0,'Calculator Table'!BT1417>0),\"Z-ERROR\",IF('Calculator Table'!BU1417>0,\"X\",IF('Calculator Table'!BV1417>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1417,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1417,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1417,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1417,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1417,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1417,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1417,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1417,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1417,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1417,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1417,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1417,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1417,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1417,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1417,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1417,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1417,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1417,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1417,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1417,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1417,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1417,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1417,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1417,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1417,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1417,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1417,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1417,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1417,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1417,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1417,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1417,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1417,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1417,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1417,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1417,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1417,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1417,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1417,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1417,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1417,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1417,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1417,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1417,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1417=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1417:$AU1417<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1422","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1422:$AI1422))/SUM(IF($R1422:$AI1422<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1422:$AI1422))/SUM(IF($R1422:$AI1422<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1422:$AN1422))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1422:$AN1422))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1422:$AU1422))/SUM(IF($AP1422:$AU1422<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1422:$AU1422))/SUM(IF($AP1422:$AU1422<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1422:$AU1422))/SUM(IF($R1422:$AU1422<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1422:$AU1422))/SUM(IF($R1422:$AU1422<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1422:$AU1422))/SUM(IF($AK1422:$AU1422<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1422:$AU1422))/SUM(IF($AK1422:$AU1422<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1422=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1422>0,'Calculator Table'!BT1422>0),\"Z-ERROR\",IF('Calculator Table'!BU1422>0,\"X\",IF('Calculator Table'!BV1422>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1422,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1422,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1422,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1422,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1422,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1422,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1422,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1422,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1422,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1422,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1422,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1422,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1422,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1422,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1422,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1422,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1422,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1422,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1422,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1422,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1422,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1422,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1422,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1422,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1422,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1422,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1422,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1422,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1422,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1422,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1422,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1422,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1422,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1422,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1422,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1422,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1422,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1422,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1422,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1422,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1422,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1422,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1422,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1422,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1422=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1422:$AU1422<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1434","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1434:$AI1434))/SUM(IF($R1434:$AI1434<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1434:$AI1434))/SUM(IF($R1434:$AI1434<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1434:$AN1434))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1434:$AN1434))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1434:$AU1434))/SUM(IF($AP1434:$AU1434<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1434:$AU1434))/SUM(IF($AP1434:$AU1434<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1434:$AU1434))/SUM(IF($R1434:$AU1434<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1434:$AU1434))/SUM(IF($R1434:$AU1434<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1434:$AU1434))/SUM(IF($AK1434:$AU1434<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1434:$AU1434))/SUM(IF($AK1434:$AU1434<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1434=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1434>0,'Calculator Table'!BT1434>0),\"Z-ERROR\",IF('Calculator Table'!BU1434>0,\"X\",IF('Calculator Table'!BV1434>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1434,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1434,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1434,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1434,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1434,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1434,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1434,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1434,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1434,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1434,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1434,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1434,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1434,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1434,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1434,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1434,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1434,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1434,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1434,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1434,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1434,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1434,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1434,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1434,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1434,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1434,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1434,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1434,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1434,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1434,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1434,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1434,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1434,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1434,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1434,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1434,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1434,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1434,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1434,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1434,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1434,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1434,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1434,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1434,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1434=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1434:$AU1434<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1439","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1439:$AI1439))/SUM(IF($R1439:$AI1439<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1439:$AI1439))/SUM(IF($R1439:$AI1439<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1439:$AN1439))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1439:$AN1439))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1439:$AU1439))/SUM(IF($AP1439:$AU1439<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1439:$AU1439))/SUM(IF($AP1439:$AU1439<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1439:$AU1439))/SUM(IF($R1439:$AU1439<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1439:$AU1439))/SUM(IF($R1439:$AU1439<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1439:$AU1439))/SUM(IF($AK1439:$AU1439<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1439:$AU1439))/SUM(IF($AK1439:$AU1439<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1439=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1439>0,'Calculator Table'!BT1439>0),\"Z-ERROR\",IF('Calculator Table'!BU1439>0,\"X\",IF('Calculator Table'!BV1439>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1439,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1439,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1439,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1439,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1439,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1439,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1439,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1439,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1439,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1439,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1439,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1439,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1439,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1439,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1439,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1439,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1439,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1439,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1439,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1439,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1439,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1439,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1439,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1439,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1439,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1439,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1439,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1439,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1439,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1439,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1439,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1439,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1439,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1439,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1439,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1439,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1439,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1439,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1439,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1439,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1439,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1439,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1439,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1439,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1439=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1439:$AU1439<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1451","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1451:$AI1451))/SUM(IF($R1451:$AI1451<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1451:$AI1451))/SUM(IF($R1451:$AI1451<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1451:$AN1451))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1451:$AN1451))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1451:$AU1451))/SUM(IF($AP1451:$AU1451<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1451:$AU1451))/SUM(IF($AP1451:$AU1451<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1451:$AU1451))/SUM(IF($R1451:$AU1451<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1451:$AU1451))/SUM(IF($R1451:$AU1451<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1451:$AU1451))/SUM(IF($AK1451:$AU1451<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1451:$AU1451))/SUM(IF($AK1451:$AU1451<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1451=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1451>0,'Calculator Table'!BT1451>0),\"Z-ERROR\",IF('Calculator Table'!BU1451>0,\"X\",IF('Calculator Table'!BV1451>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1451,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1451,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1451,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1451,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1451,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1451,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1451,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1451,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1451,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1451,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1451,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1451,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1451,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1451,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1451,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1451,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1451,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1451,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1451,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1451,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1451,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1451,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1451,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1451,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1451,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1451,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1451,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1451,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1451,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1451,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1451,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1451,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1451,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1451,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1451,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1451,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1451,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1451,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1451,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1451,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1451,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1451,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1451,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1451,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1451=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1451:$AU1451<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1453","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1453:$AI1453))/SUM(IF($R1453:$AI1453<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1453:$AI1453))/SUM(IF($R1453:$AI1453<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1453:$AN1453))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1453:$AN1453))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1453:$AU1453))/SUM(IF($AP1453:$AU1453<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1453:$AU1453))/SUM(IF($AP1453:$AU1453<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1453:$AU1453))/SUM(IF($R1453:$AU1453<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1453:$AU1453))/SUM(IF($R1453:$AU1453<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1453:$AU1453))/SUM(IF($AK1453:$AU1453<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1453:$AU1453))/SUM(IF($AK1453:$AU1453<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1453=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1453>0,'Calculator Table'!BT1453>0),\"Z-ERROR\",IF('Calculator Table'!BU1453>0,\"X\",IF('Calculator Table'!BV1453>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1453,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1453,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1453,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1453,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1453,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1453,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1453,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1453,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1453,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1453,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1453,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1453,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1453,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1453,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1453,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1453,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1453,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1453,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1453,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1453,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1453,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1453,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1453,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1453,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1453,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1453,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1453,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1453,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1453,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1453,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1453,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1453,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1453,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1453,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1453,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1453,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1453,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1453,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1453,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1453,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1453,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1453,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1453,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1453,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1453=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1453:$AU1453<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1460","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1460:$AI1460))/SUM(IF($R1460:$AI1460<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1460:$AI1460))/SUM(IF($R1460:$AI1460<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1460:$AN1460))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1460:$AN1460))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1460:$AU1460))/SUM(IF($AP1460:$AU1460<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1460:$AU1460))/SUM(IF($AP1460:$AU1460<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1460:$AU1460))/SUM(IF($R1460:$AU1460<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1460:$AU1460))/SUM(IF($R1460:$AU1460<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1460:$AU1460))/SUM(IF($AK1460:$AU1460<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1460:$AU1460))/SUM(IF($AK1460:$AU1460<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1460=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1460>0,'Calculator Table'!BT1460>0),\"Z-ERROR\",IF('Calculator Table'!BU1460>0,\"X\",IF('Calculator Table'!BV1460>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1460,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1460,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1460,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1460,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1460,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1460,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1460,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1460,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1460,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1460,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1460,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1460,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1460,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1460,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1460,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1460,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1460,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1460,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1460,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1460,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1460,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1460,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1460,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1460,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1460,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1460,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1460,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1460,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1460,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1460,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1460,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1460,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1460,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1460,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1460,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1460,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1460,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1460,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1460,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1460,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1460,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1460,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1460,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1460,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1460=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1460:$AU1460<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1469","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1469:$AI1469))/SUM(IF($R1469:$AI1469<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1469:$AI1469))/SUM(IF($R1469:$AI1469<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1469:$AN1469))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1469:$AN1469))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1469:$AU1469))/SUM(IF($AP1469:$AU1469<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1469:$AU1469))/SUM(IF($AP1469:$AU1469<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1469:$AU1469))/SUM(IF($R1469:$AU1469<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1469:$AU1469))/SUM(IF($R1469:$AU1469<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1469:$AU1469))/SUM(IF($AK1469:$AU1469<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1469:$AU1469))/SUM(IF($AK1469:$AU1469<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1469=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1469>0,'Calculator Table'!BT1469>0),\"Z-ERROR\",IF('Calculator Table'!BU1469>0,\"X\",IF('Calculator Table'!BV1469>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1469,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1469,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1469,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1469,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1469,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1469,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1469,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1469,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1469,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1469,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1469,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1469,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1469,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1469,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1469,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1469,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1469,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1469,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1469,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1469,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1469,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1469,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1469,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1469,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1469,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1469,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1469,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1469,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1469,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1469,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1469,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1469,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1469,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1469,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1469,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1469,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1469,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1469,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1469,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1469,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1469,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1469,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1469,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1469,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1469=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1469:$AU1469<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1476","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1476:$AI1476))/SUM(IF($R1476:$AI1476<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1476:$AI1476))/SUM(IF($R1476:$AI1476<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1476:$AN1476))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1476:$AN1476))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1476:$AU1476))/SUM(IF($AP1476:$AU1476<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1476:$AU1476))/SUM(IF($AP1476:$AU1476<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1476:$AU1476))/SUM(IF($R1476:$AU1476<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1476:$AU1476))/SUM(IF($R1476:$AU1476<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1476:$AU1476))/SUM(IF($AK1476:$AU1476<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1476:$AU1476))/SUM(IF($AK1476:$AU1476<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1476=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1476>0,'Calculator Table'!BT1476>0),\"Z-ERROR\",IF('Calculator Table'!BU1476>0,\"X\",IF('Calculator Table'!BV1476>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1476,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1476,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1476,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1476,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1476,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1476,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1476,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1476,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1476,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1476,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1476,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1476,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1476,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1476,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1476,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1476,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1476,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1476,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1476,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1476,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1476,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1476,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1476,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1476,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1476,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1476,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1476,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1476,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1476,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1476,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1476,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1476,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1476,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1476,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1476,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1476,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1476,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1476,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1476,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1476,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1476,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1476,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1476,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1476,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1476=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1476:$AU1476<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1486","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1486:$AI1486))/SUM(IF($R1486:$AI1486<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1486:$AI1486))/SUM(IF($R1486:$AI1486<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1486:$AN1486))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1486:$AN1486))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1486:$AU1486))/SUM(IF($AP1486:$AU1486<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1486:$AU1486))/SUM(IF($AP1486:$AU1486<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1486:$AU1486))/SUM(IF($R1486:$AU1486<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1486:$AU1486))/SUM(IF($R1486:$AU1486<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1486:$AU1486))/SUM(IF($AK1486:$AU1486<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1486:$AU1486))/SUM(IF($AK1486:$AU1486<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1486=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1486>0,'Calculator Table'!BT1486>0),\"Z-ERROR\",IF('Calculator Table'!BU1486>0,\"X\",IF('Calculator Table'!BV1486>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1486,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1486,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1486,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1486,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1486,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1486,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1486,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1486,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1486,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1486,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1486,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1486,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1486,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1486,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1486,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1486,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1486,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1486,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1486,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1486,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1486,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1486,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1486,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1486,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1486,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1486,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1486,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1486,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1486,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1486,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1486,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1486,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1486,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1486,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1486,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1486,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1486,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1486,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1486,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1486,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1486,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1486,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1486,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1486,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1486=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1486:$AU1486<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1490","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1490:$AI1490))/SUM(IF($R1490:$AI1490<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1490:$AI1490))/SUM(IF($R1490:$AI1490<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1490:$AN1490))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1490:$AN1490))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1490:$AU1490))/SUM(IF($AP1490:$AU1490<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1490:$AU1490))/SUM(IF($AP1490:$AU1490<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1490:$AU1490))/SUM(IF($R1490:$AU1490<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1490:$AU1490))/SUM(IF($R1490:$AU1490<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1490:$AU1490))/SUM(IF($AK1490:$AU1490<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1490:$AU1490))/SUM(IF($AK1490:$AU1490<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1490=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1490>0,'Calculator Table'!BT1490>0),\"Z-ERROR\",IF('Calculator Table'!BU1490>0,\"X\",IF('Calculator Table'!BV1490>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1490,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1490,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1490,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1490,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1490,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1490,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1490,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1490,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1490,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1490,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1490,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1490,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1490,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1490,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1490,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1490,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1490,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1490,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1490,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1490,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1490,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1490,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1490,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1490,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1490,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1490,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1490,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1490,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1490,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1490,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1490,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1490,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1490,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1490,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1490,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1490,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1490,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1490,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1490,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1490,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1490,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1490,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1490,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1490,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1490=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1490:$AU1490<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1503","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1503:$AI1503))/SUM(IF($R1503:$AI1503<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1503:$AI1503))/SUM(IF($R1503:$AI1503<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1503:$AN1503))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1503:$AN1503))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1503:$AU1503))/SUM(IF($AP1503:$AU1503<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1503:$AU1503))/SUM(IF($AP1503:$AU1503<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1503:$AU1503))/SUM(IF($R1503:$AU1503<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1503:$AU1503))/SUM(IF($R1503:$AU1503<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1503:$AU1503))/SUM(IF($AK1503:$AU1503<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1503:$AU1503))/SUM(IF($AK1503:$AU1503<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1503=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1503>0,'Calculator Table'!BT1503>0),\"Z-ERROR\",IF('Calculator Table'!BU1503>0,\"X\",IF('Calculator Table'!BV1503>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1503,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1503,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1503,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1503,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1503,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1503,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1503,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1503,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1503,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1503,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1503,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1503,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1503,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1503,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1503,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1503,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1503,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1503,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1503,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1503,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1503,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1503,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1503,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1503,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1503,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1503,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1503,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1503,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1503,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1503,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1503,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1503,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1503,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1503,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1503,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1503,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1503,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1503,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1503,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1503,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1503,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1503,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1503,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1503,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1503=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1503:$AU1503<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1511","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1511:$AI1511))/SUM(IF($R1511:$AI1511<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1511:$AI1511))/SUM(IF($R1511:$AI1511<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1511:$AN1511))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1511:$AN1511))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1511:$AU1511))/SUM(IF($AP1511:$AU1511<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1511:$AU1511))/SUM(IF($AP1511:$AU1511<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1511:$AU1511))/SUM(IF($R1511:$AU1511<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1511:$AU1511))/SUM(IF($R1511:$AU1511<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1511:$AU1511))/SUM(IF($AK1511:$AU1511<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1511:$AU1511))/SUM(IF($AK1511:$AU1511<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1511=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1511>0,'Calculator Table'!BT1511>0),\"Z-ERROR\",IF('Calculator Table'!BU1511>0,\"X\",IF('Calculator Table'!BV1511>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1511,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1511,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1511,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1511,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1511,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1511,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1511,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1511,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1511,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1511,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1511,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1511,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1511,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1511,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1511,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1511,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1511,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1511,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1511,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1511,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1511,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1511,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1511,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1511,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1511,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1511,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1511,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1511,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1511,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1511,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1511,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1511,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1511,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1511,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1511,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1511,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1511,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1511,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1511,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1511,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1511,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1511,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1511,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1511,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1511=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1511:$AU1511<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1512","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1512:$AI1512))/SUM(IF($R1512:$AI1512<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1512:$AI1512))/SUM(IF($R1512:$AI1512<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1512:$AN1512))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1512:$AN1512))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1512:$AU1512))/SUM(IF($AP1512:$AU1512<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1512:$AU1512))/SUM(IF($AP1512:$AU1512<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1512:$AU1512))/SUM(IF($R1512:$AU1512<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1512:$AU1512))/SUM(IF($R1512:$AU1512<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1512:$AU1512))/SUM(IF($AK1512:$AU1512<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1512:$AU1512))/SUM(IF($AK1512:$AU1512<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1512=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1512>0,'Calculator Table'!BT1512>0),\"Z-ERROR\",IF('Calculator Table'!BU1512>0,\"X\",IF('Calculator Table'!BV1512>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1512,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1512,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1512,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1512,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1512,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1512,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1512,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1512,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1512,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1512,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1512,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1512,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1512,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1512,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1512,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1512,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1512,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1512,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1512,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1512,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1512,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1512,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1512,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1512,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1512,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1512,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1512,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1512,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1512,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1512,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1512,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1512,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1512,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1512,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1512,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1512,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1512,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1512,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1512,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1512,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1512,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1512,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1512,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1512,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1512=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1512:$AU1512<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1525","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1525:$AI1525))/SUM(IF($R1525:$AI1525<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1525:$AI1525))/SUM(IF($R1525:$AI1525<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1525:$AN1525))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1525:$AN1525))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1525:$AU1525))/SUM(IF($AP1525:$AU1525<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1525:$AU1525))/SUM(IF($AP1525:$AU1525<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1525:$AU1525))/SUM(IF($R1525:$AU1525<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1525:$AU1525))/SUM(IF($R1525:$AU1525<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1525:$AU1525))/SUM(IF($AK1525:$AU1525<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1525:$AU1525))/SUM(IF($AK1525:$AU1525<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1525=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1525>0,'Calculator Table'!BT1525>0),\"Z-ERROR\",IF('Calculator Table'!BU1525>0,\"X\",IF('Calculator Table'!BV1525>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1525,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1525,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1525,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1525,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1525,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1525,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1525,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1525,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1525,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1525,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1525,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1525,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1525,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1525,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1525,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1525,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1525,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1525,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1525,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1525,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1525,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1525,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1525,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1525,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1525,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1525,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1525,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1525,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1525,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1525,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1525,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1525,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1525,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1525,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1525,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1525,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1525,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1525,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1525,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1525,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1525,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1525,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1525,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1525,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1525=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1525:$AU1525<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1529","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1529:$AI1529))/SUM(IF($R1529:$AI1529<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1529:$AI1529))/SUM(IF($R1529:$AI1529<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1529:$AN1529))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1529:$AN1529))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1529:$AU1529))/SUM(IF($AP1529:$AU1529<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1529:$AU1529))/SUM(IF($AP1529:$AU1529<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1529:$AU1529))/SUM(IF($R1529:$AU1529<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1529:$AU1529))/SUM(IF($R1529:$AU1529<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1529:$AU1529))/SUM(IF($AK1529:$AU1529<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1529:$AU1529))/SUM(IF($AK1529:$AU1529<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1529=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1529>0,'Calculator Table'!BT1529>0),\"Z-ERROR\",IF('Calculator Table'!BU1529>0,\"X\",IF('Calculator Table'!BV1529>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1529,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1529,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1529,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1529,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1529,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1529,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1529,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1529,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1529,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1529,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1529,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1529,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1529,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1529,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1529,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1529,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1529,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1529,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1529,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1529,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1529,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1529,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1529,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1529,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1529,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1529,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1529,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1529,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1529,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1529,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1529,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1529,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1529,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1529,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1529,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1529,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1529,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1529,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1529,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1529,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1529,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1529,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1529,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1529,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1529=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1529:$AU1529<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1538","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1538:$AI1538))/SUM(IF($R1538:$AI1538<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1538:$AI1538))/SUM(IF($R1538:$AI1538<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1538:$AN1538))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1538:$AN1538))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1538:$AU1538))/SUM(IF($AP1538:$AU1538<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1538:$AU1538))/SUM(IF($AP1538:$AU1538<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1538:$AU1538))/SUM(IF($R1538:$AU1538<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1538:$AU1538))/SUM(IF($R1538:$AU1538<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1538:$AU1538))/SUM(IF($AK1538:$AU1538<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1538:$AU1538))/SUM(IF($AK1538:$AU1538<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1538=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1538>0,'Calculator Table'!BT1538>0),\"Z-ERROR\",IF('Calculator Table'!BU1538>0,\"X\",IF('Calculator Table'!BV1538>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1538,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1538,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1538,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1538,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1538,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1538,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1538,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1538,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1538,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1538,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1538,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1538,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1538,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1538,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1538,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1538,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1538,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1538,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1538,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1538,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1538,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1538,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1538,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1538,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1538,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1538,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1538,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1538,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1538,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1538,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1538,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1538,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1538,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1538,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1538,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1538,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1538,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1538,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1538,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1538,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1538,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1538,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1538,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1538,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1538=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1538:$AU1538<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1548","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1548:$AI1548))/SUM(IF($R1548:$AI1548<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1548:$AI1548))/SUM(IF($R1548:$AI1548<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1548:$AN1548))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1548:$AN1548))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1548:$AU1548))/SUM(IF($AP1548:$AU1548<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1548:$AU1548))/SUM(IF($AP1548:$AU1548<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1548:$AU1548))/SUM(IF($R1548:$AU1548<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1548:$AU1548))/SUM(IF($R1548:$AU1548<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1548:$AU1548))/SUM(IF($AK1548:$AU1548<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1548:$AU1548))/SUM(IF($AK1548:$AU1548<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1548=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1548>0,'Calculator Table'!BT1548>0),\"Z-ERROR\",IF('Calculator Table'!BU1548>0,\"X\",IF('Calculator Table'!BV1548>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1548,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1548,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1548,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1548,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1548,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1548,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1548,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1548,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1548,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1548,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1548,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1548,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1548,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1548,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1548,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1548,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1548,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1548,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1548,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1548,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1548,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1548,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1548,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1548,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1548,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1548,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1548,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1548,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1548,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1548,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1548,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1548,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1548,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1548,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1548,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1548,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1548,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1548,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1548,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1548,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1548,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1548,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1548,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1548,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1548=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1548:$AU1548<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1555","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1555:$AI1555))/SUM(IF($R1555:$AI1555<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1555:$AI1555))/SUM(IF($R1555:$AI1555<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1555:$AN1555))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1555:$AN1555))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1555:$AU1555))/SUM(IF($AP1555:$AU1555<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1555:$AU1555))/SUM(IF($AP1555:$AU1555<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1555:$AU1555))/SUM(IF($R1555:$AU1555<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1555:$AU1555))/SUM(IF($R1555:$AU1555<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1555:$AU1555))/SUM(IF($AK1555:$AU1555<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1555:$AU1555))/SUM(IF($AK1555:$AU1555<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1555=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1555>0,'Calculator Table'!BT1555>0),\"Z-ERROR\",IF('Calculator Table'!BU1555>0,\"X\",IF('Calculator Table'!BV1555>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1555,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1555,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1555,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1555,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1555,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1555,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1555,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1555,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1555,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1555,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1555,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1555,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1555,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1555,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1555,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1555,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1555,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1555,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1555,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1555,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1555,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1555,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1555,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1555,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1555,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1555,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1555,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1555,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1555,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1555,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1555,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1555,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1555,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1555,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1555,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1555,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1555,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1555,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1555,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1555,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1555,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1555,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1555,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1555,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1555=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1555:$AU1555<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1562","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1562:$AI1562))/SUM(IF($R1562:$AI1562<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1562:$AI1562))/SUM(IF($R1562:$AI1562<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1562:$AN1562))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1562:$AN1562))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1562:$AU1562))/SUM(IF($AP1562:$AU1562<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1562:$AU1562))/SUM(IF($AP1562:$AU1562<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1562:$AU1562))/SUM(IF($R1562:$AU1562<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1562:$AU1562))/SUM(IF($R1562:$AU1562<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1562:$AU1562))/SUM(IF($AK1562:$AU1562<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1562:$AU1562))/SUM(IF($AK1562:$AU1562<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1562=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1562>0,'Calculator Table'!BT1562>0),\"Z-ERROR\",IF('Calculator Table'!BU1562>0,\"X\",IF('Calculator Table'!BV1562>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1562,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1562,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1562,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1562,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1562,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1562,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1562,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1562,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1562,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1562,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1562,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1562,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1562,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1562,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1562,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1562,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1562,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1562,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1562,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1562,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1562,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1562,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1562,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1562,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1562,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1562,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1562,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1562,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1562,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1562,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1562,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1562,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1562,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1562,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1562,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1562,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1562,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1562,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1562,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1562,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1562,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1562,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1562,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1562,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1562=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1562:$AU1562<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1572","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1572:$AI1572))/SUM(IF($R1572:$AI1572<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1572:$AI1572))/SUM(IF($R1572:$AI1572<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1572:$AN1572))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1572:$AN1572))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1572:$AU1572))/SUM(IF($AP1572:$AU1572<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1572:$AU1572))/SUM(IF($AP1572:$AU1572<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1572:$AU1572))/SUM(IF($R1572:$AU1572<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1572:$AU1572))/SUM(IF($R1572:$AU1572<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1572:$AU1572))/SUM(IF($AK1572:$AU1572<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1572:$AU1572))/SUM(IF($AK1572:$AU1572<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1572=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1572>0,'Calculator Table'!BT1572>0),\"Z-ERROR\",IF('Calculator Table'!BU1572>0,\"X\",IF('Calculator Table'!BV1572>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1572,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1572,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1572,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1572,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1572,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1572,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1572,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1572,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1572,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1572,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1572,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1572,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1572,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1572,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1572,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1572,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1572,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1572,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1572,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1572,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1572,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1572,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1572,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1572,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1572,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1572,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1572,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1572,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1572,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1572,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1572,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1572,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1572,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1572,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1572,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1572,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1572,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1572,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1572,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1572,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1572,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1572,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1572,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1572,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1572=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1572:$AU1572<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1579","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1579:$AI1579))/SUM(IF($R1579:$AI1579<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1579:$AI1579))/SUM(IF($R1579:$AI1579<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1579:$AN1579))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1579:$AN1579))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1579:$AU1579))/SUM(IF($AP1579:$AU1579<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1579:$AU1579))/SUM(IF($AP1579:$AU1579<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1579:$AU1579))/SUM(IF($R1579:$AU1579<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1579:$AU1579))/SUM(IF($R1579:$AU1579<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1579:$AU1579))/SUM(IF($AK1579:$AU1579<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1579:$AU1579))/SUM(IF($AK1579:$AU1579<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1579=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1579>0,'Calculator Table'!BT1579>0),\"Z-ERROR\",IF('Calculator Table'!BU1579>0,\"X\",IF('Calculator Table'!BV1579>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1579,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1579,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1579,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1579,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1579,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1579,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1579,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1579,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1579,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1579,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1579,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1579,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1579,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1579,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1579,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1579,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1579,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1579,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1579,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1579,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1579,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1579,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1579,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1579,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1579,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1579,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1579,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1579,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1579,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1579,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1579,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1579,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1579,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1579,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1579,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1579,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1579,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1579,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1579,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1579,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1579,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1579,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1579,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1579,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1579=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1579:$AU1579<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1581","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1581:$AI1581))/SUM(IF($R1581:$AI1581<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1581:$AI1581))/SUM(IF($R1581:$AI1581<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1581:$AN1581))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1581:$AN1581))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1581:$AU1581))/SUM(IF($AP1581:$AU1581<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1581:$AU1581))/SUM(IF($AP1581:$AU1581<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1581:$AU1581))/SUM(IF($R1581:$AU1581<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1581:$AU1581))/SUM(IF($R1581:$AU1581<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1581:$AU1581))/SUM(IF($AK1581:$AU1581<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1581:$AU1581))/SUM(IF($AK1581:$AU1581<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1581=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1581>0,'Calculator Table'!BT1581>0),\"Z-ERROR\",IF('Calculator Table'!BU1581>0,\"X\",IF('Calculator Table'!BV1581>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1581,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1581,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1581,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1581,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1581,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1581,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1581,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1581,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1581,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1581,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1581,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1581,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1581,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1581,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1581,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1581,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1581,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1581,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1581,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1581,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1581,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1581,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1581,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1581,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1581,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1581,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1581,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1581,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1581,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1581,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1581,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1581,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1581,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1581,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1581,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1581,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1581,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1581,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1581,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1581,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1581,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1581,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1581,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1581,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1581=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1581:$AU1581<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1593","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1593:$AI1593))/SUM(IF($R1593:$AI1593<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1593:$AI1593))/SUM(IF($R1593:$AI1593<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1593:$AN1593))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1593:$AN1593))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1593:$AU1593))/SUM(IF($AP1593:$AU1593<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1593:$AU1593))/SUM(IF($AP1593:$AU1593<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1593:$AU1593))/SUM(IF($R1593:$AU1593<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1593:$AU1593))/SUM(IF($R1593:$AU1593<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1593:$AU1593))/SUM(IF($AK1593:$AU1593<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1593:$AU1593))/SUM(IF($AK1593:$AU1593<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1593=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1593>0,'Calculator Table'!BT1593>0),\"Z-ERROR\",IF('Calculator Table'!BU1593>0,\"X\",IF('Calculator Table'!BV1593>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1593,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1593,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1593,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1593,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1593,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1593,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1593,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1593,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1593,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1593,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1593,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1593,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1593,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1593,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1593,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1593,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1593,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1593,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1593,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1593,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1593,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1593,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1593,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1593,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1593,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1593,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1593,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1593,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1593,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1593,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1593,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1593,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1593,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1593,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1593,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1593,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1593,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1593,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1593,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1593,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1593,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1593,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1593,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1593,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1593=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1593:$AU1593<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1598","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1598:$AI1598))/SUM(IF($R1598:$AI1598<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1598:$AI1598))/SUM(IF($R1598:$AI1598<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1598:$AN1598))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1598:$AN1598))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1598:$AU1598))/SUM(IF($AP1598:$AU1598<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1598:$AU1598))/SUM(IF($AP1598:$AU1598<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1598:$AU1598))/SUM(IF($R1598:$AU1598<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1598:$AU1598))/SUM(IF($R1598:$AU1598<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1598:$AU1598))/SUM(IF($AK1598:$AU1598<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1598:$AU1598))/SUM(IF($AK1598:$AU1598<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1598=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1598>0,'Calculator Table'!BT1598>0),\"Z-ERROR\",IF('Calculator Table'!BU1598>0,\"X\",IF('Calculator Table'!BV1598>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1598,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1598,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1598,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1598,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1598,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1598,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1598,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1598,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1598,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1598,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1598,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1598,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1598,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1598,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1598,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1598,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1598,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1598,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1598,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1598,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1598,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1598,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1598,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1598,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1598,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1598,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1598,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1598,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1598,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1598,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1598,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1598,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1598,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1598,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1598,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1598,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1598,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1598,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1598,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1598,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1598,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1598,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1598,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1598,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1598=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1598:$AU1598<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1607","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1607:$AI1607))/SUM(IF($R1607:$AI1607<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1607:$AI1607))/SUM(IF($R1607:$AI1607<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1607:$AN1607))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1607:$AN1607))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1607:$AU1607))/SUM(IF($AP1607:$AU1607<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1607:$AU1607))/SUM(IF($AP1607:$AU1607<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1607:$AU1607))/SUM(IF($R1607:$AU1607<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1607:$AU1607))/SUM(IF($R1607:$AU1607<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1607:$AU1607))/SUM(IF($AK1607:$AU1607<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1607:$AU1607))/SUM(IF($AK1607:$AU1607<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1607=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1607>0,'Calculator Table'!BT1607>0),\"Z-ERROR\",IF('Calculator Table'!BU1607>0,\"X\",IF('Calculator Table'!BV1607>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1607,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1607,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1607,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1607,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1607,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1607,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1607,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1607,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1607,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1607,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1607,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1607,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1607,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1607,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1607,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1607,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1607,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1607,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1607,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1607,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1607,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1607,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1607,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1607,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1607,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1607,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1607,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1607,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1607,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1607,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1607,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1607,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1607,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1607,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1607,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1607,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1607,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1607,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1607,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1607,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1607,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1607,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1607,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1607,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1607=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1607:$AU1607<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1616","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1616:$AI1616))/SUM(IF($R1616:$AI1616<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1616:$AI1616))/SUM(IF($R1616:$AI1616<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1616:$AN1616))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1616:$AN1616))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1616:$AU1616))/SUM(IF($AP1616:$AU1616<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1616:$AU1616))/SUM(IF($AP1616:$AU1616<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1616:$AU1616))/SUM(IF($R1616:$AU1616<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1616:$AU1616))/SUM(IF($R1616:$AU1616<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1616:$AU1616))/SUM(IF($AK1616:$AU1616<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1616:$AU1616))/SUM(IF($AK1616:$AU1616<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1616=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1616>0,'Calculator Table'!BT1616>0),\"Z-ERROR\",IF('Calculator Table'!BU1616>0,\"X\",IF('Calculator Table'!BV1616>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1616,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1616,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1616,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1616,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1616,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1616,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1616,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1616,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1616,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1616,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1616,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1616,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1616,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1616,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1616,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1616,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1616,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1616,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1616,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1616,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1616,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1616,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1616,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1616,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1616,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1616,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1616,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1616,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1616,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1616,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1616,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1616,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1616,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1616,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1616,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1616,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1616,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1616,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1616,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1616,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1616,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1616,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1616,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1616,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1616=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1616:$AU1616<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1624","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1624:$AI1624))/SUM(IF($R1624:$AI1624<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1624:$AI1624))/SUM(IF($R1624:$AI1624<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1624:$AN1624))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1624:$AN1624))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1624:$AU1624))/SUM(IF($AP1624:$AU1624<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1624:$AU1624))/SUM(IF($AP1624:$AU1624<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1624:$AU1624))/SUM(IF($R1624:$AU1624<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1624:$AU1624))/SUM(IF($R1624:$AU1624<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1624:$AU1624))/SUM(IF($AK1624:$AU1624<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1624:$AU1624))/SUM(IF($AK1624:$AU1624<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1624=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1624>0,'Calculator Table'!BT1624>0),\"Z-ERROR\",IF('Calculator Table'!BU1624>0,\"X\",IF('Calculator Table'!BV1624>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1624,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1624,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1624,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1624,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1624,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1624,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1624,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1624,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1624,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1624,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1624,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1624,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1624,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1624,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1624,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1624,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1624,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1624,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1624,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1624,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1624,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1624,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1624,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1624,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1624,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1624,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1624,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1624,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1624,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1624,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1624,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1624,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1624,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1624,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1624,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1624,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1624,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1624,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1624,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1624,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1624,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1624,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1624,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1624,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1624=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1624:$AU1624<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1630","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1630:$AI1630))/SUM(IF($R1630:$AI1630<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1630:$AI1630))/SUM(IF($R1630:$AI1630<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1630:$AN1630))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1630:$AN1630))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1630:$AU1630))/SUM(IF($AP1630:$AU1630<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1630:$AU1630))/SUM(IF($AP1630:$AU1630<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1630:$AU1630))/SUM(IF($R1630:$AU1630<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1630:$AU1630))/SUM(IF($R1630:$AU1630<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1630:$AU1630))/SUM(IF($AK1630:$AU1630<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1630:$AU1630))/SUM(IF($AK1630:$AU1630<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1630=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1630>0,'Calculator Table'!BT1630>0),\"Z-ERROR\",IF('Calculator Table'!BU1630>0,\"X\",IF('Calculator Table'!BV1630>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1630,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1630,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1630,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1630,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1630,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1630,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1630,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1630,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1630,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1630,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1630,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1630,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1630,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1630,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1630,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1630,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1630,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1630,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1630,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1630,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1630,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1630,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1630,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1630,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1630,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1630,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1630,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1630,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1630,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1630,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1630,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1630,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1630,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1630,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1630,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1630,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1630,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1630,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1630,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1630,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1630,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1630,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1630,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1630,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1630=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1630:$AU1630<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1633","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1633:$AI1633))/SUM(IF($R1633:$AI1633<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1633:$AI1633))/SUM(IF($R1633:$AI1633<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1633:$AN1633))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1633:$AN1633))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1633:$AU1633))/SUM(IF($AP1633:$AU1633<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1633:$AU1633))/SUM(IF($AP1633:$AU1633<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1633:$AU1633))/SUM(IF($R1633:$AU1633<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1633:$AU1633))/SUM(IF($R1633:$AU1633<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1633:$AU1633))/SUM(IF($AK1633:$AU1633<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1633:$AU1633))/SUM(IF($AK1633:$AU1633<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1633=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1633>0,'Calculator Table'!BT1633>0),\"Z-ERROR\",IF('Calculator Table'!BU1633>0,\"X\",IF('Calculator Table'!BV1633>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1633,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1633,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1633,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1633,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1633,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1633,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1633,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1633,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1633,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1633,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1633,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1633,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1633,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1633,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1633,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1633,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1633,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1633,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1633,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1633,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1633,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1633,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1633,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1633,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1633,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1633,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1633,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1633,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1633,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1633,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1633,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1633,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1633,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1633,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1633,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1633,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1633,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1633,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1633,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1633,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1633,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1633,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1633,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1633,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1633=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1633:$AU1633<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1644","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1644:$AI1644))/SUM(IF($R1644:$AI1644<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1644:$AI1644))/SUM(IF($R1644:$AI1644<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1644:$AN1644))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1644:$AN1644))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1644:$AU1644))/SUM(IF($AP1644:$AU1644<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1644:$AU1644))/SUM(IF($AP1644:$AU1644<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1644:$AU1644))/SUM(IF($R1644:$AU1644<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1644:$AU1644))/SUM(IF($R1644:$AU1644<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1644:$AU1644))/SUM(IF($AK1644:$AU1644<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1644:$AU1644))/SUM(IF($AK1644:$AU1644<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1644=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1644>0,'Calculator Table'!BT1644>0),\"Z-ERROR\",IF('Calculator Table'!BU1644>0,\"X\",IF('Calculator Table'!BV1644>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1644,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1644,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1644,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1644,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1644,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1644,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1644,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1644,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1644,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1644,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1644,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1644,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1644,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1644,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1644,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1644,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1644,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1644,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1644,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1644,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1644,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1644,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1644,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1644,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1644,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1644,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1644,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1644,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1644,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1644,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1644,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1644,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1644,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1644,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1644,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1644,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1644,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1644,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1644,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1644,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1644,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1644,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1644,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1644,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1644=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1644:$AU1644<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1650","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1650:$AI1650))/SUM(IF($R1650:$AI1650<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1650:$AI1650))/SUM(IF($R1650:$AI1650<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1650:$AN1650))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1650:$AN1650))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1650:$AU1650))/SUM(IF($AP1650:$AU1650<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1650:$AU1650))/SUM(IF($AP1650:$AU1650<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1650:$AU1650))/SUM(IF($R1650:$AU1650<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1650:$AU1650))/SUM(IF($R1650:$AU1650<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1650:$AU1650))/SUM(IF($AK1650:$AU1650<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1650:$AU1650))/SUM(IF($AK1650:$AU1650<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1650=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1650>0,'Calculator Table'!BT1650>0),\"Z-ERROR\",IF('Calculator Table'!BU1650>0,\"X\",IF('Calculator Table'!BV1650>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1650,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1650,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1650,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1650,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1650,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1650,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1650,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1650,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1650,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1650,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1650,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1650,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1650,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1650,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1650,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1650,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1650,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1650,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1650,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1650,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1650,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1650,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1650,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1650,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1650,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1650,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1650,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1650,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1650,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1650,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1650,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1650,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1650,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1650,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1650,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1650,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1650,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1650,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1650,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1650,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1650,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1650,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1650,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1650,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1650=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1650:$AU1650<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1658","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1658:$AI1658))/SUM(IF($R1658:$AI1658<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1658:$AI1658))/SUM(IF($R1658:$AI1658<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1658:$AN1658))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1658:$AN1658))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1658:$AU1658))/SUM(IF($AP1658:$AU1658<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1658:$AU1658))/SUM(IF($AP1658:$AU1658<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1658:$AU1658))/SUM(IF($R1658:$AU1658<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1658:$AU1658))/SUM(IF($R1658:$AU1658<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1658:$AU1658))/SUM(IF($AK1658:$AU1658<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1658:$AU1658))/SUM(IF($AK1658:$AU1658<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1658=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1658>0,'Calculator Table'!BT1658>0),\"Z-ERROR\",IF('Calculator Table'!BU1658>0,\"X\",IF('Calculator Table'!BV1658>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1658,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1658,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1658,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1658,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1658,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1658,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1658,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1658,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1658,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1658,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1658,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1658,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1658,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1658,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1658,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1658,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1658,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1658,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1658,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1658,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1658,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1658,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1658,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1658,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1658,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1658,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1658,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1658,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1658,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1658,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1658,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1658,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1658,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1658,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1658,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1658,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1658,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1658,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1658,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1658,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1658,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1658,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1658,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1658,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1658=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1658:$AU1658<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1667","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1667:$AI1667))/SUM(IF($R1667:$AI1667<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1667:$AI1667))/SUM(IF($R1667:$AI1667<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1667:$AN1667))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1667:$AN1667))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1667:$AU1667))/SUM(IF($AP1667:$AU1667<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1667:$AU1667))/SUM(IF($AP1667:$AU1667<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1667:$AU1667))/SUM(IF($R1667:$AU1667<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1667:$AU1667))/SUM(IF($R1667:$AU1667<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1667:$AU1667))/SUM(IF($AK1667:$AU1667<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1667:$AU1667))/SUM(IF($AK1667:$AU1667<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1667=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1667>0,'Calculator Table'!BT1667>0),\"Z-ERROR\",IF('Calculator Table'!BU1667>0,\"X\",IF('Calculator Table'!BV1667>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1667,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1667,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1667,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1667,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1667,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1667,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1667,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1667,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1667,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1667,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1667,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1667,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1667,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1667,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1667,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1667,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1667,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1667,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1667,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1667,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1667,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1667,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1667,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1667,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1667,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1667,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1667,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1667,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1667,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1667,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1667,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1667,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1667,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1667,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1667,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1667,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1667,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1667,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1667,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1667,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1667,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1667,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1667,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1667,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1667=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1667:$AU1667<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1676","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1676:$AI1676))/SUM(IF($R1676:$AI1676<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1676:$AI1676))/SUM(IF($R1676:$AI1676<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1676:$AN1676))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1676:$AN1676))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1676:$AU1676))/SUM(IF($AP1676:$AU1676<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1676:$AU1676))/SUM(IF($AP1676:$AU1676<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1676:$AU1676))/SUM(IF($R1676:$AU1676<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1676:$AU1676))/SUM(IF($R1676:$AU1676<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1676:$AU1676))/SUM(IF($AK1676:$AU1676<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1676:$AU1676))/SUM(IF($AK1676:$AU1676<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1676=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1676>0,'Calculator Table'!BT1676>0),\"Z-ERROR\",IF('Calculator Table'!BU1676>0,\"X\",IF('Calculator Table'!BV1676>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1676,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1676,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1676,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1676,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1676,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1676,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1676,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1676,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1676,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1676,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1676,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1676,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1676,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1676,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1676,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1676,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1676,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1676,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1676,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1676,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1676,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1676,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1676,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1676,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1676,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1676,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1676,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1676,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1676,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1676,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1676,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1676,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1676,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1676,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1676,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1676,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1676,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1676,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1676,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1676,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1676,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1676,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1676,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1676,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1676=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1676:$AU1676<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1681","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1681:$AI1681))/SUM(IF($R1681:$AI1681<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1681:$AI1681))/SUM(IF($R1681:$AI1681<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1681:$AN1681))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1681:$AN1681))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1681:$AU1681))/SUM(IF($AP1681:$AU1681<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1681:$AU1681))/SUM(IF($AP1681:$AU1681<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1681:$AU1681))/SUM(IF($R1681:$AU1681<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1681:$AU1681))/SUM(IF($R1681:$AU1681<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1681:$AU1681))/SUM(IF($AK1681:$AU1681<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1681:$AU1681))/SUM(IF($AK1681:$AU1681<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1681=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1681>0,'Calculator Table'!BT1681>0),\"Z-ERROR\",IF('Calculator Table'!BU1681>0,\"X\",IF('Calculator Table'!BV1681>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1681,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1681,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1681,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1681,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1681,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1681,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1681,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1681,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1681,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1681,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1681,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1681,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1681,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1681,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1681,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1681,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1681,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1681,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1681,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1681,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1681,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1681,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1681,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1681,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1681,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1681,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1681,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1681,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1681,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1681,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1681,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1681,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1681,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1681,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1681,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1681,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1681,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1681,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1681,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1681,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1681,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1681,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1681,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1681,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1681=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1681:$AU1681<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1693","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1693:$AI1693))/SUM(IF($R1693:$AI1693<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1693:$AI1693))/SUM(IF($R1693:$AI1693<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1693:$AN1693))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1693:$AN1693))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1693:$AU1693))/SUM(IF($AP1693:$AU1693<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1693:$AU1693))/SUM(IF($AP1693:$AU1693<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1693:$AU1693))/SUM(IF($R1693:$AU1693<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1693:$AU1693))/SUM(IF($R1693:$AU1693<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1693:$AU1693))/SUM(IF($AK1693:$AU1693<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1693:$AU1693))/SUM(IF($AK1693:$AU1693<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1693=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1693>0,'Calculator Table'!BT1693>0),\"Z-ERROR\",IF('Calculator Table'!BU1693>0,\"X\",IF('Calculator Table'!BV1693>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1693,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1693,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1693,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1693,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1693,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1693,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1693,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1693,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1693,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1693,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1693,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1693,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1693,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1693,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1693,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1693,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1693,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1693,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1693,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1693,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1693,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1693,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1693,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1693,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1693,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1693,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1693,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1693,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1693,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1693,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1693,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1693,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1693,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1693,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1693,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1693,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1693,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1693,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1693,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1693,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1693,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1693,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1693,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1693,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1693=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1693:$AU1693<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1698","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1698:$AI1698))/SUM(IF($R1698:$AI1698<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1698:$AI1698))/SUM(IF($R1698:$AI1698<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1698:$AN1698))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1698:$AN1698))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1698:$AU1698))/SUM(IF($AP1698:$AU1698<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1698:$AU1698))/SUM(IF($AP1698:$AU1698<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1698:$AU1698))/SUM(IF($R1698:$AU1698<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1698:$AU1698))/SUM(IF($R1698:$AU1698<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1698:$AU1698))/SUM(IF($AK1698:$AU1698<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1698:$AU1698))/SUM(IF($AK1698:$AU1698<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1698=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1698>0,'Calculator Table'!BT1698>0),\"Z-ERROR\",IF('Calculator Table'!BU1698>0,\"X\",IF('Calculator Table'!BV1698>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1698,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1698,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1698,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1698,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1698,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1698,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1698,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1698,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1698,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1698,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1698,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1698,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1698,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1698,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1698,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1698,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1698,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1698,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1698,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1698,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1698,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1698,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1698,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1698,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1698,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1698,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1698,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1698,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1698,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1698,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1698,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1698,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1698,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1698,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1698,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1698,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1698,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1698,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1698,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1698,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1698,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1698,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1698,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1698,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1698=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1698:$AU1698<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1702","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1702:$AI1702))/SUM(IF($R1702:$AI1702<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1702:$AI1702))/SUM(IF($R1702:$AI1702<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1702:$AN1702))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1702:$AN1702))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1702:$AU1702))/SUM(IF($AP1702:$AU1702<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1702:$AU1702))/SUM(IF($AP1702:$AU1702<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1702:$AU1702))/SUM(IF($R1702:$AU1702<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1702:$AU1702))/SUM(IF($R1702:$AU1702<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1702:$AU1702))/SUM(IF($AK1702:$AU1702<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1702:$AU1702))/SUM(IF($AK1702:$AU1702<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1702=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1702>0,'Calculator Table'!BT1702>0),\"Z-ERROR\",IF('Calculator Table'!BU1702>0,\"X\",IF('Calculator Table'!BV1702>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1702,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1702,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1702,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1702,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1702,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1702,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1702,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1702,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1702,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1702,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1702,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1702,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1702,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1702,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1702,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1702,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1702,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1702,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1702,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1702,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1702,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1702,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1702,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1702,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1702,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1702,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1702,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1702,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1702,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1702,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1702,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1702,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1702,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1702,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1702,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1702,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1702,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1702,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1702,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1702,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1702,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1702,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1702,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1702,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1702=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1702:$AU1702<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1712","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1712:$AI1712))/SUM(IF($R1712:$AI1712<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1712:$AI1712))/SUM(IF($R1712:$AI1712<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1712:$AN1712))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1712:$AN1712))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1712:$AU1712))/SUM(IF($AP1712:$AU1712<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1712:$AU1712))/SUM(IF($AP1712:$AU1712<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1712:$AU1712))/SUM(IF($R1712:$AU1712<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1712:$AU1712))/SUM(IF($R1712:$AU1712<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1712:$AU1712))/SUM(IF($AK1712:$AU1712<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1712:$AU1712))/SUM(IF($AK1712:$AU1712<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1712=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1712>0,'Calculator Table'!BT1712>0),\"Z-ERROR\",IF('Calculator Table'!BU1712>0,\"X\",IF('Calculator Table'!BV1712>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1712,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1712,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1712,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1712,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1712,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1712,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1712,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1712,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1712,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1712,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1712,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1712,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1712,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1712,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1712,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1712,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1712,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1712,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1712,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1712,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1712,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1712,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1712,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1712,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1712,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1712,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1712,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1712,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1712,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1712,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1712,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1712,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1712,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1712,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1712,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1712,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1712,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1712,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1712,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1712,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1712,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1712,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1712,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1712,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1712=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1712:$AU1712<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1719","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1719:$AI1719))/SUM(IF($R1719:$AI1719<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1719:$AI1719))/SUM(IF($R1719:$AI1719<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1719:$AN1719))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1719:$AN1719))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1719:$AU1719))/SUM(IF($AP1719:$AU1719<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1719:$AU1719))/SUM(IF($AP1719:$AU1719<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1719:$AU1719))/SUM(IF($R1719:$AU1719<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1719:$AU1719))/SUM(IF($R1719:$AU1719<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1719:$AU1719))/SUM(IF($AK1719:$AU1719<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1719:$AU1719))/SUM(IF($AK1719:$AU1719<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1719=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1719>0,'Calculator Table'!BT1719>0),\"Z-ERROR\",IF('Calculator Table'!BU1719>0,\"X\",IF('Calculator Table'!BV1719>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1719,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1719,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1719,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1719,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1719,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1719,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1719,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1719,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1719,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1719,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1719,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1719,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1719,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1719,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1719,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1719,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1719,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1719,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1719,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1719,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1719,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1719,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1719,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1719,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1719,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1719,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1719,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1719,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1719,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1719,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1719,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1719,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1719,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1719,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1719,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1719,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1719,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1719,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1719,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1719,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1719,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1719,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1719,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1719,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1719=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1719:$AU1719<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1726","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1726:$AI1726))/SUM(IF($R1726:$AI1726<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1726:$AI1726))/SUM(IF($R1726:$AI1726<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1726:$AN1726))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1726:$AN1726))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1726:$AU1726))/SUM(IF($AP1726:$AU1726<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1726:$AU1726))/SUM(IF($AP1726:$AU1726<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1726:$AU1726))/SUM(IF($R1726:$AU1726<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1726:$AU1726))/SUM(IF($R1726:$AU1726<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1726:$AU1726))/SUM(IF($AK1726:$AU1726<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1726:$AU1726))/SUM(IF($AK1726:$AU1726<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1726=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1726>0,'Calculator Table'!BT1726>0),\"Z-ERROR\",IF('Calculator Table'!BU1726>0,\"X\",IF('Calculator Table'!BV1726>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1726,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1726,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1726,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1726,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1726,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1726,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1726,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1726,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1726,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1726,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1726,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1726,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1726,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1726,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1726,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1726,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1726,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1726,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1726,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1726,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1726,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1726,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1726,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1726,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1726,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1726,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1726,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1726,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1726,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1726,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1726,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1726,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1726,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1726,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1726,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1726,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1726,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1726,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1726,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1726,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1726,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1726,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1726,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1726,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1726=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1726:$AU1726<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1736","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1736:$AI1736))/SUM(IF($R1736:$AI1736<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1736:$AI1736))/SUM(IF($R1736:$AI1736<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1736:$AN1736))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1736:$AN1736))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1736:$AU1736))/SUM(IF($AP1736:$AU1736<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1736:$AU1736))/SUM(IF($AP1736:$AU1736<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1736:$AU1736))/SUM(IF($R1736:$AU1736<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1736:$AU1736))/SUM(IF($R1736:$AU1736<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1736:$AU1736))/SUM(IF($AK1736:$AU1736<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1736:$AU1736))/SUM(IF($AK1736:$AU1736<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1736=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1736>0,'Calculator Table'!BT1736>0),\"Z-ERROR\",IF('Calculator Table'!BU1736>0,\"X\",IF('Calculator Table'!BV1736>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1736,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1736,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1736,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1736,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1736,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1736,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1736,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1736,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1736,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1736,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1736,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1736,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1736,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1736,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1736,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1736,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1736,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1736,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1736,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1736,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1736,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1736,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1736,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1736,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1736,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1736,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1736,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1736,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1736,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1736,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1736,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1736,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1736,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1736,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1736,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1736,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1736,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1736,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1736,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1736,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1736,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1736,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1736,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1736,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1736=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1736:$AU1736<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1745","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1745:$AI1745))/SUM(IF($R1745:$AI1745<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1745:$AI1745))/SUM(IF($R1745:$AI1745<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1745:$AN1745))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1745:$AN1745))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1745:$AU1745))/SUM(IF($AP1745:$AU1745<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1745:$AU1745))/SUM(IF($AP1745:$AU1745<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1745:$AU1745))/SUM(IF($R1745:$AU1745<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1745:$AU1745))/SUM(IF($R1745:$AU1745<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1745:$AU1745))/SUM(IF($AK1745:$AU1745<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1745:$AU1745))/SUM(IF($AK1745:$AU1745<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1745=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1745>0,'Calculator Table'!BT1745>0),\"Z-ERROR\",IF('Calculator Table'!BU1745>0,\"X\",IF('Calculator Table'!BV1745>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1745,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1745,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1745,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1745,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1745,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1745,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1745,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1745,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1745,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1745,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1745,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1745,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1745,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1745,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1745,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1745,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1745,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1745,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1745,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1745,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1745,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1745,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1745,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1745,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1745,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1745,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1745,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1745,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1745,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1745,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1745,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1745,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1745,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1745,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1745,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1745,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1745,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1745,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1745,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1745,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1745,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1745,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1745,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1745,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1745=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1745:$AU1745<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1749","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1749:$AI1749))/SUM(IF($R1749:$AI1749<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1749:$AI1749))/SUM(IF($R1749:$AI1749<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1749:$AN1749))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1749:$AN1749))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1749:$AU1749))/SUM(IF($AP1749:$AU1749<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1749:$AU1749))/SUM(IF($AP1749:$AU1749<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1749:$AU1749))/SUM(IF($R1749:$AU1749<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1749:$AU1749))/SUM(IF($R1749:$AU1749<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1749:$AU1749))/SUM(IF($AK1749:$AU1749<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1749:$AU1749))/SUM(IF($AK1749:$AU1749<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1749=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1749>0,'Calculator Table'!BT1749>0),\"Z-ERROR\",IF('Calculator Table'!BU1749>0,\"X\",IF('Calculator Table'!BV1749>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1749,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1749,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1749,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1749,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1749,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1749,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1749,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1749,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1749,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1749,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1749,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1749,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1749,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1749,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1749,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1749,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1749,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1749,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1749,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1749,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1749,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1749,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1749,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1749,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1749,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1749,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1749,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1749,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1749,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1749,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1749,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1749,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1749,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1749,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1749,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1749,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1749,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1749,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1749,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1749,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1749,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1749,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1749,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1749,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1749=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1749:$AU1749<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1754","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1754:$AI1754))/SUM(IF($R1754:$AI1754<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1754:$AI1754))/SUM(IF($R1754:$AI1754<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1754:$AN1754))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1754:$AN1754))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1754:$AU1754))/SUM(IF($AP1754:$AU1754<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1754:$AU1754))/SUM(IF($AP1754:$AU1754<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1754:$AU1754))/SUM(IF($R1754:$AU1754<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1754:$AU1754))/SUM(IF($R1754:$AU1754<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1754:$AU1754))/SUM(IF($AK1754:$AU1754<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1754:$AU1754))/SUM(IF($AK1754:$AU1754<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1754=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1754>0,'Calculator Table'!BT1754>0),\"Z-ERROR\",IF('Calculator Table'!BU1754>0,\"X\",IF('Calculator Table'!BV1754>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1754,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1754,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1754,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1754,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1754,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1754,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1754,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1754,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1754,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1754,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1754,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1754,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1754,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1754,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1754,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1754,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1754,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1754,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1754,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1754,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1754,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1754,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1754,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1754,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1754,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1754,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1754,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1754,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1754,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1754,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1754,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1754,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1754,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1754,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1754,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1754,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1754,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1754,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1754,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1754,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1754,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1754,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1754,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1754,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1754=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1754:$AU1754<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1763","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1763:$AI1763))/SUM(IF($R1763:$AI1763<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1763:$AI1763))/SUM(IF($R1763:$AI1763<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1763:$AN1763))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1763:$AN1763))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1763:$AU1763))/SUM(IF($AP1763:$AU1763<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1763:$AU1763))/SUM(IF($AP1763:$AU1763<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1763:$AU1763))/SUM(IF($R1763:$AU1763<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1763:$AU1763))/SUM(IF($R1763:$AU1763<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1763:$AU1763))/SUM(IF($AK1763:$AU1763<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1763:$AU1763))/SUM(IF($AK1763:$AU1763<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1763=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1763>0,'Calculator Table'!BT1763>0),\"Z-ERROR\",IF('Calculator Table'!BU1763>0,\"X\",IF('Calculator Table'!BV1763>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1763,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1763,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1763,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1763,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1763,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1763,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1763,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1763,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1763,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1763,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1763,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1763,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1763,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1763,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1763,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1763,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1763,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1763,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1763,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1763,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1763,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1763,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1763,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1763,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1763,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1763,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1763,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1763,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1763,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1763,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1763,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1763,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1763,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1763,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1763,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1763,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1763,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1763,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1763,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1763,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1763,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1763,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1763,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1763,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1763=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1763:$AU1763<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1771","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1771:$AI1771))/SUM(IF($R1771:$AI1771<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1771:$AI1771))/SUM(IF($R1771:$AI1771<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1771:$AN1771))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1771:$AN1771))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1771:$AU1771))/SUM(IF($AP1771:$AU1771<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1771:$AU1771))/SUM(IF($AP1771:$AU1771<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1771:$AU1771))/SUM(IF($R1771:$AU1771<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1771:$AU1771))/SUM(IF($R1771:$AU1771<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1771:$AU1771))/SUM(IF($AK1771:$AU1771<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1771:$AU1771))/SUM(IF($AK1771:$AU1771<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1771=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1771>0,'Calculator Table'!BT1771>0),\"Z-ERROR\",IF('Calculator Table'!BU1771>0,\"X\",IF('Calculator Table'!BV1771>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1771,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1771,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1771,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1771,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1771,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1771,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1771,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1771,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1771,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1771,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1771,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1771,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1771,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1771,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1771,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1771,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1771,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1771,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1771,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1771,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1771,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1771,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1771,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1771,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1771,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1771,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1771,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1771,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1771,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1771,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1771,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1771,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1771,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1771,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1771,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1771,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1771,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1771,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1771,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1771,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1771,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1771,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1771,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1771,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1771=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1771:$AU1771<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1777","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1777:$AI1777))/SUM(IF($R1777:$AI1777<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1777:$AI1777))/SUM(IF($R1777:$AI1777<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1777:$AN1777))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1777:$AN1777))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1777:$AU1777))/SUM(IF($AP1777:$AU1777<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1777:$AU1777))/SUM(IF($AP1777:$AU1777<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1777:$AU1777))/SUM(IF($R1777:$AU1777<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1777:$AU1777))/SUM(IF($R1777:$AU1777<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1777:$AU1777))/SUM(IF($AK1777:$AU1777<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1777:$AU1777))/SUM(IF($AK1777:$AU1777<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1777=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1777>0,'Calculator Table'!BT1777>0),\"Z-ERROR\",IF('Calculator Table'!BU1777>0,\"X\",IF('Calculator Table'!BV1777>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1777,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1777,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1777,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1777,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1777,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1777,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1777,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1777,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1777,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1777,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1777,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1777,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1777,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1777,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1777,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1777,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1777,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1777,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1777,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1777,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1777,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1777,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1777,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1777,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1777,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1777,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1777,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1777,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1777,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1777,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1777,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1777,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1777,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1777,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1777,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1777,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1777,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1777,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1777,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1777,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1777,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1777,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1777,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1777,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1777=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1777:$AU1777<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1788","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1788:$AI1788))/SUM(IF($R1788:$AI1788<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1788:$AI1788))/SUM(IF($R1788:$AI1788<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1788:$AN1788))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1788:$AN1788))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1788:$AU1788))/SUM(IF($AP1788:$AU1788<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1788:$AU1788))/SUM(IF($AP1788:$AU1788<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1788:$AU1788))/SUM(IF($R1788:$AU1788<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1788:$AU1788))/SUM(IF($R1788:$AU1788<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1788:$AU1788))/SUM(IF($AK1788:$AU1788<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1788:$AU1788))/SUM(IF($AK1788:$AU1788<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1788=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1788>0,'Calculator Table'!BT1788>0),\"Z-ERROR\",IF('Calculator Table'!BU1788>0,\"X\",IF('Calculator Table'!BV1788>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1788,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1788,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1788,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1788,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1788,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1788,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1788,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1788,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1788,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1788,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1788,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1788,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1788,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1788,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1788,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1788,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1788,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1788,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1788,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1788,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1788,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1788,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1788,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1788,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1788,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1788,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1788,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1788,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1788,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1788,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1788,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1788,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1788,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1788,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1788,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1788,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1788,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1788,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1788,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1788,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1788,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1788,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1788,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1788,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1788=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1788:$AU1788<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1794","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1794:$AI1794))/SUM(IF($R1794:$AI1794<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1794:$AI1794))/SUM(IF($R1794:$AI1794<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1794:$AN1794))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1794:$AN1794))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1794:$AU1794))/SUM(IF($AP1794:$AU1794<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1794:$AU1794))/SUM(IF($AP1794:$AU1794<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1794:$AU1794))/SUM(IF($R1794:$AU1794<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1794:$AU1794))/SUM(IF($R1794:$AU1794<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1794:$AU1794))/SUM(IF($AK1794:$AU1794<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1794:$AU1794))/SUM(IF($AK1794:$AU1794<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1794=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1794>0,'Calculator Table'!BT1794>0),\"Z-ERROR\",IF('Calculator Table'!BU1794>0,\"X\",IF('Calculator Table'!BV1794>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1794,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1794,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1794,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1794,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1794,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1794,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1794,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1794,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1794,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1794,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1794,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1794,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1794,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1794,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1794,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1794,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1794,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1794,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1794,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1794,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1794,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1794,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1794,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1794,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1794,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1794,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1794,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1794,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1794,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1794,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1794,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1794,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1794,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1794,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1794,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1794,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1794,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1794,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1794,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1794,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1794,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1794,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1794,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1794,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1794=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1794:$AU1794<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1805","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1805:$AI1805))/SUM(IF($R1805:$AI1805<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1805:$AI1805))/SUM(IF($R1805:$AI1805<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1805:$AN1805))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1805:$AN1805))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1805:$AU1805))/SUM(IF($AP1805:$AU1805<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1805:$AU1805))/SUM(IF($AP1805:$AU1805<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1805:$AU1805))/SUM(IF($R1805:$AU1805<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1805:$AU1805))/SUM(IF($R1805:$AU1805<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1805:$AU1805))/SUM(IF($AK1805:$AU1805<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1805:$AU1805))/SUM(IF($AK1805:$AU1805<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1805=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1805>0,'Calculator Table'!BT1805>0),\"Z-ERROR\",IF('Calculator Table'!BU1805>0,\"X\",IF('Calculator Table'!BV1805>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1805,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1805,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1805,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1805,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1805,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1805,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1805,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1805,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1805,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1805,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1805,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1805,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1805,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1805,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1805,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1805,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1805,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1805,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1805,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1805,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1805,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1805,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1805,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1805,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1805,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1805,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1805,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1805,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1805,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1805,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1805,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1805,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1805,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1805,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1805,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1805,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1805,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1805,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1805,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1805,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1805,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1805,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1805,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1805,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1805=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1805:$AU1805<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1814","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1814:$AI1814))/SUM(IF($R1814:$AI1814<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1814:$AI1814))/SUM(IF($R1814:$AI1814<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1814:$AN1814))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1814:$AN1814))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1814:$AU1814))/SUM(IF($AP1814:$AU1814<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1814:$AU1814))/SUM(IF($AP1814:$AU1814<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1814:$AU1814))/SUM(IF($R1814:$AU1814<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1814:$AU1814))/SUM(IF($R1814:$AU1814<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1814:$AU1814))/SUM(IF($AK1814:$AU1814<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1814:$AU1814))/SUM(IF($AK1814:$AU1814<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1814=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1814>0,'Calculator Table'!BT1814>0),\"Z-ERROR\",IF('Calculator Table'!BU1814>0,\"X\",IF('Calculator Table'!BV1814>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1814,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1814,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1814,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1814,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1814,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1814,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1814,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1814,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1814,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1814,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1814,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1814,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1814,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1814,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1814,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1814,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1814,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1814,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1814,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1814,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1814,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1814,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1814,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1814,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1814,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1814,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1814,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1814,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1814,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1814,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1814,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1814,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1814,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1814,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1814,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1814,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1814,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1814,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1814,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1814,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1814,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1814,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1814,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1814,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1814=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1814:$AU1814<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1821","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1821:$AI1821))/SUM(IF($R1821:$AI1821<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1821:$AI1821))/SUM(IF($R1821:$AI1821<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1821:$AN1821))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1821:$AN1821))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1821:$AU1821))/SUM(IF($AP1821:$AU1821<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1821:$AU1821))/SUM(IF($AP1821:$AU1821<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1821:$AU1821))/SUM(IF($R1821:$AU1821<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1821:$AU1821))/SUM(IF($R1821:$AU1821<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1821:$AU1821))/SUM(IF($AK1821:$AU1821<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1821:$AU1821))/SUM(IF($AK1821:$AU1821<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1821=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1821>0,'Calculator Table'!BT1821>0),\"Z-ERROR\",IF('Calculator Table'!BU1821>0,\"X\",IF('Calculator Table'!BV1821>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1821,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1821,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1821,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1821,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1821,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1821,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1821,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1821,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1821,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1821,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1821,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1821,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1821,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1821,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1821,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1821,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1821,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1821,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1821,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1821,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1821,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1821,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1821,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1821,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1821,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1821,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1821,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1821,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1821,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1821,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1821,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1821,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1821,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1821,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1821,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1821,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1821,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1821,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1821,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1821,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1821,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1821,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1821,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1821,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1821=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1821:$AU1821<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1823","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1823:$AI1823))/SUM(IF($R1823:$AI1823<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1823:$AI1823))/SUM(IF($R1823:$AI1823<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1823:$AN1823))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1823:$AN1823))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1823:$AU1823))/SUM(IF($AP1823:$AU1823<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1823:$AU1823))/SUM(IF($AP1823:$AU1823<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1823:$AU1823))/SUM(IF($R1823:$AU1823<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1823:$AU1823))/SUM(IF($R1823:$AU1823<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1823:$AU1823))/SUM(IF($AK1823:$AU1823<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1823:$AU1823))/SUM(IF($AK1823:$AU1823<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1823=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1823>0,'Calculator Table'!BT1823>0),\"Z-ERROR\",IF('Calculator Table'!BU1823>0,\"X\",IF('Calculator Table'!BV1823>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1823,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1823,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1823,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1823,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1823,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1823,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1823,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1823,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1823,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1823,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1823,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1823,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1823,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1823,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1823,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1823,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1823,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1823,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1823,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1823,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1823,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1823,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1823,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1823,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1823,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1823,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1823,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1823,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1823,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1823,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1823,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1823,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1823,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1823,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1823,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1823,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1823,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1823,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1823,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1823,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1823,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1823,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1823,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1823,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1823=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1823:$AU1823<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1831","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1831:$AI1831))/SUM(IF($R1831:$AI1831<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1831:$AI1831))/SUM(IF($R1831:$AI1831<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1831:$AN1831))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1831:$AN1831))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1831:$AU1831))/SUM(IF($AP1831:$AU1831<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1831:$AU1831))/SUM(IF($AP1831:$AU1831<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1831:$AU1831))/SUM(IF($R1831:$AU1831<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1831:$AU1831))/SUM(IF($R1831:$AU1831<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1831:$AU1831))/SUM(IF($AK1831:$AU1831<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1831:$AU1831))/SUM(IF($AK1831:$AU1831<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1831=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1831>0,'Calculator Table'!BT1831>0),\"Z-ERROR\",IF('Calculator Table'!BU1831>0,\"X\",IF('Calculator Table'!BV1831>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1831,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1831,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1831,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1831,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1831,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1831,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1831,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1831,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1831,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1831,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1831,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1831,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1831,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1831,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1831,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1831,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1831,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1831,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1831,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1831,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1831,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1831,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1831,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1831,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1831,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1831,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1831,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1831,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1831,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1831,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1831,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1831,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1831,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1831,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1831,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1831,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1831,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1831,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1831,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1831,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1831,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1831,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1831,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1831,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1831=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1831:$AU1831<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1840","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1840:$AI1840))/SUM(IF($R1840:$AI1840<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1840:$AI1840))/SUM(IF($R1840:$AI1840<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1840:$AN1840))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1840:$AN1840))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1840:$AU1840))/SUM(IF($AP1840:$AU1840<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1840:$AU1840))/SUM(IF($AP1840:$AU1840<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1840:$AU1840))/SUM(IF($R1840:$AU1840<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1840:$AU1840))/SUM(IF($R1840:$AU1840<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1840:$AU1840))/SUM(IF($AK1840:$AU1840<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1840:$AU1840))/SUM(IF($AK1840:$AU1840<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1840=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1840>0,'Calculator Table'!BT1840>0),\"Z-ERROR\",IF('Calculator Table'!BU1840>0,\"X\",IF('Calculator Table'!BV1840>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1840,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1840,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1840,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1840,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1840,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1840,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1840,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1840,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1840,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1840,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1840,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1840,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1840,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1840,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1840,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1840,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1840,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1840,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1840,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1840,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1840,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1840,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1840,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1840,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1840,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1840,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1840,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1840,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1840,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1840,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1840,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1840,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1840,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1840,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1840,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1840,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1840,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1840,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1840,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1840,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1840,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1840,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1840,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1840,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1840=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1840:$AU1840<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1845","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1845:$AI1845))/SUM(IF($R1845:$AI1845<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1845:$AI1845))/SUM(IF($R1845:$AI1845<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1845:$AN1845))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1845:$AN1845))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1845:$AU1845))/SUM(IF($AP1845:$AU1845<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1845:$AU1845))/SUM(IF($AP1845:$AU1845<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1845:$AU1845))/SUM(IF($R1845:$AU1845<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1845:$AU1845))/SUM(IF($R1845:$AU1845<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1845:$AU1845))/SUM(IF($AK1845:$AU1845<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1845:$AU1845))/SUM(IF($AK1845:$AU1845<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1845=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1845>0,'Calculator Table'!BT1845>0),\"Z-ERROR\",IF('Calculator Table'!BU1845>0,\"X\",IF('Calculator Table'!BV1845>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1845,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1845,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1845,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1845,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1845,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1845,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1845,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1845,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1845,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1845,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1845,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1845,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1845,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1845,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1845,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1845,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1845,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1845,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1845,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1845,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1845,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1845,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1845,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1845,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1845,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1845,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1845,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1845,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1845,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1845,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1845,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1845,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1845,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1845,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1845,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1845,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1845,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1845,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1845,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1845,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1845,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1845,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1845,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1845,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1845=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1845:$AU1845<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1857","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1857:$AI1857))/SUM(IF($R1857:$AI1857<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1857:$AI1857))/SUM(IF($R1857:$AI1857<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1857:$AN1857))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1857:$AN1857))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1857:$AU1857))/SUM(IF($AP1857:$AU1857<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1857:$AU1857))/SUM(IF($AP1857:$AU1857<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1857:$AU1857))/SUM(IF($R1857:$AU1857<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1857:$AU1857))/SUM(IF($R1857:$AU1857<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1857:$AU1857))/SUM(IF($AK1857:$AU1857<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1857:$AU1857))/SUM(IF($AK1857:$AU1857<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1857=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1857>0,'Calculator Table'!BT1857>0),\"Z-ERROR\",IF('Calculator Table'!BU1857>0,\"X\",IF('Calculator Table'!BV1857>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1857,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1857,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1857,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1857,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1857,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1857,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1857,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1857,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1857,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1857,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1857,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1857,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1857,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1857,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1857,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1857,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1857,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1857,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1857,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1857,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1857,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1857,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1857,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1857,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1857,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1857,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1857,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1857,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1857,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1857,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1857,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1857,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1857,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1857,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1857,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1857,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1857,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1857,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1857,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1857,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1857,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1857,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1857,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1857,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1857=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1857:$AU1857<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1866","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1866:$AI1866))/SUM(IF($R1866:$AI1866<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1866:$AI1866))/SUM(IF($R1866:$AI1866<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1866:$AN1866))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1866:$AN1866))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1866:$AU1866))/SUM(IF($AP1866:$AU1866<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1866:$AU1866))/SUM(IF($AP1866:$AU1866<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1866:$AU1866))/SUM(IF($R1866:$AU1866<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1866:$AU1866))/SUM(IF($R1866:$AU1866<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1866:$AU1866))/SUM(IF($AK1866:$AU1866<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1866:$AU1866))/SUM(IF($AK1866:$AU1866<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1866=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1866>0,'Calculator Table'!BT1866>0),\"Z-ERROR\",IF('Calculator Table'!BU1866>0,\"X\",IF('Calculator Table'!BV1866>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1866,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1866,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1866,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1866,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1866,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1866,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1866,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1866,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1866,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1866,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1866,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1866,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1866,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1866,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1866,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1866,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1866,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1866,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1866,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1866,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1866,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1866,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1866,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1866,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1866,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1866,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1866,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1866,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1866,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1866,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1866,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1866,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1866,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1866,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1866,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1866,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1866,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1866,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1866,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1866,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1866,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1866,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1866,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1866,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1866=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1866:$AU1866<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1874","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1874:$AI1874))/SUM(IF($R1874:$AI1874<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1874:$AI1874))/SUM(IF($R1874:$AI1874<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1874:$AN1874))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1874:$AN1874))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1874:$AU1874))/SUM(IF($AP1874:$AU1874<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1874:$AU1874))/SUM(IF($AP1874:$AU1874<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1874:$AU1874))/SUM(IF($R1874:$AU1874<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1874:$AU1874))/SUM(IF($R1874:$AU1874<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1874:$AU1874))/SUM(IF($AK1874:$AU1874<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1874:$AU1874))/SUM(IF($AK1874:$AU1874<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1874=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1874>0,'Calculator Table'!BT1874>0),\"Z-ERROR\",IF('Calculator Table'!BU1874>0,\"X\",IF('Calculator Table'!BV1874>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1874,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1874,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1874,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1874,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1874,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1874,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1874,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1874,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1874,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1874,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1874,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1874,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1874,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1874,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1874,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1874,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1874,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1874,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1874,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1874,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1874,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1874,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1874,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1874,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1874,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1874,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1874,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1874,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1874,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1874,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1874,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1874,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1874,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1874,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1874,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1874,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1874,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1874,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1874,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1874,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1874,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1874,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1874,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1874,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1874=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1874:$AU1874<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1875","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1875:$AI1875))/SUM(IF($R1875:$AI1875<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1875:$AI1875))/SUM(IF($R1875:$AI1875<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1875:$AN1875))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1875:$AN1875))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1875:$AU1875))/SUM(IF($AP1875:$AU1875<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1875:$AU1875))/SUM(IF($AP1875:$AU1875<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1875:$AU1875))/SUM(IF($R1875:$AU1875<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1875:$AU1875))/SUM(IF($R1875:$AU1875<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1875:$AU1875))/SUM(IF($AK1875:$AU1875<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1875:$AU1875))/SUM(IF($AK1875:$AU1875<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1875=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1875>0,'Calculator Table'!BT1875>0),\"Z-ERROR\",IF('Calculator Table'!BU1875>0,\"X\",IF('Calculator Table'!BV1875>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1875,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1875,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1875,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1875,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1875,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1875,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1875,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1875,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1875,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1875,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1875,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1875,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1875,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1875,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1875,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1875,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1875,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1875,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1875,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1875,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1875,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1875,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1875,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1875,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1875,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1875,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1875,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1875,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1875,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1875,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1875,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1875,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1875,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1875,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1875,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1875,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1875,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1875,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1875,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1875,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1875,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1875,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1875,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1875,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1875=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1875:$AU1875<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1889","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1889:$AI1889))/SUM(IF($R1889:$AI1889<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1889:$AI1889))/SUM(IF($R1889:$AI1889<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1889:$AN1889))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1889:$AN1889))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1889:$AU1889))/SUM(IF($AP1889:$AU1889<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1889:$AU1889))/SUM(IF($AP1889:$AU1889<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1889:$AU1889))/SUM(IF($R1889:$AU1889<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1889:$AU1889))/SUM(IF($R1889:$AU1889<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1889:$AU1889))/SUM(IF($AK1889:$AU1889<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1889:$AU1889))/SUM(IF($AK1889:$AU1889<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1889=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1889>0,'Calculator Table'!BT1889>0),\"Z-ERROR\",IF('Calculator Table'!BU1889>0,\"X\",IF('Calculator Table'!BV1889>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1889,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1889,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1889,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1889,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1889,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1889,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1889,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1889,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1889,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1889,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1889,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1889,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1889,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1889,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1889,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1889,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1889,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1889,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1889,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1889,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1889,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1889,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1889,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1889,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1889,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1889,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1889,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1889,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1889,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1889,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1889,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1889,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1889,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1889,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1889,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1889,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1889,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1889,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1889,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1889,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1889,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1889,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1889,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1889,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1889=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1889:$AU1889<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1892","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1892:$AI1892))/SUM(IF($R1892:$AI1892<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1892:$AI1892))/SUM(IF($R1892:$AI1892<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1892:$AN1892))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1892:$AN1892))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1892:$AU1892))/SUM(IF($AP1892:$AU1892<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1892:$AU1892))/SUM(IF($AP1892:$AU1892<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1892:$AU1892))/SUM(IF($R1892:$AU1892<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1892:$AU1892))/SUM(IF($R1892:$AU1892<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1892:$AU1892))/SUM(IF($AK1892:$AU1892<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1892:$AU1892))/SUM(IF($AK1892:$AU1892<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1892=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1892>0,'Calculator Table'!BT1892>0),\"Z-ERROR\",IF('Calculator Table'!BU1892>0,\"X\",IF('Calculator Table'!BV1892>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1892,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1892,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1892,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1892,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1892,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1892,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1892,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1892,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1892,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1892,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1892,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1892,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1892,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1892,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1892,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1892,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1892,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1892,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1892,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1892,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1892,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1892,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1892,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1892,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1892,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1892,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1892,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1892,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1892,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1892,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1892,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1892,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1892,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1892,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1892,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1892,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1892,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1892,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1892,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1892,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1892,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1892,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1892,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1892,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1892=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1892:$AU1892<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1903","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1903:$AI1903))/SUM(IF($R1903:$AI1903<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1903:$AI1903))/SUM(IF($R1903:$AI1903<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1903:$AN1903))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1903:$AN1903))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1903:$AU1903))/SUM(IF($AP1903:$AU1903<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1903:$AU1903))/SUM(IF($AP1903:$AU1903<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1903:$AU1903))/SUM(IF($R1903:$AU1903<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1903:$AU1903))/SUM(IF($R1903:$AU1903<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1903:$AU1903))/SUM(IF($AK1903:$AU1903<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1903:$AU1903))/SUM(IF($AK1903:$AU1903<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1903=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1903>0,'Calculator Table'!BT1903>0),\"Z-ERROR\",IF('Calculator Table'!BU1903>0,\"X\",IF('Calculator Table'!BV1903>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1903,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1903,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1903,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1903,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1903,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1903,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1903,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1903,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1903,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1903,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1903,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1903,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1903,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1903,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1903,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1903,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1903,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1903,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1903,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1903,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1903,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1903,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1903,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1903,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1903,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1903,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1903,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1903,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1903,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1903,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1903,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1903,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1903,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1903,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1903,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1903,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1903,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1903,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1903,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1903,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1903,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1903,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1903,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1903,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1903=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1903:$AU1903<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1909","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1909:$AI1909))/SUM(IF($R1909:$AI1909<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1909:$AI1909))/SUM(IF($R1909:$AI1909<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1909:$AN1909))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1909:$AN1909))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1909:$AU1909))/SUM(IF($AP1909:$AU1909<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1909:$AU1909))/SUM(IF($AP1909:$AU1909<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1909:$AU1909))/SUM(IF($R1909:$AU1909<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1909:$AU1909))/SUM(IF($R1909:$AU1909<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1909:$AU1909))/SUM(IF($AK1909:$AU1909<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1909:$AU1909))/SUM(IF($AK1909:$AU1909<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1909=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1909>0,'Calculator Table'!BT1909>0),\"Z-ERROR\",IF('Calculator Table'!BU1909>0,\"X\",IF('Calculator Table'!BV1909>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1909,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1909,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1909,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1909,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1909,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1909,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1909,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1909,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1909,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1909,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1909,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1909,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1909,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1909,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1909,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1909,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1909,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1909,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1909,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1909,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1909,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1909,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1909,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1909,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1909,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1909,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1909,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1909,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1909,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1909,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1909,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1909,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1909,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1909,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1909,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1909,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1909,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1909,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1909,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1909,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1909,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1909,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1909,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1909,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1909=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1909:$AU1909<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1917","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1917:$AI1917))/SUM(IF($R1917:$AI1917<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1917:$AI1917))/SUM(IF($R1917:$AI1917<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1917:$AN1917))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1917:$AN1917))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1917:$AU1917))/SUM(IF($AP1917:$AU1917<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1917:$AU1917))/SUM(IF($AP1917:$AU1917<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1917:$AU1917))/SUM(IF($R1917:$AU1917<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1917:$AU1917))/SUM(IF($R1917:$AU1917<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1917:$AU1917))/SUM(IF($AK1917:$AU1917<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1917:$AU1917))/SUM(IF($AK1917:$AU1917<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1917=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1917>0,'Calculator Table'!BT1917>0),\"Z-ERROR\",IF('Calculator Table'!BU1917>0,\"X\",IF('Calculator Table'!BV1917>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1917,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1917,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1917,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1917,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1917,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1917,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1917,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1917,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1917,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1917,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1917,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1917,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1917,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1917,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1917,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1917,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1917,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1917,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1917,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1917,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1917,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1917,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1917,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1917,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1917,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1917,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1917,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1917,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1917,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1917,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1917,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1917,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1917,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1917,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1917,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1917,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1917,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1917,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1917,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1917,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1917,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1917,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1917,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1917,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1917=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1917:$AU1917<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1926","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1926:$AI1926))/SUM(IF($R1926:$AI1926<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1926:$AI1926))/SUM(IF($R1926:$AI1926<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1926:$AN1926))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1926:$AN1926))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1926:$AU1926))/SUM(IF($AP1926:$AU1926<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1926:$AU1926))/SUM(IF($AP1926:$AU1926<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1926:$AU1926))/SUM(IF($R1926:$AU1926<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1926:$AU1926))/SUM(IF($R1926:$AU1926<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1926:$AU1926))/SUM(IF($AK1926:$AU1926<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1926:$AU1926))/SUM(IF($AK1926:$AU1926<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1926=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1926>0,'Calculator Table'!BT1926>0),\"Z-ERROR\",IF('Calculator Table'!BU1926>0,\"X\",IF('Calculator Table'!BV1926>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1926,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1926,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1926,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1926,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1926,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1926,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1926,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1926,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1926,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1926,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1926,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1926,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1926,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1926,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1926,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1926,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1926,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1926,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1926,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1926,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1926,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1926,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1926,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1926,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1926,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1926,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1926,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1926,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1926,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1926,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1926,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1926,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1926,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1926,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1926,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1926,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1926,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1926,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1926,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1926,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1926,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1926,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1926,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1926,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1926=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1926:$AU1926<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1934","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1934:$AI1934))/SUM(IF($R1934:$AI1934<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1934:$AI1934))/SUM(IF($R1934:$AI1934<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1934:$AN1934))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1934:$AN1934))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1934:$AU1934))/SUM(IF($AP1934:$AU1934<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1934:$AU1934))/SUM(IF($AP1934:$AU1934<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1934:$AU1934))/SUM(IF($R1934:$AU1934<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1934:$AU1934))/SUM(IF($R1934:$AU1934<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1934:$AU1934))/SUM(IF($AK1934:$AU1934<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1934:$AU1934))/SUM(IF($AK1934:$AU1934<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1934=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1934>0,'Calculator Table'!BT1934>0),\"Z-ERROR\",IF('Calculator Table'!BU1934>0,\"X\",IF('Calculator Table'!BV1934>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1934,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1934,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1934,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1934,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1934,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1934,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1934,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1934,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1934,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1934,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1934,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1934,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1934,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1934,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1934,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1934,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1934,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1934,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1934,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1934,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1934,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1934,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1934,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1934,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1934,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1934,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1934,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1934,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1934,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1934,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1934,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1934,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1934,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1934,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1934,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1934,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1934,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1934,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1934,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1934,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1934,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1934,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1934,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1934,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1934=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1934:$AU1934<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1935","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1935:$AI1935))/SUM(IF($R1935:$AI1935<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1935:$AI1935))/SUM(IF($R1935:$AI1935<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1935:$AN1935))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1935:$AN1935))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1935:$AU1935))/SUM(IF($AP1935:$AU1935<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1935:$AU1935))/SUM(IF($AP1935:$AU1935<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1935:$AU1935))/SUM(IF($R1935:$AU1935<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1935:$AU1935))/SUM(IF($R1935:$AU1935<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1935:$AU1935))/SUM(IF($AK1935:$AU1935<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1935:$AU1935))/SUM(IF($AK1935:$AU1935<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1935=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1935>0,'Calculator Table'!BT1935>0),\"Z-ERROR\",IF('Calculator Table'!BU1935>0,\"X\",IF('Calculator Table'!BV1935>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1935,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1935,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1935,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1935,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1935,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1935,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1935,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1935,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1935,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1935,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1935,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1935,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1935,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1935,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1935,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1935,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1935,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1935,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1935,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1935,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1935,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1935,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1935,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1935,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1935,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1935,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1935,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1935,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1935,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1935,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1935,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1935,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1935,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1935,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1935,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1935,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1935,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1935,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1935,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1935,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1935,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1935,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1935,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1935,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1935=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1935:$AU1935<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1944","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1944:$AI1944))/SUM(IF($R1944:$AI1944<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1944:$AI1944))/SUM(IF($R1944:$AI1944<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1944:$AN1944))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1944:$AN1944))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1944:$AU1944))/SUM(IF($AP1944:$AU1944<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1944:$AU1944))/SUM(IF($AP1944:$AU1944<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1944:$AU1944))/SUM(IF($R1944:$AU1944<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1944:$AU1944))/SUM(IF($R1944:$AU1944<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1944:$AU1944))/SUM(IF($AK1944:$AU1944<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1944:$AU1944))/SUM(IF($AK1944:$AU1944<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1944=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1944>0,'Calculator Table'!BT1944>0),\"Z-ERROR\",IF('Calculator Table'!BU1944>0,\"X\",IF('Calculator Table'!BV1944>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1944,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1944,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1944,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1944,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1944,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1944,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1944,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1944,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1944,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1944,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1944,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1944,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1944,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1944,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1944,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1944,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1944,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1944,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1944,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1944,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1944,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1944,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1944,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1944,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1944,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1944,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1944,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1944,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1944,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1944,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1944,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1944,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1944,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1944,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1944,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1944,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1944,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1944,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1944,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1944,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1944,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1944,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1944,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1944,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1944=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1944:$AU1944<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1957","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1957:$AI1957))/SUM(IF($R1957:$AI1957<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1957:$AI1957))/SUM(IF($R1957:$AI1957<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1957:$AN1957))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1957:$AN1957))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1957:$AU1957))/SUM(IF($AP1957:$AU1957<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1957:$AU1957))/SUM(IF($AP1957:$AU1957<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1957:$AU1957))/SUM(IF($R1957:$AU1957<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1957:$AU1957))/SUM(IF($R1957:$AU1957<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1957:$AU1957))/SUM(IF($AK1957:$AU1957<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1957:$AU1957))/SUM(IF($AK1957:$AU1957<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1957=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1957>0,'Calculator Table'!BT1957>0),\"Z-ERROR\",IF('Calculator Table'!BU1957>0,\"X\",IF('Calculator Table'!BV1957>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1957,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1957,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1957,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1957,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1957,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1957,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1957,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1957,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1957,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1957,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1957,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1957,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1957,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1957,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1957,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1957,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1957,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1957,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1957,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1957,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1957,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1957,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1957,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1957,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1957,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1957,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1957,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1957,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1957,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1957,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1957,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1957,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1957,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1957,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1957,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1957,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1957,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1957,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1957,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1957,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1957,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1957,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1957,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1957,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1957=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1957:$AU1957<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1961","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1961:$AI1961))/SUM(IF($R1961:$AI1961<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1961:$AI1961))/SUM(IF($R1961:$AI1961<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1961:$AN1961))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1961:$AN1961))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1961:$AU1961))/SUM(IF($AP1961:$AU1961<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1961:$AU1961))/SUM(IF($AP1961:$AU1961<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1961:$AU1961))/SUM(IF($R1961:$AU1961<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1961:$AU1961))/SUM(IF($R1961:$AU1961<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1961:$AU1961))/SUM(IF($AK1961:$AU1961<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1961:$AU1961))/SUM(IF($AK1961:$AU1961<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1961=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1961>0,'Calculator Table'!BT1961>0),\"Z-ERROR\",IF('Calculator Table'!BU1961>0,\"X\",IF('Calculator Table'!BV1961>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1961,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1961,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1961,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1961,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1961,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1961,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1961,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1961,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1961,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1961,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1961,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1961,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1961,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1961,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1961,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1961,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1961,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1961,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1961,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1961,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1961,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1961,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1961,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1961,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1961,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1961,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1961,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1961,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1961,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1961,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1961,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1961,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1961,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1961,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1961,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1961,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1961,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1961,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1961,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1961,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1961,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1961,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1961,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1961,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1961=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1961:$AU1961<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1971","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1971:$AI1971))/SUM(IF($R1971:$AI1971<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1971:$AI1971))/SUM(IF($R1971:$AI1971<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1971:$AN1971))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1971:$AN1971))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1971:$AU1971))/SUM(IF($AP1971:$AU1971<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1971:$AU1971))/SUM(IF($AP1971:$AU1971<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1971:$AU1971))/SUM(IF($R1971:$AU1971<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1971:$AU1971))/SUM(IF($R1971:$AU1971<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1971:$AU1971))/SUM(IF($AK1971:$AU1971<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1971:$AU1971))/SUM(IF($AK1971:$AU1971<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1971=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1971>0,'Calculator Table'!BT1971>0),\"Z-ERROR\",IF('Calculator Table'!BU1971>0,\"X\",IF('Calculator Table'!BV1971>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1971,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1971,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1971,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1971,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1971,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1971,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1971,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1971,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1971,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1971,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1971,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1971,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1971,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1971,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1971,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1971,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1971,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1971,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1971,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1971,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1971,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1971,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1971,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1971,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1971,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1971,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1971,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1971,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1971,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1971,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1971,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1971,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1971,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1971,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1971,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1971,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1971,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1971,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1971,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1971,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1971,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1971,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1971,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1971,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1971=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1971:$AU1971<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1978","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1978:$AI1978))/SUM(IF($R1978:$AI1978<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1978:$AI1978))/SUM(IF($R1978:$AI1978<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1978:$AN1978))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1978:$AN1978))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1978:$AU1978))/SUM(IF($AP1978:$AU1978<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1978:$AU1978))/SUM(IF($AP1978:$AU1978<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1978:$AU1978))/SUM(IF($R1978:$AU1978<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1978:$AU1978))/SUM(IF($R1978:$AU1978<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1978:$AU1978))/SUM(IF($AK1978:$AU1978<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1978:$AU1978))/SUM(IF($AK1978:$AU1978<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1978=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1978>0,'Calculator Table'!BT1978>0),\"Z-ERROR\",IF('Calculator Table'!BU1978>0,\"X\",IF('Calculator Table'!BV1978>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1978,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1978,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1978,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1978,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1978,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1978,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1978,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1978,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1978,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1978,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1978,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1978,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1978,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1978,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1978,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1978,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1978,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1978,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1978,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1978,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1978,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1978,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1978,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1978,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1978,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1978,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1978,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1978,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1978,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1978,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1978,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1978,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1978,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1978,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1978,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1978,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1978,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1978,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1978,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1978,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1978,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1978,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1978,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1978,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1978=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1978:$AU1978<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1985","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1985:$AI1985))/SUM(IF($R1985:$AI1985<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1985:$AI1985))/SUM(IF($R1985:$AI1985<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1985:$AN1985))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1985:$AN1985))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1985:$AU1985))/SUM(IF($AP1985:$AU1985<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1985:$AU1985))/SUM(IF($AP1985:$AU1985<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1985:$AU1985))/SUM(IF($R1985:$AU1985<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1985:$AU1985))/SUM(IF($R1985:$AU1985<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1985:$AU1985))/SUM(IF($AK1985:$AU1985<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1985:$AU1985))/SUM(IF($AK1985:$AU1985<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1985=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1985>0,'Calculator Table'!BT1985>0),\"Z-ERROR\",IF('Calculator Table'!BU1985>0,\"X\",IF('Calculator Table'!BV1985>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1985,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1985,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1985,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1985,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1985,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1985,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1985,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1985,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1985,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1985,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1985,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1985,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1985,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1985,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1985,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1985,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1985,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1985,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1985,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1985,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1985,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1985,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1985,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1985,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1985,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1985,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1985,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1985,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1985,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1985,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1985,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1985,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1985,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1985,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1985,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1985,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1985,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1985,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1985,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1985,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1985,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1985,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1985,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1985,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1985=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1985:$AU1985<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1995","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1995:$AI1995))/SUM(IF($R1995:$AI1995<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1995:$AI1995))/SUM(IF($R1995:$AI1995<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1995:$AN1995))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1995:$AN1995))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1995:$AU1995))/SUM(IF($AP1995:$AU1995<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1995:$AU1995))/SUM(IF($AP1995:$AU1995<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1995:$AU1995))/SUM(IF($R1995:$AU1995<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1995:$AU1995))/SUM(IF($R1995:$AU1995<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1995:$AU1995))/SUM(IF($AK1995:$AU1995<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1995:$AU1995))/SUM(IF($AK1995:$AU1995<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1995=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1995>0,'Calculator Table'!BT1995>0),\"Z-ERROR\",IF('Calculator Table'!BU1995>0,\"X\",IF('Calculator Table'!BV1995>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1995,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1995,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1995,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1995,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1995,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1995,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1995,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1995,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1995,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1995,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1995,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1995,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1995,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1995,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1995,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1995,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1995,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1995,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1995,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1995,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1995,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1995,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1995,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1995,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1995,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1995,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1995,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1995,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1995,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1995,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1995,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1995,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1995,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1995,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1995,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1995,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1995,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1995,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1995,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1995,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1995,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1995,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1995,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1995,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1995=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1995:$AU1995<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C1999","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R1999:$AI1999))/SUM(IF($R1999:$AI1999<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R1999:$AI1999))/SUM(IF($R1999:$AI1999<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK1999:$AN1999))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK1999:$AN1999))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP1999:$AU1999))/SUM(IF($AP1999:$AU1999<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP1999:$AU1999))/SUM(IF($AP1999:$AU1999<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R1999:$AU1999))/SUM(IF($R1999:$AU1999<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R1999:$AU1999))/SUM(IF($R1999:$AU1999<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK1999:$AU1999))/SUM(IF($AK1999:$AU1999<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK1999:$AU1999))/SUM(IF($AK1999:$AU1999<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D1999=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU1999>0,'Calculator Table'!BT1999>0),\"Z-ERROR\",IF('Calculator Table'!BU1999>0,\"X\",IF('Calculator Table'!BV1999>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA1999,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA1999,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB1999,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB1999,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ1999,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ1999,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR1999,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR1999,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS1999,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS1999,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT1999,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT1999,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU1999,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU1999,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV1999,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV1999,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW1999,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW1999,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX1999,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX1999,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY1999,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY1999,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ1999,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ1999,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC1999,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC1999,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD1999,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD1999,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG1999,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG1999,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH1999,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH1999,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE1999,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE1999,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF1999,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF1999,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK1999,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK1999,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL1999,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL1999,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI1999,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI1999,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ1999,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ1999,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q1999=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R1999:$AU1999<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2004","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2004:$AI2004))/SUM(IF($R2004:$AI2004<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2004:$AI2004))/SUM(IF($R2004:$AI2004<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2004:$AN2004))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2004:$AN2004))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2004:$AU2004))/SUM(IF($AP2004:$AU2004<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2004:$AU2004))/SUM(IF($AP2004:$AU2004<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2004:$AU2004))/SUM(IF($R2004:$AU2004<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2004:$AU2004))/SUM(IF($R2004:$AU2004<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2004:$AU2004))/SUM(IF($AK2004:$AU2004<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2004:$AU2004))/SUM(IF($AK2004:$AU2004<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2004=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2004>0,'Calculator Table'!BT2004>0),\"Z-ERROR\",IF('Calculator Table'!BU2004>0,\"X\",IF('Calculator Table'!BV2004>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2004,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2004,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2004,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2004,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2004,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2004,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2004,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2004,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2004,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2004,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2004,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2004,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2004,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2004,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2004,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2004,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2004,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2004,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2004,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2004,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2004,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2004,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2004,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2004,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2004,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2004,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2004,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2004,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2004,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2004,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2004,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2004,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2004,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2004,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2004,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2004,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2004,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2004,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2004,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2004,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2004,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2004,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2004,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2004,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2004=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2004:$AU2004<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2013","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2013:$AI2013))/SUM(IF($R2013:$AI2013<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2013:$AI2013))/SUM(IF($R2013:$AI2013<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2013:$AN2013))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2013:$AN2013))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2013:$AU2013))/SUM(IF($AP2013:$AU2013<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2013:$AU2013))/SUM(IF($AP2013:$AU2013<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2013:$AU2013))/SUM(IF($R2013:$AU2013<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2013:$AU2013))/SUM(IF($R2013:$AU2013<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2013:$AU2013))/SUM(IF($AK2013:$AU2013<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2013:$AU2013))/SUM(IF($AK2013:$AU2013<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2013=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2013>0,'Calculator Table'!BT2013>0),\"Z-ERROR\",IF('Calculator Table'!BU2013>0,\"X\",IF('Calculator Table'!BV2013>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2013,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2013,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2013,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2013,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2013,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2013,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2013,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2013,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2013,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2013,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2013,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2013,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2013,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2013,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2013,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2013,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2013,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2013,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2013,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2013,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2013,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2013,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2013,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2013,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2013,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2013,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2013,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2013,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2013,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2013,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2013,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2013,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2013,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2013,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2013,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2013,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2013,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2013,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2013,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2013,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2013,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2013,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2013,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2013,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2013=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2013:$AU2013<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2022","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2022:$AI2022))/SUM(IF($R2022:$AI2022<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2022:$AI2022))/SUM(IF($R2022:$AI2022<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2022:$AN2022))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2022:$AN2022))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2022:$AU2022))/SUM(IF($AP2022:$AU2022<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2022:$AU2022))/SUM(IF($AP2022:$AU2022<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2022:$AU2022))/SUM(IF($R2022:$AU2022<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2022:$AU2022))/SUM(IF($R2022:$AU2022<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2022:$AU2022))/SUM(IF($AK2022:$AU2022<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2022:$AU2022))/SUM(IF($AK2022:$AU2022<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2022=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2022>0,'Calculator Table'!BT2022>0),\"Z-ERROR\",IF('Calculator Table'!BU2022>0,\"X\",IF('Calculator Table'!BV2022>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2022,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2022,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2022,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2022,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2022,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2022,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2022,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2022,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2022,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2022,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2022,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2022,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2022,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2022,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2022,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2022,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2022,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2022,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2022,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2022,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2022,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2022,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2022,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2022,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2022,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2022,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2022,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2022,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2022,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2022,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2022,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2022,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2022,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2022,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2022,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2022,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2022,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2022,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2022,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2022,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2022,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2022,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2022,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2022,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2022=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2022:$AU2022<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2030","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2030:$AI2030))/SUM(IF($R2030:$AI2030<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2030:$AI2030))/SUM(IF($R2030:$AI2030<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2030:$AN2030))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2030:$AN2030))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2030:$AU2030))/SUM(IF($AP2030:$AU2030<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2030:$AU2030))/SUM(IF($AP2030:$AU2030<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2030:$AU2030))/SUM(IF($R2030:$AU2030<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2030:$AU2030))/SUM(IF($R2030:$AU2030<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2030:$AU2030))/SUM(IF($AK2030:$AU2030<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2030:$AU2030))/SUM(IF($AK2030:$AU2030<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2030=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2030>0,'Calculator Table'!BT2030>0),\"Z-ERROR\",IF('Calculator Table'!BU2030>0,\"X\",IF('Calculator Table'!BV2030>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2030,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2030,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2030,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2030,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2030,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2030,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2030,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2030,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2030,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2030,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2030,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2030,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2030,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2030,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2030,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2030,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2030,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2030,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2030,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2030,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2030,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2030,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2030,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2030,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2030,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2030,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2030,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2030,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2030,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2030,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2030,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2030,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2030,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2030,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2030,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2030,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2030,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2030,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2030,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2030,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2030,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2030,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2030,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2030,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2030=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2030:$AU2030<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2036","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2036:$AI2036))/SUM(IF($R2036:$AI2036<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2036:$AI2036))/SUM(IF($R2036:$AI2036<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2036:$AN2036))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2036:$AN2036))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2036:$AU2036))/SUM(IF($AP2036:$AU2036<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2036:$AU2036))/SUM(IF($AP2036:$AU2036<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2036:$AU2036))/SUM(IF($R2036:$AU2036<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2036:$AU2036))/SUM(IF($R2036:$AU2036<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2036:$AU2036))/SUM(IF($AK2036:$AU2036<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2036:$AU2036))/SUM(IF($AK2036:$AU2036<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2036=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2036>0,'Calculator Table'!BT2036>0),\"Z-ERROR\",IF('Calculator Table'!BU2036>0,\"X\",IF('Calculator Table'!BV2036>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2036,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2036,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2036,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2036,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2036,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2036,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2036,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2036,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2036,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2036,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2036,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2036,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2036,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2036,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2036,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2036,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2036,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2036,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2036,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2036,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2036,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2036,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2036,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2036,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2036,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2036,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2036,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2036,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2036,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2036,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2036,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2036,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2036,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2036,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2036,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2036,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2036,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2036,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2036,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2036,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2036,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2036,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2036,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2036,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2036=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2036:$AU2036<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2047","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2047:$AI2047))/SUM(IF($R2047:$AI2047<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2047:$AI2047))/SUM(IF($R2047:$AI2047<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2047:$AN2047))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2047:$AN2047))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2047:$AU2047))/SUM(IF($AP2047:$AU2047<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2047:$AU2047))/SUM(IF($AP2047:$AU2047<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2047:$AU2047))/SUM(IF($R2047:$AU2047<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2047:$AU2047))/SUM(IF($R2047:$AU2047<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2047:$AU2047))/SUM(IF($AK2047:$AU2047<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2047:$AU2047))/SUM(IF($AK2047:$AU2047<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2047=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2047>0,'Calculator Table'!BT2047>0),\"Z-ERROR\",IF('Calculator Table'!BU2047>0,\"X\",IF('Calculator Table'!BV2047>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2047,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2047,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2047,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2047,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2047,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2047,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2047,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2047,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2047,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2047,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2047,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2047,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2047,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2047,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2047,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2047,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2047,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2047,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2047,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2047,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2047,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2047,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2047,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2047,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2047,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2047,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2047,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2047,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2047,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2047,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2047,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2047,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2047,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2047,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2047,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2047,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2047,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2047,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2047,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2047,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2047,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2047,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2047,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2047,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2047=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2047:$AU2047<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2053","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2053:$AI2053))/SUM(IF($R2053:$AI2053<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2053:$AI2053))/SUM(IF($R2053:$AI2053<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2053:$AN2053))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2053:$AN2053))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2053:$AU2053))/SUM(IF($AP2053:$AU2053<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2053:$AU2053))/SUM(IF($AP2053:$AU2053<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2053:$AU2053))/SUM(IF($R2053:$AU2053<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2053:$AU2053))/SUM(IF($R2053:$AU2053<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2053:$AU2053))/SUM(IF($AK2053:$AU2053<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2053:$AU2053))/SUM(IF($AK2053:$AU2053<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2053=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2053>0,'Calculator Table'!BT2053>0),\"Z-ERROR\",IF('Calculator Table'!BU2053>0,\"X\",IF('Calculator Table'!BV2053>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2053,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2053,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2053,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2053,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2053,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2053,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2053,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2053,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2053,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2053,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2053,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2053,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2053,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2053,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2053,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2053,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2053,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2053,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2053,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2053,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2053,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2053,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2053,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2053,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2053,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2053,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2053,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2053,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2053,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2053,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2053,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2053,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2053,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2053,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2053,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2053,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2053,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2053,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2053,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2053,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2053,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2053,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2053,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2053,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2053=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2053:$AU2053<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2056","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2056:$AI2056))/SUM(IF($R2056:$AI2056<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2056:$AI2056))/SUM(IF($R2056:$AI2056<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2056:$AN2056))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2056:$AN2056))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2056:$AU2056))/SUM(IF($AP2056:$AU2056<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2056:$AU2056))/SUM(IF($AP2056:$AU2056<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2056:$AU2056))/SUM(IF($R2056:$AU2056<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2056:$AU2056))/SUM(IF($R2056:$AU2056<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2056:$AU2056))/SUM(IF($AK2056:$AU2056<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2056:$AU2056))/SUM(IF($AK2056:$AU2056<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2056=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2056>0,'Calculator Table'!BT2056>0),\"Z-ERROR\",IF('Calculator Table'!BU2056>0,\"X\",IF('Calculator Table'!BV2056>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2056,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2056,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2056,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2056,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2056,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2056,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2056,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2056,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2056,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2056,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2056,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2056,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2056,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2056,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2056,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2056,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2056,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2056,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2056,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2056,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2056,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2056,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2056,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2056,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2056,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2056,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2056,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2056,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2056,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2056,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2056,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2056,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2056,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2056,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2056,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2056,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2056,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2056,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2056,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2056,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2056,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2056,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2056,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2056,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2056=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2056:$AU2056<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2067","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2067:$AI2067))/SUM(IF($R2067:$AI2067<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2067:$AI2067))/SUM(IF($R2067:$AI2067<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2067:$AN2067))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2067:$AN2067))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2067:$AU2067))/SUM(IF($AP2067:$AU2067<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2067:$AU2067))/SUM(IF($AP2067:$AU2067<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2067:$AU2067))/SUM(IF($R2067:$AU2067<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2067:$AU2067))/SUM(IF($R2067:$AU2067<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2067:$AU2067))/SUM(IF($AK2067:$AU2067<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2067:$AU2067))/SUM(IF($AK2067:$AU2067<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2067=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2067>0,'Calculator Table'!BT2067>0),\"Z-ERROR\",IF('Calculator Table'!BU2067>0,\"X\",IF('Calculator Table'!BV2067>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2067,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2067,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2067,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2067,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2067,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2067,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2067,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2067,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2067,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2067,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2067,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2067,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2067,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2067,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2067,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2067,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2067,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2067,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2067,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2067,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2067,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2067,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2067,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2067,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2067,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2067,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2067,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2067,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2067,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2067,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2067,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2067,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2067,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2067,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2067,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2067,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2067,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2067,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2067,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2067,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2067,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2067,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2067,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2067,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2067=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2067:$AU2067<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2073","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2073:$AI2073))/SUM(IF($R2073:$AI2073<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2073:$AI2073))/SUM(IF($R2073:$AI2073<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2073:$AN2073))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2073:$AN2073))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2073:$AU2073))/SUM(IF($AP2073:$AU2073<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2073:$AU2073))/SUM(IF($AP2073:$AU2073<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2073:$AU2073))/SUM(IF($R2073:$AU2073<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2073:$AU2073))/SUM(IF($R2073:$AU2073<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2073:$AU2073))/SUM(IF($AK2073:$AU2073<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2073:$AU2073))/SUM(IF($AK2073:$AU2073<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2073=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2073>0,'Calculator Table'!BT2073>0),\"Z-ERROR\",IF('Calculator Table'!BU2073>0,\"X\",IF('Calculator Table'!BV2073>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2073,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2073,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2073,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2073,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2073,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2073,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2073,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2073,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2073,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2073,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2073,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2073,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2073,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2073,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2073,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2073,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2073,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2073,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2073,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2073,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2073,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2073,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2073,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2073,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2073,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2073,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2073,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2073,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2073,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2073,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2073,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2073,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2073,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2073,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2073,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2073,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2073,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2073,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2073,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2073,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2073,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2073,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2073,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2073,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2073=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2073:$AU2073<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2082","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2082:$AI2082))/SUM(IF($R2082:$AI2082<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2082:$AI2082))/SUM(IF($R2082:$AI2082<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2082:$AN2082))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2082:$AN2082))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2082:$AU2082))/SUM(IF($AP2082:$AU2082<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2082:$AU2082))/SUM(IF($AP2082:$AU2082<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2082:$AU2082))/SUM(IF($R2082:$AU2082<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2082:$AU2082))/SUM(IF($R2082:$AU2082<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2082:$AU2082))/SUM(IF($AK2082:$AU2082<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2082:$AU2082))/SUM(IF($AK2082:$AU2082<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2082=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2082>0,'Calculator Table'!BT2082>0),\"Z-ERROR\",IF('Calculator Table'!BU2082>0,\"X\",IF('Calculator Table'!BV2082>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2082,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2082,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2082,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2082,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2082,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2082,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2082,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2082,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2082,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2082,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2082,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2082,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2082,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2082,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2082,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2082,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2082,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2082,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2082,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2082,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2082,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2082,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2082,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2082,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2082,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2082,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2082,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2082,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2082,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2082,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2082,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2082,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2082,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2082,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2082,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2082,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2082,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2082,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2082,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2082,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2082,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2082,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2082,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2082,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2082=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2082:$AU2082<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2090","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2090:$AI2090))/SUM(IF($R2090:$AI2090<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2090:$AI2090))/SUM(IF($R2090:$AI2090<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2090:$AN2090))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2090:$AN2090))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2090:$AU2090))/SUM(IF($AP2090:$AU2090<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2090:$AU2090))/SUM(IF($AP2090:$AU2090<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2090:$AU2090))/SUM(IF($R2090:$AU2090<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2090:$AU2090))/SUM(IF($R2090:$AU2090<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$f":"(IF(NOT(ISERROR(B2090)),B2090*B$2)+IF(NOT(ISERROR(F2090)),F2090*F$2))/(IF(NOT(ISERROR(B2090)),B$2)+IF(NOT(ISERROR(F2090)),F$2))+D2090","v":{"$error":"#DIV/0!"}},{"$f":"(IF(NOT(ISERROR(C2090)),C2090*C$2)+IF(NOT(ISERROR(G2090)),G2090*G$2))/(IF(NOT(ISERROR(C2090)),C$2)+IF(NOT(ISERROR(G2090)),G$2))+E2090","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2090:$AU2090))/SUM(IF($AK2090:$AU2090<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2090:$AU2090))/SUM(IF($AK2090:$AU2090<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},{"$f":"IF(AND(ISERROR(B2090),ISERROR(L2090)),B2090,AVERAGE(IF(NOT(ISERROR(B2090)),B2090),IF(NOT(ISERROR(L2090)),L2090)))","v":0},{"$f":"IF(AND(ISERROR(C2090),ISERROR(M2090)),C2090,AVERAGE(IF(NOT(ISERROR(C2090)),C2090),IF(NOT(ISERROR(M2090)),M2090)))","v":0},{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2090=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2090>0,'Calculator Table'!BT2090>0),\"Z-ERROR\",IF('Calculator Table'!BU2090>0,\"X\",IF('Calculator Table'!BV2090>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2090,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2090,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2090,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2090,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2090,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2090,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2090,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2090,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2090,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2090,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2090,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2090,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2090,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2090,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2090,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2090,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2090,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2090,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2090,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2090,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2090,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2090,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2090,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2090,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(Z2090),ISNUMBER(AB2090)),MIN(Z2090,AB2090),\"--\")","v":"--"},{"$f":"IF(OR(ISNUMBER(AA2090),ISNUMBER(AC2090)),MIN(AA2090,AC2090),\"--\")","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2090,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2090,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2090,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2090,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(X2090),ISNUMBER(V2090)),\"--\",AF2090)","v":"--"},{"$f":"IF(OR(ISNUMBER(Y2090),ISNUMBER(W2090)),\"--\",AG2090)","v":"--"},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2090,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2090,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2090,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2090,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2090,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2090,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2090,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2090,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2090,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2090,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2090,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2090,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2090,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2090,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2090,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2090,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISNUMBER(AP2090),\"--\",AR2090)","v":"--"},{"$f":"IF(ISNUMBER(AQ2090),\"--\",AS2090)","v":"--"},{"$f":"IF(Q2090=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2090:$AU2090<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2099","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2099:$AI2099))/SUM(IF($R2099:$AI2099<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2099:$AI2099))/SUM(IF($R2099:$AI2099<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2099:$AN2099))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2099:$AN2099))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2099:$AU2099))/SUM(IF($AP2099:$AU2099<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2099:$AU2099))/SUM(IF($AP2099:$AU2099<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2099:$AU2099))/SUM(IF($R2099:$AU2099<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2099:$AU2099))/SUM(IF($R2099:$AU2099<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2099:$AU2099))/SUM(IF($AK2099:$AU2099<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2099:$AU2099))/SUM(IF($AK2099:$AU2099<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2099=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2099>0,'Calculator Table'!BT2099>0),\"Z-ERROR\",IF('Calculator Table'!BU2099>0,\"X\",IF('Calculator Table'!BV2099>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2099,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2099,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2099,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2099,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2099,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2099,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2099,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2099,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2099,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2099,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2099,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2099,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2099,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2099,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2099,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2099,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2099,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2099,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2099,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2099,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2099,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2099,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2099,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2099,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2099,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2099,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2099,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2099,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2099,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2099,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2099,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2099,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2099,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2099,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2099,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2099,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2099,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2099,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2099,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2099,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2099,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2099,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2099,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2099,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2099=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2099:$AU2099<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2104","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2104:$AI2104))/SUM(IF($R2104:$AI2104<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2104:$AI2104))/SUM(IF($R2104:$AI2104<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2104:$AN2104))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2104:$AN2104))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2104:$AU2104))/SUM(IF($AP2104:$AU2104<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2104:$AU2104))/SUM(IF($AP2104:$AU2104<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2104:$AU2104))/SUM(IF($R2104:$AU2104<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2104:$AU2104))/SUM(IF($R2104:$AU2104<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2104:$AU2104))/SUM(IF($AK2104:$AU2104<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2104:$AU2104))/SUM(IF($AK2104:$AU2104<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2104=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2104>0,'Calculator Table'!BT2104>0),\"Z-ERROR\",IF('Calculator Table'!BU2104>0,\"X\",IF('Calculator Table'!BV2104>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2104,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2104,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2104,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2104,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2104,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2104,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2104,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2104,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2104,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2104,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2104,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2104,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2104,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2104,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2104,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2104,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2104,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2104,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2104,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2104,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2104,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2104,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2104,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2104,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2104,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2104,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2104,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2104,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2104,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2104,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2104,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2104,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2104,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2104,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2104,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2104,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2104,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2104,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2104,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2104,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2104,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2104,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2104,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2104,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2104=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2104:$AU2104<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2116","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2116:$AI2116))/SUM(IF($R2116:$AI2116<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2116:$AI2116))/SUM(IF($R2116:$AI2116<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2116:$AN2116))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2116:$AN2116))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2116:$AU2116))/SUM(IF($AP2116:$AU2116<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2116:$AU2116))/SUM(IF($AP2116:$AU2116<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2116:$AU2116))/SUM(IF($R2116:$AU2116<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2116:$AU2116))/SUM(IF($R2116:$AU2116<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2116:$AU2116))/SUM(IF($AK2116:$AU2116<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2116:$AU2116))/SUM(IF($AK2116:$AU2116<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2116=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2116>0,'Calculator Table'!BT2116>0),\"Z-ERROR\",IF('Calculator Table'!BU2116>0,\"X\",IF('Calculator Table'!BV2116>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2116,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2116,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2116,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2116,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2116,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2116,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2116,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2116,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2116,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2116,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2116,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2116,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2116,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2116,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2116,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2116,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2116,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2116,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2116,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2116,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2116,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2116,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2116,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2116,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2116,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2116,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2116,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2116,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2116,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2116,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2116,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2116,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2116,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2116,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2116,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2116,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2116,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2116,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2116,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2116,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2116,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2116,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2116,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2116,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2116=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2116:$AU2116<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2118","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2118:$AI2118))/SUM(IF($R2118:$AI2118<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2118:$AI2118))/SUM(IF($R2118:$AI2118<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2118:$AN2118))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2118:$AN2118))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2118:$AU2118))/SUM(IF($AP2118:$AU2118<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2118:$AU2118))/SUM(IF($AP2118:$AU2118<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2118:$AU2118))/SUM(IF($R2118:$AU2118<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2118:$AU2118))/SUM(IF($R2118:$AU2118<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2118:$AU2118))/SUM(IF($AK2118:$AU2118<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2118:$AU2118))/SUM(IF($AK2118:$AU2118<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2118=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2118>0,'Calculator Table'!BT2118>0),\"Z-ERROR\",IF('Calculator Table'!BU2118>0,\"X\",IF('Calculator Table'!BV2118>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2118,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2118,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2118,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2118,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2118,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2118,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2118,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2118,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2118,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2118,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2118,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2118,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2118,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2118,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2118,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2118,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2118,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2118,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2118,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2118,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2118,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2118,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2118,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2118,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2118,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2118,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2118,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2118,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2118,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2118,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2118,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2118,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2118,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2118,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2118,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2118,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2118,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2118,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2118,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2118,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2118,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2118,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2118,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2118,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2118=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2118:$AU2118<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2125","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2125:$AI2125))/SUM(IF($R2125:$AI2125<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2125:$AI2125))/SUM(IF($R2125:$AI2125<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2125:$AN2125))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2125:$AN2125))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2125:$AU2125))/SUM(IF($AP2125:$AU2125<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2125:$AU2125))/SUM(IF($AP2125:$AU2125<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2125:$AU2125))/SUM(IF($R2125:$AU2125<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2125:$AU2125))/SUM(IF($R2125:$AU2125<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2125:$AU2125))/SUM(IF($AK2125:$AU2125<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2125:$AU2125))/SUM(IF($AK2125:$AU2125<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2125=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2125>0,'Calculator Table'!BT2125>0),\"Z-ERROR\",IF('Calculator Table'!BU2125>0,\"X\",IF('Calculator Table'!BV2125>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2125,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2125,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2125,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2125,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2125,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2125,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2125,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2125,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2125,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2125,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2125,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2125,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2125,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2125,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2125,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2125,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2125,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2125,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2125,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2125,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2125,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2125,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2125,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2125,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2125,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2125,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2125,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2125,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2125,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2125,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2125,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2125,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2125,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2125,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2125,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2125,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2125,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2125,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2125,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2125,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2125,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2125,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2125,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2125,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2125=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2125:$AU2125<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2134","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2134:$AI2134))/SUM(IF($R2134:$AI2134<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2134:$AI2134))/SUM(IF($R2134:$AI2134<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2134:$AN2134))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2134:$AN2134))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2134:$AU2134))/SUM(IF($AP2134:$AU2134<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2134:$AU2134))/SUM(IF($AP2134:$AU2134<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2134:$AU2134))/SUM(IF($R2134:$AU2134<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2134:$AU2134))/SUM(IF($R2134:$AU2134<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2134:$AU2134))/SUM(IF($AK2134:$AU2134<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2134:$AU2134))/SUM(IF($AK2134:$AU2134<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2134=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2134>0,'Calculator Table'!BT2134>0),\"Z-ERROR\",IF('Calculator Table'!BU2134>0,\"X\",IF('Calculator Table'!BV2134>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2134,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2134,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2134,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2134,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2134,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2134,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2134,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2134,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2134,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2134,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2134,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2134,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2134,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2134,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2134,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2134,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2134,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2134,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2134,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2134,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2134,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2134,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2134,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2134,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2134,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2134,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2134,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2134,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2134,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2134,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2134,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2134,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2134,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2134,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2134,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2134,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2134,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2134,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2134,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2134,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2134,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2134,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2134,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2134,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2134=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2134:$AU2134<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2140","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2140:$AI2140))/SUM(IF($R2140:$AI2140<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2140:$AI2140))/SUM(IF($R2140:$AI2140<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2140:$AN2140))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2140:$AN2140))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2140:$AU2140))/SUM(IF($AP2140:$AU2140<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2140:$AU2140))/SUM(IF($AP2140:$AU2140<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2140:$AU2140))/SUM(IF($R2140:$AU2140<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2140:$AU2140))/SUM(IF($R2140:$AU2140<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2140:$AU2140))/SUM(IF($AK2140:$AU2140<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2140:$AU2140))/SUM(IF($AK2140:$AU2140<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2140=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2140>0,'Calculator Table'!BT2140>0),\"Z-ERROR\",IF('Calculator Table'!BU2140>0,\"X\",IF('Calculator Table'!BV2140>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2140,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2140,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2140,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2140,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2140,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2140,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2140,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2140,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2140,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2140,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2140,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2140,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2140,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2140,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2140,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2140,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2140,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2140,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2140,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2140,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2140,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2140,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2140,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2140,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2140,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2140,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2140,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2140,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2140,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2140,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2140,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2140,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2140,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2140,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2140,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2140,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2140,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2140,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2140,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2140,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2140,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2140,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2140,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2140,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2140=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2140:$AU2140<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2141","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2141:$AI2141))/SUM(IF($R2141:$AI2141<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2141:$AI2141))/SUM(IF($R2141:$AI2141<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2141:$AN2141))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2141:$AN2141))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2141:$AU2141))/SUM(IF($AP2141:$AU2141<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2141:$AU2141))/SUM(IF($AP2141:$AU2141<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2141:$AU2141))/SUM(IF($R2141:$AU2141<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2141:$AU2141))/SUM(IF($R2141:$AU2141<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2141:$AU2141))/SUM(IF($AK2141:$AU2141<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2141:$AU2141))/SUM(IF($AK2141:$AU2141<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2141=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2141>0,'Calculator Table'!BT2141>0),\"Z-ERROR\",IF('Calculator Table'!BU2141>0,\"X\",IF('Calculator Table'!BV2141>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2141,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2141,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2141,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2141,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2141,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2141,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2141,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2141,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2141,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2141,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2141,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2141,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2141,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2141,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2141,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2141,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2141,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2141,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2141,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2141,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2141,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2141,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2141,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2141,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2141,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2141,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2141,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2141,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2141,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2141,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2141,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2141,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2141,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2141,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2141,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2141,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2141,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2141,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2141,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2141,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2141,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2141,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2141,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2141,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2141=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2141:$AU2141<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2142","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2142:$AI2142))/SUM(IF($R2142:$AI2142<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2142:$AI2142))/SUM(IF($R2142:$AI2142<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2142:$AN2142))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2142:$AN2142))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2142:$AU2142))/SUM(IF($AP2142:$AU2142<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2142:$AU2142))/SUM(IF($AP2142:$AU2142<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2142:$AU2142))/SUM(IF($R2142:$AU2142<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2142:$AU2142))/SUM(IF($R2142:$AU2142<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2142:$AU2142))/SUM(IF($AK2142:$AU2142<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2142:$AU2142))/SUM(IF($AK2142:$AU2142<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2142=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2142>0,'Calculator Table'!BT2142>0),\"Z-ERROR\",IF('Calculator Table'!BU2142>0,\"X\",IF('Calculator Table'!BV2142>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2142,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2142,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2142,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2142,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2142,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2142,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2142,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2142,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2142,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2142,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2142,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2142,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2142,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2142,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2142,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2142,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2142,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2142,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2142,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2142,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2142,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2142,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2142,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2142,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2142,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2142,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2142,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2142,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2142,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2142,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2142,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2142,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2142,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2142,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2142,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2142,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2142,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2142,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2142,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2142,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2142,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2142,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2142,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2142,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2142=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2142:$AU2142<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2143","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2143:$AI2143))/SUM(IF($R2143:$AI2143<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2143:$AI2143))/SUM(IF($R2143:$AI2143<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2143:$AN2143))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2143:$AN2143))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2143:$AU2143))/SUM(IF($AP2143:$AU2143<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2143:$AU2143))/SUM(IF($AP2143:$AU2143<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2143:$AU2143))/SUM(IF($R2143:$AU2143<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2143:$AU2143))/SUM(IF($R2143:$AU2143<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2143:$AU2143))/SUM(IF($AK2143:$AU2143<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2143:$AU2143))/SUM(IF($AK2143:$AU2143<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2143=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2143>0,'Calculator Table'!BT2143>0),\"Z-ERROR\",IF('Calculator Table'!BU2143>0,\"X\",IF('Calculator Table'!BV2143>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2143,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2143,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2143,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2143,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2143,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2143,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2143,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2143,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2143,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2143,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2143,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2143,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2143,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2143,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2143,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2143,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2143,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2143,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2143,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2143,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2143,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2143,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2143,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2143,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2143,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2143,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2143,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2143,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2143,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2143,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2143,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2143,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2143,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2143,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2143,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2143,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2143,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2143,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2143,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2143,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2143,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2143,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2143,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2143,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2143=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2143:$AU2143<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2144","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2144:$AI2144))/SUM(IF($R2144:$AI2144<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2144:$AI2144))/SUM(IF($R2144:$AI2144<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2144:$AN2144))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2144:$AN2144))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2144:$AU2144))/SUM(IF($AP2144:$AU2144<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2144:$AU2144))/SUM(IF($AP2144:$AU2144<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2144:$AU2144))/SUM(IF($R2144:$AU2144<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2144:$AU2144))/SUM(IF($R2144:$AU2144<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2144:$AU2144))/SUM(IF($AK2144:$AU2144<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2144:$AU2144))/SUM(IF($AK2144:$AU2144<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2144=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2144>0,'Calculator Table'!BT2144>0),\"Z-ERROR\",IF('Calculator Table'!BU2144>0,\"X\",IF('Calculator Table'!BV2144>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2144,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2144,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2144,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2144,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2144,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2144,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2144,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2144,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2144,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2144,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2144,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2144,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2144,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2144,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2144,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2144,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2144,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2144,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2144,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2144,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2144,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2144,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2144,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2144,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2144,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2144,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2144,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2144,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2144,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2144,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2144,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2144,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2144,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2144,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2144,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2144,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2144,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2144,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2144,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2144,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2144,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2144,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2144,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2144,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2144=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2144:$AU2144<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2145","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2145:$AI2145))/SUM(IF($R2145:$AI2145<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2145:$AI2145))/SUM(IF($R2145:$AI2145<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2145:$AN2145))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2145:$AN2145))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2145:$AU2145))/SUM(IF($AP2145:$AU2145<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2145:$AU2145))/SUM(IF($AP2145:$AU2145<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2145:$AU2145))/SUM(IF($R2145:$AU2145<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2145:$AU2145))/SUM(IF($R2145:$AU2145<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2145:$AU2145))/SUM(IF($AK2145:$AU2145<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2145:$AU2145))/SUM(IF($AK2145:$AU2145<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2145=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2145>0,'Calculator Table'!BT2145>0),\"Z-ERROR\",IF('Calculator Table'!BU2145>0,\"X\",IF('Calculator Table'!BV2145>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2145,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2145,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2145,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2145,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2145,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2145,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2145,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2145,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2145,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2145,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2145,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2145,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2145,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2145,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2145,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2145,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2145,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2145,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2145,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2145,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2145,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2145,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2145,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2145,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2145,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2145,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2145,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2145,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2145,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2145,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2145,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2145,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2145,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2145,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2145,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2145,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2145,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2145,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2145,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2145,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2145,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2145,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2145,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2145,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2145=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2145:$AU2145<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2146","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2146:$AI2146))/SUM(IF($R2146:$AI2146<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2146:$AI2146))/SUM(IF($R2146:$AI2146<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2146:$AN2146))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2146:$AN2146))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2146:$AU2146))/SUM(IF($AP2146:$AU2146<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2146:$AU2146))/SUM(IF($AP2146:$AU2146<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2146:$AU2146))/SUM(IF($R2146:$AU2146<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2146:$AU2146))/SUM(IF($R2146:$AU2146<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2146:$AU2146))/SUM(IF($AK2146:$AU2146<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2146:$AU2146))/SUM(IF($AK2146:$AU2146<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2146=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2146>0,'Calculator Table'!BT2146>0),\"Z-ERROR\",IF('Calculator Table'!BU2146>0,\"X\",IF('Calculator Table'!BV2146>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2146,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2146,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2146,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2146,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2146,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2146,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2146,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2146,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2146,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2146,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2146,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2146,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2146,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2146,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2146,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2146,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2146,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2146,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2146,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2146,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2146,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2146,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2146,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2146,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2146,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2146,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2146,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2146,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2146,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2146,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2146,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2146,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2146,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2146,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2146,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2146,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2146,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2146,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2146,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2146,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2146,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2146,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2146,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2146,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2146=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2146:$AU2146<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2147","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2147:$AI2147))/SUM(IF($R2147:$AI2147<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2147:$AI2147))/SUM(IF($R2147:$AI2147<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2147:$AN2147))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2147:$AN2147))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2147:$AU2147))/SUM(IF($AP2147:$AU2147<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2147:$AU2147))/SUM(IF($AP2147:$AU2147<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2147:$AU2147))/SUM(IF($R2147:$AU2147<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2147:$AU2147))/SUM(IF($R2147:$AU2147<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2147:$AU2147))/SUM(IF($AK2147:$AU2147<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2147:$AU2147))/SUM(IF($AK2147:$AU2147<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2147=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2147>0,'Calculator Table'!BT2147>0),\"Z-ERROR\",IF('Calculator Table'!BU2147>0,\"X\",IF('Calculator Table'!BV2147>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2147,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2147,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2147,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2147,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2147,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2147,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2147,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2147,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2147,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2147,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2147,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2147,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2147,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2147,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2147,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2147,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2147,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2147,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2147,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2147,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2147,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2147,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2147,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2147,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2147,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2147,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2147,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2147,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2147,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2147,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2147,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2147,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2147,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2147,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2147,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2147,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2147,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2147,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2147,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2147,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2147,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2147,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2147,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2147,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2147=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2147:$AU2147<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2148","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2148:$AI2148))/SUM(IF($R2148:$AI2148<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2148:$AI2148))/SUM(IF($R2148:$AI2148<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2148:$AN2148))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2148:$AN2148))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2148:$AU2148))/SUM(IF($AP2148:$AU2148<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2148:$AU2148))/SUM(IF($AP2148:$AU2148<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2148:$AU2148))/SUM(IF($R2148:$AU2148<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2148:$AU2148))/SUM(IF($R2148:$AU2148<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2148:$AU2148))/SUM(IF($AK2148:$AU2148<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2148:$AU2148))/SUM(IF($AK2148:$AU2148<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2148=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2148>0,'Calculator Table'!BT2148>0),\"Z-ERROR\",IF('Calculator Table'!BU2148>0,\"X\",IF('Calculator Table'!BV2148>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2148,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2148,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2148,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2148,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2148,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2148,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2148,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2148,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2148,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2148,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2148,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2148,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2148,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2148,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2148,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2148,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2148,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2148,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2148,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2148,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2148,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2148,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2148,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2148,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2148,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2148,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2148,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2148,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2148,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2148,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2148,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2148,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2148,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2148,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2148,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2148,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2148,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2148,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2148,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2148,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2148,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2148,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2148,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2148,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2148=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2148:$AU2148<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2149","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2149:$AI2149))/SUM(IF($R2149:$AI2149<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2149:$AI2149))/SUM(IF($R2149:$AI2149<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2149:$AN2149))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2149:$AN2149))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2149:$AU2149))/SUM(IF($AP2149:$AU2149<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2149:$AU2149))/SUM(IF($AP2149:$AU2149<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2149:$AU2149))/SUM(IF($R2149:$AU2149<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2149:$AU2149))/SUM(IF($R2149:$AU2149<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2149:$AU2149))/SUM(IF($AK2149:$AU2149<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2149:$AU2149))/SUM(IF($AK2149:$AU2149<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2149=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2149>0,'Calculator Table'!BT2149>0),\"Z-ERROR\",IF('Calculator Table'!BU2149>0,\"X\",IF('Calculator Table'!BV2149>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2149,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2149,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2149,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2149,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2149,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2149,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2149,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2149,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2149,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2149,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2149,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2149,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2149,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2149,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2149,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2149,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2149,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2149,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2149,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2149,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2149,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2149,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2149,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2149,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2149,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2149,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2149,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2149,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2149,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2149,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2149,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2149,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2149,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2149,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2149,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2149,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2149,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2149,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2149,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2149,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2149,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2149,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2149,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2149,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2149=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2149:$AU2149<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2150","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2150:$AI2150))/SUM(IF($R2150:$AI2150<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2150:$AI2150))/SUM(IF($R2150:$AI2150<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2150:$AN2150))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2150:$AN2150))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2150:$AU2150))/SUM(IF($AP2150:$AU2150<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2150:$AU2150))/SUM(IF($AP2150:$AU2150<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2150:$AU2150))/SUM(IF($R2150:$AU2150<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2150:$AU2150))/SUM(IF($R2150:$AU2150<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2150:$AU2150))/SUM(IF($AK2150:$AU2150<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2150:$AU2150))/SUM(IF($AK2150:$AU2150<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2150=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2150>0,'Calculator Table'!BT2150>0),\"Z-ERROR\",IF('Calculator Table'!BU2150>0,\"X\",IF('Calculator Table'!BV2150>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2150,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2150,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2150,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2150,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2150,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2150,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2150,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2150,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2150,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2150,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2150,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2150,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2150,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2150,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2150,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2150,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2150,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2150,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2150,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2150,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2150,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2150,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2150,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2150,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2150,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2150,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2150,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2150,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2150,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2150,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2150,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2150,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2150,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2150,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2150,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2150,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2150,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2150,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2150,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2150,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2150,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2150,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2150,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2150,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2150=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2150:$AU2150<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2151","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2151:$AI2151))/SUM(IF($R2151:$AI2151<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2151:$AI2151))/SUM(IF($R2151:$AI2151<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2151:$AN2151))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2151:$AN2151))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2151:$AU2151))/SUM(IF($AP2151:$AU2151<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2151:$AU2151))/SUM(IF($AP2151:$AU2151<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2151:$AU2151))/SUM(IF($R2151:$AU2151<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2151:$AU2151))/SUM(IF($R2151:$AU2151<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2151:$AU2151))/SUM(IF($AK2151:$AU2151<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2151:$AU2151))/SUM(IF($AK2151:$AU2151<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2151=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2151>0,'Calculator Table'!BT2151>0),\"Z-ERROR\",IF('Calculator Table'!BU2151>0,\"X\",IF('Calculator Table'!BV2151>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2151,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2151,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2151,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2151,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2151,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2151,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2151,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2151,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2151,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2151,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2151,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2151,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2151,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2151,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2151,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2151,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2151,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2151,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2151,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2151,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2151,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2151,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2151,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2151,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2151,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2151,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2151,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2151,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2151,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2151,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2151,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2151,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2151,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2151,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2151,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2151,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2151,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2151,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2151,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2151,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2151,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2151,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2151,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2151,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2151=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2151:$AU2151<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2152","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2152:$AI2152))/SUM(IF($R2152:$AI2152<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2152:$AI2152))/SUM(IF($R2152:$AI2152<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2152:$AN2152))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2152:$AN2152))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2152:$AU2152))/SUM(IF($AP2152:$AU2152<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2152:$AU2152))/SUM(IF($AP2152:$AU2152<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2152:$AU2152))/SUM(IF($R2152:$AU2152<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2152:$AU2152))/SUM(IF($R2152:$AU2152<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2152:$AU2152))/SUM(IF($AK2152:$AU2152<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2152:$AU2152))/SUM(IF($AK2152:$AU2152<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2152=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2152>0,'Calculator Table'!BT2152>0),\"Z-ERROR\",IF('Calculator Table'!BU2152>0,\"X\",IF('Calculator Table'!BV2152>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2152,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2152,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2152,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2152,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2152,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2152,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2152,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2152,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2152,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2152,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2152,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2152,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2152,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2152,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2152,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2152,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2152,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2152,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2152,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2152,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2152,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2152,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2152,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2152,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2152,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2152,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2152,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2152,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2152,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2152,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2152,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2152,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2152,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2152,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2152,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2152,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2152,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2152,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2152,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2152,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2152,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2152,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2152,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2152,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2152=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2152:$AU2152<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2153","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2153:$AI2153))/SUM(IF($R2153:$AI2153<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2153:$AI2153))/SUM(IF($R2153:$AI2153<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2153:$AN2153))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2153:$AN2153))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2153:$AU2153))/SUM(IF($AP2153:$AU2153<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2153:$AU2153))/SUM(IF($AP2153:$AU2153<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2153:$AU2153))/SUM(IF($R2153:$AU2153<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2153:$AU2153))/SUM(IF($R2153:$AU2153<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2153:$AU2153))/SUM(IF($AK2153:$AU2153<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2153:$AU2153))/SUM(IF($AK2153:$AU2153<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2153=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2153>0,'Calculator Table'!BT2153>0),\"Z-ERROR\",IF('Calculator Table'!BU2153>0,\"X\",IF('Calculator Table'!BV2153>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2153,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2153,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2153,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2153,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2153,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2153,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2153,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2153,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2153,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2153,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2153,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2153,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2153,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2153,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2153,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2153,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2153,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2153,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2153,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2153,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2153,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2153,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2153,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2153,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2153,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2153,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2153,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2153,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2153,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2153,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2153,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2153,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2153,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2153,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2153,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2153,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2153,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2153,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2153,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2153,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2153,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2153,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2153,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2153,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2153=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2153:$AU2153<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2154","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2154:$AI2154))/SUM(IF($R2154:$AI2154<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2154:$AI2154))/SUM(IF($R2154:$AI2154<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2154:$AN2154))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2154:$AN2154))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2154:$AU2154))/SUM(IF($AP2154:$AU2154<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2154:$AU2154))/SUM(IF($AP2154:$AU2154<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2154:$AU2154))/SUM(IF($R2154:$AU2154<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2154:$AU2154))/SUM(IF($R2154:$AU2154<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$f":"(IF(NOT(ISERROR(B2154)),B2154*B$2)+IF(NOT(ISERROR(F2154)),F2154*F$2))/(IF(NOT(ISERROR(B2154)),B$2)+IF(NOT(ISERROR(F2154)),F$2))+D2154","v":{"$error":"#DIV/0!"}},{"$f":"(IF(NOT(ISERROR(C2154)),C2154*C$2)+IF(NOT(ISERROR(G2154)),G2154*G$2))/(IF(NOT(ISERROR(C2154)),C$2)+IF(NOT(ISERROR(G2154)),G$2))+E2154","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2154:$AU2154))/SUM(IF($AK2154:$AU2154<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2154:$AU2154))/SUM(IF($AK2154:$AU2154<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},{"$f":"IF(AND(ISERROR(B2154),ISERROR(L2154)),B2154,AVERAGE(IF(NOT(ISERROR(B2154)),B2154),IF(NOT(ISERROR(L2154)),L2154)))","v":0},{"$f":"IF(AND(ISERROR(C2154),ISERROR(M2154)),C2154,AVERAGE(IF(NOT(ISERROR(C2154)),C2154),IF(NOT(ISERROR(M2154)),M2154)))","v":0},{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2154=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2154>0,'Calculator Table'!BT2154>0),\"Z-ERROR\",IF('Calculator Table'!BU2154>0,\"X\",IF('Calculator Table'!BV2154>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2154,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2154,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2154,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2154,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2154,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2154,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2154,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2154,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2154,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2154,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2154,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2154,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2154,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2154,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2154,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2154,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2154,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2154,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2154,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2154,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2154,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2154,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2154,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2154,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(Z2154),ISNUMBER(AB2154)),MIN(Z2154,AB2154),\"--\")","v":"--"},{"$f":"IF(OR(ISNUMBER(AA2154),ISNUMBER(AC2154)),MIN(AA2154,AC2154),\"--\")","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2154,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2154,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2154,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2154,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(OR(ISNUMBER(X2154),ISNUMBER(V2154)),\"--\",AF2154)","v":"--"},{"$f":"IF(OR(ISNUMBER(Y2154),ISNUMBER(W2154)),\"--\",AG2154)","v":"--"},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2154,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2154,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2154,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2154,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2154,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2154,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2154,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2154,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2154,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2154,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2154,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2154,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2154,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2154,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2154,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2154,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISNUMBER(AP2154),\"--\",AR2154)","v":"--"},{"$f":"IF(ISNUMBER(AQ2154),\"--\",AS2154)","v":"--"},{"$f":"IF(Q2154=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2154:$AU2154<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2155","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2155:$AI2155))/SUM(IF($R2155:$AI2155<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2155:$AI2155))/SUM(IF($R2155:$AI2155<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2155:$AN2155))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2155:$AN2155))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2155:$AU2155))/SUM(IF($AP2155:$AU2155<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2155:$AU2155))/SUM(IF($AP2155:$AU2155<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2155:$AU2155))/SUM(IF($R2155:$AU2155<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2155:$AU2155))/SUM(IF($R2155:$AU2155<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2155:$AU2155))/SUM(IF($AK2155:$AU2155<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2155:$AU2155))/SUM(IF($AK2155:$AU2155<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2155=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2155>0,'Calculator Table'!BT2155>0),\"Z-ERROR\",IF('Calculator Table'!BU2155>0,\"X\",IF('Calculator Table'!BV2155>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2155,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2155,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2155,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2155,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2155,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2155,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2155,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2155,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2155,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2155,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2155,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2155,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2155,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2155,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2155,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2155,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2155,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2155,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2155,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2155,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2155,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2155,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2155,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2155,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2155,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2155,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2155,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2155,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2155,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2155,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2155,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2155,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2155,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2155,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2155,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2155,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2155,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2155,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2155,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2155,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2155,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2155,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2155,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2155,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2155=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2155:$AU2155<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2156","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2156:$AI2156))/SUM(IF($R2156:$AI2156<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2156:$AI2156))/SUM(IF($R2156:$AI2156<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2156:$AN2156))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2156:$AN2156))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2156:$AU2156))/SUM(IF($AP2156:$AU2156<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2156:$AU2156))/SUM(IF($AP2156:$AU2156<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2156:$AU2156))/SUM(IF($R2156:$AU2156<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2156:$AU2156))/SUM(IF($R2156:$AU2156<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2156:$AU2156))/SUM(IF($AK2156:$AU2156<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2156:$AU2156))/SUM(IF($AK2156:$AU2156<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2156=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2156>0,'Calculator Table'!BT2156>0),\"Z-ERROR\",IF('Calculator Table'!BU2156>0,\"X\",IF('Calculator Table'!BV2156>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2156,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2156,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2156,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2156,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2156,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2156,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2156,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2156,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2156,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2156,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2156,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2156,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2156,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2156,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2156,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2156,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2156,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2156,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2156,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2156,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2156,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2156,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2156,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2156,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2156,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2156,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2156,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2156,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2156,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2156,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2156,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2156,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2156,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2156,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2156,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2156,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2156,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2156,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2156,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2156,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2156,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2156,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2156,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2156,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2156=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2156:$AU2156<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2157","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2157:$AI2157))/SUM(IF($R2157:$AI2157<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2157:$AI2157))/SUM(IF($R2157:$AI2157<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2157:$AN2157))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2157:$AN2157))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2157:$AU2157))/SUM(IF($AP2157:$AU2157<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2157:$AU2157))/SUM(IF($AP2157:$AU2157<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2157:$AU2157))/SUM(IF($R2157:$AU2157<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2157:$AU2157))/SUM(IF($R2157:$AU2157<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2157:$AU2157))/SUM(IF($AK2157:$AU2157<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2157:$AU2157))/SUM(IF($AK2157:$AU2157<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2157=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2157>0,'Calculator Table'!BT2157>0),\"Z-ERROR\",IF('Calculator Table'!BU2157>0,\"X\",IF('Calculator Table'!BV2157>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2157,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2157,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2157,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2157,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2157,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2157,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2157,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2157,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2157,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2157,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2157,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2157,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2157,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2157,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2157,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2157,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2157,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2157,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2157,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2157,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2157,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2157,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2157,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2157,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2157,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2157,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2157,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2157,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2157,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2157,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2157,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2157,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2157,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2157,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2157,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2157,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2157,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2157,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2157,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2157,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2157,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2157,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2157,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2157,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2157=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2157:$AU2157<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2158","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2158:$AI2158))/SUM(IF($R2158:$AI2158<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2158:$AI2158))/SUM(IF($R2158:$AI2158<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2158:$AN2158))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2158:$AN2158))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2158:$AU2158))/SUM(IF($AP2158:$AU2158<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2158:$AU2158))/SUM(IF($AP2158:$AU2158<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2158:$AU2158))/SUM(IF($R2158:$AU2158<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2158:$AU2158))/SUM(IF($R2158:$AU2158<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2158:$AU2158))/SUM(IF($AK2158:$AU2158<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2158:$AU2158))/SUM(IF($AK2158:$AU2158<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2158=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2158>0,'Calculator Table'!BT2158>0),\"Z-ERROR\",IF('Calculator Table'!BU2158>0,\"X\",IF('Calculator Table'!BV2158>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2158,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2158,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2158,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2158,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2158,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2158,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2158,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2158,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2158,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2158,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2158,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2158,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2158,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2158,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2158,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2158,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2158,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2158,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2158,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2158,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2158,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2158,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2158,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2158,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2158,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2158,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2158,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2158,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2158,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2158,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2158,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2158,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2158,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2158,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2158,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2158,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2158,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2158,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2158,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2158,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2158,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2158,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2158,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2158,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2158=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2158:$AU2158<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2159","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2159:$AI2159))/SUM(IF($R2159:$AI2159<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2159:$AI2159))/SUM(IF($R2159:$AI2159<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2159:$AN2159))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2159:$AN2159))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2159:$AU2159))/SUM(IF($AP2159:$AU2159<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2159:$AU2159))/SUM(IF($AP2159:$AU2159<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2159:$AU2159))/SUM(IF($R2159:$AU2159<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2159:$AU2159))/SUM(IF($R2159:$AU2159<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2159:$AU2159))/SUM(IF($AK2159:$AU2159<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2159:$AU2159))/SUM(IF($AK2159:$AU2159<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2159=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2159>0,'Calculator Table'!BT2159>0),\"Z-ERROR\",IF('Calculator Table'!BU2159>0,\"X\",IF('Calculator Table'!BV2159>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2159,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2159,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2159,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2159,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2159,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2159,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2159,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2159,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2159,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2159,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2159,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2159,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2159,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2159,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2159,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2159,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2159,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2159,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2159,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2159,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2159,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2159,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2159,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2159,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2159,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2159,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2159,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2159,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2159,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2159,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2159,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2159,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2159,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2159,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2159,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2159,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2159,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2159,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2159,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2159,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2159,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2159,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2159,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2159,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2159=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2159:$AU2159<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2160","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2160:$AI2160))/SUM(IF($R2160:$AI2160<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2160:$AI2160))/SUM(IF($R2160:$AI2160<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2160:$AN2160))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2160:$AN2160))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2160:$AU2160))/SUM(IF($AP2160:$AU2160<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2160:$AU2160))/SUM(IF($AP2160:$AU2160<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2160:$AU2160))/SUM(IF($R2160:$AU2160<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2160:$AU2160))/SUM(IF($R2160:$AU2160<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2160:$AU2160))/SUM(IF($AK2160:$AU2160<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2160:$AU2160))/SUM(IF($AK2160:$AU2160<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2160=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2160>0,'Calculator Table'!BT2160>0),\"Z-ERROR\",IF('Calculator Table'!BU2160>0,\"X\",IF('Calculator Table'!BV2160>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2160,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2160,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2160,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2160,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2160,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2160,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2160,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2160,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2160,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2160,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2160,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2160,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2160,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2160,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2160,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2160,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2160,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2160,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2160,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2160,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2160,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2160,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2160,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2160,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2160,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2160,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2160,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2160,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2160,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2160,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2160,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2160,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2160,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2160,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2160,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2160,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2160,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2160,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2160,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2160,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2160,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2160,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2160,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2160,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2160=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2160:$AU2160<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2161","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2161:$AI2161))/SUM(IF($R2161:$AI2161<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2161:$AI2161))/SUM(IF($R2161:$AI2161<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2161:$AN2161))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2161:$AN2161))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2161:$AU2161))/SUM(IF($AP2161:$AU2161<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2161:$AU2161))/SUM(IF($AP2161:$AU2161<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2161:$AU2161))/SUM(IF($R2161:$AU2161<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2161:$AU2161))/SUM(IF($R2161:$AU2161<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2161:$AU2161))/SUM(IF($AK2161:$AU2161<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2161:$AU2161))/SUM(IF($AK2161:$AU2161<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2161=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2161>0,'Calculator Table'!BT2161>0),\"Z-ERROR\",IF('Calculator Table'!BU2161>0,\"X\",IF('Calculator Table'!BV2161>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2161,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2161,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2161,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2161,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2161,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2161,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2161,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2161,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2161,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2161,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2161,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2161,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2161,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2161,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2161,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2161,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2161,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2161,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2161,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2161,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2161,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2161,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2161,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2161,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2161,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2161,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2161,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2161,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2161,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2161,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2161,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2161,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2161,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2161,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2161,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2161,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2161,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2161,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2161,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2161,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2161,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2161,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2161,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2161,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2161=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2161:$AU2161<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2162","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2162:$AI2162))/SUM(IF($R2162:$AI2162<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2162:$AI2162))/SUM(IF($R2162:$AI2162<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2162:$AN2162))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2162:$AN2162))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2162:$AU2162))/SUM(IF($AP2162:$AU2162<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2162:$AU2162))/SUM(IF($AP2162:$AU2162<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2162:$AU2162))/SUM(IF($R2162:$AU2162<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2162:$AU2162))/SUM(IF($R2162:$AU2162<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2162:$AU2162))/SUM(IF($AK2162:$AU2162<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2162:$AU2162))/SUM(IF($AK2162:$AU2162<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2162=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2162>0,'Calculator Table'!BT2162>0),\"Z-ERROR\",IF('Calculator Table'!BU2162>0,\"X\",IF('Calculator Table'!BV2162>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2162,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2162,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2162,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2162,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2162,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2162,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2162,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2162,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2162,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2162,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2162,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2162,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2162,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2162,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2162,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2162,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2162,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2162,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2162,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2162,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2162,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2162,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2162,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2162,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2162,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2162,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2162,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2162,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2162,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2162,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2162,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2162,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2162,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2162,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2162,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2162,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2162,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2162,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2162,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2162,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2162,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2162,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2162,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2162,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2162=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2162:$AU2162<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2163","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2163:$AI2163))/SUM(IF($R2163:$AI2163<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2163:$AI2163))/SUM(IF($R2163:$AI2163<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2163:$AN2163))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2163:$AN2163))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2163:$AU2163))/SUM(IF($AP2163:$AU2163<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2163:$AU2163))/SUM(IF($AP2163:$AU2163<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2163:$AU2163))/SUM(IF($R2163:$AU2163<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2163:$AU2163))/SUM(IF($R2163:$AU2163<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2163:$AU2163))/SUM(IF($AK2163:$AU2163<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2163:$AU2163))/SUM(IF($AK2163:$AU2163<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2163=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2163>0,'Calculator Table'!BT2163>0),\"Z-ERROR\",IF('Calculator Table'!BU2163>0,\"X\",IF('Calculator Table'!BV2163>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2163,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2163,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2163,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2163,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2163,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2163,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2163,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2163,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2163,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2163,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2163,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2163,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2163,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2163,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2163,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2163,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2163,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2163,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2163,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2163,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2163,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2163,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2163,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2163,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2163,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2163,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2163,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2163,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2163,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2163,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2163,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2163,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2163,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2163,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2163,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2163,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2163,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2163,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2163,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2163,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2163,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2163,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2163,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2163,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2163=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2163:$AU2163<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2164","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2164:$AI2164))/SUM(IF($R2164:$AI2164<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2164:$AI2164))/SUM(IF($R2164:$AI2164<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2164:$AN2164))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2164:$AN2164))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2164:$AU2164))/SUM(IF($AP2164:$AU2164<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2164:$AU2164))/SUM(IF($AP2164:$AU2164<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2164:$AU2164))/SUM(IF($R2164:$AU2164<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2164:$AU2164))/SUM(IF($R2164:$AU2164<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2164:$AU2164))/SUM(IF($AK2164:$AU2164<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2164:$AU2164))/SUM(IF($AK2164:$AU2164<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2164=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2164>0,'Calculator Table'!BT2164>0),\"Z-ERROR\",IF('Calculator Table'!BU2164>0,\"X\",IF('Calculator Table'!BV2164>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2164,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2164,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2164,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2164,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2164,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2164,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2164,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2164,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2164,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2164,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2164,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2164,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2164,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2164,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2164,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2164,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2164,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2164,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2164,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2164,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2164,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2164,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2164,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2164,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2164,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2164,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2164,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2164,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2164,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2164,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2164,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2164,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2164,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2164,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2164,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2164,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2164,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2164,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2164,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2164,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2164,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2164,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2164,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2164,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2164=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2164:$AU2164<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2165","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2165:$AI2165))/SUM(IF($R2165:$AI2165<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2165:$AI2165))/SUM(IF($R2165:$AI2165<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2165:$AN2165))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2165:$AN2165))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2165:$AU2165))/SUM(IF($AP2165:$AU2165<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2165:$AU2165))/SUM(IF($AP2165:$AU2165<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2165:$AU2165))/SUM(IF($R2165:$AU2165<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2165:$AU2165))/SUM(IF($R2165:$AU2165<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2165:$AU2165))/SUM(IF($AK2165:$AU2165<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2165:$AU2165))/SUM(IF($AK2165:$AU2165<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2165=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2165>0,'Calculator Table'!BT2165>0),\"Z-ERROR\",IF('Calculator Table'!BU2165>0,\"X\",IF('Calculator Table'!BV2165>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2165,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2165,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2165,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2165,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2165,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2165,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2165,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2165,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2165,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2165,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2165,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2165,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2165,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2165,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2165,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2165,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2165,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2165,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2165,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2165,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2165,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2165,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2165,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2165,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2165,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2165,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2165,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2165,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2165,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2165,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2165,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2165,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2165,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2165,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2165,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2165,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2165,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2165,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2165,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2165,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2165,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2165,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2165,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2165,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2165=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2165:$AU2165<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2166","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2166:$AI2166))/SUM(IF($R2166:$AI2166<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2166:$AI2166))/SUM(IF($R2166:$AI2166<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2166:$AN2166))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2166:$AN2166))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2166:$AU2166))/SUM(IF($AP2166:$AU2166<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2166:$AU2166))/SUM(IF($AP2166:$AU2166<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2166:$AU2166))/SUM(IF($R2166:$AU2166<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2166:$AU2166))/SUM(IF($R2166:$AU2166<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2166:$AU2166))/SUM(IF($AK2166:$AU2166<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2166:$AU2166))/SUM(IF($AK2166:$AU2166<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2166=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2166>0,'Calculator Table'!BT2166>0),\"Z-ERROR\",IF('Calculator Table'!BU2166>0,\"X\",IF('Calculator Table'!BV2166>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2166,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2166,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2166,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2166,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2166,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2166,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2166,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2166,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2166,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2166,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2166,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2166,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2166,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2166,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2166,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2166,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2166,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2166,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2166,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2166,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2166,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2166,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2166,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2166,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2166,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2166,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2166,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2166,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2166,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2166,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2166,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2166,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2166,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2166,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2166,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2166,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2166,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2166,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2166,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2166,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2166,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2166,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2166,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2166,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2166=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2166:$AU2166<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2167","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2167:$AI2167))/SUM(IF($R2167:$AI2167<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2167:$AI2167))/SUM(IF($R2167:$AI2167<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2167:$AN2167))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2167:$AN2167))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2167:$AU2167))/SUM(IF($AP2167:$AU2167<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2167:$AU2167))/SUM(IF($AP2167:$AU2167<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2167:$AU2167))/SUM(IF($R2167:$AU2167<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2167:$AU2167))/SUM(IF($R2167:$AU2167<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2167:$AU2167))/SUM(IF($AK2167:$AU2167<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2167:$AU2167))/SUM(IF($AK2167:$AU2167<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2167=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2167>0,'Calculator Table'!BT2167>0),\"Z-ERROR\",IF('Calculator Table'!BU2167>0,\"X\",IF('Calculator Table'!BV2167>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2167,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2167,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2167,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2167,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2167,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2167,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2167,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2167,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2167,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2167,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2167,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2167,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2167,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2167,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2167,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2167,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2167,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2167,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2167,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2167,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2167,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2167,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2167,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2167,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2167,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2167,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2167,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2167,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2167,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2167,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2167,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2167,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2167,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2167,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2167,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2167,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2167,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2167,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2167,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2167,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2167,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2167,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2167,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2167,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2167=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2167:$AU2167<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2168","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2168:$AI2168))/SUM(IF($R2168:$AI2168<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2168:$AI2168))/SUM(IF($R2168:$AI2168<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2168:$AN2168))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2168:$AN2168))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2168:$AU2168))/SUM(IF($AP2168:$AU2168<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2168:$AU2168))/SUM(IF($AP2168:$AU2168<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2168:$AU2168))/SUM(IF($R2168:$AU2168<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2168:$AU2168))/SUM(IF($R2168:$AU2168<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2168:$AU2168))/SUM(IF($AK2168:$AU2168<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2168:$AU2168))/SUM(IF($AK2168:$AU2168<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2168=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2168>0,'Calculator Table'!BT2168>0),\"Z-ERROR\",IF('Calculator Table'!BU2168>0,\"X\",IF('Calculator Table'!BV2168>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2168,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2168,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2168,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2168,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2168,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2168,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2168,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2168,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2168,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2168,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2168,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2168,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2168,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2168,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2168,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2168,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2168,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2168,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2168,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2168,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2168,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2168,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2168,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2168,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2168,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2168,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2168,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2168,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2168,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2168,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2168,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2168,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2168,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2168,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2168,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2168,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2168,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2168,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2168,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2168,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2168,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2168,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2168,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2168,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2168=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2168:$AU2168<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2169","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2169:$AI2169))/SUM(IF($R2169:$AI2169<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2169:$AI2169))/SUM(IF($R2169:$AI2169<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2169:$AN2169))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2169:$AN2169))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2169:$AU2169))/SUM(IF($AP2169:$AU2169<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2169:$AU2169))/SUM(IF($AP2169:$AU2169<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2169:$AU2169))/SUM(IF($R2169:$AU2169<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2169:$AU2169))/SUM(IF($R2169:$AU2169<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2169:$AU2169))/SUM(IF($AK2169:$AU2169<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2169:$AU2169))/SUM(IF($AK2169:$AU2169<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2169=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2169>0,'Calculator Table'!BT2169>0),\"Z-ERROR\",IF('Calculator Table'!BU2169>0,\"X\",IF('Calculator Table'!BV2169>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2169,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2169,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2169,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2169,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2169,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2169,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2169,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2169,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2169,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2169,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2169,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2169,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2169,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2169,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2169,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2169,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2169,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2169,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2169,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2169,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2169,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2169,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2169,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2169,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2169,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2169,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2169,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2169,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2169,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2169,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2169,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2169,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2169,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2169,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2169,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2169,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2169,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2169,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2169,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2169,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2169,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2169,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2169,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2169,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2169=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2169:$AU2169<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2170","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2170:$AI2170))/SUM(IF($R2170:$AI2170<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2170:$AI2170))/SUM(IF($R2170:$AI2170<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2170:$AN2170))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2170:$AN2170))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2170:$AU2170))/SUM(IF($AP2170:$AU2170<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2170:$AU2170))/SUM(IF($AP2170:$AU2170<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2170:$AU2170))/SUM(IF($R2170:$AU2170<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2170:$AU2170))/SUM(IF($R2170:$AU2170<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2170:$AU2170))/SUM(IF($AK2170:$AU2170<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2170:$AU2170))/SUM(IF($AK2170:$AU2170<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2170=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2170>0,'Calculator Table'!BT2170>0),\"Z-ERROR\",IF('Calculator Table'!BU2170>0,\"X\",IF('Calculator Table'!BV2170>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2170,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2170,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2170,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2170,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2170,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2170,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2170,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2170,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2170,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2170,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2170,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2170,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2170,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2170,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2170,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2170,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2170,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2170,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2170,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2170,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2170,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2170,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2170,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2170,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2170,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2170,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2170,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2170,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2170,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2170,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2170,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2170,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2170,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2170,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2170,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2170,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2170,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2170,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2170,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2170,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2170,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2170,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2170,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2170,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2170=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2170:$AU2170<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2171","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2171:$AI2171))/SUM(IF($R2171:$AI2171<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2171:$AI2171))/SUM(IF($R2171:$AI2171<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2171:$AN2171))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2171:$AN2171))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2171:$AU2171))/SUM(IF($AP2171:$AU2171<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2171:$AU2171))/SUM(IF($AP2171:$AU2171<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2171:$AU2171))/SUM(IF($R2171:$AU2171<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2171:$AU2171))/SUM(IF($R2171:$AU2171<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2171:$AU2171))/SUM(IF($AK2171:$AU2171<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2171:$AU2171))/SUM(IF($AK2171:$AU2171<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2171=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2171>0,'Calculator Table'!BT2171>0),\"Z-ERROR\",IF('Calculator Table'!BU2171>0,\"X\",IF('Calculator Table'!BV2171>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2171,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2171,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2171,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2171,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2171,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2171,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2171,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2171,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2171,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2171,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2171,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2171,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2171,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2171,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2171,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2171,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2171,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2171,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2171,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2171,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2171,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2171,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2171,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2171,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2171,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2171,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2171,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2171,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2171,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2171,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2171,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2171,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2171,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2171,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2171,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2171,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2171,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2171,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2171,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2171,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2171,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2171,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2171,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2171,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2171=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2171:$AU2171<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2172","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2172:$AI2172))/SUM(IF($R2172:$AI2172<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2172:$AI2172))/SUM(IF($R2172:$AI2172<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2172:$AN2172))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2172:$AN2172))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2172:$AU2172))/SUM(IF($AP2172:$AU2172<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2172:$AU2172))/SUM(IF($AP2172:$AU2172<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2172:$AU2172))/SUM(IF($R2172:$AU2172<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2172:$AU2172))/SUM(IF($R2172:$AU2172<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2172:$AU2172))/SUM(IF($AK2172:$AU2172<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2172:$AU2172))/SUM(IF($AK2172:$AU2172<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2172=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2172>0,'Calculator Table'!BT2172>0),\"Z-ERROR\",IF('Calculator Table'!BU2172>0,\"X\",IF('Calculator Table'!BV2172>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2172,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2172,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2172,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2172,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2172,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2172,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2172,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2172,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2172,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2172,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2172,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2172,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2172,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2172,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2172,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2172,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2172,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2172,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2172,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2172,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2172,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2172,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2172,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2172,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2172,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2172,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2172,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2172,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2172,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2172,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2172,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2172,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2172,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2172,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2172,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2172,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2172,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2172,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2172,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2172,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2172,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2172,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2172,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2172,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2172=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2172:$AU2172<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2173","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2173:$AI2173))/SUM(IF($R2173:$AI2173<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2173:$AI2173))/SUM(IF($R2173:$AI2173<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2173:$AN2173))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2173:$AN2173))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2173:$AU2173))/SUM(IF($AP2173:$AU2173<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2173:$AU2173))/SUM(IF($AP2173:$AU2173<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2173:$AU2173))/SUM(IF($R2173:$AU2173<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2173:$AU2173))/SUM(IF($R2173:$AU2173<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2173:$AU2173))/SUM(IF($AK2173:$AU2173<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2173:$AU2173))/SUM(IF($AK2173:$AU2173<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2173=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2173>0,'Calculator Table'!BT2173>0),\"Z-ERROR\",IF('Calculator Table'!BU2173>0,\"X\",IF('Calculator Table'!BV2173>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2173,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2173,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2173,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2173,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2173,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2173,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2173,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2173,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2173,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2173,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2173,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2173,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2173,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2173,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2173,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2173,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2173,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2173,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2173,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2173,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2173,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2173,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2173,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2173,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2173,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2173,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2173,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2173,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2173,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2173,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2173,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2173,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2173,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2173,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2173,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2173,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2173,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2173,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2173,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2173,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2173,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2173,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2173,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2173,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2173=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2173:$AU2173<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2174","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2174:$AI2174))/SUM(IF($R2174:$AI2174<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2174:$AI2174))/SUM(IF($R2174:$AI2174<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2174:$AN2174))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2174:$AN2174))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2174:$AU2174))/SUM(IF($AP2174:$AU2174<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2174:$AU2174))/SUM(IF($AP2174:$AU2174<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2174:$AU2174))/SUM(IF($R2174:$AU2174<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2174:$AU2174))/SUM(IF($R2174:$AU2174<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2174:$AU2174))/SUM(IF($AK2174:$AU2174<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2174:$AU2174))/SUM(IF($AK2174:$AU2174<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2174=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2174>0,'Calculator Table'!BT2174>0),\"Z-ERROR\",IF('Calculator Table'!BU2174>0,\"X\",IF('Calculator Table'!BV2174>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2174,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2174,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2174,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2174,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2174,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2174,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2174,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2174,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2174,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2174,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2174,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2174,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2174,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2174,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2174,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2174,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2174,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2174,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2174,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2174,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2174,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2174,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2174,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2174,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2174,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2174,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2174,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2174,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2174,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2174,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2174,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2174,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2174,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2174,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2174,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2174,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2174,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2174,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2174,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2174,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2174,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2174,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2174,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2174,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2174=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2174:$AU2174<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2175","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2175:$AI2175))/SUM(IF($R2175:$AI2175<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2175:$AI2175))/SUM(IF($R2175:$AI2175<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2175:$AN2175))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2175:$AN2175))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2175:$AU2175))/SUM(IF($AP2175:$AU2175<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2175:$AU2175))/SUM(IF($AP2175:$AU2175<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2175:$AU2175))/SUM(IF($R2175:$AU2175<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2175:$AU2175))/SUM(IF($R2175:$AU2175<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2175:$AU2175))/SUM(IF($AK2175:$AU2175<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2175:$AU2175))/SUM(IF($AK2175:$AU2175<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2175=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2175>0,'Calculator Table'!BT2175>0),\"Z-ERROR\",IF('Calculator Table'!BU2175>0,\"X\",IF('Calculator Table'!BV2175>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2175,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2175,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2175,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2175,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2175,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2175,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2175,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2175,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2175,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2175,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2175,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2175,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2175,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2175,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2175,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2175,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2175,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2175,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2175,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2175,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2175,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2175,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2175,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2175,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2175,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2175,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2175,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2175,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2175,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2175,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2175,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2175,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2175,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2175,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2175,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2175,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2175,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2175,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2175,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2175,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2175,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2175,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2175,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2175,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2175=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2175:$AU2175<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2176","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2176:$AI2176))/SUM(IF($R2176:$AI2176<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2176:$AI2176))/SUM(IF($R2176:$AI2176<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2176:$AN2176))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2176:$AN2176))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2176:$AU2176))/SUM(IF($AP2176:$AU2176<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2176:$AU2176))/SUM(IF($AP2176:$AU2176<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2176:$AU2176))/SUM(IF($R2176:$AU2176<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2176:$AU2176))/SUM(IF($R2176:$AU2176<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2176:$AU2176))/SUM(IF($AK2176:$AU2176<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2176:$AU2176))/SUM(IF($AK2176:$AU2176<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2176=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2176>0,'Calculator Table'!BT2176>0),\"Z-ERROR\",IF('Calculator Table'!BU2176>0,\"X\",IF('Calculator Table'!BV2176>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2176,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2176,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2176,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2176,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2176,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2176,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2176,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2176,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2176,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2176,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2176,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2176,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2176,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2176,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2176,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2176,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2176,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2176,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2176,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2176,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2176,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2176,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2176,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2176,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2176,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2176,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2176,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2176,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2176,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2176,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2176,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2176,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2176,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2176,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2176,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2176,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2176,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2176,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2176,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2176,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2176,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2176,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2176,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2176,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2176=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2176:$AU2176<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2177","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2177:$AI2177))/SUM(IF($R2177:$AI2177<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2177:$AI2177))/SUM(IF($R2177:$AI2177<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2177:$AN2177))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2177:$AN2177))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2177:$AU2177))/SUM(IF($AP2177:$AU2177<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2177:$AU2177))/SUM(IF($AP2177:$AU2177<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2177:$AU2177))/SUM(IF($R2177:$AU2177<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2177:$AU2177))/SUM(IF($R2177:$AU2177<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2177:$AU2177))/SUM(IF($AK2177:$AU2177<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2177:$AU2177))/SUM(IF($AK2177:$AU2177<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2177=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2177>0,'Calculator Table'!BT2177>0),\"Z-ERROR\",IF('Calculator Table'!BU2177>0,\"X\",IF('Calculator Table'!BV2177>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2177,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2177,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2177,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2177,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2177,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2177,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2177,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2177,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2177,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2177,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2177,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2177,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2177,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2177,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2177,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2177,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2177,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2177,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2177,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2177,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2177,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2177,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2177,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2177,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2177,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2177,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2177,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2177,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2177,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2177,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2177,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2177,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2177,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2177,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2177,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2177,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2177,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2177,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2177,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2177,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2177,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2177,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2177,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2177,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2177=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2177:$AU2177<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2178","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2178:$AI2178))/SUM(IF($R2178:$AI2178<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2178:$AI2178))/SUM(IF($R2178:$AI2178<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2178:$AN2178))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2178:$AN2178))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2178:$AU2178))/SUM(IF($AP2178:$AU2178<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2178:$AU2178))/SUM(IF($AP2178:$AU2178<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2178:$AU2178))/SUM(IF($R2178:$AU2178<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2178:$AU2178))/SUM(IF($R2178:$AU2178<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2178:$AU2178))/SUM(IF($AK2178:$AU2178<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2178:$AU2178))/SUM(IF($AK2178:$AU2178<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2178=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2178>0,'Calculator Table'!BT2178>0),\"Z-ERROR\",IF('Calculator Table'!BU2178>0,\"X\",IF('Calculator Table'!BV2178>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2178,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2178,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2178,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2178,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2178,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2178,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2178,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2178,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2178,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2178,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2178,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2178,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2178,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2178,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2178,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2178,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2178,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2178,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2178,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2178,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2178,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2178,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2178,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2178,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2178,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2178,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2178,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2178,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2178,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2178,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2178,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2178,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2178,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2178,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2178,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2178,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2178,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2178,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2178,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2178,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2178,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2178,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2178,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2178,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2178=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2178:$AU2178<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2179","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2179:$AI2179))/SUM(IF($R2179:$AI2179<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2179:$AI2179))/SUM(IF($R2179:$AI2179<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2179:$AN2179))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2179:$AN2179))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2179:$AU2179))/SUM(IF($AP2179:$AU2179<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2179:$AU2179))/SUM(IF($AP2179:$AU2179<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2179:$AU2179))/SUM(IF($R2179:$AU2179<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2179:$AU2179))/SUM(IF($R2179:$AU2179<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2179:$AU2179))/SUM(IF($AK2179:$AU2179<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2179:$AU2179))/SUM(IF($AK2179:$AU2179<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2179=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2179>0,'Calculator Table'!BT2179>0),\"Z-ERROR\",IF('Calculator Table'!BU2179>0,\"X\",IF('Calculator Table'!BV2179>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2179,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2179,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2179,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2179,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2179,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2179,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2179,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2179,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2179,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2179,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2179,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2179,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2179,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2179,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2179,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2179,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2179,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2179,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2179,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2179,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2179,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2179,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2179,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2179,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2179,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2179,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2179,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2179,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2179,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2179,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2179,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2179,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2179,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2179,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2179,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2179,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2179,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2179,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2179,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2179,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2179,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2179,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2179,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2179,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2179=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2179:$AU2179<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2180","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2180:$AI2180))/SUM(IF($R2180:$AI2180<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2180:$AI2180))/SUM(IF($R2180:$AI2180<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2180:$AN2180))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2180:$AN2180))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2180:$AU2180))/SUM(IF($AP2180:$AU2180<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2180:$AU2180))/SUM(IF($AP2180:$AU2180<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2180:$AU2180))/SUM(IF($R2180:$AU2180<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2180:$AU2180))/SUM(IF($R2180:$AU2180<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2180:$AU2180))/SUM(IF($AK2180:$AU2180<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2180:$AU2180))/SUM(IF($AK2180:$AU2180<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2180=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2180>0,'Calculator Table'!BT2180>0),\"Z-ERROR\",IF('Calculator Table'!BU2180>0,\"X\",IF('Calculator Table'!BV2180>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2180,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2180,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2180,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2180,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2180,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2180,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2180,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2180,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2180,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2180,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2180,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2180,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2180,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2180,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2180,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2180,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2180,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2180,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2180,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2180,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2180,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2180,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2180,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2180,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2180,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2180,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2180,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2180,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2180,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2180,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2180,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2180,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2180,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2180,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2180,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2180,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2180,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2180,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2180,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2180,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2180,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2180,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2180,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2180,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2180=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2180:$AU2180<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2181","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2181:$AI2181))/SUM(IF($R2181:$AI2181<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2181:$AI2181))/SUM(IF($R2181:$AI2181<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2181:$AN2181))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2181:$AN2181))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2181:$AU2181))/SUM(IF($AP2181:$AU2181<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2181:$AU2181))/SUM(IF($AP2181:$AU2181<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2181:$AU2181))/SUM(IF($R2181:$AU2181<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2181:$AU2181))/SUM(IF($R2181:$AU2181<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2181:$AU2181))/SUM(IF($AK2181:$AU2181<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2181:$AU2181))/SUM(IF($AK2181:$AU2181<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2181=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2181>0,'Calculator Table'!BT2181>0),\"Z-ERROR\",IF('Calculator Table'!BU2181>0,\"X\",IF('Calculator Table'!BV2181>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2181,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2181,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2181,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2181,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2181,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2181,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2181,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2181,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2181,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2181,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2181,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2181,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2181,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2181,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2181,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2181,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2181,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2181,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2181,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2181,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2181,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2181,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2181,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2181,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2181,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2181,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2181,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2181,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2181,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2181,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2181,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2181,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2181,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2181,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2181,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2181,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2181,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2181,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2181,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2181,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2181,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2181,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2181,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2181,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2181=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2181:$AU2181<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2182","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2182:$AI2182))/SUM(IF($R2182:$AI2182<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2182:$AI2182))/SUM(IF($R2182:$AI2182<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2182:$AN2182))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2182:$AN2182))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2182:$AU2182))/SUM(IF($AP2182:$AU2182<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2182:$AU2182))/SUM(IF($AP2182:$AU2182<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2182:$AU2182))/SUM(IF($R2182:$AU2182<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2182:$AU2182))/SUM(IF($R2182:$AU2182<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2182:$AU2182))/SUM(IF($AK2182:$AU2182<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2182:$AU2182))/SUM(IF($AK2182:$AU2182<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2182=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2182>0,'Calculator Table'!BT2182>0),\"Z-ERROR\",IF('Calculator Table'!BU2182>0,\"X\",IF('Calculator Table'!BV2182>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2182,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2182,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2182,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2182,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2182,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2182,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2182,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2182,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2182,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2182,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2182,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2182,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2182,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2182,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2182,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2182,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2182,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2182,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2182,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2182,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2182,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2182,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2182,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2182,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2182,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2182,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2182,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2182,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2182,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2182,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2182,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2182,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2182,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2182,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2182,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2182,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2182,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2182,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2182,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2182,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2182,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2182,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2182,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2182,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2182=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2182:$AU2182<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2183","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2183:$AI2183))/SUM(IF($R2183:$AI2183<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2183:$AI2183))/SUM(IF($R2183:$AI2183<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2183:$AN2183))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2183:$AN2183))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2183:$AU2183))/SUM(IF($AP2183:$AU2183<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2183:$AU2183))/SUM(IF($AP2183:$AU2183<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2183:$AU2183))/SUM(IF($R2183:$AU2183<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2183:$AU2183))/SUM(IF($R2183:$AU2183<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2183:$AU2183))/SUM(IF($AK2183:$AU2183<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2183:$AU2183))/SUM(IF($AK2183:$AU2183<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2183=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2183>0,'Calculator Table'!BT2183>0),\"Z-ERROR\",IF('Calculator Table'!BU2183>0,\"X\",IF('Calculator Table'!BV2183>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2183,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2183,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2183,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2183,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2183,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2183,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2183,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2183,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2183,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2183,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2183,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2183,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2183,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2183,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2183,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2183,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2183,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2183,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2183,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2183,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2183,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2183,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2183,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2183,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2183,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2183,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2183,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2183,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2183,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2183,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2183,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2183,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2183,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2183,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2183,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2183,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2183,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2183,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2183,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2183,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2183,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2183,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2183,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2183,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2183=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2183:$AU2183<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2184","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2184:$AI2184))/SUM(IF($R2184:$AI2184<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2184:$AI2184))/SUM(IF($R2184:$AI2184<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2184:$AN2184))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2184:$AN2184))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2184:$AU2184))/SUM(IF($AP2184:$AU2184<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2184:$AU2184))/SUM(IF($AP2184:$AU2184<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2184:$AU2184))/SUM(IF($R2184:$AU2184<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2184:$AU2184))/SUM(IF($R2184:$AU2184<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2184:$AU2184))/SUM(IF($AK2184:$AU2184<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2184:$AU2184))/SUM(IF($AK2184:$AU2184<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2184=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2184>0,'Calculator Table'!BT2184>0),\"Z-ERROR\",IF('Calculator Table'!BU2184>0,\"X\",IF('Calculator Table'!BV2184>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2184,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2184,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2184,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2184,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2184,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2184,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2184,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2184,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2184,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2184,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2184,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2184,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2184,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2184,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2184,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2184,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2184,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2184,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2184,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2184,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2184,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2184,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2184,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2184,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2184,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2184,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2184,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2184,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2184,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2184,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2184,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2184,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2184,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2184,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2184,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2184,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2184,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2184,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2184,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2184,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2184,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2184,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2184,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2184,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2184=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2184:$AU2184<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2185","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2185:$AI2185))/SUM(IF($R2185:$AI2185<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2185:$AI2185))/SUM(IF($R2185:$AI2185<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2185:$AN2185))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2185:$AN2185))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2185:$AU2185))/SUM(IF($AP2185:$AU2185<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2185:$AU2185))/SUM(IF($AP2185:$AU2185<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2185:$AU2185))/SUM(IF($R2185:$AU2185<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2185:$AU2185))/SUM(IF($R2185:$AU2185<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2185:$AU2185))/SUM(IF($AK2185:$AU2185<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2185:$AU2185))/SUM(IF($AK2185:$AU2185<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2185=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2185>0,'Calculator Table'!BT2185>0),\"Z-ERROR\",IF('Calculator Table'!BU2185>0,\"X\",IF('Calculator Table'!BV2185>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2185,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2185,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2185,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2185,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2185,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2185,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2185,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2185,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2185,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2185,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2185,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2185,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2185,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2185,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2185,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2185,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2185,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2185,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2185,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2185,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2185,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2185,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2185,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2185,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2185,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2185,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2185,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2185,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2185,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2185,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2185,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2185,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2185,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2185,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2185,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2185,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2185,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2185,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2185,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2185,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2185,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2185,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2185,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2185,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2185=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2185:$AU2185<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2186","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2186:$AI2186))/SUM(IF($R2186:$AI2186<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2186:$AI2186))/SUM(IF($R2186:$AI2186<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2186:$AN2186))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2186:$AN2186))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2186:$AU2186))/SUM(IF($AP2186:$AU2186<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2186:$AU2186))/SUM(IF($AP2186:$AU2186<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2186:$AU2186))/SUM(IF($R2186:$AU2186<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2186:$AU2186))/SUM(IF($R2186:$AU2186<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2186:$AU2186))/SUM(IF($AK2186:$AU2186<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2186:$AU2186))/SUM(IF($AK2186:$AU2186<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2186=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2186>0,'Calculator Table'!BT2186>0),\"Z-ERROR\",IF('Calculator Table'!BU2186>0,\"X\",IF('Calculator Table'!BV2186>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2186,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2186,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2186,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2186,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2186,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2186,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2186,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2186,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2186,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2186,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2186,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2186,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2186,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2186,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2186,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2186,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2186,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2186,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2186,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2186,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2186,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2186,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2186,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2186,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2186,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2186,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2186,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2186,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2186,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2186,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2186,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2186,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2186,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2186,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2186,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2186,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2186,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2186,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2186,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2186,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2186,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2186,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2186,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2186,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2186=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2186:$AU2186<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2187","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2187:$AI2187))/SUM(IF($R2187:$AI2187<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2187:$AI2187))/SUM(IF($R2187:$AI2187<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2187:$AN2187))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2187:$AN2187))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2187:$AU2187))/SUM(IF($AP2187:$AU2187<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2187:$AU2187))/SUM(IF($AP2187:$AU2187<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2187:$AU2187))/SUM(IF($R2187:$AU2187<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2187:$AU2187))/SUM(IF($R2187:$AU2187<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2187:$AU2187))/SUM(IF($AK2187:$AU2187<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2187:$AU2187))/SUM(IF($AK2187:$AU2187<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2187=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2187>0,'Calculator Table'!BT2187>0),\"Z-ERROR\",IF('Calculator Table'!BU2187>0,\"X\",IF('Calculator Table'!BV2187>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2187,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2187,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2187,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2187,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2187,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2187,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2187,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2187,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2187,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2187,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2187,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2187,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2187,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2187,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2187,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2187,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2187,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2187,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2187,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2187,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2187,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2187,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2187,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2187,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2187,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2187,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2187,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2187,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2187,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2187,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2187,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2187,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2187,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2187,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2187,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2187,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2187,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2187,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2187,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2187,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2187,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2187,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2187,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2187,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2187=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2187:$AU2187<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2188","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2188:$AI2188))/SUM(IF($R2188:$AI2188<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2188:$AI2188))/SUM(IF($R2188:$AI2188<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2188:$AN2188))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2188:$AN2188))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2188:$AU2188))/SUM(IF($AP2188:$AU2188<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2188:$AU2188))/SUM(IF($AP2188:$AU2188<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2188:$AU2188))/SUM(IF($R2188:$AU2188<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2188:$AU2188))/SUM(IF($R2188:$AU2188<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2188:$AU2188))/SUM(IF($AK2188:$AU2188<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2188:$AU2188))/SUM(IF($AK2188:$AU2188<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2188=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2188>0,'Calculator Table'!BT2188>0),\"Z-ERROR\",IF('Calculator Table'!BU2188>0,\"X\",IF('Calculator Table'!BV2188>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2188,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2188,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2188,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2188,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2188,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2188,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2188,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2188,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2188,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2188,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2188,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2188,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2188,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2188,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2188,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2188,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2188,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2188,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2188,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2188,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2188,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2188,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2188,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2188,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2188,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2188,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2188,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2188,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2188,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2188,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2188,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2188,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2188,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2188,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2188,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2188,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2188,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2188,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2188,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2188,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2188,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2188,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2188,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2188,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2188=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2188:$AU2188<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2189","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2189:$AI2189))/SUM(IF($R2189:$AI2189<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2189:$AI2189))/SUM(IF($R2189:$AI2189<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2189:$AN2189))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2189:$AN2189))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2189:$AU2189))/SUM(IF($AP2189:$AU2189<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2189:$AU2189))/SUM(IF($AP2189:$AU2189<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2189:$AU2189))/SUM(IF($R2189:$AU2189<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2189:$AU2189))/SUM(IF($R2189:$AU2189<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2189:$AU2189))/SUM(IF($AK2189:$AU2189<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2189:$AU2189))/SUM(IF($AK2189:$AU2189<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2189=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2189>0,'Calculator Table'!BT2189>0),\"Z-ERROR\",IF('Calculator Table'!BU2189>0,\"X\",IF('Calculator Table'!BV2189>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2189,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2189,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2189,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2189,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2189,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2189,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2189,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2189,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2189,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2189,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2189,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2189,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2189,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2189,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2189,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2189,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2189,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2189,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2189,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2189,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2189,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2189,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2189,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2189,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2189,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2189,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2189,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2189,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2189,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2189,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2189,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2189,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2189,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2189,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2189,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2189,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2189,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2189,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2189,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2189,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2189,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2189,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2189,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2189,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2189=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2189:$AU2189<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2190","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2190:$AI2190))/SUM(IF($R2190:$AI2190<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2190:$AI2190))/SUM(IF($R2190:$AI2190<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2190:$AN2190))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2190:$AN2190))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2190:$AU2190))/SUM(IF($AP2190:$AU2190<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2190:$AU2190))/SUM(IF($AP2190:$AU2190<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2190:$AU2190))/SUM(IF($R2190:$AU2190<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2190:$AU2190))/SUM(IF($R2190:$AU2190<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2190:$AU2190))/SUM(IF($AK2190:$AU2190<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2190:$AU2190))/SUM(IF($AK2190:$AU2190<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2190=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2190>0,'Calculator Table'!BT2190>0),\"Z-ERROR\",IF('Calculator Table'!BU2190>0,\"X\",IF('Calculator Table'!BV2190>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2190,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2190,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2190,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2190,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2190,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2190,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2190,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2190,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2190,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2190,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2190,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2190,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2190,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2190,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2190,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2190,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2190,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2190,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2190,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2190,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2190,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2190,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2190,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2190,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2190,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2190,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2190,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2190,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2190,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2190,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2190,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2190,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2190,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2190,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2190,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2190,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2190,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2190,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2190,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2190,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2190,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2190,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2190,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2190,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2190=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2190:$AU2190<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2191","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2191:$AI2191))/SUM(IF($R2191:$AI2191<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2191:$AI2191))/SUM(IF($R2191:$AI2191<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2191:$AN2191))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2191:$AN2191))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2191:$AU2191))/SUM(IF($AP2191:$AU2191<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2191:$AU2191))/SUM(IF($AP2191:$AU2191<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2191:$AU2191))/SUM(IF($R2191:$AU2191<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2191:$AU2191))/SUM(IF($R2191:$AU2191<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2191:$AU2191))/SUM(IF($AK2191:$AU2191<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2191:$AU2191))/SUM(IF($AK2191:$AU2191<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2191=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2191>0,'Calculator Table'!BT2191>0),\"Z-ERROR\",IF('Calculator Table'!BU2191>0,\"X\",IF('Calculator Table'!BV2191>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2191,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2191,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2191,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2191,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2191,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2191,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2191,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2191,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2191,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2191,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2191,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2191,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2191,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2191,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2191,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2191,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2191,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2191,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2191,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2191,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2191,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2191,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2191,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2191,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2191,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2191,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2191,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2191,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2191,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2191,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2191,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2191,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2191,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2191,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2191,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2191,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2191,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2191,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2191,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2191,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2191,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2191,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2191,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2191,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2191=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2191:$AU2191<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2192","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2192:$AI2192))/SUM(IF($R2192:$AI2192<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2192:$AI2192))/SUM(IF($R2192:$AI2192<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2192:$AN2192))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2192:$AN2192))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2192:$AU2192))/SUM(IF($AP2192:$AU2192<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2192:$AU2192))/SUM(IF($AP2192:$AU2192<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2192:$AU2192))/SUM(IF($R2192:$AU2192<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2192:$AU2192))/SUM(IF($R2192:$AU2192<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2192:$AU2192))/SUM(IF($AK2192:$AU2192<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2192:$AU2192))/SUM(IF($AK2192:$AU2192<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2192=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2192>0,'Calculator Table'!BT2192>0),\"Z-ERROR\",IF('Calculator Table'!BU2192>0,\"X\",IF('Calculator Table'!BV2192>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2192,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2192,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2192,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2192,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2192,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2192,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2192,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2192,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2192,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2192,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2192,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2192,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2192,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2192,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2192,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2192,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2192,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2192,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2192,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2192,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2192,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2192,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2192,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2192,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2192,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2192,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2192,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2192,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2192,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2192,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2192,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2192,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2192,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2192,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2192,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2192,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2192,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2192,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2192,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2192,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2192,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2192,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2192,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2192,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2192=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2192:$AU2192<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2193","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2193:$AI2193))/SUM(IF($R2193:$AI2193<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2193:$AI2193))/SUM(IF($R2193:$AI2193<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2193:$AN2193))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2193:$AN2193))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2193:$AU2193))/SUM(IF($AP2193:$AU2193<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2193:$AU2193))/SUM(IF($AP2193:$AU2193<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2193:$AU2193))/SUM(IF($R2193:$AU2193<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2193:$AU2193))/SUM(IF($R2193:$AU2193<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2193:$AU2193))/SUM(IF($AK2193:$AU2193<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2193:$AU2193))/SUM(IF($AK2193:$AU2193<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2193=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2193>0,'Calculator Table'!BT2193>0),\"Z-ERROR\",IF('Calculator Table'!BU2193>0,\"X\",IF('Calculator Table'!BV2193>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2193,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2193,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2193,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2193,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2193,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2193,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2193,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2193,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2193,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2193,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2193,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2193,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2193,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2193,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2193,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2193,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2193,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2193,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2193,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2193,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2193,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2193,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2193,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2193,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2193,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2193,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2193,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2193,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2193,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2193,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2193,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2193,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2193,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2193,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2193,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2193,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2193,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2193,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2193,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2193,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2193,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2193,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2193,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2193,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2193=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2193:$AU2193<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2194","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2194:$AI2194))/SUM(IF($R2194:$AI2194<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2194:$AI2194))/SUM(IF($R2194:$AI2194<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2194:$AN2194))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2194:$AN2194))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2194:$AU2194))/SUM(IF($AP2194:$AU2194<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2194:$AU2194))/SUM(IF($AP2194:$AU2194<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2194:$AU2194))/SUM(IF($R2194:$AU2194<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2194:$AU2194))/SUM(IF($R2194:$AU2194<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2194:$AU2194))/SUM(IF($AK2194:$AU2194<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2194:$AU2194))/SUM(IF($AK2194:$AU2194<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2194=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2194>0,'Calculator Table'!BT2194>0),\"Z-ERROR\",IF('Calculator Table'!BU2194>0,\"X\",IF('Calculator Table'!BV2194>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2194,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2194,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2194,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2194,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2194,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2194,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2194,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2194,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2194,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2194,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2194,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2194,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2194,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2194,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2194,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2194,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2194,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2194,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2194,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2194,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2194,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2194,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2194,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2194,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2194,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2194,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2194,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2194,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2194,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2194,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2194,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2194,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2194,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2194,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2194,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2194,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2194,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2194,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2194,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2194,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2194,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2194,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2194,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2194,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2194=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2194:$AU2194<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2195","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2195:$AI2195))/SUM(IF($R2195:$AI2195<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2195:$AI2195))/SUM(IF($R2195:$AI2195<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2195:$AN2195))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2195:$AN2195))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2195:$AU2195))/SUM(IF($AP2195:$AU2195<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2195:$AU2195))/SUM(IF($AP2195:$AU2195<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2195:$AU2195))/SUM(IF($R2195:$AU2195<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2195:$AU2195))/SUM(IF($R2195:$AU2195<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2195:$AU2195))/SUM(IF($AK2195:$AU2195<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2195:$AU2195))/SUM(IF($AK2195:$AU2195<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2195=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2195>0,'Calculator Table'!BT2195>0),\"Z-ERROR\",IF('Calculator Table'!BU2195>0,\"X\",IF('Calculator Table'!BV2195>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2195,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2195,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2195,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2195,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2195,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2195,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2195,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2195,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2195,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2195,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2195,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2195,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2195,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2195,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2195,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2195,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2195,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2195,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2195,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2195,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2195,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2195,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2195,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2195,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2195,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2195,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2195,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2195,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2195,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2195,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2195,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2195,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2195,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2195,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2195,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2195,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2195,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2195,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2195,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2195,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2195,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2195,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2195,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2195,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2195=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2195:$AU2195<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2196","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2196:$AI2196))/SUM(IF($R2196:$AI2196<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2196:$AI2196))/SUM(IF($R2196:$AI2196<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2196:$AN2196))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2196:$AN2196))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2196:$AU2196))/SUM(IF($AP2196:$AU2196<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2196:$AU2196))/SUM(IF($AP2196:$AU2196<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2196:$AU2196))/SUM(IF($R2196:$AU2196<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2196:$AU2196))/SUM(IF($R2196:$AU2196<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2196:$AU2196))/SUM(IF($AK2196:$AU2196<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2196:$AU2196))/SUM(IF($AK2196:$AU2196<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2196=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2196>0,'Calculator Table'!BT2196>0),\"Z-ERROR\",IF('Calculator Table'!BU2196>0,\"X\",IF('Calculator Table'!BV2196>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2196,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2196,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2196,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2196,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2196,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2196,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2196,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2196,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2196,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2196,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2196,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2196,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2196,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2196,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2196,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2196,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2196,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2196,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2196,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2196,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2196,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2196,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2196,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2196,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2196,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2196,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2196,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2196,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2196,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2196,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2196,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2196,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2196,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2196,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2196,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2196,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2196,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2196,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2196,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2196,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2196,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2196,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2196,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2196,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2196=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2196:$AU2196<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2197","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2197:$AI2197))/SUM(IF($R2197:$AI2197<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2197:$AI2197))/SUM(IF($R2197:$AI2197<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2197:$AN2197))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2197:$AN2197))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2197:$AU2197))/SUM(IF($AP2197:$AU2197<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2197:$AU2197))/SUM(IF($AP2197:$AU2197<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2197:$AU2197))/SUM(IF($R2197:$AU2197<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2197:$AU2197))/SUM(IF($R2197:$AU2197<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2197:$AU2197))/SUM(IF($AK2197:$AU2197<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2197:$AU2197))/SUM(IF($AK2197:$AU2197<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2197=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2197>0,'Calculator Table'!BT2197>0),\"Z-ERROR\",IF('Calculator Table'!BU2197>0,\"X\",IF('Calculator Table'!BV2197>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2197,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2197,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2197,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2197,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2197,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2197,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2197,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2197,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2197,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2197,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2197,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2197,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2197,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2197,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2197,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2197,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2197,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2197,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2197,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2197,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2197,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2197,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2197,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2197,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2197,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2197,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2197,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2197,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2197,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2197,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2197,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2197,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2197,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2197,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2197,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2197,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2197,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2197,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2197,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2197,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2197,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2197,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2197,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2197,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2197=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2197:$AU2197<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2198","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2198:$AI2198))/SUM(IF($R2198:$AI2198<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2198:$AI2198))/SUM(IF($R2198:$AI2198<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2198:$AN2198))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2198:$AN2198))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2198:$AU2198))/SUM(IF($AP2198:$AU2198<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2198:$AU2198))/SUM(IF($AP2198:$AU2198<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2198:$AU2198))/SUM(IF($R2198:$AU2198<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2198:$AU2198))/SUM(IF($R2198:$AU2198<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2198:$AU2198))/SUM(IF($AK2198:$AU2198<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2198:$AU2198))/SUM(IF($AK2198:$AU2198<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2198=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2198>0,'Calculator Table'!BT2198>0),\"Z-ERROR\",IF('Calculator Table'!BU2198>0,\"X\",IF('Calculator Table'!BV2198>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2198,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2198,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2198,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2198,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2198,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2198,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2198,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2198,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2198,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2198,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2198,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2198,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2198,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2198,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2198,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2198,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2198,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2198,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2198,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2198,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2198,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2198,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2198,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2198,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2198,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2198,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2198,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2198,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2198,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2198,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2198,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2198,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2198,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2198,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2198,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2198,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2198,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2198,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2198,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2198,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2198,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2198,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2198,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2198,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2198=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2198:$AU2198<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2199","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2199:$AI2199))/SUM(IF($R2199:$AI2199<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2199:$AI2199))/SUM(IF($R2199:$AI2199<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2199:$AN2199))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2199:$AN2199))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2199:$AU2199))/SUM(IF($AP2199:$AU2199<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2199:$AU2199))/SUM(IF($AP2199:$AU2199<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2199:$AU2199))/SUM(IF($R2199:$AU2199<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2199:$AU2199))/SUM(IF($R2199:$AU2199<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2199:$AU2199))/SUM(IF($AK2199:$AU2199<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2199:$AU2199))/SUM(IF($AK2199:$AU2199<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2199=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2199>0,'Calculator Table'!BT2199>0),\"Z-ERROR\",IF('Calculator Table'!BU2199>0,\"X\",IF('Calculator Table'!BV2199>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2199,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2199,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2199,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2199,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2199,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2199,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2199,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2199,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2199,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2199,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2199,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2199,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2199,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2199,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2199,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2199,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2199,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2199,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2199,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2199,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2199,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2199,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2199,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2199,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2199,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2199,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2199,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2199,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2199,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2199,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2199,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2199,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2199,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2199,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2199,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2199,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2199,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2199,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2199,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2199,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2199,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2199,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2199,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2199,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2199=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2199:$AU2199<>\"--\")))","v":2}]
[{"$f":"'Calculator Table'!C2200","v":0},{"$f":"SUM(IF($R$3:$AI$3=\"L\",$R2200:$AI2200))/SUM(IF($R2200:$AI2200<>\"--\",IF($R$3:$AI$3=\"L\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AI$3=\"H\",$R2200:$AI2200))/SUM(IF($R2200:$AI2200<>\"--\",IF($R$3:$AI$3=\"H\",$R$2:$AI$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AK$3:$AN$3=\"L\",$AK2200:$AN2200))","v":0},{"$f":"SUM(IF($AK$3:$AN$3=\"H\",$AK2200:$AN2200))","v":0},{"$f":"SUM(IF($AP$3:$AU$3=\"L\",$AP2200:$AU2200))/SUM(IF($AP2200:$AU2200<>\"--\",IF($AP$3:$AU$3=\"L\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($AP$3:$AU$3=\"H\",$AP2200:$AU2200))/SUM(IF($AP2200:$AU2200<>\"--\",IF($AP$3:$AU$3=\"H\",$AP$2:$AU$2)))","v":{"$error":"#DIV/0!"}},{"$f":"SUM(IF($R$3:$AU$3=\"L\",$R2200:$AU2200))/SUM(IF($R2200:$AU2200<>\"--\",IF($R$3:$AU$3=\"L\",$R$2:$AU$2)))","v":0},{"$f":"SUM(IF($R$3:$AU$3=\"H\",$R2200:$AU2200))/SUM(IF($R2200:$AU2200<>\"--\",IF($R$3:$AU$3=\"H\",$R$2:$AU$2)))","v":0},{"$error":"#DIV/0!"},{"$error":"#DIV/0!"},{"$f":"SUM(IF($AK$3:$AU$3=\"L\",$AK2200:$AU2200))/SUM(IF($AK2200:$AU2200<>\"--\",IF($AK$3:$AU$3=\"L\",$AK$2:$AU$2)))","v":0},{"$f":"SUM(IF($AK$3:$AU$3=\"H\",$AK2200:$AU2200))/SUM(IF($AK2200:$AU2200<>\"--\",IF($AK$3:$AU$3=\"H\",$AK$2:$AU$2)))","v":0},0,0,{"$f":"IF(AND(RULES!$B$4=\"G\",'Calculator Table'!D2200=\"infraspecies\"),\"T\",RULES!$B$4)","v":"S"},{"$f":"IF(AND('Calculator Table'!BU2200>0,'Calculator Table'!BT2200>0),\"Z-ERROR\",IF('Calculator Table'!BU2200>0,\"X\",IF('Calculator Table'!BV2200>0,\"H\",\"*\")))","v":"*"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BA2200,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BA2200,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BB2200,RULES!$G$34:$N$39,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BB2200,RULES!$G$34:$N$39,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AQ2200,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AQ2200,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AR2200,RULES!$G$42:$N$47,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AR2200,RULES!$G$42:$N$47,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AS2200,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AS2200,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AT2200,RULES!$G$51:$O$56,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AT2200,RULES!$G$51:$O$56,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AU2200,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AU2200,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AV2200,RULES!$G$62:$K$67,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AV2200,RULES!$G$62:$K$67,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AW2200,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AW2200,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AX2200,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AX2200,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AY2200,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AY2200,RULES!$G$71:$L$76,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!AZ2200,RULES!$G$71:$L$76,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!AZ2200,RULES!$G$71:$L$76,5,FALSE))","v":"--"},"--","--",{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BC2200,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BC2200,RULES!$G$92:$J$97,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BD2200,RULES!$G$92:$J$97,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BD2200,RULES!$G$92:$J$97,5,FALSE))","v":"--"},"--","--",null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BG2200,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BG2200,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BH2200,RULES!$G$104:$O$109,5,FALSE)),0,HLOOKUP('Calculator Table'!BH2200,RULES!$G$104:$O$109,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BE2200,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BE2200,RULES!$G$112:$O$117,5,FALSE))","v":0},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BF2200,RULES!$G$112:$O$117,5,FALSE)),0,HLOOKUP('Calculator Table'!BF2200,RULES!$G$112:$O$117,5,FALSE))","v":0},null,{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BK2200,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BK2200,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BL2200,RULES!$G$121:$J$126,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BL2200,RULES!$G$121:$J$126,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BI2200,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BI2200,RULES!$G$129:$I$134,5,FALSE))","v":"--"},{"$f":"IF(ISERROR(HLOOKUP('Calculator Table'!BJ2200,RULES!$G$129:$I$134,5,FALSE)),\"--\",HLOOKUP('Calculator Table'!BJ2200,RULES!$G$129:$I$134,5,FALSE))","v":"--"},"--","--",{"$f":"IF(Q2200=\"X\",1,SUM(($R$3:$AU$3=\"L\")*($R$2:$AU$2>0)*($R2200:$AU2200<>\"--\")))","v":2}]
[" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "]

{"sheet":"Rk Assign","index":7,"n_rows":2201,"n_cols":42,"rows_kept":562,"cut":true,"hidden":true,"merged":[[17683,1,17683,2],[17684,1,17684,2],[17685,1,17685,2],[17686,1,17686,2],[17687,1,17687,2],[17690,1,17690,2],[17688,1,17688,2],[17689,1,17689,2],[17677,1,17677,2],[17678,1,17678,2],[17679,1,17679,2],[17680,1,17680,2],[17681,1,17681,2],[17682,1,17682,2],[17671,1,17671,2],[17672,1,17672,2],[17673,1,17673,2],[17674,1,17674,2],[17675,1,17675,2],[17676,1,17676,2],[17665,1,17665,2],[17666,1,17666,2],[17667,1,17667,2],[17668,1,17668,2],[17669,1,17669,2],[17670,1,17670,2],[17659,1,17659,2],[17660,1,17660,2],[17661,1,17661,2],[17662,1,17662,2],[17663,1,17663,2],[17664,1,17664,2],[17653,1,17653,2],[17654,1,17654,2],[17655,1,17655,2],[17656,1,17656,2],[17657,1,17657,2],[17658,1,17658,2],[17647,1,17647,2],[17648,1,17648,2],[17649,1,17649,2],[17650,1,17650,2],[17651,1,17651,2],[17652,1,17652,2],[17641,1,17641,2],[17642,1,17642,2],[17643,1,17643,2],[17644,1,17644,2],[17645,1,17645,2],[17646,1,17646,2],[17635,1,17635,2],[17636,1,17636,2],[17637,1,17637,2],[17638,1,17638,2],[17639,1,17639,2],[17640,1,17640,2],[17629,1,17629,2],[17630,1,17630,2],[17631,1,17631,2],[17632,1,17632,2],[17633,1,17633,2],[17634,1,17634,2],[17623,1,17623,2],[17624,1,17624,2],[17625,1,17625,2],[17626,1,17626,2],[17627,1,17627,2],[17628,1,17628,2],[17617,1,17617,2],[17618,1,17618,2],[17619,1,17619,2],[17620,1,17620,2],[17621,1,17621,2],[17622,1,17622,2],[17611,1,17611,2],[17612,1,17612,2],[17613,1,17613,2],[17614,1,17614,2],[17615,1,17615,2],[17616,1,17616,2],[17605,1,17605,2],[17606,1,17606,2],[17607,1,17607,2],[17608,1,17608,2],[17609,1,17609,2],[17610,1,17610,2],[17599,1,17599,2],[17600,1,17600,2],[17601,1,17601,2],[17602,1,17602,2],[17603,1,17603,2],[17604,1,17604,2],[17593,1,17593,2],[17594,1,17594,2],[17595,1,17595,2],[17596,1,17596,2],[17597,1,17597,2],[17598,1,17598,2],[17587,1,17587,2],[17588,1,17588,2],[17589,1,17589,2],[17590,1,17590,2],[17591,1,17591,2],[17592,1,17592,2],[17581,1,17581,2],[17582,1,17582,2],[17583,1,17583,2],[17584,1,17584,2],[17585,1,17585,2],[17586,1,17586,2],[17575,1,17575,2],[17576,1,17576,2],[17577,1,17577,2],[17578,1,17578,2],[17579,1,17579,2],[17580,1,17580,2],[17569,1,17569,2],[17570,1,17570,2],[17571,1,17571,2],[17572,1,17572,2],[17573,1,17573,2],[17574,1,17574,2],[17563,1,17563,2],[17564,1,17564,2],[17565,1,17565,2],[17566,1,17566,2],[17567,1,17567,2],[17568,1,17568,2],[17557,1,17557,2],[17558,1,17558,2],[17559,1,17559,2],[17560,1,17560,2],[17561,1,17561,2],[17562,1,17562,2],[17551,1,17551,2],[17552,1,17552,2],[17553,1,17553,2],[17554,1,17554,2],[17555,1,17555,2],[17556,1,17556,2],[17545,1,17545,2],[17546,1,17546,2],[17547,1,17547,2],[17548,1,17548,2],[17549,1,17549,2],[17550,1,17550,2],[17539,1,17539,2],[17540,1,17540,2],[17541,1,17541,2],[17542,1,17542,2],[17543,1,17543,2],[17544,1,17544,2],[17533,1,17533,2],[17534,1,17534,2],[17535,1,17535,2],[17536,1,17536,2],[17537,1,17537,2],[17538,1,17538,2],[17527,1,17527,2],[17528,1,17528,2],[17529,1,17529,2],[17530,1,17530,2],[17531,1,17531,2],[17532,1,17532,2],[17521,1,17521,2],[17522,1,17522,2],[17523,1,17523,2],[17524,1,17524,2],[17525,1,17525,2],[17526,1,17526,2],[17515,1,17515,2],[17516,1,17516,2],[17517,1,17517,2],[17518,1,17518,2],[17519,1,17519,2],[17520,1,17520,2],[17509,1,17509,2],[17510,1,17510,2],[17511,1,17511,2],[17512,1,17512,2],[17513,1,17513,2],[17514,1,17514,2],[17503,1,17503,2],[17504,1,17504,2],[17505,1,17505,2],[17506,1,17506,2],[17507,1,17507,2],[17508,1,17508,2],[17497,1,17497,2],[17498,1,17498,2],[17499,1,17499,2],[17500,1,17500,2],[17501,1,17501,2],[17502,1,17502,2],[17491,1,17491,2],[17492,1,17492,2],[17493,1,17493,2],[17494,1,17494,2],[17495,1,17495,2],[17496,1,17496,2],[17485,1,17485,2],[17486,1,17486,2],[17487,1,17487,2],[17488,1,17488,2],[17489,1,17489,2],[17490,1,17490,2],[17479,1,17479,2],[17480,1,17480,2],[17481,1,17481,2],[17482,1,17482,2],[17483,1,17483,2],[17484,1,17484,2],[17473,1,17473,2],[17474,1,17474,2],[17475,1,17475,2],[17476,1,17476,2],[17477,1,17477,2],[17478,1,17478,2],[17467,1,17467,2],[17468,1,17468,2],[17469,1,17469,2],[17470,1,17470,2],[17471,1,17471,2],[17472,1,17472,2],[17461,1,17461,2],[17462,1,17462,2],[17463,1,17463,2],[17464,1,17464,2],[17465,1,17465,2],[17466,1,17466,2],[17455,1,17455,2],[17456,1,17456,2],[17457,1,17457,2],[17458,1,17458,2],[17459,1,17459,2],[17460,1,17460,2],[17449,1,17449,2],[17450,1,17450,2],[17451,1,17451,2],[17452,1,17452,2],[17453,1,17453,2],[17454,1,17454,2],[17443,1,17443,2],[17444,1,17444,2],[17445,1,17445,2],[17446,1,17446,2],[17447,1,17447,2],[17448,1,17448,2],[17437,1,17437,2],[17438,1,17438,2],[17439,1,17439,2],[17440,1,17440,2],[17441,1,17441,2],[17442,1,17442,2],[17431,1,17431,2],[17432,1,17432,2],[17433,1,17433,2],[17434,1,17434,2],[17435,1,17435,2],[17436,1,17436,2],[17425,1,17425,2],[17426,1,17426,2],[17427,1,17427,2],[17428,1,17428,2],[17429,1,17429,2],[17430,1,17430,2],[17419,1,17419,2],[17420,1,17420,2],[17421,1,17421,2],[17422,1,17422,2],[17423,1,17423,2],[17424,1,17424,2],[17413,1,17413,2],[17414,1,17414,2],[17415,1,17415,2],[17416,1,17416,2],[17417,1,17417,2],[17418,1,17418,2],[17407,1,17407,2],[17408,1,17408,2],[17409,1,17409,2],[17410,1,17410,2],[17411,1,17411,2],[17412,1,17412,2],[17401,1,17401,2],[17402,1,17402,2],[17403,1,17403,2],[17404,1,17404,2],[17405,1,17405,2],[17406,1,17406,2],[17395,1,17395,2],[17396,1,17396,2],[17397,1,17397,2],[17398,1,17398,2],[17399,1,17399,2],[17400,1,17400,2],[17389,1,17389,2],[17390,1,17390,2],[17391,1,17391,2],[17392,1,17392,2],[17393,1,17393,2],[17394,1,17394,2],[17383,1,17383,2],[17384,1,17384,2],[17385,1,17385,2],[17386,1,17386,2],[17387,1,17387,2],[17388,1,17388,2],[17377,1,17377,2],[17378,1,17378,2],[17379,1,17379,2],[17380,1,17380,2],[17381,1,17381,2],[17382,1,17382,2],[17371,1,17371,2],[17372,1,17372,2],[17373,1,17373,2],[17374,1,17374,2],[17375,1,17375,2],[17376,1,17376,2],[17365,1,17365,2],[17366,1,17366,2],[17367,1,17367,2],[17368,1,17368,2],[17369,1,17369,2],[17370,1,17370,2],[17359,1,17359,2],[17360,1,17360,2],[17361,1,17361,2],[17362,1,17362,2],[17363,1,17363,2],[17364,1,17364,2],[17353,1,17353,2],[17354,1,17354,2],[17355,1,17355,2],[17356,1,17356,2],[17357,1,17357,2],[17358,1,17358,2],[17347,1,17347,2],[17348,1,17348,2],[17349,1,17349,2],[17350,1,17350,2],[17351,1,17351,2],[17352,1,17352,2],[17341,1,17341,2],[17342,1,17342,2],[17343,1,17343,2],[17344,1,17344,2],[17345,1,17345,2],[17346,1,17346,2],[17335,1,17335,2],[17336,1,17336,2],[17337,1,17337,2],[17338,1,17338,2],[17339,1,17339,2],[17340,1,17340,2],[17329,1,17329,2],[17330,1,17330,2],[17331,1,17331,2],[17332,1,17332,2],[17333,1,17333,2],[17334,1,17334,2],[17323,1,17323,2],[17324,1,17324,2],[17325,1,17325,2],[17326,1,17326,2],[17327,1,17327,2],[17328,1,17328,2],[17317,1,17317,2],[17318,1,17318,2],[17319,1,17319,2],[17320,1,17320,2],[17321,1,17321,2],[17322,1,17322,2],[17311,1,17311,2],[17312,1,17312,2],[17313,1,17313,2],[17314,1,17314,2],[17315,1,17315,2],[17316,1,17316,2],[17305,1,17305,2],[17306,1,17306,2],[17307,1,17307,2],[17308,1,17308,2],[17309,1,17309,2],[17310,1,17310,2],[17299,1,17299,2],[17300,1,17300,2],[17301,1,17301,2],[17302,1,17302,2],[17303,1,17303,2],[17304,1,17304,2],[17293,1,17293,2],[17294,1,17294,2],[17295,1,17295,2],[17296,1,17296,2],[17297,1,17297,2],[17298,1,17298,2],[17287,1,17287,2],[17288,1,17288,2],[17289,1,17289,2],[17290,1,17290,2],[17291,1,17291,2],[17292,1,17292,2],[17281,1,17281,2],[17282,1,17282,2],[17283,1,17283,2],[17284,1,17284,2],[17285,1,17285,2],[17286,1,17286,2],[17275,1,17275,2],[17276,1,17276,2],[17277,1,17277,2],[17278,1,17278,2],[17279,1,17279,2],[17280,1,17280,2],[17269,1,17269,2],[17270,1,17270,2],[17271,1,17271,2],[17272,1,17272,2],[17273,1,17273,2],[17274,1,17274,2],[17263,1,17263,2],[17264,1,17264,2],[17265,1,17265,2],[17266,1,17266,2],[17267,1,17267,2],[17268,1,17268,2],[17257,1,17257,2],[17258,1,17258,2],[17259,1,17259,2],[17260,1,17260,2],[17261,1,17261,2],[17262,1,17262,2],[17251,1,17251,2],[17252,1,17252,2],[17253,1,17253,2],[17254,1,17254,2],[17255,1,17255,2],[17256,1,17256,2],[17245,1,17245,2],[17246,1,17246,2],[17247,1,17247,2],[17248,1,17248,2],[17249,1,17249,2],[17250,1,17250,2],[17239,1,17239,2],[17240,1,17240,2],[17241,1,17241,2],[17242,1,17242,2],[17243,1,17243,2],[17244,1,17244,2],[17233,1,17233,2],[17234,1,17234,2],[17235,1,17235,2],[17236,1,17236,2],[17237,1,17237,2],[17238,1,17238,2],[17227,1,17227,2],[17228,1,17228,2],[17229,1,17229,2],[17230,1,17230,2],[17231,1,17231,2],[17232,1,17232,2],[17221,1,17221,2],[17222,1,17222,2],[17223,1,17223,2],[17224,1,17224,2],[17225,1,17225,2],[17226,1,17226,2],[17215,1,17215,2],[17216,1,17216,2],[17217,1,17217,2],[17218,1,17218,2],[17219,1,17219,2],[17220,1,17220,2],[17209,1,17209,2],[17210,1,17210,2],[17211,1,17211,2],[17212,1,17212,2],[17213,1,17213,2],[17214,1,17214,2],[17203,1,17203,2],[17204,1,17204,2],[17205,1,17205,2],[17206,1,17206,2],[17207,1,17207,2],[17208,1,17208,2],[17197,1,17197,2],[17198,1,17198,2],[17199,1,17199,2],[17200,1,17200,2],[17201,1,17201,2],[17202,1,17202,2],[17191,1,17191,2],[17192,1,17192,2],[17193,1,17193,2],[17194,1,17194,2],[17195,1,17195,2],[17196,1,17196,2],[17185,1,17185,2],[17186,1,17186,2],[17187,1,17187,2],[17188,1,17188,2],[17189,1,17189,2],[17190,1,17190,2],[17179,1,17179,2],[17180,1,17180,2],[17181,1,17181,2],[17182,1,17182,2],[17183,1,17183,2],[17184,1,17184,2],[17173,1,17173,2],[17174,1,17174,2],[17175,1,17175,2],[17176,1,17176,2],[17177,1,17177,2],[17178,1,17178,2],[17167,1,17167,2],[17168,1,17168,2],[17169,1,17169,2],[17170,1,17170,2],[17171,1,17171,2],[17172,1,17172,2],[17161,1,17161,2],[17162,1,17162,2],[17163,1,17163,2],[17164,1,17164,2],[17165,1,17165,2],[17166,1,17166,2],[17155,1,17155,2],[17156,1,17156,2],[17157,1,17157,2],[17158,1,17158,2],[17159,1,17159,2],[17160,1,17160,2],[17149,1,17149,2],[17150,1,17150,2],[17151,1,17151,2],[17152,1,17152,2],[17153,1,17153,2],[17154,1,17154,2],[17143,1,17143,2],[17144,1,17144,2],[17145,1,17145,2],[17146,1,17146,2],[17147,1,17147,2],[17148,1,17148,2],[17137,1,17137,2],[17138,1,17138,2],[17139,1,17139,2],[17140,1,17140,2],[17141,1,17141,2],[17142,1,17142,2],[17131,1,17131,2],[17132,1,17132,2],[17133,1,17133,2],[17134,1,17134,2],[17135,1,17135,2],[17136,1,17136,2],[17125,1,17125,2],[17126,1,17126,2],[17127,1,17127,2],[17128,1,17128,2],[17129,1,17129,2],[17130,1,17130,2],[17119,1,17119,2],[17120,1,17120,2],[17121,1,17121,2],[17122,1,17122,2],[17123,1,17123,2],[17124,1,17124,2],[17113,1,17113,2],[17114,1,17114,2],[17115,1,17115,2],[17116,1,17116,2],[17117,1,17117,2],[17118,1,17118,2],[17107,1,17107,2],[17108,1,17108,2],[17109,1,17109,2],[17110,1,17110,2],[17111,1,17111,2],[17112,1,17112,2],[17101,1,17101,2],[17102,1,17102,2],[17103,1,17103,2],[17104,1,17104,2],[17105,1,17105,2],[17106,1,17106,2],[17095,1,17095,2],[17096,1,17096,2],[17097,1,17097,2],[17098,1,17098,2],[17099,1,17099,2],[17100,1,17100,2],[17089,1,17089,2],[17090,1,17090,2],[17091,1,17091,2],[17092,1,17092,2],[17093,1,17093,2],[17094,1,17094,2],[17083,1,17083,2],[17084,1,17084,2],[17085,1,17085,2],[17086,1,17086,2],[17087,1,17087,2],[17088,1,17088,2],[17077,1,17077,2],[17078,1,17078,2],[17079,1,17079,2],[17080,1,17080,2],[17081,1,17081,2],[17082,1,17082,2],[17071,1,17071,2],[17072,1,17072,2],[17073,1,17073,2],[17074,1,17074,2],[17075,1,17075,2],[17076,1,17076,2],[17065,1,17065,2],[17066,1,17066,2],[17067,1,17067,2],[17068,1,17068,2],[17069,1,17069,2],[17070,1,17070,2],[17059,1,17059,2],[17060,1,17060,2],[17061,1,17061,2],[17062,1,17062,2],[17063,1,17063,2],[17064,1,17064,2],[17053,1,17053,2],[17054,1,17054,2],[17055,1,17055,2],[17056,1,17056,2],[17057,1,17057,2],[17058,1,17058,2],[17047,1,17047,2],[17048,1,17048,2],[17049,1,17049,2],[17050,1,17050,2],[17051,1,17051,2],[17052,1,17052,2],[17041,1,17041,2],[17042,1,17042,2],[17043,1,17043,2],[17044,1,17044,2],[17045,1,17045,2],[17046,1,17046,2],[17035,1,17035,2],[17036,1,17036,2],[17037,1,17037,2],[17038,1,17038,2],[17039,1,17039,2],[17040,1,17040,2],[17029,1,17029,2],[17030,1,17030,2],[17031,1,17031,2],[17032,1,17032,2],[17033,1,17033,2],[17034,1,17034,2],[17023,1,17023,2],[17024,1,17024,2],[17025,1,17025,2],[17026,1,17026,2],[17027,1,17027,2],[17028,1,17028,2],[17017,1,17017,2],[17018,1,17018,2],[17019,1,17019,2],[17020,1,17020,2],[17021,1,17021,2],[17022,1,17022,2],[17011,1,17011,2],[17012,1,17012,2],[17013,1,17013,2],[17014,1,17014,2],[17015,1,17015,2],[17016,1,17016,2],[17005,1,17005,2],[17006,1,17006,2],[17007,1,17007,2],[17008,1,17008,2],[17009,1,17009,2],[17010,1,17010,2],[16999,1,16999,2],[17000,1,17000,2],[17001,1,17001,2],[17002,1,17002,2],[17003,1,17003,2],[17004,1,17004,2],[16993,1,16993,2],[16994,1,16994,2],[16995,1,16995,2],[16996,1,16996,2],[16997,1,16997,2],[16998,1,16998,2],[16987,1,16987,2],[16988,1,16988,2],[16989,1,16989,2],[16990,1,16990,2],[16991,1,16991,2],[16992,1,16992,2],[16981,1,16981,2],[16982,1,16982,2],[16983,1,16983,2],[16984,1,16984,2],[16985,1,16985,2],[16986,1,16986,2],[16975,1,16975,2],[16976,1,16976,2],[16977,1,16977,2],[16978,1,16978,2],[16979,1,16979,2],[16980,1,16980,2],[16969,1,16969,2],[16970,1,16970,2],[16971,1,16971,2],[16972,1,16972,2],[16973,1,16973,2],[16974,1,16974,2],[16963,1,16963,2],[16964,1,16964,2],[16965,1,16965,2],[16966,1,16966,2],[16967,1,16967,2],[16968,1,16968,2],[16957,1,16957,2],[16958,1,16958,2],[16959,1,16959,2],[16960,1,16960,2],[16961,1,16961,2],[16962,1,16962,2],[16951,1,16951,2],[16952,1,16952,2],[16953,1,16953,2],[16954,1,16954,2],[16955,1,16955,2],[16956,1,16956,2],[16945,1,16945,2],[16946,1,16946,2],[16947,1,16947,2],[16948,1,16948,2],[16949,1,16949,2],[16950,1,16950,2],[16939,1,16939,2],[16940,1,16940,2],[16941,1,16941,2],[16942,1,16942,2],[16943,1,16943,2],[16944,1,16944,2],[16933,1,16933,2],[16934,1,16934,2],[16935,1,16935,2],[16936,1,16936,2],[16937,1,16937,2],[16938,1,16938,2],[16927,1,16927,2],[16928,1,16928,2],[16929,1,16929,2],[16930,1,16930,2],[16931,1,16931,2],[16932,1,16932,2],[16921,1,16921,2],[16922,1,16922,2],[16923,1,16923,2],[16924,1,16924,2],[16925,1,16925,2],[16926,1,16926,2],[16915,1,16915,2],[16916,1,16916,2],[16917,1,16917,2],[16918,1,16918,2],[16919,1,16919,2],[16920,1,16920,2],[16909,1,16909,2],[16910,1,16910,2],[16911,1,16911,2],[16912,1,16912,2],[16913,1,16913,2],[16914,1,16914,2],[16903,1,16903,2],[16904,1,16904,2],[16905,1,16905,2],[16906,1,16906,2],[16907,1,16907,2],[16908,1,16908,2],[16897,1,16897,2],[16898,1,16898,2],[16899,1,16899,2],[16900,1,16900,2],[16901,1,16901,2],[16902,1,16902,2],[16891,1,16891,2],[16892,1,16892,2],[16893,1,16893,2],[16894,1,16894,2],[16895,1,16895,2],[16896,1,16896,2],[16885,1,16885,2],[16886,1,16886,2],[16887,1,16887,2],[16888,1,16888,2],[16889,1,16889,2],[16890,1,16890,2],[16879,1,16879,2],[16880,1,16880,2],[16881,1,16881,2],[16882,1,16882,2],[16883,1,16883,2],[16884,1,16884,2],[16873,1,16873,2],[16874,1,16874,2],[16875,1,16875,2],[16876,1,16876,2],[16877,1,16877,2],[16878,1,16878,2],[16867,1,16867,2],[16868,1,16868,2],[16869,1,16869,2],[16870,1,16870,2],[16871,1,16871,2],[16872,1,16872,2],[16861,1,16861,2],[16862,1,16862,2],[16863,1,16863,2],[16864,1,16864,2],[16865,1,16865,2],[16866,1,16866,2],[16855,1,16855,2],[16856,1,16856,2],[16857,1,16857,2],[16858,1,16858,2],[16859,1,16859,2],[16860,1,16860,2],[16849,1,16849,2],[16850,1,16850,2],[16851,1,16851,2],[16852,1,16852,2],[16853,1,16853,2],[16854,1,16854,2],[16843,1,16843,2],[16844,1,16844,2],[16845,1,16845,2],[16846,1,16846,2],[16847,1,16847,2],[16848,1,16848,2],[16837,1,16837,2],[16838,1,16838,2],[16839,1,16839,2],[16840,1,16840,2],[16841,1,16841,2],[16842,1,16842,2],[16831,1,16831,2],[16832,1,16832,2],[16833,1,16833,2],[16834,1,16834,2],[16835,1,16835,2],[16836,1,16836,2],[16825,1,16825,2],[16826,1,16826,2],[16827,1,16827,2],[16828,1,16828,2],[16829,1,16829,2],[16830,1,16830,2],[16819,1,16819,2],[16820,1,16820,2],[16821,1,16821,2],[16822,1,16822,2],[16823,1,16823,2],[16824,1,16824,2],[16813,1,16813,2],[16814,1,16814,2],[16815,1,16815,2],[16816,1,16816,2],[16817,1,16817,2],[16818,1,16818,2],[16807,1,16807,2],[16808,1,16808,2],[16809,1,16809,2],[16810,1,16810,2],[16811,1,16811,2],[16812,1,16812,2],[16801,1,16801,2],[16802,1,16802,2],[16803,1,16803,2],[16804,1,16804,2],[16805,1,16805,2],[16806,1,16806,2],[16795,1,16795,2],[16796,1,16796,2],[16797,1,16797,2],[16798,1,16798,2],[16799,1,16799,2],[16800,1,16800,2],[16789,1,16789,2],[16790,1,16790,2],[16791,1,16791,2],[16792,1,16792,2],[16793,1,16793,2],[16794,1,16794,2],[16783,1,16783,2],[16784,1,16784,2],[16785,1,16785,2],[16786,1,16786,2],[16787,1,16787,2],[16788,1,16788,2],[16777,1,16777,2],[16778,1,16778,2],[16779,1,16779,2],[16780,1,16780,2],[16781,1,16781,2],[16782,1,16782,2],[16771,1,16771,2],[16772,1,16772,2],[16773,1,16773,2],[16774,1,16774,2],[16775,1,16775,2],[16776,1,16776,2],[16765,1,16765,2],[16766,1,16766,2],[16767,1,16767,2],[16768,1,16768,2],[16769,1,16769,2],[16770,1,16770,2],[16759,1,16759,2],[16760,1,16760,2],[16761,1,16761,2],[16762,1,16762,2],[16763,1,16763,2],[16764,1,16764,2],[16753,1,16753,2],[16754,1,16754,2],[16755,1,16755,2],[16756,1,16756,2],[16757,1,16757,2],[16758,1,16758,2],[16747,1,16747,2],[16748,1,16748,2],[16749,1,16749,2],[16750,1,16750,2],[16751,1,16751,2],[16752,1,16752,2],[16741,1,16741,2],[16742,1,16742,2],[16743,1,16743,2],[16744,1,16744,2],[16745,1,16745,2],[16746,1,16746,2],[16735,1,16735,2],[16736,1,16736,2],[16737,1,16737,2],[16738,1,16738,2],[16739,1,16739,2],[16740,1,16740,2],[16729,1,16729,2],[16730,1,16730,2],[16731,1,16731,2],[16732,1,16732,2],[16733,1,16733,2],[16734,1,16734,2],[16723,1,16723,2],[16724,1,16724,2],[16725,1,16725,2],[16726,1,16726,2],[16727,1,16727,2],[16728,1,16728,2],[16717,1,16717,2],[16718,1,16718,2],[16719,1,16719,2],[16720,1,16720,2],[16721,1,16721,2],[16722,1,16722,2],[16711,1,16711,2],[16712,1,16712,2],[16713,1,16713,2],[16714,1,16714,2],[16715,1,16715,2],[16716,1,16716,2],[16705,1,16705,2],[16706,1,16706,2],[16707,1,16707,2],[16708,1,16708,2],[16709,1,16709,2],[16710,1,16710,2],[16699,1,16699,2],[16700,1,16700,2],[16701,1,16701,2],[16702,1,16702,2],[16703,1,16703,2],[16704,1,16704,2],[16693,1,16693,2],[16694,1,16694,2],[16695,1,16695,2],[16696,1,16696,2],[16697,1,16697,2],[16698,1,16698,2],[16687,1,16687,2],[16688,1,16688,2]],"bounds":{"rows_first":250,"rows_last":62,"rows_between":250,"halvings":3},"merged_total":15491,"flags":["merged_cut"]}
["Scientific Name","INPUT: Calculated Rank Low………High             [with Hs added & #DIV/0 replaced & calculation method selected]",null,"OUTPUT: Final Calculated Rank with flags","GT","HX or H+","Calc Low","Calc High","Rank AssignResult","Adj Low","Adj High","Range","Zero-Range Rank","1.5 or under","2.5 or under","3.5 or under","4.5 or under","Over 1.5","Over 2.5","Over 3.5","Over 4.5","Pct 1 or H/X","Pct 2","Pct 3","Pct 4","Pct 5","Exact Rank","Rank w/'?'","2-Num Rank","3-Num Rank & U Rank & 'NR'","Near Final Calculated Rank ","Final Calculated Rank -- min factors and overrides","indicator if Final Rank changed from Near Final","Meets minimum # of factors?","#factor groups with at least 1 value","# factors used in calculation",null,"ORIG Near Final Calculated Rank ","ORIG Final Calculated Rank (Presumptive G1 if Pop Size = A)","ORIG indicator if Rank changed by Presump- tive G1",null,"Final rank compare"]
[null,{"$f":"RULES!J4","v":"3AVG"},{"$f":"RULES!G3","v":5.5}]
[]
[]
[{"$f":"Calculate!A5","v":""},{"$f":"IF(F5=\"X\",\"X\",(IF(F5<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H5),0,Calculate!H5),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N5),0,Calculate!N5),IF(ISERROR(Calculate!J5),0,Calculate!J5))))))","v":0.78999999999999992},{"$f":"IF(F5=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I5),$C$2,Calculate!I5),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O5),$C$2,Calculate!O5),IF(ISERROR(Calculate!K5),$C$2,Calculate!K5))))","v":0.78999999999999992},{"$f":"AF5 & IF(OR($AH5,RIGHT($AF5,1)=\"X\"),\"\",RULES!$F$30)","v":"SU"},{"$f":"Calculate!P5","v":"S"},{"$f":"Calculate!Q5","v":"*"},{"$f":"B5","v":0.78999999999999992},0.78999999999999992,{"$f":"AF5","v":"SU"},{"$f":"IF(G5=\"H\",0,MIN(MAX(G5,0),$C$2))","v":0.78999999999999992},{"$f":"IF(H5=\"H\",0,MIN(MAX(H5,0),$C$2))","v":0.78999999999999992},{"$f":"K5-J5","v":0},{"$f":"IF(L5=0,IF(J5<=1.5,1,IF(J5<=2.5,2,IF(J5<=3.5,3,IF(J5<=4.5,4,5)))),0)","v":1},{"$f":"IF($J5<=1.5,IF($K5<=1.5,$L5,1.5-$J5),0)","v":0},{"$f":"IF($J5<=2.5,IF($K5<=2.5,$L5,2.5-$J5),0)","v":0},{"$f":"IF($J5<=3.5,IF($K5<=3.5,$L5,3.5-$J5),0)","v":0},{"$f":"IF($J5<=4.5,IF($K5<=4.5,$L5,4.5-$J5),0)","v":0},{"$f":"IF($K5<=1.5,0,IF($J5>1.5,$L5,$K5-1.5))","v":0},{"$f":"IF($K5<=2.5,0,IF($J5>2.5,$L5,$K5-2.5))","v":0},{"$f":"IF($K5<=3.5,0,IF($J5>3.5,$L5,$K5-3.5))","v":0},{"$f":"IF($K5<=4.5,0,IF($J5>4.5,$L5,$K5-4.5))","v":0},{"$f":"IF($L5=0,IF($M5=1,1,0),$N5/$L5)","v":1},{"$f":"IF($L5=0,IF($M5=2,1,0),($O5-$N5)/$L5)","v":0},{"$f":"IF($L5=0,IF($M5=3,1,0),($P5-$O5)/$L5)","v":0},{"$f":"IF($L5=0,IF($M5=4,1,0),($Q5-$P5)/$L5)","v":0},{"$f":"IF($L5=0,IF($M5=5,1,0),$U5/$L5)","v":0},{"$f":"IF(OR($F5=\"X\",$F5=\"H\",$F5=\"Z-ERROR\"),$F5,IF($V5>=RULES!$F$149,\"1\",IF($W5>=RULES!$F$149,\"2\",IF($X5>=RULES!$F$149,\"3\",IF($Y5>=RULES!$F$149,\"4\",IF($Z5>=RULES!$F$149,\"5\",\"*\"))))))","v":"1"},{"$f":"IF($AA5<>\"*\",\"~\",IF($V5>=RULES!$G$149,\"1?\",IF($W5>=RULES!$G$149,\"2?\",IF($X5>=RULES!$G$149,\"3?\",IF($Y5>=RULES!$G$149,\"4?\",IF($Z5>=RULES!$G$149,\"5?\",\"*\"))))))","v":"~"},{"$f":"IF($AB5<>\"*\",\"~\",IF((V5+W5>=RULES!$F$149),\"12\",IF((W5+X5>=RULES!$F$149),\"23\",IF((X5+Y5>=RULES!$F$149),\"34\",IF((Y5+Z5>=RULES!$F$149),\"45\",\"*\")))))","v":"~"},{"$f":"IF($AC5<>\"*\",\"~\",IF(Y5+Z5<(1-RULES!$F$149),\"13\",IF(V5+Z5<(1-RULES!$F$149),\"24\",IF(V5+W5<(1-RULES!$F$149),\"35\",\"U\"))))","v":"~"},{"$f":"IF(AA5<>\"*\",CONCATENATE(E5,AA5),IF(AB5<>\"*\",CONCATENATE(E5,AB5),IF(AC5<>\"*\",CONCATENATE(E5,LEFT(AC5,1),E5,RIGHT(AC5,1)),IF(AD5=\"NR\",CONCATENATE(E5,\"NR\"),IF(AD5=\"U\",CONCATENATE(E5,\"U\"),CONCATENATE(E5,LEFT(AD5,1),E5,RIGHT(AD5,1)))))))","v":"S1"},{"$f":"IF(OR($F5=\"X\",$F5=\"H\",$F5=\"Z-ERROR\",AND($AA5=\"H\",$AH5)),$AE5,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P5,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L5,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M5,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N5,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E5&\"1\",IF(NOT($AH5),$E5&\"U\",$AE5)))","v":"SU"},{"$f":"IF(AE5=AF5,\"\",\"changed\")","v":"changed"},{"$f":"'Calculator Table'!BN5","v":false},{"$f":"'Calculator Table'!BR5","v":1},{"$f":"Calculate!AV5","v":3},null,null,null,null,null,{"$f":"AND(AF5=AM5)","v":false}]
[{"$f":"Calculate!A6","v":"Perennial Herb"},{"$f":"IF(F6=\"X\",\"X\",(IF(F6<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H6),0,Calculate!H6),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N6),0,Calculate!N6),IF(ISERROR(Calculate!J6),0,Calculate!J6))))))","v":2.0635000000000003},{"$f":"IF(F6=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I6),$C$2,Calculate!I6),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O6),$C$2,Calculate!O6),IF(ISERROR(Calculate!K6),$C$2,Calculate!K6))))","v":2.0635000000000003},{"$f":"AF6 & IF(OR($AH6,RIGHT($AF6,1)=\"X\"),\"\",RULES!$F$30)","v":"S2"},{"$f":"Calculate!P6","v":"S"},{"$f":"Calculate!Q6","v":"*"},2.0635000000000003,2.0635000000000003,"S2",2.0635000000000003,2.0635000000000003,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,{"$f":"IF(OR($F6=\"X\",$F6=\"H\",$F6=\"Z-ERROR\"),$F6,IF($V6>=RULES!$F$149,\"1\",IF($W6>=RULES!$F$149,\"2\",IF($X6>=RULES!$F$149,\"3\",IF($Y6>=RULES!$F$149,\"4\",IF($Z6>=RULES!$F$149,\"5\",\"*\"))))))","v":"2"},{"$f":"IF($AA6<>\"*\",\"~\",IF($V6>=RULES!$G$149,\"1?\",IF($W6>=RULES!$G$149,\"2?\",IF($X6>=RULES!$G$149,\"3?\",IF($Y6>=RULES!$G$149,\"4?\",IF($Z6>=RULES!$G$149,\"5?\",\"*\"))))))","v":"~"},{"$f":"IF($AB6<>\"*\",\"~\",IF((V6+W6>=RULES!$F$149),\"12\",IF((W6+X6>=RULES!$F$149),\"23\",IF((X6+Y6>=RULES!$F$149),\"34\",IF((Y6+Z6>=RULES!$F$149),\"45\",\"*\")))))","v":"~"},{"$f":"IF($AC6<>\"*\",\"~\",IF(Y6+Z6<(1-RULES!$F$149),\"13\",IF(V6+Z6<(1-RULES!$F$149),\"24\",IF(V6+W6<(1-RULES!$F$149),\"35\",\"U\"))))","v":"~"},"S2",{"$f":"IF(OR($F6=\"X\",$F6=\"H\",$F6=\"Z-ERROR\",AND($AA6=\"H\",$AH6)),$AE6,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P6,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L6,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M6,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N6,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E6&\"1\",IF(NOT($AH6),$E6&\"U\",$AE6)))","v":"S2"},"",{"$f":"'Calculator Table'!BN6","v":true},{"$f":"'Calculator Table'!BR6","v":3},{"$f":"Calculate!AV6","v":8},null,null,null,null,null,false]
[{"$f":"Calculate!A7","v":"Bird"},{"$f":"IF(F7=\"X\",\"X\",(IF(F7<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H7),0,Calculate!H7),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N7),0,Calculate!N7),IF(ISERROR(Calculate!J7),0,Calculate!J7))))))","v":3.2263333333333333},{"$f":"IF(F7=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I7),$C$2,Calculate!I7),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O7),$C$2,Calculate!O7),IF(ISERROR(Calculate!K7),$C$2,Calculate!K7))))","v":3.7783333333333329},{"$f":"AF7 & IF(OR($AH7,RIGHT($AF7,1)=\"X\"),\"\",RULES!$F$30)","v":"S3S4"},{"$f":"Calculate!P7","v":"S"},{"$f":"Calculate!Q7","v":"*"},3.2263333333333333,3.7783333333333329,"S3S4",3.2263333333333333,3.7783333333333329,0.5519999999999996,0,0,0,0.27366666666666672,0.5519999999999996,0.5519999999999996,0.5519999999999996,0.27833333333333288,0,0,0,0.49577294685990386,0.50422705314009619,0,{"$f":"IF(OR($F7=\"X\",$F7=\"H\",$F7=\"Z-ERROR\"),$F7,IF($V7>=RULES!$F$149,\"1\",IF($W7>=RULES!$F$149,\"2\",IF($X7>=RULES!$F$149,\"3\",IF($Y7>=RULES!$F$149,\"4\",IF($Z7>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA7<>\"*\",\"~\",IF($V7>=RULES!$G$149,\"1?\",IF($W7>=RULES!$G$149,\"2?\",IF($X7>=RULES!$G$149,\"3?\",IF($Y7>=RULES!$G$149,\"4?\",IF($Z7>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB7<>\"*\",\"~\",IF((V7+W7>=RULES!$F$149),\"12\",IF((W7+X7>=RULES!$F$149),\"23\",IF((X7+Y7>=RULES!$F$149),\"34\",IF((Y7+Z7>=RULES!$F$149),\"45\",\"*\")))))","v":"34"},{"$f":"IF($AC7<>\"*\",\"~\",IF(Y7+Z7<(1-RULES!$F$149),\"13\",IF(V7+Z7<(1-RULES!$F$149),\"24\",IF(V7+W7<(1-RULES!$F$149),\"35\",\"U\"))))","v":"~"},"S3S4",{"$f":"IF(OR($F7=\"X\",$F7=\"H\",$F7=\"Z-ERROR\",AND($AA7=\"H\",$AH7)),$AE7,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P7,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L7,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M7,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N7,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E7&\"1\",IF(NOT($AH7),$E7&\"U\",$AE7)))","v":"S3S4"},"",{"$f":"'Calculator Table'!BN7","v":true},{"$f":"'Calculator Table'!BR7","v":3},{"$f":"Calculate!AV7","v":5},null,null,null,null,null,false]
[{"$f":"Calculate!A8","v":"skipper"},{"$f":"IF(F8=\"X\",\"X\",(IF(F8<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H8),0,Calculate!H8),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N8),0,Calculate!N8),IF(ISERROR(Calculate!J8),0,Calculate!J8))))))","v":1.9245000000000001},{"$f":"IF(F8=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I8),$C$2,Calculate!I8),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O8),$C$2,Calculate!O8),IF(ISERROR(Calculate!K8),$C$2,Calculate!K8))))","v":1.9245000000000001},{"$f":"AF8 & IF(OR($AH8,RIGHT($AF8,1)=\"X\"),\"\",RULES!$F$30)","v":"S2"},{"$f":"Calculate!P8","v":"S"},{"$f":"Calculate!Q8","v":"*"},1.9245000000000001,1.9245000000000001,"S2",1.9245000000000001,1.9245000000000001,0,2,0,0,0,0,0,0,0,0,0,1,0,0,0,{"$f":"IF(OR($F8=\"X\",$F8=\"H\",$F8=\"Z-ERROR\"),$F8,IF($V8>=RULES!$F$149,\"1\",IF($W8>=RULES!$F$149,\"2\",IF($X8>=RULES!$F$149,\"3\",IF($Y8>=RULES!$F$149,\"4\",IF($Z8>=RULES!$F$149,\"5\",\"*\"))))))","v":"2"},{"$f":"IF($AA8<>\"*\",\"~\",IF($V8>=RULES!$G$149,\"1?\",IF($W8>=RULES!$G$149,\"2?\",IF($X8>=RULES!$G$149,\"3?\",IF($Y8>=RULES!$G$149,\"4?\",IF($Z8>=RULES!$G$149,\"5?\",\"*\"))))))","v":"~"},{"$f":"IF($AB8<>\"*\",\"~\",IF((V8+W8>=RULES!$F$149),\"12\",IF((W8+X8>=RULES!$F$149),\"23\",IF((X8+Y8>=RULES!$F$149),\"34\",IF((Y8+Z8>=RULES!$F$149),\"45\",\"*\")))))","v":"~"},{"$f":"IF($AC8<>\"*\",\"~\",IF(Y8+Z8<(1-RULES!$F$149),\"13\",IF(V8+Z8<(1-RULES!$F$149),\"24\",IF(V8+W8<(1-RULES!$F$149),\"35\",\"U\"))))","v":"~"},"S2",{"$f":"IF(OR($F8=\"X\",$F8=\"H\",$F8=\"Z-ERROR\",AND($AA8=\"H\",$AH8)),$AE8,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P8,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L8,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M8,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N8,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E8&\"1\",IF(NOT($AH8),$E8&\"U\",$AE8)))","v":"S2"},"",{"$f":"'Calculator Table'!BN8","v":true},{"$f":"'Calculator Table'!BR8","v":3},{"$f":"Calculate!AV8","v":6},null,null,null,null,null,false]
[{"$f":"Calculate!A9","v":0},{"$f":"IF(F9=\"X\",\"X\",(IF(F9<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H9),0,Calculate!H9),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N9),0,Calculate!N9),IF(ISERROR(Calculate!J9),0,Calculate!J9))))))","v":0},{"$f":"IF(F9=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I9),$C$2,Calculate!I9),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O9),$C$2,Calculate!O9),IF(ISERROR(Calculate!K9),$C$2,Calculate!K9))))","v":5.5},{"$f":"AF9 & IF(OR($AH9,RIGHT($AF9,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P9","v":"S"},{"$f":"Calculate!Q9","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F9=\"X\",$F9=\"H\",$F9=\"Z-ERROR\"),$F9,IF($V9>=RULES!$F$149,\"1\",IF($W9>=RULES!$F$149,\"2\",IF($X9>=RULES!$F$149,\"3\",IF($Y9>=RULES!$F$149,\"4\",IF($Z9>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA9<>\"*\",\"~\",IF($V9>=RULES!$G$149,\"1?\",IF($W9>=RULES!$G$149,\"2?\",IF($X9>=RULES!$G$149,\"3?\",IF($Y9>=RULES!$G$149,\"4?\",IF($Z9>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB9<>\"*\",\"~\",IF((V9+W9>=RULES!$F$149),\"12\",IF((W9+X9>=RULES!$F$149),\"23\",IF((X9+Y9>=RULES!$F$149),\"34\",IF((Y9+Z9>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC9<>\"*\",\"~\",IF(Y9+Z9<(1-RULES!$F$149),\"13\",IF(V9+Z9<(1-RULES!$F$149),\"24\",IF(V9+W9<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F9=\"X\",$F9=\"H\",$F9=\"Z-ERROR\",AND($AA9=\"H\",$AH9)),$AE9,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P9,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L9,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M9,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N9,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E9&\"1\",IF(NOT($AH9),$E9&\"U\",$AE9)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN9","v":""},{"$f":"'Calculator Table'!BR9","v":0},{"$f":"Calculate!AV9","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A10","v":0},{"$f":"IF(F10=\"X\",\"X\",(IF(F10<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H10),0,Calculate!H10),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N10),0,Calculate!N10),IF(ISERROR(Calculate!J10),0,Calculate!J10))))))","v":0},{"$f":"IF(F10=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I10),$C$2,Calculate!I10),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O10),$C$2,Calculate!O10),IF(ISERROR(Calculate!K10),$C$2,Calculate!K10))))","v":5.5},{"$f":"AF10 & IF(OR($AH10,RIGHT($AF10,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P10","v":"S"},{"$f":"Calculate!Q10","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F10=\"X\",$F10=\"H\",$F10=\"Z-ERROR\"),$F10,IF($V10>=RULES!$F$149,\"1\",IF($W10>=RULES!$F$149,\"2\",IF($X10>=RULES!$F$149,\"3\",IF($Y10>=RULES!$F$149,\"4\",IF($Z10>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA10<>\"*\",\"~\",IF($V10>=RULES!$G$149,\"1?\",IF($W10>=RULES!$G$149,\"2?\",IF($X10>=RULES!$G$149,\"3?\",IF($Y10>=RULES!$G$149,\"4?\",IF($Z10>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB10<>\"*\",\"~\",IF((V10+W10>=RULES!$F$149),\"12\",IF((W10+X10>=RULES!$F$149),\"23\",IF((X10+Y10>=RULES!$F$149),\"34\",IF((Y10+Z10>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC10<>\"*\",\"~\",IF(Y10+Z10<(1-RULES!$F$149),\"13\",IF(V10+Z10<(1-RULES!$F$149),\"24\",IF(V10+W10<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F10=\"X\",$F10=\"H\",$F10=\"Z-ERROR\",AND($AA10=\"H\",$AH10)),$AE10,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P10,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L10,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M10,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N10,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E10&\"1\",IF(NOT($AH10),$E10&\"U\",$AE10)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN10","v":""},{"$f":"'Calculator Table'!BR10","v":0},{"$f":"Calculate!AV10","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A11","v":0},{"$f":"IF(F11=\"X\",\"X\",(IF(F11<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H11),0,Calculate!H11),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N11),0,Calculate!N11),IF(ISERROR(Calculate!J11),0,Calculate!J11))))))","v":0},{"$f":"IF(F11=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I11),$C$2,Calculate!I11),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O11),$C$2,Calculate!O11),IF(ISERROR(Calculate!K11),$C$2,Calculate!K11))))","v":5.5},{"$f":"AF11 & IF(OR($AH11,RIGHT($AF11,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P11","v":"S"},{"$f":"Calculate!Q11","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F11=\"X\",$F11=\"H\",$F11=\"Z-ERROR\"),$F11,IF($V11>=RULES!$F$149,\"1\",IF($W11>=RULES!$F$149,\"2\",IF($X11>=RULES!$F$149,\"3\",IF($Y11>=RULES!$F$149,\"4\",IF($Z11>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA11<>\"*\",\"~\",IF($V11>=RULES!$G$149,\"1?\",IF($W11>=RULES!$G$149,\"2?\",IF($X11>=RULES!$G$149,\"3?\",IF($Y11>=RULES!$G$149,\"4?\",IF($Z11>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB11<>\"*\",\"~\",IF((V11+W11>=RULES!$F$149),\"12\",IF((W11+X11>=RULES!$F$149),\"23\",IF((X11+Y11>=RULES!$F$149),\"34\",IF((Y11+Z11>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC11<>\"*\",\"~\",IF(Y11+Z11<(1-RULES!$F$149),\"13\",IF(V11+Z11<(1-RULES!$F$149),\"24\",IF(V11+W11<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F11=\"X\",$F11=\"H\",$F11=\"Z-ERROR\",AND($AA11=\"H\",$AH11)),$AE11,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P11,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L11,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M11,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N11,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E11&\"1\",IF(NOT($AH11),$E11&\"U\",$AE11)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN11","v":""},{"$f":"'Calculator Table'!BR11","v":0},{"$f":"Calculate!AV11","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A12","v":0},{"$f":"IF(F12=\"X\",\"X\",(IF(F12<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H12),0,Calculate!H12),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N12),0,Calculate!N12),IF(ISERROR(Calculate!J12),0,Calculate!J12))))))","v":0},{"$f":"IF(F12=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I12),$C$2,Calculate!I12),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O12),$C$2,Calculate!O12),IF(ISERROR(Calculate!K12),$C$2,Calculate!K12))))","v":5.5},{"$f":"AF12 & IF(OR($AH12,RIGHT($AF12,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P12","v":"S"},{"$f":"Calculate!Q12","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F12=\"X\",$F12=\"H\",$F12=\"Z-ERROR\"),$F12,IF($V12>=RULES!$F$149,\"1\",IF($W12>=RULES!$F$149,\"2\",IF($X12>=RULES!$F$149,\"3\",IF($Y12>=RULES!$F$149,\"4\",IF($Z12>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA12<>\"*\",\"~\",IF($V12>=RULES!$G$149,\"1?\",IF($W12>=RULES!$G$149,\"2?\",IF($X12>=RULES!$G$149,\"3?\",IF($Y12>=RULES!$G$149,\"4?\",IF($Z12>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB12<>\"*\",\"~\",IF((V12+W12>=RULES!$F$149),\"12\",IF((W12+X12>=RULES!$F$149),\"23\",IF((X12+Y12>=RULES!$F$149),\"34\",IF((Y12+Z12>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC12<>\"*\",\"~\",IF(Y12+Z12<(1-RULES!$F$149),\"13\",IF(V12+Z12<(1-RULES!$F$149),\"24\",IF(V12+W12<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F12=\"X\",$F12=\"H\",$F12=\"Z-ERROR\",AND($AA12=\"H\",$AH12)),$AE12,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P12,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L12,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M12,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N12,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E12&\"1\",IF(NOT($AH12),$E12&\"U\",$AE12)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN12","v":""},{"$f":"'Calculator Table'!BR12","v":0},{"$f":"Calculate!AV12","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A13","v":0},{"$f":"IF(F13=\"X\",\"X\",(IF(F13<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H13),0,Calculate!H13),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N13),0,Calculate!N13),IF(ISERROR(Calculate!J13),0,Calculate!J13))))))","v":0},{"$f":"IF(F13=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I13),$C$2,Calculate!I13),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O13),$C$2,Calculate!O13),IF(ISERROR(Calculate!K13),$C$2,Calculate!K13))))","v":5.5},{"$f":"AF13 & IF(OR($AH13,RIGHT($AF13,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P13","v":"S"},{"$f":"Calculate!Q13","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F13=\"X\",$F13=\"H\",$F13=\"Z-ERROR\"),$F13,IF($V13>=RULES!$F$149,\"1\",IF($W13>=RULES!$F$149,\"2\",IF($X13>=RULES!$F$149,\"3\",IF($Y13>=RULES!$F$149,\"4\",IF($Z13>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA13<>\"*\",\"~\",IF($V13>=RULES!$G$149,\"1?\",IF($W13>=RULES!$G$149,\"2?\",IF($X13>=RULES!$G$149,\"3?\",IF($Y13>=RULES!$G$149,\"4?\",IF($Z13>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB13<>\"*\",\"~\",IF((V13+W13>=RULES!$F$149),\"12\",IF((W13+X13>=RULES!$F$149),\"23\",IF((X13+Y13>=RULES!$F$149),\"34\",IF((Y13+Z13>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC13<>\"*\",\"~\",IF(Y13+Z13<(1-RULES!$F$149),\"13\",IF(V13+Z13<(1-RULES!$F$149),\"24\",IF(V13+W13<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F13=\"X\",$F13=\"H\",$F13=\"Z-ERROR\",AND($AA13=\"H\",$AH13)),$AE13,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P13,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L13,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M13,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N13,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E13&\"1\",IF(NOT($AH13),$E13&\"U\",$AE13)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN13","v":""},{"$f":"'Calculator Table'!BR13","v":0},{"$f":"Calculate!AV13","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A14","v":0},{"$f":"IF(F14=\"X\",\"X\",(IF(F14<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H14),0,Calculate!H14),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N14),0,Calculate!N14),IF(ISERROR(Calculate!J14),0,Calculate!J14))))))","v":0},{"$f":"IF(F14=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I14),$C$2,Calculate!I14),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O14),$C$2,Calculate!O14),IF(ISERROR(Calculate!K14),$C$2,Calculate!K14))))","v":5.5},{"$f":"AF14 & IF(OR($AH14,RIGHT($AF14,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P14","v":"S"},{"$f":"Calculate!Q14","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F14=\"X\",$F14=\"H\",$F14=\"Z-ERROR\"),$F14,IF($V14>=RULES!$F$149,\"1\",IF($W14>=RULES!$F$149,\"2\",IF($X14>=RULES!$F$149,\"3\",IF($Y14>=RULES!$F$149,\"4\",IF($Z14>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA14<>\"*\",\"~\",IF($V14>=RULES!$G$149,\"1?\",IF($W14>=RULES!$G$149,\"2?\",IF($X14>=RULES!$G$149,\"3?\",IF($Y14>=RULES!$G$149,\"4?\",IF($Z14>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB14<>\"*\",\"~\",IF((V14+W14>=RULES!$F$149),\"12\",IF((W14+X14>=RULES!$F$149),\"23\",IF((X14+Y14>=RULES!$F$149),\"34\",IF((Y14+Z14>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC14<>\"*\",\"~\",IF(Y14+Z14<(1-RULES!$F$149),\"13\",IF(V14+Z14<(1-RULES!$F$149),\"24\",IF(V14+W14<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F14=\"X\",$F14=\"H\",$F14=\"Z-ERROR\",AND($AA14=\"H\",$AH14)),$AE14,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P14,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L14,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M14,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N14,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E14&\"1\",IF(NOT($AH14),$E14&\"U\",$AE14)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN14","v":""},{"$f":"'Calculator Table'!BR14","v":0},{"$f":"Calculate!AV14","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A15","v":0},{"$f":"IF(F15=\"X\",\"X\",(IF(F15<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H15),0,Calculate!H15),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N15),0,Calculate!N15),IF(ISERROR(Calculate!J15),0,Calculate!J15))))))","v":0},{"$f":"IF(F15=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I15),$C$2,Calculate!I15),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O15),$C$2,Calculate!O15),IF(ISERROR(Calculate!K15),$C$2,Calculate!K15))))","v":5.5},{"$f":"AF15 & IF(OR($AH15,RIGHT($AF15,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P15","v":"S"},{"$f":"Calculate!Q15","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F15=\"X\",$F15=\"H\",$F15=\"Z-ERROR\"),$F15,IF($V15>=RULES!$F$149,\"1\",IF($W15>=RULES!$F$149,\"2\",IF($X15>=RULES!$F$149,\"3\",IF($Y15>=RULES!$F$149,\"4\",IF($Z15>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA15<>\"*\",\"~\",IF($V15>=RULES!$G$149,\"1?\",IF($W15>=RULES!$G$149,\"2?\",IF($X15>=RULES!$G$149,\"3?\",IF($Y15>=RULES!$G$149,\"4?\",IF($Z15>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB15<>\"*\",\"~\",IF((V15+W15>=RULES!$F$149),\"12\",IF((W15+X15>=RULES!$F$149),\"23\",IF((X15+Y15>=RULES!$F$149),\"34\",IF((Y15+Z15>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC15<>\"*\",\"~\",IF(Y15+Z15<(1-RULES!$F$149),\"13\",IF(V15+Z15<(1-RULES!$F$149),\"24\",IF(V15+W15<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F15=\"X\",$F15=\"H\",$F15=\"Z-ERROR\",AND($AA15=\"H\",$AH15)),$AE15,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P15,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L15,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M15,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N15,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E15&\"1\",IF(NOT($AH15),$E15&\"U\",$AE15)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN15","v":""},{"$f":"'Calculator Table'!BR15","v":0},{"$f":"Calculate!AV15","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A16","v":0},{"$f":"IF(F16=\"X\",\"X\",(IF(F16<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H16),0,Calculate!H16),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N16),0,Calculate!N16),IF(ISERROR(Calculate!J16),0,Calculate!J16))))))","v":0},{"$f":"IF(F16=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I16),$C$2,Calculate!I16),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O16),$C$2,Calculate!O16),IF(ISERROR(Calculate!K16),$C$2,Calculate!K16))))","v":5.5},{"$f":"AF16 & IF(OR($AH16,RIGHT($AF16,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P16","v":"S"},{"$f":"Calculate!Q16","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F16=\"X\",$F16=\"H\",$F16=\"Z-ERROR\"),$F16,IF($V16>=RULES!$F$149,\"1\",IF($W16>=RULES!$F$149,\"2\",IF($X16>=RULES!$F$149,\"3\",IF($Y16>=RULES!$F$149,\"4\",IF($Z16>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA16<>\"*\",\"~\",IF($V16>=RULES!$G$149,\"1?\",IF($W16>=RULES!$G$149,\"2?\",IF($X16>=RULES!$G$149,\"3?\",IF($Y16>=RULES!$G$149,\"4?\",IF($Z16>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB16<>\"*\",\"~\",IF((V16+W16>=RULES!$F$149),\"12\",IF((W16+X16>=RULES!$F$149),\"23\",IF((X16+Y16>=RULES!$F$149),\"34\",IF((Y16+Z16>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC16<>\"*\",\"~\",IF(Y16+Z16<(1-RULES!$F$149),\"13\",IF(V16+Z16<(1-RULES!$F$149),\"24\",IF(V16+W16<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F16=\"X\",$F16=\"H\",$F16=\"Z-ERROR\",AND($AA16=\"H\",$AH16)),$AE16,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P16,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L16,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M16,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N16,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E16&\"1\",IF(NOT($AH16),$E16&\"U\",$AE16)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN16","v":""},{"$f":"'Calculator Table'!BR16","v":0},{"$f":"Calculate!AV16","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A17","v":0},{"$f":"IF(F17=\"X\",\"X\",(IF(F17<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H17),0,Calculate!H17),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N17),0,Calculate!N17),IF(ISERROR(Calculate!J17),0,Calculate!J17))))))","v":0},{"$f":"IF(F17=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I17),$C$2,Calculate!I17),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O17),$C$2,Calculate!O17),IF(ISERROR(Calculate!K17),$C$2,Calculate!K17))))","v":5.5},{"$f":"AF17 & IF(OR($AH17,RIGHT($AF17,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P17","v":"S"},{"$f":"Calculate!Q17","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F17=\"X\",$F17=\"H\",$F17=\"Z-ERROR\"),$F17,IF($V17>=RULES!$F$149,\"1\",IF($W17>=RULES!$F$149,\"2\",IF($X17>=RULES!$F$149,\"3\",IF($Y17>=RULES!$F$149,\"4\",IF($Z17>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA17<>\"*\",\"~\",IF($V17>=RULES!$G$149,\"1?\",IF($W17>=RULES!$G$149,\"2?\",IF($X17>=RULES!$G$149,\"3?\",IF($Y17>=RULES!$G$149,\"4?\",IF($Z17>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB17<>\"*\",\"~\",IF((V17+W17>=RULES!$F$149),\"12\",IF((W17+X17>=RULES!$F$149),\"23\",IF((X17+Y17>=RULES!$F$149),\"34\",IF((Y17+Z17>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC17<>\"*\",\"~\",IF(Y17+Z17<(1-RULES!$F$149),\"13\",IF(V17+Z17<(1-RULES!$F$149),\"24\",IF(V17+W17<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F17=\"X\",$F17=\"H\",$F17=\"Z-ERROR\",AND($AA17=\"H\",$AH17)),$AE17,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P17,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L17,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M17,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N17,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E17&\"1\",IF(NOT($AH17),$E17&\"U\",$AE17)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN17","v":""},{"$f":"'Calculator Table'!BR17","v":0},{"$f":"Calculate!AV17","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A18","v":0},{"$f":"IF(F18=\"X\",\"X\",(IF(F18<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H18),0,Calculate!H18),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N18),0,Calculate!N18),IF(ISERROR(Calculate!J18),0,Calculate!J18))))))","v":0},{"$f":"IF(F18=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I18),$C$2,Calculate!I18),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O18),$C$2,Calculate!O18),IF(ISERROR(Calculate!K18),$C$2,Calculate!K18))))","v":5.5},{"$f":"AF18 & IF(OR($AH18,RIGHT($AF18,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P18","v":"S"},{"$f":"Calculate!Q18","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F18=\"X\",$F18=\"H\",$F18=\"Z-ERROR\"),$F18,IF($V18>=RULES!$F$149,\"1\",IF($W18>=RULES!$F$149,\"2\",IF($X18>=RULES!$F$149,\"3\",IF($Y18>=RULES!$F$149,\"4\",IF($Z18>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA18<>\"*\",\"~\",IF($V18>=RULES!$G$149,\"1?\",IF($W18>=RULES!$G$149,\"2?\",IF($X18>=RULES!$G$149,\"3?\",IF($Y18>=RULES!$G$149,\"4?\",IF($Z18>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB18<>\"*\",\"~\",IF((V18+W18>=RULES!$F$149),\"12\",IF((W18+X18>=RULES!$F$149),\"23\",IF((X18+Y18>=RULES!$F$149),\"34\",IF((Y18+Z18>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC18<>\"*\",\"~\",IF(Y18+Z18<(1-RULES!$F$149),\"13\",IF(V18+Z18<(1-RULES!$F$149),\"24\",IF(V18+W18<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F18=\"X\",$F18=\"H\",$F18=\"Z-ERROR\",AND($AA18=\"H\",$AH18)),$AE18,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P18,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L18,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M18,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N18,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E18&\"1\",IF(NOT($AH18),$E18&\"U\",$AE18)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN18","v":""},{"$f":"'Calculator Table'!BR18","v":0},{"$f":"Calculate!AV18","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A19","v":0},{"$f":"IF(F19=\"X\",\"X\",(IF(F19<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H19),0,Calculate!H19),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N19),0,Calculate!N19),IF(ISERROR(Calculate!J19),0,Calculate!J19))))))","v":0},{"$f":"IF(F19=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I19),$C$2,Calculate!I19),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O19),$C$2,Calculate!O19),IF(ISERROR(Calculate!K19),$C$2,Calculate!K19))))","v":5.5},{"$f":"AF19 & IF(OR($AH19,RIGHT($AF19,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P19","v":"S"},{"$f":"Calculate!Q19","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F19=\"X\",$F19=\"H\",$F19=\"Z-ERROR\"),$F19,IF($V19>=RULES!$F$149,\"1\",IF($W19>=RULES!$F$149,\"2\",IF($X19>=RULES!$F$149,\"3\",IF($Y19>=RULES!$F$149,\"4\",IF($Z19>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA19<>\"*\",\"~\",IF($V19>=RULES!$G$149,\"1?\",IF($W19>=RULES!$G$149,\"2?\",IF($X19>=RULES!$G$149,\"3?\",IF($Y19>=RULES!$G$149,\"4?\",IF($Z19>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB19<>\"*\",\"~\",IF((V19+W19>=RULES!$F$149),\"12\",IF((W19+X19>=RULES!$F$149),\"23\",IF((X19+Y19>=RULES!$F$149),\"34\",IF((Y19+Z19>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC19<>\"*\",\"~\",IF(Y19+Z19<(1-RULES!$F$149),\"13\",IF(V19+Z19<(1-RULES!$F$149),\"24\",IF(V19+W19<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F19=\"X\",$F19=\"H\",$F19=\"Z-ERROR\",AND($AA19=\"H\",$AH19)),$AE19,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P19,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L19,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M19,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N19,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E19&\"1\",IF(NOT($AH19),$E19&\"U\",$AE19)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN19","v":""},{"$f":"'Calculator Table'!BR19","v":0},{"$f":"Calculate!AV19","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A20","v":0},{"$f":"IF(F20=\"X\",\"X\",(IF(F20<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H20),0,Calculate!H20),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N20),0,Calculate!N20),IF(ISERROR(Calculate!J20),0,Calculate!J20))))))","v":0},{"$f":"IF(F20=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I20),$C$2,Calculate!I20),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O20),$C$2,Calculate!O20),IF(ISERROR(Calculate!K20),$C$2,Calculate!K20))))","v":5.5},{"$f":"AF20 & IF(OR($AH20,RIGHT($AF20,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P20","v":"S"},{"$f":"Calculate!Q20","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F20=\"X\",$F20=\"H\",$F20=\"Z-ERROR\"),$F20,IF($V20>=RULES!$F$149,\"1\",IF($W20>=RULES!$F$149,\"2\",IF($X20>=RULES!$F$149,\"3\",IF($Y20>=RULES!$F$149,\"4\",IF($Z20>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA20<>\"*\",\"~\",IF($V20>=RULES!$G$149,\"1?\",IF($W20>=RULES!$G$149,\"2?\",IF($X20>=RULES!$G$149,\"3?\",IF($Y20>=RULES!$G$149,\"4?\",IF($Z20>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB20<>\"*\",\"~\",IF((V20+W20>=RULES!$F$149),\"12\",IF((W20+X20>=RULES!$F$149),\"23\",IF((X20+Y20>=RULES!$F$149),\"34\",IF((Y20+Z20>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC20<>\"*\",\"~\",IF(Y20+Z20<(1-RULES!$F$149),\"13\",IF(V20+Z20<(1-RULES!$F$149),\"24\",IF(V20+W20<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F20=\"X\",$F20=\"H\",$F20=\"Z-ERROR\",AND($AA20=\"H\",$AH20)),$AE20,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P20,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L20,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M20,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N20,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E20&\"1\",IF(NOT($AH20),$E20&\"U\",$AE20)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN20","v":""},{"$f":"'Calculator Table'!BR20","v":0},{"$f":"Calculate!AV20","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A21","v":0},{"$f":"IF(F21=\"X\",\"X\",(IF(F21<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H21),0,Calculate!H21),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N21),0,Calculate!N21),IF(ISERROR(Calculate!J21),0,Calculate!J21))))))","v":0},{"$f":"IF(F21=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I21),$C$2,Calculate!I21),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O21),$C$2,Calculate!O21),IF(ISERROR(Calculate!K21),$C$2,Calculate!K21))))","v":5.5},{"$f":"AF21 & IF(OR($AH21,RIGHT($AF21,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P21","v":"S"},{"$f":"Calculate!Q21","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F21=\"X\",$F21=\"H\",$F21=\"Z-ERROR\"),$F21,IF($V21>=RULES!$F$149,\"1\",IF($W21>=RULES!$F$149,\"2\",IF($X21>=RULES!$F$149,\"3\",IF($Y21>=RULES!$F$149,\"4\",IF($Z21>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA21<>\"*\",\"~\",IF($V21>=RULES!$G$149,\"1?\",IF($W21>=RULES!$G$149,\"2?\",IF($X21>=RULES!$G$149,\"3?\",IF($Y21>=RULES!$G$149,\"4?\",IF($Z21>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB21<>\"*\",\"~\",IF((V21+W21>=RULES!$F$149),\"12\",IF((W21+X21>=RULES!$F$149),\"23\",IF((X21+Y21>=RULES!$F$149),\"34\",IF((Y21+Z21>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC21<>\"*\",\"~\",IF(Y21+Z21<(1-RULES!$F$149),\"13\",IF(V21+Z21<(1-RULES!$F$149),\"24\",IF(V21+W21<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F21=\"X\",$F21=\"H\",$F21=\"Z-ERROR\",AND($AA21=\"H\",$AH21)),$AE21,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P21,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L21,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M21,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N21,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E21&\"1\",IF(NOT($AH21),$E21&\"U\",$AE21)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN21","v":""},{"$f":"'Calculator Table'!BR21","v":0},{"$f":"Calculate!AV21","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A22","v":0},{"$f":"IF(F22=\"X\",\"X\",(IF(F22<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H22),0,Calculate!H22),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N22),0,Calculate!N22),IF(ISERROR(Calculate!J22),0,Calculate!J22))))))","v":0},{"$f":"IF(F22=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I22),$C$2,Calculate!I22),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O22),$C$2,Calculate!O22),IF(ISERROR(Calculate!K22),$C$2,Calculate!K22))))","v":5.5},{"$f":"AF22 & IF(OR($AH22,RIGHT($AF22,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P22","v":"S"},{"$f":"Calculate!Q22","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F22=\"X\",$F22=\"H\",$F22=\"Z-ERROR\"),$F22,IF($V22>=RULES!$F$149,\"1\",IF($W22>=RULES!$F$149,\"2\",IF($X22>=RULES!$F$149,\"3\",IF($Y22>=RULES!$F$149,\"4\",IF($Z22>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA22<>\"*\",\"~\",IF($V22>=RULES!$G$149,\"1?\",IF($W22>=RULES!$G$149,\"2?\",IF($X22>=RULES!$G$149,\"3?\",IF($Y22>=RULES!$G$149,\"4?\",IF($Z22>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB22<>\"*\",\"~\",IF((V22+W22>=RULES!$F$149),\"12\",IF((W22+X22>=RULES!$F$149),\"23\",IF((X22+Y22>=RULES!$F$149),\"34\",IF((Y22+Z22>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC22<>\"*\",\"~\",IF(Y22+Z22<(1-RULES!$F$149),\"13\",IF(V22+Z22<(1-RULES!$F$149),\"24\",IF(V22+W22<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F22=\"X\",$F22=\"H\",$F22=\"Z-ERROR\",AND($AA22=\"H\",$AH22)),$AE22,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P22,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L22,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M22,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N22,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E22&\"1\",IF(NOT($AH22),$E22&\"U\",$AE22)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN22","v":""},{"$f":"'Calculator Table'!BR22","v":0},{"$f":"Calculate!AV22","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A23","v":0},{"$f":"IF(F23=\"X\",\"X\",(IF(F23<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H23),0,Calculate!H23),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N23),0,Calculate!N23),IF(ISERROR(Calculate!J23),0,Calculate!J23))))))","v":0},{"$f":"IF(F23=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I23),$C$2,Calculate!I23),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O23),$C$2,Calculate!O23),IF(ISERROR(Calculate!K23),$C$2,Calculate!K23))))","v":5.5},{"$f":"AF23 & IF(OR($AH23,RIGHT($AF23,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P23","v":"S"},{"$f":"Calculate!Q23","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F23=\"X\",$F23=\"H\",$F23=\"Z-ERROR\"),$F23,IF($V23>=RULES!$F$149,\"1\",IF($W23>=RULES!$F$149,\"2\",IF($X23>=RULES!$F$149,\"3\",IF($Y23>=RULES!$F$149,\"4\",IF($Z23>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA23<>\"*\",\"~\",IF($V23>=RULES!$G$149,\"1?\",IF($W23>=RULES!$G$149,\"2?\",IF($X23>=RULES!$G$149,\"3?\",IF($Y23>=RULES!$G$149,\"4?\",IF($Z23>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB23<>\"*\",\"~\",IF((V23+W23>=RULES!$F$149),\"12\",IF((W23+X23>=RULES!$F$149),\"23\",IF((X23+Y23>=RULES!$F$149),\"34\",IF((Y23+Z23>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC23<>\"*\",\"~\",IF(Y23+Z23<(1-RULES!$F$149),\"13\",IF(V23+Z23<(1-RULES!$F$149),\"24\",IF(V23+W23<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F23=\"X\",$F23=\"H\",$F23=\"Z-ERROR\",AND($AA23=\"H\",$AH23)),$AE23,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P23,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L23,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M23,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N23,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E23&\"1\",IF(NOT($AH23),$E23&\"U\",$AE23)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN23","v":""},{"$f":"'Calculator Table'!BR23","v":0},{"$f":"Calculate!AV23","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A24","v":0},{"$f":"IF(F24=\"X\",\"X\",(IF(F24<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H24),0,Calculate!H24),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N24),0,Calculate!N24),IF(ISERROR(Calculate!J24),0,Calculate!J24))))))","v":0},{"$f":"IF(F24=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I24),$C$2,Calculate!I24),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O24),$C$2,Calculate!O24),IF(ISERROR(Calculate!K24),$C$2,Calculate!K24))))","v":5.5},{"$f":"AF24 & IF(OR($AH24,RIGHT($AF24,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P24","v":"S"},{"$f":"Calculate!Q24","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F24=\"X\",$F24=\"H\",$F24=\"Z-ERROR\"),$F24,IF($V24>=RULES!$F$149,\"1\",IF($W24>=RULES!$F$149,\"2\",IF($X24>=RULES!$F$149,\"3\",IF($Y24>=RULES!$F$149,\"4\",IF($Z24>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA24<>\"*\",\"~\",IF($V24>=RULES!$G$149,\"1?\",IF($W24>=RULES!$G$149,\"2?\",IF($X24>=RULES!$G$149,\"3?\",IF($Y24>=RULES!$G$149,\"4?\",IF($Z24>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB24<>\"*\",\"~\",IF((V24+W24>=RULES!$F$149),\"12\",IF((W24+X24>=RULES!$F$149),\"23\",IF((X24+Y24>=RULES!$F$149),\"34\",IF((Y24+Z24>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC24<>\"*\",\"~\",IF(Y24+Z24<(1-RULES!$F$149),\"13\",IF(V24+Z24<(1-RULES!$F$149),\"24\",IF(V24+W24<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F24=\"X\",$F24=\"H\",$F24=\"Z-ERROR\",AND($AA24=\"H\",$AH24)),$AE24,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P24,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L24,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M24,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N24,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E24&\"1\",IF(NOT($AH24),$E24&\"U\",$AE24)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN24","v":""},{"$f":"'Calculator Table'!BR24","v":0},{"$f":"Calculate!AV24","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A25","v":0},{"$f":"IF(F25=\"X\",\"X\",(IF(F25<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H25),0,Calculate!H25),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N25),0,Calculate!N25),IF(ISERROR(Calculate!J25),0,Calculate!J25))))))","v":0},{"$f":"IF(F25=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I25),$C$2,Calculate!I25),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O25),$C$2,Calculate!O25),IF(ISERROR(Calculate!K25),$C$2,Calculate!K25))))","v":5.5},{"$f":"AF25 & IF(OR($AH25,RIGHT($AF25,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P25","v":"S"},{"$f":"Calculate!Q25","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F25=\"X\",$F25=\"H\",$F25=\"Z-ERROR\"),$F25,IF($V25>=RULES!$F$149,\"1\",IF($W25>=RULES!$F$149,\"2\",IF($X25>=RULES!$F$149,\"3\",IF($Y25>=RULES!$F$149,\"4\",IF($Z25>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA25<>\"*\",\"~\",IF($V25>=RULES!$G$149,\"1?\",IF($W25>=RULES!$G$149,\"2?\",IF($X25>=RULES!$G$149,\"3?\",IF($Y25>=RULES!$G$149,\"4?\",IF($Z25>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB25<>\"*\",\"~\",IF((V25+W25>=RULES!$F$149),\"12\",IF((W25+X25>=RULES!$F$149),\"23\",IF((X25+Y25>=RULES!$F$149),\"34\",IF((Y25+Z25>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC25<>\"*\",\"~\",IF(Y25+Z25<(1-RULES!$F$149),\"13\",IF(V25+Z25<(1-RULES!$F$149),\"24\",IF(V25+W25<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F25=\"X\",$F25=\"H\",$F25=\"Z-ERROR\",AND($AA25=\"H\",$AH25)),$AE25,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P25,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L25,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M25,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N25,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E25&\"1\",IF(NOT($AH25),$E25&\"U\",$AE25)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN25","v":""},{"$f":"'Calculator Table'!BR25","v":0},{"$f":"Calculate!AV25","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A26","v":0},{"$f":"IF(F26=\"X\",\"X\",(IF(F26<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H26),0,Calculate!H26),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N26),0,Calculate!N26),IF(ISERROR(Calculate!J26),0,Calculate!J26))))))","v":0},{"$f":"IF(F26=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I26),$C$2,Calculate!I26),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O26),$C$2,Calculate!O26),IF(ISERROR(Calculate!K26),$C$2,Calculate!K26))))","v":5.5},{"$f":"AF26 & IF(OR($AH26,RIGHT($AF26,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P26","v":"S"},{"$f":"Calculate!Q26","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F26=\"X\",$F26=\"H\",$F26=\"Z-ERROR\"),$F26,IF($V26>=RULES!$F$149,\"1\",IF($W26>=RULES!$F$149,\"2\",IF($X26>=RULES!$F$149,\"3\",IF($Y26>=RULES!$F$149,\"4\",IF($Z26>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA26<>\"*\",\"~\",IF($V26>=RULES!$G$149,\"1?\",IF($W26>=RULES!$G$149,\"2?\",IF($X26>=RULES!$G$149,\"3?\",IF($Y26>=RULES!$G$149,\"4?\",IF($Z26>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB26<>\"*\",\"~\",IF((V26+W26>=RULES!$F$149),\"12\",IF((W26+X26>=RULES!$F$149),\"23\",IF((X26+Y26>=RULES!$F$149),\"34\",IF((Y26+Z26>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC26<>\"*\",\"~\",IF(Y26+Z26<(1-RULES!$F$149),\"13\",IF(V26+Z26<(1-RULES!$F$149),\"24\",IF(V26+W26<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F26=\"X\",$F26=\"H\",$F26=\"Z-ERROR\",AND($AA26=\"H\",$AH26)),$AE26,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P26,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L26,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M26,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N26,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E26&\"1\",IF(NOT($AH26),$E26&\"U\",$AE26)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN26","v":""},{"$f":"'Calculator Table'!BR26","v":0},{"$f":"Calculate!AV26","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A27","v":0},{"$f":"IF(F27=\"X\",\"X\",(IF(F27<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H27),0,Calculate!H27),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N27),0,Calculate!N27),IF(ISERROR(Calculate!J27),0,Calculate!J27))))))","v":0},{"$f":"IF(F27=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I27),$C$2,Calculate!I27),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O27),$C$2,Calculate!O27),IF(ISERROR(Calculate!K27),$C$2,Calculate!K27))))","v":5.5},{"$f":"AF27 & IF(OR($AH27,RIGHT($AF27,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P27","v":"S"},{"$f":"Calculate!Q27","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F27=\"X\",$F27=\"H\",$F27=\"Z-ERROR\"),$F27,IF($V27>=RULES!$F$149,\"1\",IF($W27>=RULES!$F$149,\"2\",IF($X27>=RULES!$F$149,\"3\",IF($Y27>=RULES!$F$149,\"4\",IF($Z27>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA27<>\"*\",\"~\",IF($V27>=RULES!$G$149,\"1?\",IF($W27>=RULES!$G$149,\"2?\",IF($X27>=RULES!$G$149,\"3?\",IF($Y27>=RULES!$G$149,\"4?\",IF($Z27>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB27<>\"*\",\"~\",IF((V27+W27>=RULES!$F$149),\"12\",IF((W27+X27>=RULES!$F$149),\"23\",IF((X27+Y27>=RULES!$F$149),\"34\",IF((Y27+Z27>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC27<>\"*\",\"~\",IF(Y27+Z27<(1-RULES!$F$149),\"13\",IF(V27+Z27<(1-RULES!$F$149),\"24\",IF(V27+W27<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F27=\"X\",$F27=\"H\",$F27=\"Z-ERROR\",AND($AA27=\"H\",$AH27)),$AE27,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P27,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L27,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M27,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N27,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E27&\"1\",IF(NOT($AH27),$E27&\"U\",$AE27)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN27","v":""},{"$f":"'Calculator Table'!BR27","v":0},{"$f":"Calculate!AV27","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A28","v":0},{"$f":"IF(F28=\"X\",\"X\",(IF(F28<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H28),0,Calculate!H28),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N28),0,Calculate!N28),IF(ISERROR(Calculate!J28),0,Calculate!J28))))))","v":0},{"$f":"IF(F28=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I28),$C$2,Calculate!I28),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O28),$C$2,Calculate!O28),IF(ISERROR(Calculate!K28),$C$2,Calculate!K28))))","v":5.5},{"$f":"AF28 & IF(OR($AH28,RIGHT($AF28,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P28","v":"S"},{"$f":"Calculate!Q28","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F28=\"X\",$F28=\"H\",$F28=\"Z-ERROR\"),$F28,IF($V28>=RULES!$F$149,\"1\",IF($W28>=RULES!$F$149,\"2\",IF($X28>=RULES!$F$149,\"3\",IF($Y28>=RULES!$F$149,\"4\",IF($Z28>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA28<>\"*\",\"~\",IF($V28>=RULES!$G$149,\"1?\",IF($W28>=RULES!$G$149,\"2?\",IF($X28>=RULES!$G$149,\"3?\",IF($Y28>=RULES!$G$149,\"4?\",IF($Z28>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB28<>\"*\",\"~\",IF((V28+W28>=RULES!$F$149),\"12\",IF((W28+X28>=RULES!$F$149),\"23\",IF((X28+Y28>=RULES!$F$149),\"34\",IF((Y28+Z28>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC28<>\"*\",\"~\",IF(Y28+Z28<(1-RULES!$F$149),\"13\",IF(V28+Z28<(1-RULES!$F$149),\"24\",IF(V28+W28<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F28=\"X\",$F28=\"H\",$F28=\"Z-ERROR\",AND($AA28=\"H\",$AH28)),$AE28,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P28,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L28,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M28,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N28,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E28&\"1\",IF(NOT($AH28),$E28&\"U\",$AE28)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN28","v":""},{"$f":"'Calculator Table'!BR28","v":0},{"$f":"Calculate!AV28","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A29","v":0},{"$f":"IF(F29=\"X\",\"X\",(IF(F29<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H29),0,Calculate!H29),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N29),0,Calculate!N29),IF(ISERROR(Calculate!J29),0,Calculate!J29))))))","v":0},{"$f":"IF(F29=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I29),$C$2,Calculate!I29),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O29),$C$2,Calculate!O29),IF(ISERROR(Calculate!K29),$C$2,Calculate!K29))))","v":5.5},{"$f":"AF29 & IF(OR($AH29,RIGHT($AF29,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P29","v":"S"},{"$f":"Calculate!Q29","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F29=\"X\",$F29=\"H\",$F29=\"Z-ERROR\"),$F29,IF($V29>=RULES!$F$149,\"1\",IF($W29>=RULES!$F$149,\"2\",IF($X29>=RULES!$F$149,\"3\",IF($Y29>=RULES!$F$149,\"4\",IF($Z29>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA29<>\"*\",\"~\",IF($V29>=RULES!$G$149,\"1?\",IF($W29>=RULES!$G$149,\"2?\",IF($X29>=RULES!$G$149,\"3?\",IF($Y29>=RULES!$G$149,\"4?\",IF($Z29>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB29<>\"*\",\"~\",IF((V29+W29>=RULES!$F$149),\"12\",IF((W29+X29>=RULES!$F$149),\"23\",IF((X29+Y29>=RULES!$F$149),\"34\",IF((Y29+Z29>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC29<>\"*\",\"~\",IF(Y29+Z29<(1-RULES!$F$149),\"13\",IF(V29+Z29<(1-RULES!$F$149),\"24\",IF(V29+W29<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F29=\"X\",$F29=\"H\",$F29=\"Z-ERROR\",AND($AA29=\"H\",$AH29)),$AE29,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P29,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L29,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M29,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N29,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E29&\"1\",IF(NOT($AH29),$E29&\"U\",$AE29)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN29","v":""},{"$f":"'Calculator Table'!BR29","v":0},{"$f":"Calculate!AV29","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A30","v":0},{"$f":"IF(F30=\"X\",\"X\",(IF(F30<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H30),0,Calculate!H30),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N30),0,Calculate!N30),IF(ISERROR(Calculate!J30),0,Calculate!J30))))))","v":0},{"$f":"IF(F30=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I30),$C$2,Calculate!I30),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O30),$C$2,Calculate!O30),IF(ISERROR(Calculate!K30),$C$2,Calculate!K30))))","v":5.5},{"$f":"AF30 & IF(OR($AH30,RIGHT($AF30,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P30","v":"S"},{"$f":"Calculate!Q30","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F30=\"X\",$F30=\"H\",$F30=\"Z-ERROR\"),$F30,IF($V30>=RULES!$F$149,\"1\",IF($W30>=RULES!$F$149,\"2\",IF($X30>=RULES!$F$149,\"3\",IF($Y30>=RULES!$F$149,\"4\",IF($Z30>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA30<>\"*\",\"~\",IF($V30>=RULES!$G$149,\"1?\",IF($W30>=RULES!$G$149,\"2?\",IF($X30>=RULES!$G$149,\"3?\",IF($Y30>=RULES!$G$149,\"4?\",IF($Z30>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB30<>\"*\",\"~\",IF((V30+W30>=RULES!$F$149),\"12\",IF((W30+X30>=RULES!$F$149),\"23\",IF((X30+Y30>=RULES!$F$149),\"34\",IF((Y30+Z30>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC30<>\"*\",\"~\",IF(Y30+Z30<(1-RULES!$F$149),\"13\",IF(V30+Z30<(1-RULES!$F$149),\"24\",IF(V30+W30<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F30=\"X\",$F30=\"H\",$F30=\"Z-ERROR\",AND($AA30=\"H\",$AH30)),$AE30,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P30,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L30,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M30,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N30,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E30&\"1\",IF(NOT($AH30),$E30&\"U\",$AE30)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN30","v":""},{"$f":"'Calculator Table'!BR30","v":0},{"$f":"Calculate!AV30","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A31","v":0},{"$f":"IF(F31=\"X\",\"X\",(IF(F31<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H31),0,Calculate!H31),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N31),0,Calculate!N31),IF(ISERROR(Calculate!J31),0,Calculate!J31))))))","v":0},{"$f":"IF(F31=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I31),$C$2,Calculate!I31),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O31),$C$2,Calculate!O31),IF(ISERROR(Calculate!K31),$C$2,Calculate!K31))))","v":5.5},{"$f":"AF31 & IF(OR($AH31,RIGHT($AF31,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P31","v":"S"},{"$f":"Calculate!Q31","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F31=\"X\",$F31=\"H\",$F31=\"Z-ERROR\"),$F31,IF($V31>=RULES!$F$149,\"1\",IF($W31>=RULES!$F$149,\"2\",IF($X31>=RULES!$F$149,\"3\",IF($Y31>=RULES!$F$149,\"4\",IF($Z31>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA31<>\"*\",\"~\",IF($V31>=RULES!$G$149,\"1?\",IF($W31>=RULES!$G$149,\"2?\",IF($X31>=RULES!$G$149,\"3?\",IF($Y31>=RULES!$G$149,\"4?\",IF($Z31>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB31<>\"*\",\"~\",IF((V31+W31>=RULES!$F$149),\"12\",IF((W31+X31>=RULES!$F$149),\"23\",IF((X31+Y31>=RULES!$F$149),\"34\",IF((Y31+Z31>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC31<>\"*\",\"~\",IF(Y31+Z31<(1-RULES!$F$149),\"13\",IF(V31+Z31<(1-RULES!$F$149),\"24\",IF(V31+W31<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F31=\"X\",$F31=\"H\",$F31=\"Z-ERROR\",AND($AA31=\"H\",$AH31)),$AE31,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P31,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L31,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M31,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N31,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E31&\"1\",IF(NOT($AH31),$E31&\"U\",$AE31)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN31","v":""},{"$f":"'Calculator Table'!BR31","v":0},{"$f":"Calculate!AV31","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A32","v":0},{"$f":"IF(F32=\"X\",\"X\",(IF(F32<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H32),0,Calculate!H32),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N32),0,Calculate!N32),IF(ISERROR(Calculate!J32),0,Calculate!J32))))))","v":0},{"$f":"IF(F32=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I32),$C$2,Calculate!I32),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O32),$C$2,Calculate!O32),IF(ISERROR(Calculate!K32),$C$2,Calculate!K32))))","v":5.5},{"$f":"AF32 & IF(OR($AH32,RIGHT($AF32,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P32","v":"S"},{"$f":"Calculate!Q32","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F32=\"X\",$F32=\"H\",$F32=\"Z-ERROR\"),$F32,IF($V32>=RULES!$F$149,\"1\",IF($W32>=RULES!$F$149,\"2\",IF($X32>=RULES!$F$149,\"3\",IF($Y32>=RULES!$F$149,\"4\",IF($Z32>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA32<>\"*\",\"~\",IF($V32>=RULES!$G$149,\"1?\",IF($W32>=RULES!$G$149,\"2?\",IF($X32>=RULES!$G$149,\"3?\",IF($Y32>=RULES!$G$149,\"4?\",IF($Z32>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB32<>\"*\",\"~\",IF((V32+W32>=RULES!$F$149),\"12\",IF((W32+X32>=RULES!$F$149),\"23\",IF((X32+Y32>=RULES!$F$149),\"34\",IF((Y32+Z32>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC32<>\"*\",\"~\",IF(Y32+Z32<(1-RULES!$F$149),\"13\",IF(V32+Z32<(1-RULES!$F$149),\"24\",IF(V32+W32<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F32=\"X\",$F32=\"H\",$F32=\"Z-ERROR\",AND($AA32=\"H\",$AH32)),$AE32,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P32,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L32,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M32,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N32,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E32&\"1\",IF(NOT($AH32),$E32&\"U\",$AE32)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN32","v":""},{"$f":"'Calculator Table'!BR32","v":0},{"$f":"Calculate!AV32","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A33","v":0},{"$f":"IF(F33=\"X\",\"X\",(IF(F33<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H33),0,Calculate!H33),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N33),0,Calculate!N33),IF(ISERROR(Calculate!J33),0,Calculate!J33))))))","v":0},{"$f":"IF(F33=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I33),$C$2,Calculate!I33),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O33),$C$2,Calculate!O33),IF(ISERROR(Calculate!K33),$C$2,Calculate!K33))))","v":5.5},{"$f":"AF33 & IF(OR($AH33,RIGHT($AF33,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P33","v":"S"},{"$f":"Calculate!Q33","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F33=\"X\",$F33=\"H\",$F33=\"Z-ERROR\"),$F33,IF($V33>=RULES!$F$149,\"1\",IF($W33>=RULES!$F$149,\"2\",IF($X33>=RULES!$F$149,\"3\",IF($Y33>=RULES!$F$149,\"4\",IF($Z33>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA33<>\"*\",\"~\",IF($V33>=RULES!$G$149,\"1?\",IF($W33>=RULES!$G$149,\"2?\",IF($X33>=RULES!$G$149,\"3?\",IF($Y33>=RULES!$G$149,\"4?\",IF($Z33>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB33<>\"*\",\"~\",IF((V33+W33>=RULES!$F$149),\"12\",IF((W33+X33>=RULES!$F$149),\"23\",IF((X33+Y33>=RULES!$F$149),\"34\",IF((Y33+Z33>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC33<>\"*\",\"~\",IF(Y33+Z33<(1-RULES!$F$149),\"13\",IF(V33+Z33<(1-RULES!$F$149),\"24\",IF(V33+W33<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F33=\"X\",$F33=\"H\",$F33=\"Z-ERROR\",AND($AA33=\"H\",$AH33)),$AE33,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P33,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L33,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M33,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N33,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E33&\"1\",IF(NOT($AH33),$E33&\"U\",$AE33)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN33","v":""},{"$f":"'Calculator Table'!BR33","v":0},{"$f":"Calculate!AV33","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A34","v":0},{"$f":"IF(F34=\"X\",\"X\",(IF(F34<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H34),0,Calculate!H34),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N34),0,Calculate!N34),IF(ISERROR(Calculate!J34),0,Calculate!J34))))))","v":0},{"$f":"IF(F34=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I34),$C$2,Calculate!I34),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O34),$C$2,Calculate!O34),IF(ISERROR(Calculate!K34),$C$2,Calculate!K34))))","v":5.5},{"$f":"AF34 & IF(OR($AH34,RIGHT($AF34,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P34","v":"S"},{"$f":"Calculate!Q34","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F34=\"X\",$F34=\"H\",$F34=\"Z-ERROR\"),$F34,IF($V34>=RULES!$F$149,\"1\",IF($W34>=RULES!$F$149,\"2\",IF($X34>=RULES!$F$149,\"3\",IF($Y34>=RULES!$F$149,\"4\",IF($Z34>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA34<>\"*\",\"~\",IF($V34>=RULES!$G$149,\"1?\",IF($W34>=RULES!$G$149,\"2?\",IF($X34>=RULES!$G$149,\"3?\",IF($Y34>=RULES!$G$149,\"4?\",IF($Z34>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB34<>\"*\",\"~\",IF((V34+W34>=RULES!$F$149),\"12\",IF((W34+X34>=RULES!$F$149),\"23\",IF((X34+Y34>=RULES!$F$149),\"34\",IF((Y34+Z34>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC34<>\"*\",\"~\",IF(Y34+Z34<(1-RULES!$F$149),\"13\",IF(V34+Z34<(1-RULES!$F$149),\"24\",IF(V34+W34<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F34=\"X\",$F34=\"H\",$F34=\"Z-ERROR\",AND($AA34=\"H\",$AH34)),$AE34,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P34,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L34,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M34,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N34,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E34&\"1\",IF(NOT($AH34),$E34&\"U\",$AE34)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN34","v":""},{"$f":"'Calculator Table'!BR34","v":0},{"$f":"Calculate!AV34","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A35","v":0},{"$f":"IF(F35=\"X\",\"X\",(IF(F35<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H35),0,Calculate!H35),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N35),0,Calculate!N35),IF(ISERROR(Calculate!J35),0,Calculate!J35))))))","v":0},{"$f":"IF(F35=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I35),$C$2,Calculate!I35),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O35),$C$2,Calculate!O35),IF(ISERROR(Calculate!K35),$C$2,Calculate!K35))))","v":5.5},{"$f":"AF35 & IF(OR($AH35,RIGHT($AF35,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P35","v":"S"},{"$f":"Calculate!Q35","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F35=\"X\",$F35=\"H\",$F35=\"Z-ERROR\"),$F35,IF($V35>=RULES!$F$149,\"1\",IF($W35>=RULES!$F$149,\"2\",IF($X35>=RULES!$F$149,\"3\",IF($Y35>=RULES!$F$149,\"4\",IF($Z35>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA35<>\"*\",\"~\",IF($V35>=RULES!$G$149,\"1?\",IF($W35>=RULES!$G$149,\"2?\",IF($X35>=RULES!$G$149,\"3?\",IF($Y35>=RULES!$G$149,\"4?\",IF($Z35>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB35<>\"*\",\"~\",IF((V35+W35>=RULES!$F$149),\"12\",IF((W35+X35>=RULES!$F$149),\"23\",IF((X35+Y35>=RULES!$F$149),\"34\",IF((Y35+Z35>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC35<>\"*\",\"~\",IF(Y35+Z35<(1-RULES!$F$149),\"13\",IF(V35+Z35<(1-RULES!$F$149),\"24\",IF(V35+W35<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F35=\"X\",$F35=\"H\",$F35=\"Z-ERROR\",AND($AA35=\"H\",$AH35)),$AE35,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P35,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L35,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M35,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N35,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E35&\"1\",IF(NOT($AH35),$E35&\"U\",$AE35)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN35","v":""},{"$f":"'Calculator Table'!BR35","v":0},{"$f":"Calculate!AV35","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A36","v":0},{"$f":"IF(F36=\"X\",\"X\",(IF(F36<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H36),0,Calculate!H36),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N36),0,Calculate!N36),IF(ISERROR(Calculate!J36),0,Calculate!J36))))))","v":0},{"$f":"IF(F36=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I36),$C$2,Calculate!I36),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O36),$C$2,Calculate!O36),IF(ISERROR(Calculate!K36),$C$2,Calculate!K36))))","v":5.5},{"$f":"AF36 & IF(OR($AH36,RIGHT($AF36,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P36","v":"S"},{"$f":"Calculate!Q36","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F36=\"X\",$F36=\"H\",$F36=\"Z-ERROR\"),$F36,IF($V36>=RULES!$F$149,\"1\",IF($W36>=RULES!$F$149,\"2\",IF($X36>=RULES!$F$149,\"3\",IF($Y36>=RULES!$F$149,\"4\",IF($Z36>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA36<>\"*\",\"~\",IF($V36>=RULES!$G$149,\"1?\",IF($W36>=RULES!$G$149,\"2?\",IF($X36>=RULES!$G$149,\"3?\",IF($Y36>=RULES!$G$149,\"4?\",IF($Z36>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB36<>\"*\",\"~\",IF((V36+W36>=RULES!$F$149),\"12\",IF((W36+X36>=RULES!$F$149),\"23\",IF((X36+Y36>=RULES!$F$149),\"34\",IF((Y36+Z36>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC36<>\"*\",\"~\",IF(Y36+Z36<(1-RULES!$F$149),\"13\",IF(V36+Z36<(1-RULES!$F$149),\"24\",IF(V36+W36<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F36=\"X\",$F36=\"H\",$F36=\"Z-ERROR\",AND($AA36=\"H\",$AH36)),$AE36,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P36,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L36,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M36,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N36,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E36&\"1\",IF(NOT($AH36),$E36&\"U\",$AE36)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN36","v":""},{"$f":"'Calculator Table'!BR36","v":0},{"$f":"Calculate!AV36","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A37","v":0},{"$f":"IF(F37=\"X\",\"X\",(IF(F37<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H37),0,Calculate!H37),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N37),0,Calculate!N37),IF(ISERROR(Calculate!J37),0,Calculate!J37))))))","v":0},{"$f":"IF(F37=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I37),$C$2,Calculate!I37),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O37),$C$2,Calculate!O37),IF(ISERROR(Calculate!K37),$C$2,Calculate!K37))))","v":5.5},{"$f":"AF37 & IF(OR($AH37,RIGHT($AF37,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P37","v":"S"},{"$f":"Calculate!Q37","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F37=\"X\",$F37=\"H\",$F37=\"Z-ERROR\"),$F37,IF($V37>=RULES!$F$149,\"1\",IF($W37>=RULES!$F$149,\"2\",IF($X37>=RULES!$F$149,\"3\",IF($Y37>=RULES!$F$149,\"4\",IF($Z37>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA37<>\"*\",\"~\",IF($V37>=RULES!$G$149,\"1?\",IF($W37>=RULES!$G$149,\"2?\",IF($X37>=RULES!$G$149,\"3?\",IF($Y37>=RULES!$G$149,\"4?\",IF($Z37>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB37<>\"*\",\"~\",IF((V37+W37>=RULES!$F$149),\"12\",IF((W37+X37>=RULES!$F$149),\"23\",IF((X37+Y37>=RULES!$F$149),\"34\",IF((Y37+Z37>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC37<>\"*\",\"~\",IF(Y37+Z37<(1-RULES!$F$149),\"13\",IF(V37+Z37<(1-RULES!$F$149),\"24\",IF(V37+W37<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F37=\"X\",$F37=\"H\",$F37=\"Z-ERROR\",AND($AA37=\"H\",$AH37)),$AE37,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P37,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L37,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M37,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N37,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E37&\"1\",IF(NOT($AH37),$E37&\"U\",$AE37)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN37","v":""},{"$f":"'Calculator Table'!BR37","v":0},{"$f":"Calculate!AV37","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A38","v":0},{"$f":"IF(F38=\"X\",\"X\",(IF(F38<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H38),0,Calculate!H38),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N38),0,Calculate!N38),IF(ISERROR(Calculate!J38),0,Calculate!J38))))))","v":0},{"$f":"IF(F38=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I38),$C$2,Calculate!I38),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O38),$C$2,Calculate!O38),IF(ISERROR(Calculate!K38),$C$2,Calculate!K38))))","v":5.5},{"$f":"AF38 & IF(OR($AH38,RIGHT($AF38,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P38","v":"S"},{"$f":"Calculate!Q38","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F38=\"X\",$F38=\"H\",$F38=\"Z-ERROR\"),$F38,IF($V38>=RULES!$F$149,\"1\",IF($W38>=RULES!$F$149,\"2\",IF($X38>=RULES!$F$149,\"3\",IF($Y38>=RULES!$F$149,\"4\",IF($Z38>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA38<>\"*\",\"~\",IF($V38>=RULES!$G$149,\"1?\",IF($W38>=RULES!$G$149,\"2?\",IF($X38>=RULES!$G$149,\"3?\",IF($Y38>=RULES!$G$149,\"4?\",IF($Z38>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB38<>\"*\",\"~\",IF((V38+W38>=RULES!$F$149),\"12\",IF((W38+X38>=RULES!$F$149),\"23\",IF((X38+Y38>=RULES!$F$149),\"34\",IF((Y38+Z38>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC38<>\"*\",\"~\",IF(Y38+Z38<(1-RULES!$F$149),\"13\",IF(V38+Z38<(1-RULES!$F$149),\"24\",IF(V38+W38<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F38=\"X\",$F38=\"H\",$F38=\"Z-ERROR\",AND($AA38=\"H\",$AH38)),$AE38,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P38,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L38,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M38,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N38,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E38&\"1\",IF(NOT($AH38),$E38&\"U\",$AE38)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN38","v":""},{"$f":"'Calculator Table'!BR38","v":0},{"$f":"Calculate!AV38","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A39","v":0},{"$f":"IF(F39=\"X\",\"X\",(IF(F39<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H39),0,Calculate!H39),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N39),0,Calculate!N39),IF(ISERROR(Calculate!J39),0,Calculate!J39))))))","v":0},{"$f":"IF(F39=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I39),$C$2,Calculate!I39),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O39),$C$2,Calculate!O39),IF(ISERROR(Calculate!K39),$C$2,Calculate!K39))))","v":5.5},{"$f":"AF39 & IF(OR($AH39,RIGHT($AF39,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P39","v":"S"},{"$f":"Calculate!Q39","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F39=\"X\",$F39=\"H\",$F39=\"Z-ERROR\"),$F39,IF($V39>=RULES!$F$149,\"1\",IF($W39>=RULES!$F$149,\"2\",IF($X39>=RULES!$F$149,\"3\",IF($Y39>=RULES!$F$149,\"4\",IF($Z39>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA39<>\"*\",\"~\",IF($V39>=RULES!$G$149,\"1?\",IF($W39>=RULES!$G$149,\"2?\",IF($X39>=RULES!$G$149,\"3?\",IF($Y39>=RULES!$G$149,\"4?\",IF($Z39>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB39<>\"*\",\"~\",IF((V39+W39>=RULES!$F$149),\"12\",IF((W39+X39>=RULES!$F$149),\"23\",IF((X39+Y39>=RULES!$F$149),\"34\",IF((Y39+Z39>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC39<>\"*\",\"~\",IF(Y39+Z39<(1-RULES!$F$149),\"13\",IF(V39+Z39<(1-RULES!$F$149),\"24\",IF(V39+W39<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F39=\"X\",$F39=\"H\",$F39=\"Z-ERROR\",AND($AA39=\"H\",$AH39)),$AE39,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P39,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L39,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M39,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N39,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E39&\"1\",IF(NOT($AH39),$E39&\"U\",$AE39)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN39","v":""},{"$f":"'Calculator Table'!BR39","v":0},{"$f":"Calculate!AV39","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A40","v":0},{"$f":"IF(F40=\"X\",\"X\",(IF(F40<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H40),0,Calculate!H40),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N40),0,Calculate!N40),IF(ISERROR(Calculate!J40),0,Calculate!J40))))))","v":0},{"$f":"IF(F40=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I40),$C$2,Calculate!I40),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O40),$C$2,Calculate!O40),IF(ISERROR(Calculate!K40),$C$2,Calculate!K40))))","v":5.5},{"$f":"AF40 & IF(OR($AH40,RIGHT($AF40,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P40","v":"S"},{"$f":"Calculate!Q40","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F40=\"X\",$F40=\"H\",$F40=\"Z-ERROR\"),$F40,IF($V40>=RULES!$F$149,\"1\",IF($W40>=RULES!$F$149,\"2\",IF($X40>=RULES!$F$149,\"3\",IF($Y40>=RULES!$F$149,\"4\",IF($Z40>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA40<>\"*\",\"~\",IF($V40>=RULES!$G$149,\"1?\",IF($W40>=RULES!$G$149,\"2?\",IF($X40>=RULES!$G$149,\"3?\",IF($Y40>=RULES!$G$149,\"4?\",IF($Z40>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB40<>\"*\",\"~\",IF((V40+W40>=RULES!$F$149),\"12\",IF((W40+X40>=RULES!$F$149),\"23\",IF((X40+Y40>=RULES!$F$149),\"34\",IF((Y40+Z40>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC40<>\"*\",\"~\",IF(Y40+Z40<(1-RULES!$F$149),\"13\",IF(V40+Z40<(1-RULES!$F$149),\"24\",IF(V40+W40<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F40=\"X\",$F40=\"H\",$F40=\"Z-ERROR\",AND($AA40=\"H\",$AH40)),$AE40,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P40,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L40,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M40,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N40,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E40&\"1\",IF(NOT($AH40),$E40&\"U\",$AE40)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN40","v":""},{"$f":"'Calculator Table'!BR40","v":0},{"$f":"Calculate!AV40","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A41","v":0},{"$f":"IF(F41=\"X\",\"X\",(IF(F41<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H41),0,Calculate!H41),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N41),0,Calculate!N41),IF(ISERROR(Calculate!J41),0,Calculate!J41))))))","v":0},{"$f":"IF(F41=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I41),$C$2,Calculate!I41),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O41),$C$2,Calculate!O41),IF(ISERROR(Calculate!K41),$C$2,Calculate!K41))))","v":5.5},{"$f":"AF41 & IF(OR($AH41,RIGHT($AF41,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P41","v":"S"},{"$f":"Calculate!Q41","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F41=\"X\",$F41=\"H\",$F41=\"Z-ERROR\"),$F41,IF($V41>=RULES!$F$149,\"1\",IF($W41>=RULES!$F$149,\"2\",IF($X41>=RULES!$F$149,\"3\",IF($Y41>=RULES!$F$149,\"4\",IF($Z41>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA41<>\"*\",\"~\",IF($V41>=RULES!$G$149,\"1?\",IF($W41>=RULES!$G$149,\"2?\",IF($X41>=RULES!$G$149,\"3?\",IF($Y41>=RULES!$G$149,\"4?\",IF($Z41>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB41<>\"*\",\"~\",IF((V41+W41>=RULES!$F$149),\"12\",IF((W41+X41>=RULES!$F$149),\"23\",IF((X41+Y41>=RULES!$F$149),\"34\",IF((Y41+Z41>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC41<>\"*\",\"~\",IF(Y41+Z41<(1-RULES!$F$149),\"13\",IF(V41+Z41<(1-RULES!$F$149),\"24\",IF(V41+W41<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F41=\"X\",$F41=\"H\",$F41=\"Z-ERROR\",AND($AA41=\"H\",$AH41)),$AE41,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P41,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L41,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M41,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N41,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E41&\"1\",IF(NOT($AH41),$E41&\"U\",$AE41)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN41","v":""},{"$f":"'Calculator Table'!BR41","v":0},{"$f":"Calculate!AV41","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A42","v":0},{"$f":"IF(F42=\"X\",\"X\",(IF(F42<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H42),0,Calculate!H42),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N42),0,Calculate!N42),IF(ISERROR(Calculate!J42),0,Calculate!J42))))))","v":0},{"$f":"IF(F42=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I42),$C$2,Calculate!I42),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O42),$C$2,Calculate!O42),IF(ISERROR(Calculate!K42),$C$2,Calculate!K42))))","v":5.5},{"$f":"AF42 & IF(OR($AH42,RIGHT($AF42,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P42","v":"S"},{"$f":"Calculate!Q42","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F42=\"X\",$F42=\"H\",$F42=\"Z-ERROR\"),$F42,IF($V42>=RULES!$F$149,\"1\",IF($W42>=RULES!$F$149,\"2\",IF($X42>=RULES!$F$149,\"3\",IF($Y42>=RULES!$F$149,\"4\",IF($Z42>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA42<>\"*\",\"~\",IF($V42>=RULES!$G$149,\"1?\",IF($W42>=RULES!$G$149,\"2?\",IF($X42>=RULES!$G$149,\"3?\",IF($Y42>=RULES!$G$149,\"4?\",IF($Z42>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB42<>\"*\",\"~\",IF((V42+W42>=RULES!$F$149),\"12\",IF((W42+X42>=RULES!$F$149),\"23\",IF((X42+Y42>=RULES!$F$149),\"34\",IF((Y42+Z42>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC42<>\"*\",\"~\",IF(Y42+Z42<(1-RULES!$F$149),\"13\",IF(V42+Z42<(1-RULES!$F$149),\"24\",IF(V42+W42<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F42=\"X\",$F42=\"H\",$F42=\"Z-ERROR\",AND($AA42=\"H\",$AH42)),$AE42,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P42,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L42,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M42,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N42,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E42&\"1\",IF(NOT($AH42),$E42&\"U\",$AE42)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN42","v":""},{"$f":"'Calculator Table'!BR42","v":0},{"$f":"Calculate!AV42","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A43","v":0},{"$f":"IF(F43=\"X\",\"X\",(IF(F43<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H43),0,Calculate!H43),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N43),0,Calculate!N43),IF(ISERROR(Calculate!J43),0,Calculate!J43))))))","v":0},{"$f":"IF(F43=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I43),$C$2,Calculate!I43),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O43),$C$2,Calculate!O43),IF(ISERROR(Calculate!K43),$C$2,Calculate!K43))))","v":5.5},{"$f":"AF43 & IF(OR($AH43,RIGHT($AF43,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P43","v":"S"},{"$f":"Calculate!Q43","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F43=\"X\",$F43=\"H\",$F43=\"Z-ERROR\"),$F43,IF($V43>=RULES!$F$149,\"1\",IF($W43>=RULES!$F$149,\"2\",IF($X43>=RULES!$F$149,\"3\",IF($Y43>=RULES!$F$149,\"4\",IF($Z43>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA43<>\"*\",\"~\",IF($V43>=RULES!$G$149,\"1?\",IF($W43>=RULES!$G$149,\"2?\",IF($X43>=RULES!$G$149,\"3?\",IF($Y43>=RULES!$G$149,\"4?\",IF($Z43>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB43<>\"*\",\"~\",IF((V43+W43>=RULES!$F$149),\"12\",IF((W43+X43>=RULES!$F$149),\"23\",IF((X43+Y43>=RULES!$F$149),\"34\",IF((Y43+Z43>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC43<>\"*\",\"~\",IF(Y43+Z43<(1-RULES!$F$149),\"13\",IF(V43+Z43<(1-RULES!$F$149),\"24\",IF(V43+W43<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F43=\"X\",$F43=\"H\",$F43=\"Z-ERROR\",AND($AA43=\"H\",$AH43)),$AE43,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P43,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L43,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M43,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N43,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E43&\"1\",IF(NOT($AH43),$E43&\"U\",$AE43)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN43","v":""},{"$f":"'Calculator Table'!BR43","v":0},{"$f":"Calculate!AV43","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A44","v":0},{"$f":"IF(F44=\"X\",\"X\",(IF(F44<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H44),0,Calculate!H44),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N44),0,Calculate!N44),IF(ISERROR(Calculate!J44),0,Calculate!J44))))))","v":0},{"$f":"IF(F44=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I44),$C$2,Calculate!I44),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O44),$C$2,Calculate!O44),IF(ISERROR(Calculate!K44),$C$2,Calculate!K44))))","v":5.5},{"$f":"AF44 & IF(OR($AH44,RIGHT($AF44,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P44","v":"S"},{"$f":"Calculate!Q44","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F44=\"X\",$F44=\"H\",$F44=\"Z-ERROR\"),$F44,IF($V44>=RULES!$F$149,\"1\",IF($W44>=RULES!$F$149,\"2\",IF($X44>=RULES!$F$149,\"3\",IF($Y44>=RULES!$F$149,\"4\",IF($Z44>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA44<>\"*\",\"~\",IF($V44>=RULES!$G$149,\"1?\",IF($W44>=RULES!$G$149,\"2?\",IF($X44>=RULES!$G$149,\"3?\",IF($Y44>=RULES!$G$149,\"4?\",IF($Z44>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB44<>\"*\",\"~\",IF((V44+W44>=RULES!$F$149),\"12\",IF((W44+X44>=RULES!$F$149),\"23\",IF((X44+Y44>=RULES!$F$149),\"34\",IF((Y44+Z44>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC44<>\"*\",\"~\",IF(Y44+Z44<(1-RULES!$F$149),\"13\",IF(V44+Z44<(1-RULES!$F$149),\"24\",IF(V44+W44<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F44=\"X\",$F44=\"H\",$F44=\"Z-ERROR\",AND($AA44=\"H\",$AH44)),$AE44,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P44,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L44,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M44,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N44,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E44&\"1\",IF(NOT($AH44),$E44&\"U\",$AE44)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN44","v":""},{"$f":"'Calculator Table'!BR44","v":0},{"$f":"Calculate!AV44","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A45","v":0},{"$f":"IF(F45=\"X\",\"X\",(IF(F45<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H45),0,Calculate!H45),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N45),0,Calculate!N45),IF(ISERROR(Calculate!J45),0,Calculate!J45))))))","v":0},{"$f":"IF(F45=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I45),$C$2,Calculate!I45),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O45),$C$2,Calculate!O45),IF(ISERROR(Calculate!K45),$C$2,Calculate!K45))))","v":5.5},{"$f":"AF45 & IF(OR($AH45,RIGHT($AF45,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P45","v":"S"},{"$f":"Calculate!Q45","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F45=\"X\",$F45=\"H\",$F45=\"Z-ERROR\"),$F45,IF($V45>=RULES!$F$149,\"1\",IF($W45>=RULES!$F$149,\"2\",IF($X45>=RULES!$F$149,\"3\",IF($Y45>=RULES!$F$149,\"4\",IF($Z45>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA45<>\"*\",\"~\",IF($V45>=RULES!$G$149,\"1?\",IF($W45>=RULES!$G$149,\"2?\",IF($X45>=RULES!$G$149,\"3?\",IF($Y45>=RULES!$G$149,\"4?\",IF($Z45>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB45<>\"*\",\"~\",IF((V45+W45>=RULES!$F$149),\"12\",IF((W45+X45>=RULES!$F$149),\"23\",IF((X45+Y45>=RULES!$F$149),\"34\",IF((Y45+Z45>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC45<>\"*\",\"~\",IF(Y45+Z45<(1-RULES!$F$149),\"13\",IF(V45+Z45<(1-RULES!$F$149),\"24\",IF(V45+W45<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F45=\"X\",$F45=\"H\",$F45=\"Z-ERROR\",AND($AA45=\"H\",$AH45)),$AE45,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P45,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L45,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M45,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N45,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E45&\"1\",IF(NOT($AH45),$E45&\"U\",$AE45)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN45","v":""},{"$f":"'Calculator Table'!BR45","v":0},{"$f":"Calculate!AV45","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A46","v":0},{"$f":"IF(F46=\"X\",\"X\",(IF(F46<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H46),0,Calculate!H46),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N46),0,Calculate!N46),IF(ISERROR(Calculate!J46),0,Calculate!J46))))))","v":0},{"$f":"IF(F46=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I46),$C$2,Calculate!I46),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O46),$C$2,Calculate!O46),IF(ISERROR(Calculate!K46),$C$2,Calculate!K46))))","v":5.5},{"$f":"AF46 & IF(OR($AH46,RIGHT($AF46,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P46","v":"S"},{"$f":"Calculate!Q46","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F46=\"X\",$F46=\"H\",$F46=\"Z-ERROR\"),$F46,IF($V46>=RULES!$F$149,\"1\",IF($W46>=RULES!$F$149,\"2\",IF($X46>=RULES!$F$149,\"3\",IF($Y46>=RULES!$F$149,\"4\",IF($Z46>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA46<>\"*\",\"~\",IF($V46>=RULES!$G$149,\"1?\",IF($W46>=RULES!$G$149,\"2?\",IF($X46>=RULES!$G$149,\"3?\",IF($Y46>=RULES!$G$149,\"4?\",IF($Z46>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB46<>\"*\",\"~\",IF((V46+W46>=RULES!$F$149),\"12\",IF((W46+X46>=RULES!$F$149),\"23\",IF((X46+Y46>=RULES!$F$149),\"34\",IF((Y46+Z46>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC46<>\"*\",\"~\",IF(Y46+Z46<(1-RULES!$F$149),\"13\",IF(V46+Z46<(1-RULES!$F$149),\"24\",IF(V46+W46<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F46=\"X\",$F46=\"H\",$F46=\"Z-ERROR\",AND($AA46=\"H\",$AH46)),$AE46,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P46,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L46,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M46,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N46,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E46&\"1\",IF(NOT($AH46),$E46&\"U\",$AE46)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN46","v":""},{"$f":"'Calculator Table'!BR46","v":0},{"$f":"Calculate!AV46","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A47","v":0},{"$f":"IF(F47=\"X\",\"X\",(IF(F47<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H47),0,Calculate!H47),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N47),0,Calculate!N47),IF(ISERROR(Calculate!J47),0,Calculate!J47))))))","v":0},{"$f":"IF(F47=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I47),$C$2,Calculate!I47),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O47),$C$2,Calculate!O47),IF(ISERROR(Calculate!K47),$C$2,Calculate!K47))))","v":5.5},{"$f":"AF47 & IF(OR($AH47,RIGHT($AF47,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P47","v":"S"},{"$f":"Calculate!Q47","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F47=\"X\",$F47=\"H\",$F47=\"Z-ERROR\"),$F47,IF($V47>=RULES!$F$149,\"1\",IF($W47>=RULES!$F$149,\"2\",IF($X47>=RULES!$F$149,\"3\",IF($Y47>=RULES!$F$149,\"4\",IF($Z47>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA47<>\"*\",\"~\",IF($V47>=RULES!$G$149,\"1?\",IF($W47>=RULES!$G$149,\"2?\",IF($X47>=RULES!$G$149,\"3?\",IF($Y47>=RULES!$G$149,\"4?\",IF($Z47>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB47<>\"*\",\"~\",IF((V47+W47>=RULES!$F$149),\"12\",IF((W47+X47>=RULES!$F$149),\"23\",IF((X47+Y47>=RULES!$F$149),\"34\",IF((Y47+Z47>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC47<>\"*\",\"~\",IF(Y47+Z47<(1-RULES!$F$149),\"13\",IF(V47+Z47<(1-RULES!$F$149),\"24\",IF(V47+W47<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F47=\"X\",$F47=\"H\",$F47=\"Z-ERROR\",AND($AA47=\"H\",$AH47)),$AE47,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P47,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L47,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M47,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N47,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E47&\"1\",IF(NOT($AH47),$E47&\"U\",$AE47)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN47","v":""},{"$f":"'Calculator Table'!BR47","v":0},{"$f":"Calculate!AV47","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A48","v":0},{"$f":"IF(F48=\"X\",\"X\",(IF(F48<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H48),0,Calculate!H48),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N48),0,Calculate!N48),IF(ISERROR(Calculate!J48),0,Calculate!J48))))))","v":0},{"$f":"IF(F48=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I48),$C$2,Calculate!I48),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O48),$C$2,Calculate!O48),IF(ISERROR(Calculate!K48),$C$2,Calculate!K48))))","v":5.5},{"$f":"AF48 & IF(OR($AH48,RIGHT($AF48,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P48","v":"S"},{"$f":"Calculate!Q48","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F48=\"X\",$F48=\"H\",$F48=\"Z-ERROR\"),$F48,IF($V48>=RULES!$F$149,\"1\",IF($W48>=RULES!$F$149,\"2\",IF($X48>=RULES!$F$149,\"3\",IF($Y48>=RULES!$F$149,\"4\",IF($Z48>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA48<>\"*\",\"~\",IF($V48>=RULES!$G$149,\"1?\",IF($W48>=RULES!$G$149,\"2?\",IF($X48>=RULES!$G$149,\"3?\",IF($Y48>=RULES!$G$149,\"4?\",IF($Z48>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB48<>\"*\",\"~\",IF((V48+W48>=RULES!$F$149),\"12\",IF((W48+X48>=RULES!$F$149),\"23\",IF((X48+Y48>=RULES!$F$149),\"34\",IF((Y48+Z48>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC48<>\"*\",\"~\",IF(Y48+Z48<(1-RULES!$F$149),\"13\",IF(V48+Z48<(1-RULES!$F$149),\"24\",IF(V48+W48<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F48=\"X\",$F48=\"H\",$F48=\"Z-ERROR\",AND($AA48=\"H\",$AH48)),$AE48,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P48,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L48,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M48,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N48,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E48&\"1\",IF(NOT($AH48),$E48&\"U\",$AE48)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN48","v":""},{"$f":"'Calculator Table'!BR48","v":0},{"$f":"Calculate!AV48","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A49","v":0},{"$f":"IF(F49=\"X\",\"X\",(IF(F49<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H49),0,Calculate!H49),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N49),0,Calculate!N49),IF(ISERROR(Calculate!J49),0,Calculate!J49))))))","v":0},{"$f":"IF(F49=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I49),$C$2,Calculate!I49),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O49),$C$2,Calculate!O49),IF(ISERROR(Calculate!K49),$C$2,Calculate!K49))))","v":5.5},{"$f":"AF49 & IF(OR($AH49,RIGHT($AF49,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P49","v":"S"},{"$f":"Calculate!Q49","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F49=\"X\",$F49=\"H\",$F49=\"Z-ERROR\"),$F49,IF($V49>=RULES!$F$149,\"1\",IF($W49>=RULES!$F$149,\"2\",IF($X49>=RULES!$F$149,\"3\",IF($Y49>=RULES!$F$149,\"4\",IF($Z49>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA49<>\"*\",\"~\",IF($V49>=RULES!$G$149,\"1?\",IF($W49>=RULES!$G$149,\"2?\",IF($X49>=RULES!$G$149,\"3?\",IF($Y49>=RULES!$G$149,\"4?\",IF($Z49>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB49<>\"*\",\"~\",IF((V49+W49>=RULES!$F$149),\"12\",IF((W49+X49>=RULES!$F$149),\"23\",IF((X49+Y49>=RULES!$F$149),\"34\",IF((Y49+Z49>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC49<>\"*\",\"~\",IF(Y49+Z49<(1-RULES!$F$149),\"13\",IF(V49+Z49<(1-RULES!$F$149),\"24\",IF(V49+W49<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F49=\"X\",$F49=\"H\",$F49=\"Z-ERROR\",AND($AA49=\"H\",$AH49)),$AE49,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P49,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L49,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M49,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N49,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E49&\"1\",IF(NOT($AH49),$E49&\"U\",$AE49)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN49","v":""},{"$f":"'Calculator Table'!BR49","v":0},{"$f":"Calculate!AV49","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A50","v":0},{"$f":"IF(F50=\"X\",\"X\",(IF(F50<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H50),0,Calculate!H50),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N50),0,Calculate!N50),IF(ISERROR(Calculate!J50),0,Calculate!J50))))))","v":0},{"$f":"IF(F50=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I50),$C$2,Calculate!I50),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O50),$C$2,Calculate!O50),IF(ISERROR(Calculate!K50),$C$2,Calculate!K50))))","v":5.5},{"$f":"AF50 & IF(OR($AH50,RIGHT($AF50,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P50","v":"S"},{"$f":"Calculate!Q50","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F50=\"X\",$F50=\"H\",$F50=\"Z-ERROR\"),$F50,IF($V50>=RULES!$F$149,\"1\",IF($W50>=RULES!$F$149,\"2\",IF($X50>=RULES!$F$149,\"3\",IF($Y50>=RULES!$F$149,\"4\",IF($Z50>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA50<>\"*\",\"~\",IF($V50>=RULES!$G$149,\"1?\",IF($W50>=RULES!$G$149,\"2?\",IF($X50>=RULES!$G$149,\"3?\",IF($Y50>=RULES!$G$149,\"4?\",IF($Z50>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB50<>\"*\",\"~\",IF((V50+W50>=RULES!$F$149),\"12\",IF((W50+X50>=RULES!$F$149),\"23\",IF((X50+Y50>=RULES!$F$149),\"34\",IF((Y50+Z50>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC50<>\"*\",\"~\",IF(Y50+Z50<(1-RULES!$F$149),\"13\",IF(V50+Z50<(1-RULES!$F$149),\"24\",IF(V50+W50<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F50=\"X\",$F50=\"H\",$F50=\"Z-ERROR\",AND($AA50=\"H\",$AH50)),$AE50,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P50,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L50,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M50,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N50,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E50&\"1\",IF(NOT($AH50),$E50&\"U\",$AE50)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN50","v":""},{"$f":"'Calculator Table'!BR50","v":0},{"$f":"Calculate!AV50","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A51","v":0},{"$f":"IF(F51=\"X\",\"X\",(IF(F51<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H51),0,Calculate!H51),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N51),0,Calculate!N51),IF(ISERROR(Calculate!J51),0,Calculate!J51))))))","v":0},{"$f":"IF(F51=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I51),$C$2,Calculate!I51),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O51),$C$2,Calculate!O51),IF(ISERROR(Calculate!K51),$C$2,Calculate!K51))))","v":5.5},{"$f":"AF51 & IF(OR($AH51,RIGHT($AF51,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P51","v":"S"},{"$f":"Calculate!Q51","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F51=\"X\",$F51=\"H\",$F51=\"Z-ERROR\"),$F51,IF($V51>=RULES!$F$149,\"1\",IF($W51>=RULES!$F$149,\"2\",IF($X51>=RULES!$F$149,\"3\",IF($Y51>=RULES!$F$149,\"4\",IF($Z51>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA51<>\"*\",\"~\",IF($V51>=RULES!$G$149,\"1?\",IF($W51>=RULES!$G$149,\"2?\",IF($X51>=RULES!$G$149,\"3?\",IF($Y51>=RULES!$G$149,\"4?\",IF($Z51>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB51<>\"*\",\"~\",IF((V51+W51>=RULES!$F$149),\"12\",IF((W51+X51>=RULES!$F$149),\"23\",IF((X51+Y51>=RULES!$F$149),\"34\",IF((Y51+Z51>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC51<>\"*\",\"~\",IF(Y51+Z51<(1-RULES!$F$149),\"13\",IF(V51+Z51<(1-RULES!$F$149),\"24\",IF(V51+W51<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F51=\"X\",$F51=\"H\",$F51=\"Z-ERROR\",AND($AA51=\"H\",$AH51)),$AE51,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P51,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L51,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M51,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N51,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E51&\"1\",IF(NOT($AH51),$E51&\"U\",$AE51)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN51","v":""},{"$f":"'Calculator Table'!BR51","v":0},{"$f":"Calculate!AV51","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A52","v":0},{"$f":"IF(F52=\"X\",\"X\",(IF(F52<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H52),0,Calculate!H52),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N52),0,Calculate!N52),IF(ISERROR(Calculate!J52),0,Calculate!J52))))))","v":0},{"$f":"IF(F52=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I52),$C$2,Calculate!I52),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O52),$C$2,Calculate!O52),IF(ISERROR(Calculate!K52),$C$2,Calculate!K52))))","v":5.5},{"$f":"AF52 & IF(OR($AH52,RIGHT($AF52,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P52","v":"S"},{"$f":"Calculate!Q52","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F52=\"X\",$F52=\"H\",$F52=\"Z-ERROR\"),$F52,IF($V52>=RULES!$F$149,\"1\",IF($W52>=RULES!$F$149,\"2\",IF($X52>=RULES!$F$149,\"3\",IF($Y52>=RULES!$F$149,\"4\",IF($Z52>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA52<>\"*\",\"~\",IF($V52>=RULES!$G$149,\"1?\",IF($W52>=RULES!$G$149,\"2?\",IF($X52>=RULES!$G$149,\"3?\",IF($Y52>=RULES!$G$149,\"4?\",IF($Z52>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB52<>\"*\",\"~\",IF((V52+W52>=RULES!$F$149),\"12\",IF((W52+X52>=RULES!$F$149),\"23\",IF((X52+Y52>=RULES!$F$149),\"34\",IF((Y52+Z52>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC52<>\"*\",\"~\",IF(Y52+Z52<(1-RULES!$F$149),\"13\",IF(V52+Z52<(1-RULES!$F$149),\"24\",IF(V52+W52<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F52=\"X\",$F52=\"H\",$F52=\"Z-ERROR\",AND($AA52=\"H\",$AH52)),$AE52,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P52,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L52,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M52,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N52,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E52&\"1\",IF(NOT($AH52),$E52&\"U\",$AE52)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN52","v":""},{"$f":"'Calculator Table'!BR52","v":0},{"$f":"Calculate!AV52","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A53","v":0},{"$f":"IF(F53=\"X\",\"X\",(IF(F53<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H53),0,Calculate!H53),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N53),0,Calculate!N53),IF(ISERROR(Calculate!J53),0,Calculate!J53))))))","v":0},{"$f":"IF(F53=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I53),$C$2,Calculate!I53),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O53),$C$2,Calculate!O53),IF(ISERROR(Calculate!K53),$C$2,Calculate!K53))))","v":5.5},{"$f":"AF53 & IF(OR($AH53,RIGHT($AF53,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P53","v":"S"},{"$f":"Calculate!Q53","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F53=\"X\",$F53=\"H\",$F53=\"Z-ERROR\"),$F53,IF($V53>=RULES!$F$149,\"1\",IF($W53>=RULES!$F$149,\"2\",IF($X53>=RULES!$F$149,\"3\",IF($Y53>=RULES!$F$149,\"4\",IF($Z53>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA53<>\"*\",\"~\",IF($V53>=RULES!$G$149,\"1?\",IF($W53>=RULES!$G$149,\"2?\",IF($X53>=RULES!$G$149,\"3?\",IF($Y53>=RULES!$G$149,\"4?\",IF($Z53>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB53<>\"*\",\"~\",IF((V53+W53>=RULES!$F$149),\"12\",IF((W53+X53>=RULES!$F$149),\"23\",IF((X53+Y53>=RULES!$F$149),\"34\",IF((Y53+Z53>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC53<>\"*\",\"~\",IF(Y53+Z53<(1-RULES!$F$149),\"13\",IF(V53+Z53<(1-RULES!$F$149),\"24\",IF(V53+W53<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F53=\"X\",$F53=\"H\",$F53=\"Z-ERROR\",AND($AA53=\"H\",$AH53)),$AE53,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P53,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L53,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M53,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N53,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E53&\"1\",IF(NOT($AH53),$E53&\"U\",$AE53)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN53","v":""},{"$f":"'Calculator Table'!BR53","v":0},{"$f":"Calculate!AV53","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A54","v":0},{"$f":"IF(F54=\"X\",\"X\",(IF(F54<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H54),0,Calculate!H54),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N54),0,Calculate!N54),IF(ISERROR(Calculate!J54),0,Calculate!J54))))))","v":0},{"$f":"IF(F54=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I54),$C$2,Calculate!I54),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O54),$C$2,Calculate!O54),IF(ISERROR(Calculate!K54),$C$2,Calculate!K54))))","v":5.5},{"$f":"AF54 & IF(OR($AH54,RIGHT($AF54,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P54","v":"S"},{"$f":"Calculate!Q54","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F54=\"X\",$F54=\"H\",$F54=\"Z-ERROR\"),$F54,IF($V54>=RULES!$F$149,\"1\",IF($W54>=RULES!$F$149,\"2\",IF($X54>=RULES!$F$149,\"3\",IF($Y54>=RULES!$F$149,\"4\",IF($Z54>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA54<>\"*\",\"~\",IF($V54>=RULES!$G$149,\"1?\",IF($W54>=RULES!$G$149,\"2?\",IF($X54>=RULES!$G$149,\"3?\",IF($Y54>=RULES!$G$149,\"4?\",IF($Z54>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB54<>\"*\",\"~\",IF((V54+W54>=RULES!$F$149),\"12\",IF((W54+X54>=RULES!$F$149),\"23\",IF((X54+Y54>=RULES!$F$149),\"34\",IF((Y54+Z54>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC54<>\"*\",\"~\",IF(Y54+Z54<(1-RULES!$F$149),\"13\",IF(V54+Z54<(1-RULES!$F$149),\"24\",IF(V54+W54<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F54=\"X\",$F54=\"H\",$F54=\"Z-ERROR\",AND($AA54=\"H\",$AH54)),$AE54,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P54,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L54,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M54,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N54,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E54&\"1\",IF(NOT($AH54),$E54&\"U\",$AE54)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN54","v":""},{"$f":"'Calculator Table'!BR54","v":0},{"$f":"Calculate!AV54","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A55","v":0},{"$f":"IF(F55=\"X\",\"X\",(IF(F55<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H55),0,Calculate!H55),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N55),0,Calculate!N55),IF(ISERROR(Calculate!J55),0,Calculate!J55))))))","v":0},{"$f":"IF(F55=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I55),$C$2,Calculate!I55),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O55),$C$2,Calculate!O55),IF(ISERROR(Calculate!K55),$C$2,Calculate!K55))))","v":5.5},{"$f":"AF55 & IF(OR($AH55,RIGHT($AF55,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P55","v":"S"},{"$f":"Calculate!Q55","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F55=\"X\",$F55=\"H\",$F55=\"Z-ERROR\"),$F55,IF($V55>=RULES!$F$149,\"1\",IF($W55>=RULES!$F$149,\"2\",IF($X55>=RULES!$F$149,\"3\",IF($Y55>=RULES!$F$149,\"4\",IF($Z55>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA55<>\"*\",\"~\",IF($V55>=RULES!$G$149,\"1?\",IF($W55>=RULES!$G$149,\"2?\",IF($X55>=RULES!$G$149,\"3?\",IF($Y55>=RULES!$G$149,\"4?\",IF($Z55>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB55<>\"*\",\"~\",IF((V55+W55>=RULES!$F$149),\"12\",IF((W55+X55>=RULES!$F$149),\"23\",IF((X55+Y55>=RULES!$F$149),\"34\",IF((Y55+Z55>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC55<>\"*\",\"~\",IF(Y55+Z55<(1-RULES!$F$149),\"13\",IF(V55+Z55<(1-RULES!$F$149),\"24\",IF(V55+W55<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F55=\"X\",$F55=\"H\",$F55=\"Z-ERROR\",AND($AA55=\"H\",$AH55)),$AE55,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P55,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L55,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M55,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N55,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E55&\"1\",IF(NOT($AH55),$E55&\"U\",$AE55)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN55","v":""},{"$f":"'Calculator Table'!BR55","v":0},{"$f":"Calculate!AV55","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A56","v":0},{"$f":"IF(F56=\"X\",\"X\",(IF(F56<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H56),0,Calculate!H56),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N56),0,Calculate!N56),IF(ISERROR(Calculate!J56),0,Calculate!J56))))))","v":0},{"$f":"IF(F56=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I56),$C$2,Calculate!I56),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O56),$C$2,Calculate!O56),IF(ISERROR(Calculate!K56),$C$2,Calculate!K56))))","v":5.5},{"$f":"AF56 & IF(OR($AH56,RIGHT($AF56,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P56","v":"S"},{"$f":"Calculate!Q56","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F56=\"X\",$F56=\"H\",$F56=\"Z-ERROR\"),$F56,IF($V56>=RULES!$F$149,\"1\",IF($W56>=RULES!$F$149,\"2\",IF($X56>=RULES!$F$149,\"3\",IF($Y56>=RULES!$F$149,\"4\",IF($Z56>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA56<>\"*\",\"~\",IF($V56>=RULES!$G$149,\"1?\",IF($W56>=RULES!$G$149,\"2?\",IF($X56>=RULES!$G$149,\"3?\",IF($Y56>=RULES!$G$149,\"4?\",IF($Z56>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB56<>\"*\",\"~\",IF((V56+W56>=RULES!$F$149),\"12\",IF((W56+X56>=RULES!$F$149),\"23\",IF((X56+Y56>=RULES!$F$149),\"34\",IF((Y56+Z56>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC56<>\"*\",\"~\",IF(Y56+Z56<(1-RULES!$F$149),\"13\",IF(V56+Z56<(1-RULES!$F$149),\"24\",IF(V56+W56<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F56=\"X\",$F56=\"H\",$F56=\"Z-ERROR\",AND($AA56=\"H\",$AH56)),$AE56,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P56,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L56,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M56,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N56,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E56&\"1\",IF(NOT($AH56),$E56&\"U\",$AE56)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN56","v":""},{"$f":"'Calculator Table'!BR56","v":0},{"$f":"Calculate!AV56","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A57","v":0},{"$f":"IF(F57=\"X\",\"X\",(IF(F57<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H57),0,Calculate!H57),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N57),0,Calculate!N57),IF(ISERROR(Calculate!J57),0,Calculate!J57))))))","v":0},{"$f":"IF(F57=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I57),$C$2,Calculate!I57),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O57),$C$2,Calculate!O57),IF(ISERROR(Calculate!K57),$C$2,Calculate!K57))))","v":5.5},{"$f":"AF57 & IF(OR($AH57,RIGHT($AF57,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P57","v":"S"},{"$f":"Calculate!Q57","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F57=\"X\",$F57=\"H\",$F57=\"Z-ERROR\"),$F57,IF($V57>=RULES!$F$149,\"1\",IF($W57>=RULES!$F$149,\"2\",IF($X57>=RULES!$F$149,\"3\",IF($Y57>=RULES!$F$149,\"4\",IF($Z57>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA57<>\"*\",\"~\",IF($V57>=RULES!$G$149,\"1?\",IF($W57>=RULES!$G$149,\"2?\",IF($X57>=RULES!$G$149,\"3?\",IF($Y57>=RULES!$G$149,\"4?\",IF($Z57>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB57<>\"*\",\"~\",IF((V57+W57>=RULES!$F$149),\"12\",IF((W57+X57>=RULES!$F$149),\"23\",IF((X57+Y57>=RULES!$F$149),\"34\",IF((Y57+Z57>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC57<>\"*\",\"~\",IF(Y57+Z57<(1-RULES!$F$149),\"13\",IF(V57+Z57<(1-RULES!$F$149),\"24\",IF(V57+W57<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F57=\"X\",$F57=\"H\",$F57=\"Z-ERROR\",AND($AA57=\"H\",$AH57)),$AE57,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P57,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L57,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M57,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N57,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E57&\"1\",IF(NOT($AH57),$E57&\"U\",$AE57)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN57","v":""},{"$f":"'Calculator Table'!BR57","v":0},{"$f":"Calculate!AV57","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A58","v":0},{"$f":"IF(F58=\"X\",\"X\",(IF(F58<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H58),0,Calculate!H58),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N58),0,Calculate!N58),IF(ISERROR(Calculate!J58),0,Calculate!J58))))))","v":0},{"$f":"IF(F58=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I58),$C$2,Calculate!I58),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O58),$C$2,Calculate!O58),IF(ISERROR(Calculate!K58),$C$2,Calculate!K58))))","v":5.5},{"$f":"AF58 & IF(OR($AH58,RIGHT($AF58,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P58","v":"S"},{"$f":"Calculate!Q58","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F58=\"X\",$F58=\"H\",$F58=\"Z-ERROR\"),$F58,IF($V58>=RULES!$F$149,\"1\",IF($W58>=RULES!$F$149,\"2\",IF($X58>=RULES!$F$149,\"3\",IF($Y58>=RULES!$F$149,\"4\",IF($Z58>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA58<>\"*\",\"~\",IF($V58>=RULES!$G$149,\"1?\",IF($W58>=RULES!$G$149,\"2?\",IF($X58>=RULES!$G$149,\"3?\",IF($Y58>=RULES!$G$149,\"4?\",IF($Z58>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB58<>\"*\",\"~\",IF((V58+W58>=RULES!$F$149),\"12\",IF((W58+X58>=RULES!$F$149),\"23\",IF((X58+Y58>=RULES!$F$149),\"34\",IF((Y58+Z58>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC58<>\"*\",\"~\",IF(Y58+Z58<(1-RULES!$F$149),\"13\",IF(V58+Z58<(1-RULES!$F$149),\"24\",IF(V58+W58<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F58=\"X\",$F58=\"H\",$F58=\"Z-ERROR\",AND($AA58=\"H\",$AH58)),$AE58,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P58,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L58,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M58,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N58,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E58&\"1\",IF(NOT($AH58),$E58&\"U\",$AE58)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN58","v":""},{"$f":"'Calculator Table'!BR58","v":0},{"$f":"Calculate!AV58","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A59","v":0},{"$f":"IF(F59=\"X\",\"X\",(IF(F59<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H59),0,Calculate!H59),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N59),0,Calculate!N59),IF(ISERROR(Calculate!J59),0,Calculate!J59))))))","v":0},{"$f":"IF(F59=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I59),$C$2,Calculate!I59),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O59),$C$2,Calculate!O59),IF(ISERROR(Calculate!K59),$C$2,Calculate!K59))))","v":5.5},{"$f":"AF59 & IF(OR($AH59,RIGHT($AF59,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P59","v":"S"},{"$f":"Calculate!Q59","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F59=\"X\",$F59=\"H\",$F59=\"Z-ERROR\"),$F59,IF($V59>=RULES!$F$149,\"1\",IF($W59>=RULES!$F$149,\"2\",IF($X59>=RULES!$F$149,\"3\",IF($Y59>=RULES!$F$149,\"4\",IF($Z59>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA59<>\"*\",\"~\",IF($V59>=RULES!$G$149,\"1?\",IF($W59>=RULES!$G$149,\"2?\",IF($X59>=RULES!$G$149,\"3?\",IF($Y59>=RULES!$G$149,\"4?\",IF($Z59>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB59<>\"*\",\"~\",IF((V59+W59>=RULES!$F$149),\"12\",IF((W59+X59>=RULES!$F$149),\"23\",IF((X59+Y59>=RULES!$F$149),\"34\",IF((Y59+Z59>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC59<>\"*\",\"~\",IF(Y59+Z59<(1-RULES!$F$149),\"13\",IF(V59+Z59<(1-RULES!$F$149),\"24\",IF(V59+W59<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F59=\"X\",$F59=\"H\",$F59=\"Z-ERROR\",AND($AA59=\"H\",$AH59)),$AE59,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P59,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L59,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M59,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N59,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E59&\"1\",IF(NOT($AH59),$E59&\"U\",$AE59)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN59","v":""},{"$f":"'Calculator Table'!BR59","v":0},{"$f":"Calculate!AV59","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A60","v":0},{"$f":"IF(F60=\"X\",\"X\",(IF(F60<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H60),0,Calculate!H60),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N60),0,Calculate!N60),IF(ISERROR(Calculate!J60),0,Calculate!J60))))))","v":0},{"$f":"IF(F60=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I60),$C$2,Calculate!I60),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O60),$C$2,Calculate!O60),IF(ISERROR(Calculate!K60),$C$2,Calculate!K60))))","v":5.5},{"$f":"AF60 & IF(OR($AH60,RIGHT($AF60,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P60","v":"S"},{"$f":"Calculate!Q60","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F60=\"X\",$F60=\"H\",$F60=\"Z-ERROR\"),$F60,IF($V60>=RULES!$F$149,\"1\",IF($W60>=RULES!$F$149,\"2\",IF($X60>=RULES!$F$149,\"3\",IF($Y60>=RULES!$F$149,\"4\",IF($Z60>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA60<>\"*\",\"~\",IF($V60>=RULES!$G$149,\"1?\",IF($W60>=RULES!$G$149,\"2?\",IF($X60>=RULES!$G$149,\"3?\",IF($Y60>=RULES!$G$149,\"4?\",IF($Z60>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB60<>\"*\",\"~\",IF((V60+W60>=RULES!$F$149),\"12\",IF((W60+X60>=RULES!$F$149),\"23\",IF((X60+Y60>=RULES!$F$149),\"34\",IF((Y60+Z60>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC60<>\"*\",\"~\",IF(Y60+Z60<(1-RULES!$F$149),\"13\",IF(V60+Z60<(1-RULES!$F$149),\"24\",IF(V60+W60<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F60=\"X\",$F60=\"H\",$F60=\"Z-ERROR\",AND($AA60=\"H\",$AH60)),$AE60,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P60,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L60,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M60,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N60,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E60&\"1\",IF(NOT($AH60),$E60&\"U\",$AE60)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN60","v":""},{"$f":"'Calculator Table'!BR60","v":0},{"$f":"Calculate!AV60","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A61","v":0},{"$f":"IF(F61=\"X\",\"X\",(IF(F61<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H61),0,Calculate!H61),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N61),0,Calculate!N61),IF(ISERROR(Calculate!J61),0,Calculate!J61))))))","v":0},{"$f":"IF(F61=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I61),$C$2,Calculate!I61),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O61),$C$2,Calculate!O61),IF(ISERROR(Calculate!K61),$C$2,Calculate!K61))))","v":5.5},{"$f":"AF61 & IF(OR($AH61,RIGHT($AF61,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P61","v":"S"},{"$f":"Calculate!Q61","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F61=\"X\",$F61=\"H\",$F61=\"Z-ERROR\"),$F61,IF($V61>=RULES!$F$149,\"1\",IF($W61>=RULES!$F$149,\"2\",IF($X61>=RULES!$F$149,\"3\",IF($Y61>=RULES!$F$149,\"4\",IF($Z61>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA61<>\"*\",\"~\",IF($V61>=RULES!$G$149,\"1?\",IF($W61>=RULES!$G$149,\"2?\",IF($X61>=RULES!$G$149,\"3?\",IF($Y61>=RULES!$G$149,\"4?\",IF($Z61>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB61<>\"*\",\"~\",IF((V61+W61>=RULES!$F$149),\"12\",IF((W61+X61>=RULES!$F$149),\"23\",IF((X61+Y61>=RULES!$F$149),\"34\",IF((Y61+Z61>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC61<>\"*\",\"~\",IF(Y61+Z61<(1-RULES!$F$149),\"13\",IF(V61+Z61<(1-RULES!$F$149),\"24\",IF(V61+W61<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F61=\"X\",$F61=\"H\",$F61=\"Z-ERROR\",AND($AA61=\"H\",$AH61)),$AE61,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P61,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L61,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M61,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N61,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E61&\"1\",IF(NOT($AH61),$E61&\"U\",$AE61)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN61","v":""},{"$f":"'Calculator Table'!BR61","v":0},{"$f":"Calculate!AV61","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A62","v":0},{"$f":"IF(F62=\"X\",\"X\",(IF(F62<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H62),0,Calculate!H62),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N62),0,Calculate!N62),IF(ISERROR(Calculate!J62),0,Calculate!J62))))))","v":0},{"$f":"IF(F62=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I62),$C$2,Calculate!I62),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O62),$C$2,Calculate!O62),IF(ISERROR(Calculate!K62),$C$2,Calculate!K62))))","v":5.5},{"$f":"AF62 & IF(OR($AH62,RIGHT($AF62,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P62","v":"S"},{"$f":"Calculate!Q62","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F62=\"X\",$F62=\"H\",$F62=\"Z-ERROR\"),$F62,IF($V62>=RULES!$F$149,\"1\",IF($W62>=RULES!$F$149,\"2\",IF($X62>=RULES!$F$149,\"3\",IF($Y62>=RULES!$F$149,\"4\",IF($Z62>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA62<>\"*\",\"~\",IF($V62>=RULES!$G$149,\"1?\",IF($W62>=RULES!$G$149,\"2?\",IF($X62>=RULES!$G$149,\"3?\",IF($Y62>=RULES!$G$149,\"4?\",IF($Z62>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB62<>\"*\",\"~\",IF((V62+W62>=RULES!$F$149),\"12\",IF((W62+X62>=RULES!$F$149),\"23\",IF((X62+Y62>=RULES!$F$149),\"34\",IF((Y62+Z62>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC62<>\"*\",\"~\",IF(Y62+Z62<(1-RULES!$F$149),\"13\",IF(V62+Z62<(1-RULES!$F$149),\"24\",IF(V62+W62<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F62=\"X\",$F62=\"H\",$F62=\"Z-ERROR\",AND($AA62=\"H\",$AH62)),$AE62,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P62,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L62,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M62,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N62,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E62&\"1\",IF(NOT($AH62),$E62&\"U\",$AE62)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN62","v":""},{"$f":"'Calculator Table'!BR62","v":0},{"$f":"Calculate!AV62","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A63","v":0},{"$f":"IF(F63=\"X\",\"X\",(IF(F63<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H63),0,Calculate!H63),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N63),0,Calculate!N63),IF(ISERROR(Calculate!J63),0,Calculate!J63))))))","v":0},{"$f":"IF(F63=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I63),$C$2,Calculate!I63),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O63),$C$2,Calculate!O63),IF(ISERROR(Calculate!K63),$C$2,Calculate!K63))))","v":5.5},{"$f":"AF63 & IF(OR($AH63,RIGHT($AF63,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P63","v":"S"},{"$f":"Calculate!Q63","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F63=\"X\",$F63=\"H\",$F63=\"Z-ERROR\"),$F63,IF($V63>=RULES!$F$149,\"1\",IF($W63>=RULES!$F$149,\"2\",IF($X63>=RULES!$F$149,\"3\",IF($Y63>=RULES!$F$149,\"4\",IF($Z63>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA63<>\"*\",\"~\",IF($V63>=RULES!$G$149,\"1?\",IF($W63>=RULES!$G$149,\"2?\",IF($X63>=RULES!$G$149,\"3?\",IF($Y63>=RULES!$G$149,\"4?\",IF($Z63>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB63<>\"*\",\"~\",IF((V63+W63>=RULES!$F$149),\"12\",IF((W63+X63>=RULES!$F$149),\"23\",IF((X63+Y63>=RULES!$F$149),\"34\",IF((Y63+Z63>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC63<>\"*\",\"~\",IF(Y63+Z63<(1-RULES!$F$149),\"13\",IF(V63+Z63<(1-RULES!$F$149),\"24\",IF(V63+W63<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F63=\"X\",$F63=\"H\",$F63=\"Z-ERROR\",AND($AA63=\"H\",$AH63)),$AE63,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P63,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L63,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M63,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N63,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E63&\"1\",IF(NOT($AH63),$E63&\"U\",$AE63)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN63","v":""},{"$f":"'Calculator Table'!BR63","v":0},{"$f":"Calculate!AV63","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A64","v":0},{"$f":"IF(F64=\"X\",\"X\",(IF(F64<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H64),0,Calculate!H64),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N64),0,Calculate!N64),IF(ISERROR(Calculate!J64),0,Calculate!J64))))))","v":0},{"$f":"IF(F64=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I64),$C$2,Calculate!I64),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O64),$C$2,Calculate!O64),IF(ISERROR(Calculate!K64),$C$2,Calculate!K64))))","v":5.5},{"$f":"AF64 & IF(OR($AH64,RIGHT($AF64,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P64","v":"S"},{"$f":"Calculate!Q64","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F64=\"X\",$F64=\"H\",$F64=\"Z-ERROR\"),$F64,IF($V64>=RULES!$F$149,\"1\",IF($W64>=RULES!$F$149,\"2\",IF($X64>=RULES!$F$149,\"3\",IF($Y64>=RULES!$F$149,\"4\",IF($Z64>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA64<>\"*\",\"~\",IF($V64>=RULES!$G$149,\"1?\",IF($W64>=RULES!$G$149,\"2?\",IF($X64>=RULES!$G$149,\"3?\",IF($Y64>=RULES!$G$149,\"4?\",IF($Z64>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB64<>\"*\",\"~\",IF((V64+W64>=RULES!$F$149),\"12\",IF((W64+X64>=RULES!$F$149),\"23\",IF((X64+Y64>=RULES!$F$149),\"34\",IF((Y64+Z64>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC64<>\"*\",\"~\",IF(Y64+Z64<(1-RULES!$F$149),\"13\",IF(V64+Z64<(1-RULES!$F$149),\"24\",IF(V64+W64<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F64=\"X\",$F64=\"H\",$F64=\"Z-ERROR\",AND($AA64=\"H\",$AH64)),$AE64,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P64,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L64,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M64,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N64,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E64&\"1\",IF(NOT($AH64),$E64&\"U\",$AE64)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN64","v":""},{"$f":"'Calculator Table'!BR64","v":0},{"$f":"Calculate!AV64","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A65","v":0},{"$f":"IF(F65=\"X\",\"X\",(IF(F65<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H65),0,Calculate!H65),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N65),0,Calculate!N65),IF(ISERROR(Calculate!J65),0,Calculate!J65))))))","v":0},{"$f":"IF(F65=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I65),$C$2,Calculate!I65),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O65),$C$2,Calculate!O65),IF(ISERROR(Calculate!K65),$C$2,Calculate!K65))))","v":5.5},{"$f":"AF65 & IF(OR($AH65,RIGHT($AF65,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P65","v":"S"},{"$f":"Calculate!Q65","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F65=\"X\",$F65=\"H\",$F65=\"Z-ERROR\"),$F65,IF($V65>=RULES!$F$149,\"1\",IF($W65>=RULES!$F$149,\"2\",IF($X65>=RULES!$F$149,\"3\",IF($Y65>=RULES!$F$149,\"4\",IF($Z65>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA65<>\"*\",\"~\",IF($V65>=RULES!$G$149,\"1?\",IF($W65>=RULES!$G$149,\"2?\",IF($X65>=RULES!$G$149,\"3?\",IF($Y65>=RULES!$G$149,\"4?\",IF($Z65>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB65<>\"*\",\"~\",IF((V65+W65>=RULES!$F$149),\"12\",IF((W65+X65>=RULES!$F$149),\"23\",IF((X65+Y65>=RULES!$F$149),\"34\",IF((Y65+Z65>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC65<>\"*\",\"~\",IF(Y65+Z65<(1-RULES!$F$149),\"13\",IF(V65+Z65<(1-RULES!$F$149),\"24\",IF(V65+W65<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F65=\"X\",$F65=\"H\",$F65=\"Z-ERROR\",AND($AA65=\"H\",$AH65)),$AE65,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P65,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L65,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M65,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N65,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E65&\"1\",IF(NOT($AH65),$E65&\"U\",$AE65)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN65","v":""},{"$f":"'Calculator Table'!BR65","v":0},{"$f":"Calculate!AV65","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A66","v":0},{"$f":"IF(F66=\"X\",\"X\",(IF(F66<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H66),0,Calculate!H66),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N66),0,Calculate!N66),IF(ISERROR(Calculate!J66),0,Calculate!J66))))))","v":0},{"$f":"IF(F66=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I66),$C$2,Calculate!I66),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O66),$C$2,Calculate!O66),IF(ISERROR(Calculate!K66),$C$2,Calculate!K66))))","v":5.5},{"$f":"AF66 & IF(OR($AH66,RIGHT($AF66,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P66","v":"S"},{"$f":"Calculate!Q66","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F66=\"X\",$F66=\"H\",$F66=\"Z-ERROR\"),$F66,IF($V66>=RULES!$F$149,\"1\",IF($W66>=RULES!$F$149,\"2\",IF($X66>=RULES!$F$149,\"3\",IF($Y66>=RULES!$F$149,\"4\",IF($Z66>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA66<>\"*\",\"~\",IF($V66>=RULES!$G$149,\"1?\",IF($W66>=RULES!$G$149,\"2?\",IF($X66>=RULES!$G$149,\"3?\",IF($Y66>=RULES!$G$149,\"4?\",IF($Z66>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB66<>\"*\",\"~\",IF((V66+W66>=RULES!$F$149),\"12\",IF((W66+X66>=RULES!$F$149),\"23\",IF((X66+Y66>=RULES!$F$149),\"34\",IF((Y66+Z66>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC66<>\"*\",\"~\",IF(Y66+Z66<(1-RULES!$F$149),\"13\",IF(V66+Z66<(1-RULES!$F$149),\"24\",IF(V66+W66<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F66=\"X\",$F66=\"H\",$F66=\"Z-ERROR\",AND($AA66=\"H\",$AH66)),$AE66,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P66,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L66,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M66,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N66,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E66&\"1\",IF(NOT($AH66),$E66&\"U\",$AE66)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN66","v":""},{"$f":"'Calculator Table'!BR66","v":0},{"$f":"Calculate!AV66","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A67","v":0},{"$f":"IF(F67=\"X\",\"X\",(IF(F67<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H67),0,Calculate!H67),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N67),0,Calculate!N67),IF(ISERROR(Calculate!J67),0,Calculate!J67))))))","v":0},{"$f":"IF(F67=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I67),$C$2,Calculate!I67),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O67),$C$2,Calculate!O67),IF(ISERROR(Calculate!K67),$C$2,Calculate!K67))))","v":5.5},{"$f":"AF67 & IF(OR($AH67,RIGHT($AF67,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P67","v":"S"},{"$f":"Calculate!Q67","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F67=\"X\",$F67=\"H\",$F67=\"Z-ERROR\"),$F67,IF($V67>=RULES!$F$149,\"1\",IF($W67>=RULES!$F$149,\"2\",IF($X67>=RULES!$F$149,\"3\",IF($Y67>=RULES!$F$149,\"4\",IF($Z67>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA67<>\"*\",\"~\",IF($V67>=RULES!$G$149,\"1?\",IF($W67>=RULES!$G$149,\"2?\",IF($X67>=RULES!$G$149,\"3?\",IF($Y67>=RULES!$G$149,\"4?\",IF($Z67>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB67<>\"*\",\"~\",IF((V67+W67>=RULES!$F$149),\"12\",IF((W67+X67>=RULES!$F$149),\"23\",IF((X67+Y67>=RULES!$F$149),\"34\",IF((Y67+Z67>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC67<>\"*\",\"~\",IF(Y67+Z67<(1-RULES!$F$149),\"13\",IF(V67+Z67<(1-RULES!$F$149),\"24\",IF(V67+W67<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F67=\"X\",$F67=\"H\",$F67=\"Z-ERROR\",AND($AA67=\"H\",$AH67)),$AE67,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P67,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L67,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M67,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N67,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E67&\"1\",IF(NOT($AH67),$E67&\"U\",$AE67)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN67","v":""},{"$f":"'Calculator Table'!BR67","v":0},{"$f":"Calculate!AV67","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A68","v":0},{"$f":"IF(F68=\"X\",\"X\",(IF(F68<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H68),0,Calculate!H68),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N68),0,Calculate!N68),IF(ISERROR(Calculate!J68),0,Calculate!J68))))))","v":0},{"$f":"IF(F68=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I68),$C$2,Calculate!I68),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O68),$C$2,Calculate!O68),IF(ISERROR(Calculate!K68),$C$2,Calculate!K68))))","v":5.5},{"$f":"AF68 & IF(OR($AH68,RIGHT($AF68,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P68","v":"S"},{"$f":"Calculate!Q68","v":"*"},{"$f":"B68","v":0},5.5,{"$f":"AF68","v":{"$error":"#VALUE!"}},0,5.5,{"$f":"K68-J68","v":5.5},0,1.5,2.5,3.5,4.5,4,3,2,1,{"$f":"IF($L68=0,IF($M68=1,1,0),$N68/$L68)","v":0.27272727272727271},{"$f":"IF($L68=0,IF($M68=2,1,0),($O68-$N68)/$L68)","v":0.18181818181818182},{"$f":"IF($L68=0,IF($M68=3,1,0),($P68-$O68)/$L68)","v":0.18181818181818182},{"$f":"IF($L68=0,IF($M68=4,1,0),($Q68-$P68)/$L68)","v":0.18181818181818182},{"$f":"IF($L68=0,IF($M68=5,1,0),$U68/$L68)","v":0.18181818181818182},{"$f":"IF(OR($F68=\"X\",$F68=\"H\",$F68=\"Z-ERROR\"),$F68,IF($V68>=RULES!$F$149,\"1\",IF($W68>=RULES!$F$149,\"2\",IF($X68>=RULES!$F$149,\"3\",IF($Y68>=RULES!$F$149,\"4\",IF($Z68>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA68<>\"*\",\"~\",IF($V68>=RULES!$G$149,\"1?\",IF($W68>=RULES!$G$149,\"2?\",IF($X68>=RULES!$G$149,\"3?\",IF($Y68>=RULES!$G$149,\"4?\",IF($Z68>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB68<>\"*\",\"~\",IF((V68+W68>=RULES!$F$149),\"12\",IF((W68+X68>=RULES!$F$149),\"23\",IF((X68+Y68>=RULES!$F$149),\"34\",IF((Y68+Z68>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC68<>\"*\",\"~\",IF(Y68+Z68<(1-RULES!$F$149),\"13\",IF(V68+Z68<(1-RULES!$F$149),\"24\",IF(V68+W68<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},{"$f":"IF(AA68<>\"*\",CONCATENATE(E68,AA68),IF(AB68<>\"*\",CONCATENATE(E68,AB68),IF(AC68<>\"*\",CONCATENATE(E68,LEFT(AC68,1),E68,RIGHT(AC68,1)),IF(AD68=\"NR\",CONCATENATE(E68,\"NR\"),IF(AD68=\"U\",CONCATENATE(E68,\"U\"),CONCATENATE(E68,LEFT(AD68,1),E68,RIGHT(AD68,1)))))))","v":"SU"},{"$f":"IF(OR($F68=\"X\",$F68=\"H\",$F68=\"Z-ERROR\",AND($AA68=\"H\",$AH68)),$AE68,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P68,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L68,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M68,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N68,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E68&\"1\",IF(NOT($AH68),$E68&\"U\",$AE68)))","v":{"$error":"#VALUE!"}},{"$f":"IF(AE68=AF68,\"\",\"changed\")","v":{"$error":"#VALUE!"}},{"$f":"'Calculator Table'!BN68","v":""},{"$f":"'Calculator Table'!BR68","v":0},{"$f":"Calculate!AV68","v":2},null,null,null,null,null,{"$f":"AND(AF68=AM68)","v":{"$error":"#VALUE!"}}]
[{"$f":"Calculate!A69","v":0},{"$f":"IF(F69=\"X\",\"X\",(IF(F69<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H69),0,Calculate!H69),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N69),0,Calculate!N69),IF(ISERROR(Calculate!J69),0,Calculate!J69))))))","v":0},{"$f":"IF(F69=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I69),$C$2,Calculate!I69),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O69),$C$2,Calculate!O69),IF(ISERROR(Calculate!K69),$C$2,Calculate!K69))))","v":5.5},{"$f":"AF69 & IF(OR($AH69,RIGHT($AF69,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P69","v":"S"},{"$f":"Calculate!Q69","v":"*"},0,5.5,{"$error":"#VALUE!"},{"$f":"IF(G69=\"H\",0,MIN(MAX(G69,0),$C$2))","v":0},{"$f":"IF(H69=\"H\",0,MIN(MAX(H69,0),$C$2))","v":5.5},5.5,{"$f":"IF(L69=0,IF(J69<=1.5,1,IF(J69<=2.5,2,IF(J69<=3.5,3,IF(J69<=4.5,4,5)))),0)","v":0},{"$f":"IF($J69<=1.5,IF($K69<=1.5,$L69,1.5-$J69),0)","v":1.5},{"$f":"IF($J69<=2.5,IF($K69<=2.5,$L69,2.5-$J69),0)","v":2.5},{"$f":"IF($J69<=3.5,IF($K69<=3.5,$L69,3.5-$J69),0)","v":3.5},{"$f":"IF($J69<=4.5,IF($K69<=4.5,$L69,4.5-$J69),0)","v":4.5},{"$f":"IF($K69<=1.5,0,IF($J69>1.5,$L69,$K69-1.5))","v":4},{"$f":"IF($K69<=2.5,0,IF($J69>2.5,$L69,$K69-2.5))","v":3},{"$f":"IF($K69<=3.5,0,IF($J69>3.5,$L69,$K69-3.5))","v":2},{"$f":"IF($K69<=4.5,0,IF($J69>4.5,$L69,$K69-4.5))","v":1},0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F69=\"X\",$F69=\"H\",$F69=\"Z-ERROR\"),$F69,IF($V69>=RULES!$F$149,\"1\",IF($W69>=RULES!$F$149,\"2\",IF($X69>=RULES!$F$149,\"3\",IF($Y69>=RULES!$F$149,\"4\",IF($Z69>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA69<>\"*\",\"~\",IF($V69>=RULES!$G$149,\"1?\",IF($W69>=RULES!$G$149,\"2?\",IF($X69>=RULES!$G$149,\"3?\",IF($Y69>=RULES!$G$149,\"4?\",IF($Z69>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB69<>\"*\",\"~\",IF((V69+W69>=RULES!$F$149),\"12\",IF((W69+X69>=RULES!$F$149),\"23\",IF((X69+Y69>=RULES!$F$149),\"34\",IF((Y69+Z69>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC69<>\"*\",\"~\",IF(Y69+Z69<(1-RULES!$F$149),\"13\",IF(V69+Z69<(1-RULES!$F$149),\"24\",IF(V69+W69<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F69=\"X\",$F69=\"H\",$F69=\"Z-ERROR\",AND($AA69=\"H\",$AH69)),$AE69,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P69,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L69,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M69,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N69,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E69&\"1\",IF(NOT($AH69),$E69&\"U\",$AE69)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN69","v":""},{"$f":"'Calculator Table'!BR69","v":0},{"$f":"Calculate!AV69","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A70","v":0},{"$f":"IF(F70=\"X\",\"X\",(IF(F70<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H70),0,Calculate!H70),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N70),0,Calculate!N70),IF(ISERROR(Calculate!J70),0,Calculate!J70))))))","v":0},{"$f":"IF(F70=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I70),$C$2,Calculate!I70),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O70),$C$2,Calculate!O70),IF(ISERROR(Calculate!K70),$C$2,Calculate!K70))))","v":5.5},{"$f":"AF70 & IF(OR($AH70,RIGHT($AF70,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P70","v":"S"},{"$f":"Calculate!Q70","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F70=\"X\",$F70=\"H\",$F70=\"Z-ERROR\"),$F70,IF($V70>=RULES!$F$149,\"1\",IF($W70>=RULES!$F$149,\"2\",IF($X70>=RULES!$F$149,\"3\",IF($Y70>=RULES!$F$149,\"4\",IF($Z70>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA70<>\"*\",\"~\",IF($V70>=RULES!$G$149,\"1?\",IF($W70>=RULES!$G$149,\"2?\",IF($X70>=RULES!$G$149,\"3?\",IF($Y70>=RULES!$G$149,\"4?\",IF($Z70>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB70<>\"*\",\"~\",IF((V70+W70>=RULES!$F$149),\"12\",IF((W70+X70>=RULES!$F$149),\"23\",IF((X70+Y70>=RULES!$F$149),\"34\",IF((Y70+Z70>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC70<>\"*\",\"~\",IF(Y70+Z70<(1-RULES!$F$149),\"13\",IF(V70+Z70<(1-RULES!$F$149),\"24\",IF(V70+W70<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F70=\"X\",$F70=\"H\",$F70=\"Z-ERROR\",AND($AA70=\"H\",$AH70)),$AE70,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P70,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L70,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M70,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N70,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E70&\"1\",IF(NOT($AH70),$E70&\"U\",$AE70)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN70","v":""},{"$f":"'Calculator Table'!BR70","v":0},{"$f":"Calculate!AV70","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A71","v":0},{"$f":"IF(F71=\"X\",\"X\",(IF(F71<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H71),0,Calculate!H71),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N71),0,Calculate!N71),IF(ISERROR(Calculate!J71),0,Calculate!J71))))))","v":0},{"$f":"IF(F71=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I71),$C$2,Calculate!I71),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O71),$C$2,Calculate!O71),IF(ISERROR(Calculate!K71),$C$2,Calculate!K71))))","v":5.5},{"$f":"AF71 & IF(OR($AH71,RIGHT($AF71,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P71","v":"S"},{"$f":"Calculate!Q71","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F71=\"X\",$F71=\"H\",$F71=\"Z-ERROR\"),$F71,IF($V71>=RULES!$F$149,\"1\",IF($W71>=RULES!$F$149,\"2\",IF($X71>=RULES!$F$149,\"3\",IF($Y71>=RULES!$F$149,\"4\",IF($Z71>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA71<>\"*\",\"~\",IF($V71>=RULES!$G$149,\"1?\",IF($W71>=RULES!$G$149,\"2?\",IF($X71>=RULES!$G$149,\"3?\",IF($Y71>=RULES!$G$149,\"4?\",IF($Z71>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB71<>\"*\",\"~\",IF((V71+W71>=RULES!$F$149),\"12\",IF((W71+X71>=RULES!$F$149),\"23\",IF((X71+Y71>=RULES!$F$149),\"34\",IF((Y71+Z71>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC71<>\"*\",\"~\",IF(Y71+Z71<(1-RULES!$F$149),\"13\",IF(V71+Z71<(1-RULES!$F$149),\"24\",IF(V71+W71<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F71=\"X\",$F71=\"H\",$F71=\"Z-ERROR\",AND($AA71=\"H\",$AH71)),$AE71,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P71,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L71,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M71,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N71,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E71&\"1\",IF(NOT($AH71),$E71&\"U\",$AE71)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN71","v":""},{"$f":"'Calculator Table'!BR71","v":0},{"$f":"Calculate!AV71","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A72","v":0},{"$f":"IF(F72=\"X\",\"X\",(IF(F72<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H72),0,Calculate!H72),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N72),0,Calculate!N72),IF(ISERROR(Calculate!J72),0,Calculate!J72))))))","v":0},{"$f":"IF(F72=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I72),$C$2,Calculate!I72),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O72),$C$2,Calculate!O72),IF(ISERROR(Calculate!K72),$C$2,Calculate!K72))))","v":5.5},{"$f":"AF72 & IF(OR($AH72,RIGHT($AF72,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P72","v":"S"},{"$f":"Calculate!Q72","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F72=\"X\",$F72=\"H\",$F72=\"Z-ERROR\"),$F72,IF($V72>=RULES!$F$149,\"1\",IF($W72>=RULES!$F$149,\"2\",IF($X72>=RULES!$F$149,\"3\",IF($Y72>=RULES!$F$149,\"4\",IF($Z72>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA72<>\"*\",\"~\",IF($V72>=RULES!$G$149,\"1?\",IF($W72>=RULES!$G$149,\"2?\",IF($X72>=RULES!$G$149,\"3?\",IF($Y72>=RULES!$G$149,\"4?\",IF($Z72>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB72<>\"*\",\"~\",IF((V72+W72>=RULES!$F$149),\"12\",IF((W72+X72>=RULES!$F$149),\"23\",IF((X72+Y72>=RULES!$F$149),\"34\",IF((Y72+Z72>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC72<>\"*\",\"~\",IF(Y72+Z72<(1-RULES!$F$149),\"13\",IF(V72+Z72<(1-RULES!$F$149),\"24\",IF(V72+W72<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F72=\"X\",$F72=\"H\",$F72=\"Z-ERROR\",AND($AA72=\"H\",$AH72)),$AE72,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P72,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L72,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M72,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N72,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E72&\"1\",IF(NOT($AH72),$E72&\"U\",$AE72)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN72","v":""},{"$f":"'Calculator Table'!BR72","v":0},{"$f":"Calculate!AV72","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A73","v":0},{"$f":"IF(F73=\"X\",\"X\",(IF(F73<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H73),0,Calculate!H73),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N73),0,Calculate!N73),IF(ISERROR(Calculate!J73),0,Calculate!J73))))))","v":0},{"$f":"IF(F73=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I73),$C$2,Calculate!I73),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O73),$C$2,Calculate!O73),IF(ISERROR(Calculate!K73),$C$2,Calculate!K73))))","v":5.5},{"$f":"AF73 & IF(OR($AH73,RIGHT($AF73,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P73","v":"S"},{"$f":"Calculate!Q73","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F73=\"X\",$F73=\"H\",$F73=\"Z-ERROR\"),$F73,IF($V73>=RULES!$F$149,\"1\",IF($W73>=RULES!$F$149,\"2\",IF($X73>=RULES!$F$149,\"3\",IF($Y73>=RULES!$F$149,\"4\",IF($Z73>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA73<>\"*\",\"~\",IF($V73>=RULES!$G$149,\"1?\",IF($W73>=RULES!$G$149,\"2?\",IF($X73>=RULES!$G$149,\"3?\",IF($Y73>=RULES!$G$149,\"4?\",IF($Z73>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB73<>\"*\",\"~\",IF((V73+W73>=RULES!$F$149),\"12\",IF((W73+X73>=RULES!$F$149),\"23\",IF((X73+Y73>=RULES!$F$149),\"34\",IF((Y73+Z73>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC73<>\"*\",\"~\",IF(Y73+Z73<(1-RULES!$F$149),\"13\",IF(V73+Z73<(1-RULES!$F$149),\"24\",IF(V73+W73<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F73=\"X\",$F73=\"H\",$F73=\"Z-ERROR\",AND($AA73=\"H\",$AH73)),$AE73,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P73,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L73,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M73,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N73,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E73&\"1\",IF(NOT($AH73),$E73&\"U\",$AE73)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN73","v":""},{"$f":"'Calculator Table'!BR73","v":0},{"$f":"Calculate!AV73","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A74","v":0},{"$f":"IF(F74=\"X\",\"X\",(IF(F74<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H74),0,Calculate!H74),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N74),0,Calculate!N74),IF(ISERROR(Calculate!J74),0,Calculate!J74))))))","v":0},{"$f":"IF(F74=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I74),$C$2,Calculate!I74),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O74),$C$2,Calculate!O74),IF(ISERROR(Calculate!K74),$C$2,Calculate!K74))))","v":5.5},{"$f":"AF74 & IF(OR($AH74,RIGHT($AF74,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P74","v":"S"},{"$f":"Calculate!Q74","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F74=\"X\",$F74=\"H\",$F74=\"Z-ERROR\"),$F74,IF($V74>=RULES!$F$149,\"1\",IF($W74>=RULES!$F$149,\"2\",IF($X74>=RULES!$F$149,\"3\",IF($Y74>=RULES!$F$149,\"4\",IF($Z74>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA74<>\"*\",\"~\",IF($V74>=RULES!$G$149,\"1?\",IF($W74>=RULES!$G$149,\"2?\",IF($X74>=RULES!$G$149,\"3?\",IF($Y74>=RULES!$G$149,\"4?\",IF($Z74>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB74<>\"*\",\"~\",IF((V74+W74>=RULES!$F$149),\"12\",IF((W74+X74>=RULES!$F$149),\"23\",IF((X74+Y74>=RULES!$F$149),\"34\",IF((Y74+Z74>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC74<>\"*\",\"~\",IF(Y74+Z74<(1-RULES!$F$149),\"13\",IF(V74+Z74<(1-RULES!$F$149),\"24\",IF(V74+W74<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F74=\"X\",$F74=\"H\",$F74=\"Z-ERROR\",AND($AA74=\"H\",$AH74)),$AE74,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P74,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L74,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M74,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N74,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E74&\"1\",IF(NOT($AH74),$E74&\"U\",$AE74)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN74","v":""},{"$f":"'Calculator Table'!BR74","v":0},{"$f":"Calculate!AV74","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A75","v":0},{"$f":"IF(F75=\"X\",\"X\",(IF(F75<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H75),0,Calculate!H75),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N75),0,Calculate!N75),IF(ISERROR(Calculate!J75),0,Calculate!J75))))))","v":0},{"$f":"IF(F75=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I75),$C$2,Calculate!I75),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O75),$C$2,Calculate!O75),IF(ISERROR(Calculate!K75),$C$2,Calculate!K75))))","v":5.5},{"$f":"AF75 & IF(OR($AH75,RIGHT($AF75,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P75","v":"S"},{"$f":"Calculate!Q75","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F75=\"X\",$F75=\"H\",$F75=\"Z-ERROR\"),$F75,IF($V75>=RULES!$F$149,\"1\",IF($W75>=RULES!$F$149,\"2\",IF($X75>=RULES!$F$149,\"3\",IF($Y75>=RULES!$F$149,\"4\",IF($Z75>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA75<>\"*\",\"~\",IF($V75>=RULES!$G$149,\"1?\",IF($W75>=RULES!$G$149,\"2?\",IF($X75>=RULES!$G$149,\"3?\",IF($Y75>=RULES!$G$149,\"4?\",IF($Z75>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB75<>\"*\",\"~\",IF((V75+W75>=RULES!$F$149),\"12\",IF((W75+X75>=RULES!$F$149),\"23\",IF((X75+Y75>=RULES!$F$149),\"34\",IF((Y75+Z75>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC75<>\"*\",\"~\",IF(Y75+Z75<(1-RULES!$F$149),\"13\",IF(V75+Z75<(1-RULES!$F$149),\"24\",IF(V75+W75<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F75=\"X\",$F75=\"H\",$F75=\"Z-ERROR\",AND($AA75=\"H\",$AH75)),$AE75,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P75,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L75,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M75,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N75,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E75&\"1\",IF(NOT($AH75),$E75&\"U\",$AE75)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN75","v":""},{"$f":"'Calculator Table'!BR75","v":0},{"$f":"Calculate!AV75","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A76","v":0},{"$f":"IF(F76=\"X\",\"X\",(IF(F76<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H76),0,Calculate!H76),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N76),0,Calculate!N76),IF(ISERROR(Calculate!J76),0,Calculate!J76))))))","v":0},{"$f":"IF(F76=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I76),$C$2,Calculate!I76),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O76),$C$2,Calculate!O76),IF(ISERROR(Calculate!K76),$C$2,Calculate!K76))))","v":5.5},{"$f":"AF76 & IF(OR($AH76,RIGHT($AF76,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P76","v":"S"},{"$f":"Calculate!Q76","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F76=\"X\",$F76=\"H\",$F76=\"Z-ERROR\"),$F76,IF($V76>=RULES!$F$149,\"1\",IF($W76>=RULES!$F$149,\"2\",IF($X76>=RULES!$F$149,\"3\",IF($Y76>=RULES!$F$149,\"4\",IF($Z76>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA76<>\"*\",\"~\",IF($V76>=RULES!$G$149,\"1?\",IF($W76>=RULES!$G$149,\"2?\",IF($X76>=RULES!$G$149,\"3?\",IF($Y76>=RULES!$G$149,\"4?\",IF($Z76>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB76<>\"*\",\"~\",IF((V76+W76>=RULES!$F$149),\"12\",IF((W76+X76>=RULES!$F$149),\"23\",IF((X76+Y76>=RULES!$F$149),\"34\",IF((Y76+Z76>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC76<>\"*\",\"~\",IF(Y76+Z76<(1-RULES!$F$149),\"13\",IF(V76+Z76<(1-RULES!$F$149),\"24\",IF(V76+W76<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F76=\"X\",$F76=\"H\",$F76=\"Z-ERROR\",AND($AA76=\"H\",$AH76)),$AE76,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P76,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L76,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M76,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N76,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E76&\"1\",IF(NOT($AH76),$E76&\"U\",$AE76)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN76","v":""},{"$f":"'Calculator Table'!BR76","v":0},{"$f":"Calculate!AV76","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A77","v":0},{"$f":"IF(F77=\"X\",\"X\",(IF(F77<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H77),0,Calculate!H77),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N77),0,Calculate!N77),IF(ISERROR(Calculate!J77),0,Calculate!J77))))))","v":0},{"$f":"IF(F77=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I77),$C$2,Calculate!I77),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O77),$C$2,Calculate!O77),IF(ISERROR(Calculate!K77),$C$2,Calculate!K77))))","v":5.5},{"$f":"AF77 & IF(OR($AH77,RIGHT($AF77,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P77","v":"S"},{"$f":"Calculate!Q77","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F77=\"X\",$F77=\"H\",$F77=\"Z-ERROR\"),$F77,IF($V77>=RULES!$F$149,\"1\",IF($W77>=RULES!$F$149,\"2\",IF($X77>=RULES!$F$149,\"3\",IF($Y77>=RULES!$F$149,\"4\",IF($Z77>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA77<>\"*\",\"~\",IF($V77>=RULES!$G$149,\"1?\",IF($W77>=RULES!$G$149,\"2?\",IF($X77>=RULES!$G$149,\"3?\",IF($Y77>=RULES!$G$149,\"4?\",IF($Z77>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB77<>\"*\",\"~\",IF((V77+W77>=RULES!$F$149),\"12\",IF((W77+X77>=RULES!$F$149),\"23\",IF((X77+Y77>=RULES!$F$149),\"34\",IF((Y77+Z77>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC77<>\"*\",\"~\",IF(Y77+Z77<(1-RULES!$F$149),\"13\",IF(V77+Z77<(1-RULES!$F$149),\"24\",IF(V77+W77<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F77=\"X\",$F77=\"H\",$F77=\"Z-ERROR\",AND($AA77=\"H\",$AH77)),$AE77,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P77,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L77,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M77,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N77,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E77&\"1\",IF(NOT($AH77),$E77&\"U\",$AE77)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN77","v":""},{"$f":"'Calculator Table'!BR77","v":0},{"$f":"Calculate!AV77","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A78","v":0},{"$f":"IF(F78=\"X\",\"X\",(IF(F78<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H78),0,Calculate!H78),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N78),0,Calculate!N78),IF(ISERROR(Calculate!J78),0,Calculate!J78))))))","v":0},{"$f":"IF(F78=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I78),$C$2,Calculate!I78),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O78),$C$2,Calculate!O78),IF(ISERROR(Calculate!K78),$C$2,Calculate!K78))))","v":5.5},{"$f":"AF78 & IF(OR($AH78,RIGHT($AF78,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P78","v":"S"},{"$f":"Calculate!Q78","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F78=\"X\",$F78=\"H\",$F78=\"Z-ERROR\"),$F78,IF($V78>=RULES!$F$149,\"1\",IF($W78>=RULES!$F$149,\"2\",IF($X78>=RULES!$F$149,\"3\",IF($Y78>=RULES!$F$149,\"4\",IF($Z78>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA78<>\"*\",\"~\",IF($V78>=RULES!$G$149,\"1?\",IF($W78>=RULES!$G$149,\"2?\",IF($X78>=RULES!$G$149,\"3?\",IF($Y78>=RULES!$G$149,\"4?\",IF($Z78>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB78<>\"*\",\"~\",IF((V78+W78>=RULES!$F$149),\"12\",IF((W78+X78>=RULES!$F$149),\"23\",IF((X78+Y78>=RULES!$F$149),\"34\",IF((Y78+Z78>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC78<>\"*\",\"~\",IF(Y78+Z78<(1-RULES!$F$149),\"13\",IF(V78+Z78<(1-RULES!$F$149),\"24\",IF(V78+W78<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F78=\"X\",$F78=\"H\",$F78=\"Z-ERROR\",AND($AA78=\"H\",$AH78)),$AE78,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P78,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L78,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M78,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N78,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E78&\"1\",IF(NOT($AH78),$E78&\"U\",$AE78)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN78","v":""},{"$f":"'Calculator Table'!BR78","v":0},{"$f":"Calculate!AV78","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A79","v":0},{"$f":"IF(F79=\"X\",\"X\",(IF(F79<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H79),0,Calculate!H79),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N79),0,Calculate!N79),IF(ISERROR(Calculate!J79),0,Calculate!J79))))))","v":0},{"$f":"IF(F79=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I79),$C$2,Calculate!I79),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O79),$C$2,Calculate!O79),IF(ISERROR(Calculate!K79),$C$2,Calculate!K79))))","v":5.5},{"$f":"AF79 & IF(OR($AH79,RIGHT($AF79,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P79","v":"S"},{"$f":"Calculate!Q79","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F79=\"X\",$F79=\"H\",$F79=\"Z-ERROR\"),$F79,IF($V79>=RULES!$F$149,\"1\",IF($W79>=RULES!$F$149,\"2\",IF($X79>=RULES!$F$149,\"3\",IF($Y79>=RULES!$F$149,\"4\",IF($Z79>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA79<>\"*\",\"~\",IF($V79>=RULES!$G$149,\"1?\",IF($W79>=RULES!$G$149,\"2?\",IF($X79>=RULES!$G$149,\"3?\",IF($Y79>=RULES!$G$149,\"4?\",IF($Z79>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB79<>\"*\",\"~\",IF((V79+W79>=RULES!$F$149),\"12\",IF((W79+X79>=RULES!$F$149),\"23\",IF((X79+Y79>=RULES!$F$149),\"34\",IF((Y79+Z79>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC79<>\"*\",\"~\",IF(Y79+Z79<(1-RULES!$F$149),\"13\",IF(V79+Z79<(1-RULES!$F$149),\"24\",IF(V79+W79<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F79=\"X\",$F79=\"H\",$F79=\"Z-ERROR\",AND($AA79=\"H\",$AH79)),$AE79,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P79,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L79,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M79,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N79,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E79&\"1\",IF(NOT($AH79),$E79&\"U\",$AE79)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN79","v":""},{"$f":"'Calculator Table'!BR79","v":0},{"$f":"Calculate!AV79","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A80","v":0},{"$f":"IF(F80=\"X\",\"X\",(IF(F80<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H80),0,Calculate!H80),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N80),0,Calculate!N80),IF(ISERROR(Calculate!J80),0,Calculate!J80))))))","v":0},{"$f":"IF(F80=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I80),$C$2,Calculate!I80),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O80),$C$2,Calculate!O80),IF(ISERROR(Calculate!K80),$C$2,Calculate!K80))))","v":5.5},{"$f":"AF80 & IF(OR($AH80,RIGHT($AF80,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P80","v":"S"},{"$f":"Calculate!Q80","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F80=\"X\",$F80=\"H\",$F80=\"Z-ERROR\"),$F80,IF($V80>=RULES!$F$149,\"1\",IF($W80>=RULES!$F$149,\"2\",IF($X80>=RULES!$F$149,\"3\",IF($Y80>=RULES!$F$149,\"4\",IF($Z80>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA80<>\"*\",\"~\",IF($V80>=RULES!$G$149,\"1?\",IF($W80>=RULES!$G$149,\"2?\",IF($X80>=RULES!$G$149,\"3?\",IF($Y80>=RULES!$G$149,\"4?\",IF($Z80>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB80<>\"*\",\"~\",IF((V80+W80>=RULES!$F$149),\"12\",IF((W80+X80>=RULES!$F$149),\"23\",IF((X80+Y80>=RULES!$F$149),\"34\",IF((Y80+Z80>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC80<>\"*\",\"~\",IF(Y80+Z80<(1-RULES!$F$149),\"13\",IF(V80+Z80<(1-RULES!$F$149),\"24\",IF(V80+W80<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F80=\"X\",$F80=\"H\",$F80=\"Z-ERROR\",AND($AA80=\"H\",$AH80)),$AE80,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P80,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L80,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M80,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N80,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E80&\"1\",IF(NOT($AH80),$E80&\"U\",$AE80)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN80","v":""},{"$f":"'Calculator Table'!BR80","v":0},{"$f":"Calculate!AV80","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A81","v":0},{"$f":"IF(F81=\"X\",\"X\",(IF(F81<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H81),0,Calculate!H81),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N81),0,Calculate!N81),IF(ISERROR(Calculate!J81),0,Calculate!J81))))))","v":0},{"$f":"IF(F81=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I81),$C$2,Calculate!I81),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O81),$C$2,Calculate!O81),IF(ISERROR(Calculate!K81),$C$2,Calculate!K81))))","v":5.5},{"$f":"AF81 & IF(OR($AH81,RIGHT($AF81,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P81","v":"S"},{"$f":"Calculate!Q81","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F81=\"X\",$F81=\"H\",$F81=\"Z-ERROR\"),$F81,IF($V81>=RULES!$F$149,\"1\",IF($W81>=RULES!$F$149,\"2\",IF($X81>=RULES!$F$149,\"3\",IF($Y81>=RULES!$F$149,\"4\",IF($Z81>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA81<>\"*\",\"~\",IF($V81>=RULES!$G$149,\"1?\",IF($W81>=RULES!$G$149,\"2?\",IF($X81>=RULES!$G$149,\"3?\",IF($Y81>=RULES!$G$149,\"4?\",IF($Z81>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB81<>\"*\",\"~\",IF((V81+W81>=RULES!$F$149),\"12\",IF((W81+X81>=RULES!$F$149),\"23\",IF((X81+Y81>=RULES!$F$149),\"34\",IF((Y81+Z81>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC81<>\"*\",\"~\",IF(Y81+Z81<(1-RULES!$F$149),\"13\",IF(V81+Z81<(1-RULES!$F$149),\"24\",IF(V81+W81<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F81=\"X\",$F81=\"H\",$F81=\"Z-ERROR\",AND($AA81=\"H\",$AH81)),$AE81,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P81,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L81,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M81,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N81,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E81&\"1\",IF(NOT($AH81),$E81&\"U\",$AE81)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN81","v":""},{"$f":"'Calculator Table'!BR81","v":0},{"$f":"Calculate!AV81","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A82","v":0},{"$f":"IF(F82=\"X\",\"X\",(IF(F82<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H82),0,Calculate!H82),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N82),0,Calculate!N82),IF(ISERROR(Calculate!J82),0,Calculate!J82))))))","v":0},{"$f":"IF(F82=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I82),$C$2,Calculate!I82),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O82),$C$2,Calculate!O82),IF(ISERROR(Calculate!K82),$C$2,Calculate!K82))))","v":5.5},{"$f":"AF82 & IF(OR($AH82,RIGHT($AF82,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P82","v":"S"},{"$f":"Calculate!Q82","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F82=\"X\",$F82=\"H\",$F82=\"Z-ERROR\"),$F82,IF($V82>=RULES!$F$149,\"1\",IF($W82>=RULES!$F$149,\"2\",IF($X82>=RULES!$F$149,\"3\",IF($Y82>=RULES!$F$149,\"4\",IF($Z82>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA82<>\"*\",\"~\",IF($V82>=RULES!$G$149,\"1?\",IF($W82>=RULES!$G$149,\"2?\",IF($X82>=RULES!$G$149,\"3?\",IF($Y82>=RULES!$G$149,\"4?\",IF($Z82>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB82<>\"*\",\"~\",IF((V82+W82>=RULES!$F$149),\"12\",IF((W82+X82>=RULES!$F$149),\"23\",IF((X82+Y82>=RULES!$F$149),\"34\",IF((Y82+Z82>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC82<>\"*\",\"~\",IF(Y82+Z82<(1-RULES!$F$149),\"13\",IF(V82+Z82<(1-RULES!$F$149),\"24\",IF(V82+W82<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F82=\"X\",$F82=\"H\",$F82=\"Z-ERROR\",AND($AA82=\"H\",$AH82)),$AE82,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P82,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L82,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M82,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N82,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E82&\"1\",IF(NOT($AH82),$E82&\"U\",$AE82)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN82","v":""},{"$f":"'Calculator Table'!BR82","v":0},{"$f":"Calculate!AV82","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A83","v":0},{"$f":"IF(F83=\"X\",\"X\",(IF(F83<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H83),0,Calculate!H83),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N83),0,Calculate!N83),IF(ISERROR(Calculate!J83),0,Calculate!J83))))))","v":0},{"$f":"IF(F83=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I83),$C$2,Calculate!I83),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O83),$C$2,Calculate!O83),IF(ISERROR(Calculate!K83),$C$2,Calculate!K83))))","v":5.5},{"$f":"AF83 & IF(OR($AH83,RIGHT($AF83,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P83","v":"S"},{"$f":"Calculate!Q83","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F83=\"X\",$F83=\"H\",$F83=\"Z-ERROR\"),$F83,IF($V83>=RULES!$F$149,\"1\",IF($W83>=RULES!$F$149,\"2\",IF($X83>=RULES!$F$149,\"3\",IF($Y83>=RULES!$F$149,\"4\",IF($Z83>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA83<>\"*\",\"~\",IF($V83>=RULES!$G$149,\"1?\",IF($W83>=RULES!$G$149,\"2?\",IF($X83>=RULES!$G$149,\"3?\",IF($Y83>=RULES!$G$149,\"4?\",IF($Z83>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB83<>\"*\",\"~\",IF((V83+W83>=RULES!$F$149),\"12\",IF((W83+X83>=RULES!$F$149),\"23\",IF((X83+Y83>=RULES!$F$149),\"34\",IF((Y83+Z83>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC83<>\"*\",\"~\",IF(Y83+Z83<(1-RULES!$F$149),\"13\",IF(V83+Z83<(1-RULES!$F$149),\"24\",IF(V83+W83<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F83=\"X\",$F83=\"H\",$F83=\"Z-ERROR\",AND($AA83=\"H\",$AH83)),$AE83,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P83,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L83,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M83,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N83,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E83&\"1\",IF(NOT($AH83),$E83&\"U\",$AE83)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN83","v":""},{"$f":"'Calculator Table'!BR83","v":0},{"$f":"Calculate!AV83","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A84","v":0},{"$f":"IF(F84=\"X\",\"X\",(IF(F84<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H84),0,Calculate!H84),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N84),0,Calculate!N84),IF(ISERROR(Calculate!J84),0,Calculate!J84))))))","v":0},{"$f":"IF(F84=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I84),$C$2,Calculate!I84),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O84),$C$2,Calculate!O84),IF(ISERROR(Calculate!K84),$C$2,Calculate!K84))))","v":5.5},{"$f":"AF84 & IF(OR($AH84,RIGHT($AF84,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P84","v":"S"},{"$f":"Calculate!Q84","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F84=\"X\",$F84=\"H\",$F84=\"Z-ERROR\"),$F84,IF($V84>=RULES!$F$149,\"1\",IF($W84>=RULES!$F$149,\"2\",IF($X84>=RULES!$F$149,\"3\",IF($Y84>=RULES!$F$149,\"4\",IF($Z84>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA84<>\"*\",\"~\",IF($V84>=RULES!$G$149,\"1?\",IF($W84>=RULES!$G$149,\"2?\",IF($X84>=RULES!$G$149,\"3?\",IF($Y84>=RULES!$G$149,\"4?\",IF($Z84>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB84<>\"*\",\"~\",IF((V84+W84>=RULES!$F$149),\"12\",IF((W84+X84>=RULES!$F$149),\"23\",IF((X84+Y84>=RULES!$F$149),\"34\",IF((Y84+Z84>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC84<>\"*\",\"~\",IF(Y84+Z84<(1-RULES!$F$149),\"13\",IF(V84+Z84<(1-RULES!$F$149),\"24\",IF(V84+W84<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F84=\"X\",$F84=\"H\",$F84=\"Z-ERROR\",AND($AA84=\"H\",$AH84)),$AE84,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P84,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L84,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M84,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N84,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E84&\"1\",IF(NOT($AH84),$E84&\"U\",$AE84)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN84","v":""},{"$f":"'Calculator Table'!BR84","v":0},{"$f":"Calculate!AV84","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A85","v":0},{"$f":"IF(F85=\"X\",\"X\",(IF(F85<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H85),0,Calculate!H85),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N85),0,Calculate!N85),IF(ISERROR(Calculate!J85),0,Calculate!J85))))))","v":0},{"$f":"IF(F85=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I85),$C$2,Calculate!I85),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O85),$C$2,Calculate!O85),IF(ISERROR(Calculate!K85),$C$2,Calculate!K85))))","v":5.5},{"$f":"AF85 & IF(OR($AH85,RIGHT($AF85,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P85","v":"S"},{"$f":"Calculate!Q85","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F85=\"X\",$F85=\"H\",$F85=\"Z-ERROR\"),$F85,IF($V85>=RULES!$F$149,\"1\",IF($W85>=RULES!$F$149,\"2\",IF($X85>=RULES!$F$149,\"3\",IF($Y85>=RULES!$F$149,\"4\",IF($Z85>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA85<>\"*\",\"~\",IF($V85>=RULES!$G$149,\"1?\",IF($W85>=RULES!$G$149,\"2?\",IF($X85>=RULES!$G$149,\"3?\",IF($Y85>=RULES!$G$149,\"4?\",IF($Z85>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB85<>\"*\",\"~\",IF((V85+W85>=RULES!$F$149),\"12\",IF((W85+X85>=RULES!$F$149),\"23\",IF((X85+Y85>=RULES!$F$149),\"34\",IF((Y85+Z85>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC85<>\"*\",\"~\",IF(Y85+Z85<(1-RULES!$F$149),\"13\",IF(V85+Z85<(1-RULES!$F$149),\"24\",IF(V85+W85<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F85=\"X\",$F85=\"H\",$F85=\"Z-ERROR\",AND($AA85=\"H\",$AH85)),$AE85,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P85,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L85,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M85,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N85,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E85&\"1\",IF(NOT($AH85),$E85&\"U\",$AE85)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN85","v":""},{"$f":"'Calculator Table'!BR85","v":0},{"$f":"Calculate!AV85","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A86","v":0},{"$f":"IF(F86=\"X\",\"X\",(IF(F86<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H86),0,Calculate!H86),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N86),0,Calculate!N86),IF(ISERROR(Calculate!J86),0,Calculate!J86))))))","v":0},{"$f":"IF(F86=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I86),$C$2,Calculate!I86),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O86),$C$2,Calculate!O86),IF(ISERROR(Calculate!K86),$C$2,Calculate!K86))))","v":5.5},{"$f":"AF86 & IF(OR($AH86,RIGHT($AF86,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P86","v":"S"},{"$f":"Calculate!Q86","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F86=\"X\",$F86=\"H\",$F86=\"Z-ERROR\"),$F86,IF($V86>=RULES!$F$149,\"1\",IF($W86>=RULES!$F$149,\"2\",IF($X86>=RULES!$F$149,\"3\",IF($Y86>=RULES!$F$149,\"4\",IF($Z86>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA86<>\"*\",\"~\",IF($V86>=RULES!$G$149,\"1?\",IF($W86>=RULES!$G$149,\"2?\",IF($X86>=RULES!$G$149,\"3?\",IF($Y86>=RULES!$G$149,\"4?\",IF($Z86>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB86<>\"*\",\"~\",IF((V86+W86>=RULES!$F$149),\"12\",IF((W86+X86>=RULES!$F$149),\"23\",IF((X86+Y86>=RULES!$F$149),\"34\",IF((Y86+Z86>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC86<>\"*\",\"~\",IF(Y86+Z86<(1-RULES!$F$149),\"13\",IF(V86+Z86<(1-RULES!$F$149),\"24\",IF(V86+W86<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F86=\"X\",$F86=\"H\",$F86=\"Z-ERROR\",AND($AA86=\"H\",$AH86)),$AE86,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P86,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L86,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M86,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N86,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E86&\"1\",IF(NOT($AH86),$E86&\"U\",$AE86)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN86","v":""},{"$f":"'Calculator Table'!BR86","v":0},{"$f":"Calculate!AV86","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A87","v":0},{"$f":"IF(F87=\"X\",\"X\",(IF(F87<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H87),0,Calculate!H87),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N87),0,Calculate!N87),IF(ISERROR(Calculate!J87),0,Calculate!J87))))))","v":0},{"$f":"IF(F87=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I87),$C$2,Calculate!I87),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O87),$C$2,Calculate!O87),IF(ISERROR(Calculate!K87),$C$2,Calculate!K87))))","v":5.5},{"$f":"AF87 & IF(OR($AH87,RIGHT($AF87,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P87","v":"S"},{"$f":"Calculate!Q87","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F87=\"X\",$F87=\"H\",$F87=\"Z-ERROR\"),$F87,IF($V87>=RULES!$F$149,\"1\",IF($W87>=RULES!$F$149,\"2\",IF($X87>=RULES!$F$149,\"3\",IF($Y87>=RULES!$F$149,\"4\",IF($Z87>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA87<>\"*\",\"~\",IF($V87>=RULES!$G$149,\"1?\",IF($W87>=RULES!$G$149,\"2?\",IF($X87>=RULES!$G$149,\"3?\",IF($Y87>=RULES!$G$149,\"4?\",IF($Z87>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB87<>\"*\",\"~\",IF((V87+W87>=RULES!$F$149),\"12\",IF((W87+X87>=RULES!$F$149),\"23\",IF((X87+Y87>=RULES!$F$149),\"34\",IF((Y87+Z87>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC87<>\"*\",\"~\",IF(Y87+Z87<(1-RULES!$F$149),\"13\",IF(V87+Z87<(1-RULES!$F$149),\"24\",IF(V87+W87<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F87=\"X\",$F87=\"H\",$F87=\"Z-ERROR\",AND($AA87=\"H\",$AH87)),$AE87,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P87,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L87,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M87,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N87,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E87&\"1\",IF(NOT($AH87),$E87&\"U\",$AE87)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN87","v":""},{"$f":"'Calculator Table'!BR87","v":0},{"$f":"Calculate!AV87","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A88","v":0},{"$f":"IF(F88=\"X\",\"X\",(IF(F88<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H88),0,Calculate!H88),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N88),0,Calculate!N88),IF(ISERROR(Calculate!J88),0,Calculate!J88))))))","v":0},{"$f":"IF(F88=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I88),$C$2,Calculate!I88),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O88),$C$2,Calculate!O88),IF(ISERROR(Calculate!K88),$C$2,Calculate!K88))))","v":5.5},{"$f":"AF88 & IF(OR($AH88,RIGHT($AF88,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P88","v":"S"},{"$f":"Calculate!Q88","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F88=\"X\",$F88=\"H\",$F88=\"Z-ERROR\"),$F88,IF($V88>=RULES!$F$149,\"1\",IF($W88>=RULES!$F$149,\"2\",IF($X88>=RULES!$F$149,\"3\",IF($Y88>=RULES!$F$149,\"4\",IF($Z88>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA88<>\"*\",\"~\",IF($V88>=RULES!$G$149,\"1?\",IF($W88>=RULES!$G$149,\"2?\",IF($X88>=RULES!$G$149,\"3?\",IF($Y88>=RULES!$G$149,\"4?\",IF($Z88>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB88<>\"*\",\"~\",IF((V88+W88>=RULES!$F$149),\"12\",IF((W88+X88>=RULES!$F$149),\"23\",IF((X88+Y88>=RULES!$F$149),\"34\",IF((Y88+Z88>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC88<>\"*\",\"~\",IF(Y88+Z88<(1-RULES!$F$149),\"13\",IF(V88+Z88<(1-RULES!$F$149),\"24\",IF(V88+W88<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F88=\"X\",$F88=\"H\",$F88=\"Z-ERROR\",AND($AA88=\"H\",$AH88)),$AE88,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P88,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L88,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M88,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N88,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E88&\"1\",IF(NOT($AH88),$E88&\"U\",$AE88)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN88","v":""},{"$f":"'Calculator Table'!BR88","v":0},{"$f":"Calculate!AV88","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A89","v":0},{"$f":"IF(F89=\"X\",\"X\",(IF(F89<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H89),0,Calculate!H89),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N89),0,Calculate!N89),IF(ISERROR(Calculate!J89),0,Calculate!J89))))))","v":0},{"$f":"IF(F89=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I89),$C$2,Calculate!I89),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O89),$C$2,Calculate!O89),IF(ISERROR(Calculate!K89),$C$2,Calculate!K89))))","v":5.5},{"$f":"AF89 & IF(OR($AH89,RIGHT($AF89,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P89","v":"S"},{"$f":"Calculate!Q89","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F89=\"X\",$F89=\"H\",$F89=\"Z-ERROR\"),$F89,IF($V89>=RULES!$F$149,\"1\",IF($W89>=RULES!$F$149,\"2\",IF($X89>=RULES!$F$149,\"3\",IF($Y89>=RULES!$F$149,\"4\",IF($Z89>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA89<>\"*\",\"~\",IF($V89>=RULES!$G$149,\"1?\",IF($W89>=RULES!$G$149,\"2?\",IF($X89>=RULES!$G$149,\"3?\",IF($Y89>=RULES!$G$149,\"4?\",IF($Z89>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB89<>\"*\",\"~\",IF((V89+W89>=RULES!$F$149),\"12\",IF((W89+X89>=RULES!$F$149),\"23\",IF((X89+Y89>=RULES!$F$149),\"34\",IF((Y89+Z89>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC89<>\"*\",\"~\",IF(Y89+Z89<(1-RULES!$F$149),\"13\",IF(V89+Z89<(1-RULES!$F$149),\"24\",IF(V89+W89<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F89=\"X\",$F89=\"H\",$F89=\"Z-ERROR\",AND($AA89=\"H\",$AH89)),$AE89,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P89,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L89,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M89,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N89,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E89&\"1\",IF(NOT($AH89),$E89&\"U\",$AE89)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN89","v":""},{"$f":"'Calculator Table'!BR89","v":0},{"$f":"Calculate!AV89","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A90","v":0},{"$f":"IF(F90=\"X\",\"X\",(IF(F90<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H90),0,Calculate!H90),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N90),0,Calculate!N90),IF(ISERROR(Calculate!J90),0,Calculate!J90))))))","v":0},{"$f":"IF(F90=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I90),$C$2,Calculate!I90),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O90),$C$2,Calculate!O90),IF(ISERROR(Calculate!K90),$C$2,Calculate!K90))))","v":5.5},{"$f":"AF90 & IF(OR($AH90,RIGHT($AF90,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P90","v":"S"},{"$f":"Calculate!Q90","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F90=\"X\",$F90=\"H\",$F90=\"Z-ERROR\"),$F90,IF($V90>=RULES!$F$149,\"1\",IF($W90>=RULES!$F$149,\"2\",IF($X90>=RULES!$F$149,\"3\",IF($Y90>=RULES!$F$149,\"4\",IF($Z90>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA90<>\"*\",\"~\",IF($V90>=RULES!$G$149,\"1?\",IF($W90>=RULES!$G$149,\"2?\",IF($X90>=RULES!$G$149,\"3?\",IF($Y90>=RULES!$G$149,\"4?\",IF($Z90>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB90<>\"*\",\"~\",IF((V90+W90>=RULES!$F$149),\"12\",IF((W90+X90>=RULES!$F$149),\"23\",IF((X90+Y90>=RULES!$F$149),\"34\",IF((Y90+Z90>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC90<>\"*\",\"~\",IF(Y90+Z90<(1-RULES!$F$149),\"13\",IF(V90+Z90<(1-RULES!$F$149),\"24\",IF(V90+W90<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F90=\"X\",$F90=\"H\",$F90=\"Z-ERROR\",AND($AA90=\"H\",$AH90)),$AE90,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P90,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L90,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M90,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N90,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E90&\"1\",IF(NOT($AH90),$E90&\"U\",$AE90)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN90","v":""},{"$f":"'Calculator Table'!BR90","v":0},{"$f":"Calculate!AV90","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A91","v":0},{"$f":"IF(F91=\"X\",\"X\",(IF(F91<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H91),0,Calculate!H91),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N91),0,Calculate!N91),IF(ISERROR(Calculate!J91),0,Calculate!J91))))))","v":0},{"$f":"IF(F91=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I91),$C$2,Calculate!I91),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O91),$C$2,Calculate!O91),IF(ISERROR(Calculate!K91),$C$2,Calculate!K91))))","v":5.5},{"$f":"AF91 & IF(OR($AH91,RIGHT($AF91,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P91","v":"S"},{"$f":"Calculate!Q91","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F91=\"X\",$F91=\"H\",$F91=\"Z-ERROR\"),$F91,IF($V91>=RULES!$F$149,\"1\",IF($W91>=RULES!$F$149,\"2\",IF($X91>=RULES!$F$149,\"3\",IF($Y91>=RULES!$F$149,\"4\",IF($Z91>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA91<>\"*\",\"~\",IF($V91>=RULES!$G$149,\"1?\",IF($W91>=RULES!$G$149,\"2?\",IF($X91>=RULES!$G$149,\"3?\",IF($Y91>=RULES!$G$149,\"4?\",IF($Z91>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB91<>\"*\",\"~\",IF((V91+W91>=RULES!$F$149),\"12\",IF((W91+X91>=RULES!$F$149),\"23\",IF((X91+Y91>=RULES!$F$149),\"34\",IF((Y91+Z91>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC91<>\"*\",\"~\",IF(Y91+Z91<(1-RULES!$F$149),\"13\",IF(V91+Z91<(1-RULES!$F$149),\"24\",IF(V91+W91<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F91=\"X\",$F91=\"H\",$F91=\"Z-ERROR\",AND($AA91=\"H\",$AH91)),$AE91,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P91,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L91,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M91,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N91,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E91&\"1\",IF(NOT($AH91),$E91&\"U\",$AE91)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN91","v":""},{"$f":"'Calculator Table'!BR91","v":0},{"$f":"Calculate!AV91","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A92","v":0},{"$f":"IF(F92=\"X\",\"X\",(IF(F92<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H92),0,Calculate!H92),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N92),0,Calculate!N92),IF(ISERROR(Calculate!J92),0,Calculate!J92))))))","v":0},{"$f":"IF(F92=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I92),$C$2,Calculate!I92),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O92),$C$2,Calculate!O92),IF(ISERROR(Calculate!K92),$C$2,Calculate!K92))))","v":5.5},{"$f":"AF92 & IF(OR($AH92,RIGHT($AF92,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P92","v":"S"},{"$f":"Calculate!Q92","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F92=\"X\",$F92=\"H\",$F92=\"Z-ERROR\"),$F92,IF($V92>=RULES!$F$149,\"1\",IF($W92>=RULES!$F$149,\"2\",IF($X92>=RULES!$F$149,\"3\",IF($Y92>=RULES!$F$149,\"4\",IF($Z92>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA92<>\"*\",\"~\",IF($V92>=RULES!$G$149,\"1?\",IF($W92>=RULES!$G$149,\"2?\",IF($X92>=RULES!$G$149,\"3?\",IF($Y92>=RULES!$G$149,\"4?\",IF($Z92>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB92<>\"*\",\"~\",IF((V92+W92>=RULES!$F$149),\"12\",IF((W92+X92>=RULES!$F$149),\"23\",IF((X92+Y92>=RULES!$F$149),\"34\",IF((Y92+Z92>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC92<>\"*\",\"~\",IF(Y92+Z92<(1-RULES!$F$149),\"13\",IF(V92+Z92<(1-RULES!$F$149),\"24\",IF(V92+W92<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F92=\"X\",$F92=\"H\",$F92=\"Z-ERROR\",AND($AA92=\"H\",$AH92)),$AE92,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P92,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L92,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M92,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N92,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E92&\"1\",IF(NOT($AH92),$E92&\"U\",$AE92)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN92","v":""},{"$f":"'Calculator Table'!BR92","v":0},{"$f":"Calculate!AV92","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A93","v":0},{"$f":"IF(F93=\"X\",\"X\",(IF(F93<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H93),0,Calculate!H93),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N93),0,Calculate!N93),IF(ISERROR(Calculate!J93),0,Calculate!J93))))))","v":0},{"$f":"IF(F93=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I93),$C$2,Calculate!I93),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O93),$C$2,Calculate!O93),IF(ISERROR(Calculate!K93),$C$2,Calculate!K93))))","v":5.5},{"$f":"AF93 & IF(OR($AH93,RIGHT($AF93,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P93","v":"S"},{"$f":"Calculate!Q93","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F93=\"X\",$F93=\"H\",$F93=\"Z-ERROR\"),$F93,IF($V93>=RULES!$F$149,\"1\",IF($W93>=RULES!$F$149,\"2\",IF($X93>=RULES!$F$149,\"3\",IF($Y93>=RULES!$F$149,\"4\",IF($Z93>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA93<>\"*\",\"~\",IF($V93>=RULES!$G$149,\"1?\",IF($W93>=RULES!$G$149,\"2?\",IF($X93>=RULES!$G$149,\"3?\",IF($Y93>=RULES!$G$149,\"4?\",IF($Z93>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB93<>\"*\",\"~\",IF((V93+W93>=RULES!$F$149),\"12\",IF((W93+X93>=RULES!$F$149),\"23\",IF((X93+Y93>=RULES!$F$149),\"34\",IF((Y93+Z93>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC93<>\"*\",\"~\",IF(Y93+Z93<(1-RULES!$F$149),\"13\",IF(V93+Z93<(1-RULES!$F$149),\"24\",IF(V93+W93<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F93=\"X\",$F93=\"H\",$F93=\"Z-ERROR\",AND($AA93=\"H\",$AH93)),$AE93,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P93,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L93,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M93,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N93,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E93&\"1\",IF(NOT($AH93),$E93&\"U\",$AE93)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN93","v":""},{"$f":"'Calculator Table'!BR93","v":0},{"$f":"Calculate!AV93","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A94","v":0},{"$f":"IF(F94=\"X\",\"X\",(IF(F94<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H94),0,Calculate!H94),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N94),0,Calculate!N94),IF(ISERROR(Calculate!J94),0,Calculate!J94))))))","v":0},{"$f":"IF(F94=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I94),$C$2,Calculate!I94),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O94),$C$2,Calculate!O94),IF(ISERROR(Calculate!K94),$C$2,Calculate!K94))))","v":5.5},{"$f":"AF94 & IF(OR($AH94,RIGHT($AF94,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P94","v":"S"},{"$f":"Calculate!Q94","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F94=\"X\",$F94=\"H\",$F94=\"Z-ERROR\"),$F94,IF($V94>=RULES!$F$149,\"1\",IF($W94>=RULES!$F$149,\"2\",IF($X94>=RULES!$F$149,\"3\",IF($Y94>=RULES!$F$149,\"4\",IF($Z94>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA94<>\"*\",\"~\",IF($V94>=RULES!$G$149,\"1?\",IF($W94>=RULES!$G$149,\"2?\",IF($X94>=RULES!$G$149,\"3?\",IF($Y94>=RULES!$G$149,\"4?\",IF($Z94>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB94<>\"*\",\"~\",IF((V94+W94>=RULES!$F$149),\"12\",IF((W94+X94>=RULES!$F$149),\"23\",IF((X94+Y94>=RULES!$F$149),\"34\",IF((Y94+Z94>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC94<>\"*\",\"~\",IF(Y94+Z94<(1-RULES!$F$149),\"13\",IF(V94+Z94<(1-RULES!$F$149),\"24\",IF(V94+W94<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F94=\"X\",$F94=\"H\",$F94=\"Z-ERROR\",AND($AA94=\"H\",$AH94)),$AE94,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P94,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L94,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M94,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N94,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E94&\"1\",IF(NOT($AH94),$E94&\"U\",$AE94)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN94","v":""},{"$f":"'Calculator Table'!BR94","v":0},{"$f":"Calculate!AV94","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A95","v":0},{"$f":"IF(F95=\"X\",\"X\",(IF(F95<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H95),0,Calculate!H95),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N95),0,Calculate!N95),IF(ISERROR(Calculate!J95),0,Calculate!J95))))))","v":0},{"$f":"IF(F95=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I95),$C$2,Calculate!I95),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O95),$C$2,Calculate!O95),IF(ISERROR(Calculate!K95),$C$2,Calculate!K95))))","v":5.5},{"$f":"AF95 & IF(OR($AH95,RIGHT($AF95,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P95","v":"S"},{"$f":"Calculate!Q95","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F95=\"X\",$F95=\"H\",$F95=\"Z-ERROR\"),$F95,IF($V95>=RULES!$F$149,\"1\",IF($W95>=RULES!$F$149,\"2\",IF($X95>=RULES!$F$149,\"3\",IF($Y95>=RULES!$F$149,\"4\",IF($Z95>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA95<>\"*\",\"~\",IF($V95>=RULES!$G$149,\"1?\",IF($W95>=RULES!$G$149,\"2?\",IF($X95>=RULES!$G$149,\"3?\",IF($Y95>=RULES!$G$149,\"4?\",IF($Z95>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB95<>\"*\",\"~\",IF((V95+W95>=RULES!$F$149),\"12\",IF((W95+X95>=RULES!$F$149),\"23\",IF((X95+Y95>=RULES!$F$149),\"34\",IF((Y95+Z95>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC95<>\"*\",\"~\",IF(Y95+Z95<(1-RULES!$F$149),\"13\",IF(V95+Z95<(1-RULES!$F$149),\"24\",IF(V95+W95<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F95=\"X\",$F95=\"H\",$F95=\"Z-ERROR\",AND($AA95=\"H\",$AH95)),$AE95,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P95,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L95,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M95,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N95,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E95&\"1\",IF(NOT($AH95),$E95&\"U\",$AE95)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN95","v":""},{"$f":"'Calculator Table'!BR95","v":0},{"$f":"Calculate!AV95","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A96","v":0},{"$f":"IF(F96=\"X\",\"X\",(IF(F96<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H96),0,Calculate!H96),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N96),0,Calculate!N96),IF(ISERROR(Calculate!J96),0,Calculate!J96))))))","v":0},{"$f":"IF(F96=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I96),$C$2,Calculate!I96),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O96),$C$2,Calculate!O96),IF(ISERROR(Calculate!K96),$C$2,Calculate!K96))))","v":5.5},{"$f":"AF96 & IF(OR($AH96,RIGHT($AF96,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P96","v":"S"},{"$f":"Calculate!Q96","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F96=\"X\",$F96=\"H\",$F96=\"Z-ERROR\"),$F96,IF($V96>=RULES!$F$149,\"1\",IF($W96>=RULES!$F$149,\"2\",IF($X96>=RULES!$F$149,\"3\",IF($Y96>=RULES!$F$149,\"4\",IF($Z96>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA96<>\"*\",\"~\",IF($V96>=RULES!$G$149,\"1?\",IF($W96>=RULES!$G$149,\"2?\",IF($X96>=RULES!$G$149,\"3?\",IF($Y96>=RULES!$G$149,\"4?\",IF($Z96>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB96<>\"*\",\"~\",IF((V96+W96>=RULES!$F$149),\"12\",IF((W96+X96>=RULES!$F$149),\"23\",IF((X96+Y96>=RULES!$F$149),\"34\",IF((Y96+Z96>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC96<>\"*\",\"~\",IF(Y96+Z96<(1-RULES!$F$149),\"13\",IF(V96+Z96<(1-RULES!$F$149),\"24\",IF(V96+W96<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F96=\"X\",$F96=\"H\",$F96=\"Z-ERROR\",AND($AA96=\"H\",$AH96)),$AE96,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P96,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L96,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M96,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N96,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E96&\"1\",IF(NOT($AH96),$E96&\"U\",$AE96)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN96","v":""},{"$f":"'Calculator Table'!BR96","v":0},{"$f":"Calculate!AV96","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A97","v":0},{"$f":"IF(F97=\"X\",\"X\",(IF(F97<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H97),0,Calculate!H97),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N97),0,Calculate!N97),IF(ISERROR(Calculate!J97),0,Calculate!J97))))))","v":0},{"$f":"IF(F97=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I97),$C$2,Calculate!I97),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O97),$C$2,Calculate!O97),IF(ISERROR(Calculate!K97),$C$2,Calculate!K97))))","v":5.5},{"$f":"AF97 & IF(OR($AH97,RIGHT($AF97,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P97","v":"S"},{"$f":"Calculate!Q97","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F97=\"X\",$F97=\"H\",$F97=\"Z-ERROR\"),$F97,IF($V97>=RULES!$F$149,\"1\",IF($W97>=RULES!$F$149,\"2\",IF($X97>=RULES!$F$149,\"3\",IF($Y97>=RULES!$F$149,\"4\",IF($Z97>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA97<>\"*\",\"~\",IF($V97>=RULES!$G$149,\"1?\",IF($W97>=RULES!$G$149,\"2?\",IF($X97>=RULES!$G$149,\"3?\",IF($Y97>=RULES!$G$149,\"4?\",IF($Z97>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB97<>\"*\",\"~\",IF((V97+W97>=RULES!$F$149),\"12\",IF((W97+X97>=RULES!$F$149),\"23\",IF((X97+Y97>=RULES!$F$149),\"34\",IF((Y97+Z97>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC97<>\"*\",\"~\",IF(Y97+Z97<(1-RULES!$F$149),\"13\",IF(V97+Z97<(1-RULES!$F$149),\"24\",IF(V97+W97<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F97=\"X\",$F97=\"H\",$F97=\"Z-ERROR\",AND($AA97=\"H\",$AH97)),$AE97,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P97,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L97,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M97,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N97,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E97&\"1\",IF(NOT($AH97),$E97&\"U\",$AE97)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN97","v":""},{"$f":"'Calculator Table'!BR97","v":0},{"$f":"Calculate!AV97","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A98","v":0},{"$f":"IF(F98=\"X\",\"X\",(IF(F98<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H98),0,Calculate!H98),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N98),0,Calculate!N98),IF(ISERROR(Calculate!J98),0,Calculate!J98))))))","v":0},{"$f":"IF(F98=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I98),$C$2,Calculate!I98),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O98),$C$2,Calculate!O98),IF(ISERROR(Calculate!K98),$C$2,Calculate!K98))))","v":5.5},{"$f":"AF98 & IF(OR($AH98,RIGHT($AF98,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P98","v":"S"},{"$f":"Calculate!Q98","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F98=\"X\",$F98=\"H\",$F98=\"Z-ERROR\"),$F98,IF($V98>=RULES!$F$149,\"1\",IF($W98>=RULES!$F$149,\"2\",IF($X98>=RULES!$F$149,\"3\",IF($Y98>=RULES!$F$149,\"4\",IF($Z98>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA98<>\"*\",\"~\",IF($V98>=RULES!$G$149,\"1?\",IF($W98>=RULES!$G$149,\"2?\",IF($X98>=RULES!$G$149,\"3?\",IF($Y98>=RULES!$G$149,\"4?\",IF($Z98>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB98<>\"*\",\"~\",IF((V98+W98>=RULES!$F$149),\"12\",IF((W98+X98>=RULES!$F$149),\"23\",IF((X98+Y98>=RULES!$F$149),\"34\",IF((Y98+Z98>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC98<>\"*\",\"~\",IF(Y98+Z98<(1-RULES!$F$149),\"13\",IF(V98+Z98<(1-RULES!$F$149),\"24\",IF(V98+W98<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F98=\"X\",$F98=\"H\",$F98=\"Z-ERROR\",AND($AA98=\"H\",$AH98)),$AE98,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P98,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L98,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M98,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N98,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E98&\"1\",IF(NOT($AH98),$E98&\"U\",$AE98)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN98","v":""},{"$f":"'Calculator Table'!BR98","v":0},{"$f":"Calculate!AV98","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A99","v":0},{"$f":"IF(F99=\"X\",\"X\",(IF(F99<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H99),0,Calculate!H99),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N99),0,Calculate!N99),IF(ISERROR(Calculate!J99),0,Calculate!J99))))))","v":0},{"$f":"IF(F99=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I99),$C$2,Calculate!I99),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O99),$C$2,Calculate!O99),IF(ISERROR(Calculate!K99),$C$2,Calculate!K99))))","v":5.5},{"$f":"AF99 & IF(OR($AH99,RIGHT($AF99,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P99","v":"S"},{"$f":"Calculate!Q99","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F99=\"X\",$F99=\"H\",$F99=\"Z-ERROR\"),$F99,IF($V99>=RULES!$F$149,\"1\",IF($W99>=RULES!$F$149,\"2\",IF($X99>=RULES!$F$149,\"3\",IF($Y99>=RULES!$F$149,\"4\",IF($Z99>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA99<>\"*\",\"~\",IF($V99>=RULES!$G$149,\"1?\",IF($W99>=RULES!$G$149,\"2?\",IF($X99>=RULES!$G$149,\"3?\",IF($Y99>=RULES!$G$149,\"4?\",IF($Z99>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB99<>\"*\",\"~\",IF((V99+W99>=RULES!$F$149),\"12\",IF((W99+X99>=RULES!$F$149),\"23\",IF((X99+Y99>=RULES!$F$149),\"34\",IF((Y99+Z99>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC99<>\"*\",\"~\",IF(Y99+Z99<(1-RULES!$F$149),\"13\",IF(V99+Z99<(1-RULES!$F$149),\"24\",IF(V99+W99<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F99=\"X\",$F99=\"H\",$F99=\"Z-ERROR\",AND($AA99=\"H\",$AH99)),$AE99,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P99,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L99,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M99,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N99,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E99&\"1\",IF(NOT($AH99),$E99&\"U\",$AE99)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN99","v":""},{"$f":"'Calculator Table'!BR99","v":0},{"$f":"Calculate!AV99","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A100","v":0},{"$f":"IF(F100=\"X\",\"X\",(IF(F100<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H100),0,Calculate!H100),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N100),0,Calculate!N100),IF(ISERROR(Calculate!J100),0,Calculate!J100))))))","v":0},{"$f":"IF(F100=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I100),$C$2,Calculate!I100),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O100),$C$2,Calculate!O100),IF(ISERROR(Calculate!K100),$C$2,Calculate!K100))))","v":5.5},{"$f":"AF100 & IF(OR($AH100,RIGHT($AF100,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P100","v":"S"},{"$f":"Calculate!Q100","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F100=\"X\",$F100=\"H\",$F100=\"Z-ERROR\"),$F100,IF($V100>=RULES!$F$149,\"1\",IF($W100>=RULES!$F$149,\"2\",IF($X100>=RULES!$F$149,\"3\",IF($Y100>=RULES!$F$149,\"4\",IF($Z100>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA100<>\"*\",\"~\",IF($V100>=RULES!$G$149,\"1?\",IF($W100>=RULES!$G$149,\"2?\",IF($X100>=RULES!$G$149,\"3?\",IF($Y100>=RULES!$G$149,\"4?\",IF($Z100>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB100<>\"*\",\"~\",IF((V100+W100>=RULES!$F$149),\"12\",IF((W100+X100>=RULES!$F$149),\"23\",IF((X100+Y100>=RULES!$F$149),\"34\",IF((Y100+Z100>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC100<>\"*\",\"~\",IF(Y100+Z100<(1-RULES!$F$149),\"13\",IF(V100+Z100<(1-RULES!$F$149),\"24\",IF(V100+W100<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F100=\"X\",$F100=\"H\",$F100=\"Z-ERROR\",AND($AA100=\"H\",$AH100)),$AE100,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P100,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L100,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M100,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N100,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E100&\"1\",IF(NOT($AH100),$E100&\"U\",$AE100)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN100","v":""},{"$f":"'Calculator Table'!BR100","v":0},{"$f":"Calculate!AV100","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A101","v":0},{"$f":"IF(F101=\"X\",\"X\",(IF(F101<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H101),0,Calculate!H101),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N101),0,Calculate!N101),IF(ISERROR(Calculate!J101),0,Calculate!J101))))))","v":0},{"$f":"IF(F101=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I101),$C$2,Calculate!I101),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O101),$C$2,Calculate!O101),IF(ISERROR(Calculate!K101),$C$2,Calculate!K101))))","v":5.5},{"$f":"AF101 & IF(OR($AH101,RIGHT($AF101,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P101","v":"S"},{"$f":"Calculate!Q101","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F101=\"X\",$F101=\"H\",$F101=\"Z-ERROR\"),$F101,IF($V101>=RULES!$F$149,\"1\",IF($W101>=RULES!$F$149,\"2\",IF($X101>=RULES!$F$149,\"3\",IF($Y101>=RULES!$F$149,\"4\",IF($Z101>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA101<>\"*\",\"~\",IF($V101>=RULES!$G$149,\"1?\",IF($W101>=RULES!$G$149,\"2?\",IF($X101>=RULES!$G$149,\"3?\",IF($Y101>=RULES!$G$149,\"4?\",IF($Z101>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB101<>\"*\",\"~\",IF((V101+W101>=RULES!$F$149),\"12\",IF((W101+X101>=RULES!$F$149),\"23\",IF((X101+Y101>=RULES!$F$149),\"34\",IF((Y101+Z101>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC101<>\"*\",\"~\",IF(Y101+Z101<(1-RULES!$F$149),\"13\",IF(V101+Z101<(1-RULES!$F$149),\"24\",IF(V101+W101<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F101=\"X\",$F101=\"H\",$F101=\"Z-ERROR\",AND($AA101=\"H\",$AH101)),$AE101,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P101,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L101,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M101,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N101,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E101&\"1\",IF(NOT($AH101),$E101&\"U\",$AE101)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN101","v":""},{"$f":"'Calculator Table'!BR101","v":0},{"$f":"Calculate!AV101","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A102","v":0},{"$f":"IF(F102=\"X\",\"X\",(IF(F102<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H102),0,Calculate!H102),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N102),0,Calculate!N102),IF(ISERROR(Calculate!J102),0,Calculate!J102))))))","v":0},{"$f":"IF(F102=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I102),$C$2,Calculate!I102),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O102),$C$2,Calculate!O102),IF(ISERROR(Calculate!K102),$C$2,Calculate!K102))))","v":5.5},{"$f":"AF102 & IF(OR($AH102,RIGHT($AF102,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P102","v":"S"},{"$f":"Calculate!Q102","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F102=\"X\",$F102=\"H\",$F102=\"Z-ERROR\"),$F102,IF($V102>=RULES!$F$149,\"1\",IF($W102>=RULES!$F$149,\"2\",IF($X102>=RULES!$F$149,\"3\",IF($Y102>=RULES!$F$149,\"4\",IF($Z102>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA102<>\"*\",\"~\",IF($V102>=RULES!$G$149,\"1?\",IF($W102>=RULES!$G$149,\"2?\",IF($X102>=RULES!$G$149,\"3?\",IF($Y102>=RULES!$G$149,\"4?\",IF($Z102>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB102<>\"*\",\"~\",IF((V102+W102>=RULES!$F$149),\"12\",IF((W102+X102>=RULES!$F$149),\"23\",IF((X102+Y102>=RULES!$F$149),\"34\",IF((Y102+Z102>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC102<>\"*\",\"~\",IF(Y102+Z102<(1-RULES!$F$149),\"13\",IF(V102+Z102<(1-RULES!$F$149),\"24\",IF(V102+W102<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F102=\"X\",$F102=\"H\",$F102=\"Z-ERROR\",AND($AA102=\"H\",$AH102)),$AE102,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P102,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L102,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M102,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N102,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E102&\"1\",IF(NOT($AH102),$E102&\"U\",$AE102)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN102","v":""},{"$f":"'Calculator Table'!BR102","v":0},{"$f":"Calculate!AV102","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A103","v":0},{"$f":"IF(F103=\"X\",\"X\",(IF(F103<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H103),0,Calculate!H103),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N103),0,Calculate!N103),IF(ISERROR(Calculate!J103),0,Calculate!J103))))))","v":0},{"$f":"IF(F103=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I103),$C$2,Calculate!I103),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O103),$C$2,Calculate!O103),IF(ISERROR(Calculate!K103),$C$2,Calculate!K103))))","v":5.5},{"$f":"AF103 & IF(OR($AH103,RIGHT($AF103,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P103","v":"S"},{"$f":"Calculate!Q103","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F103=\"X\",$F103=\"H\",$F103=\"Z-ERROR\"),$F103,IF($V103>=RULES!$F$149,\"1\",IF($W103>=RULES!$F$149,\"2\",IF($X103>=RULES!$F$149,\"3\",IF($Y103>=RULES!$F$149,\"4\",IF($Z103>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA103<>\"*\",\"~\",IF($V103>=RULES!$G$149,\"1?\",IF($W103>=RULES!$G$149,\"2?\",IF($X103>=RULES!$G$149,\"3?\",IF($Y103>=RULES!$G$149,\"4?\",IF($Z103>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB103<>\"*\",\"~\",IF((V103+W103>=RULES!$F$149),\"12\",IF((W103+X103>=RULES!$F$149),\"23\",IF((X103+Y103>=RULES!$F$149),\"34\",IF((Y103+Z103>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC103<>\"*\",\"~\",IF(Y103+Z103<(1-RULES!$F$149),\"13\",IF(V103+Z103<(1-RULES!$F$149),\"24\",IF(V103+W103<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F103=\"X\",$F103=\"H\",$F103=\"Z-ERROR\",AND($AA103=\"H\",$AH103)),$AE103,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P103,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L103,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M103,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N103,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E103&\"1\",IF(NOT($AH103),$E103&\"U\",$AE103)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN103","v":""},{"$f":"'Calculator Table'!BR103","v":0},{"$f":"Calculate!AV103","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A104","v":0},{"$f":"IF(F104=\"X\",\"X\",(IF(F104<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H104),0,Calculate!H104),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N104),0,Calculate!N104),IF(ISERROR(Calculate!J104),0,Calculate!J104))))))","v":0},{"$f":"IF(F104=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I104),$C$2,Calculate!I104),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O104),$C$2,Calculate!O104),IF(ISERROR(Calculate!K104),$C$2,Calculate!K104))))","v":5.5},{"$f":"AF104 & IF(OR($AH104,RIGHT($AF104,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P104","v":"S"},{"$f":"Calculate!Q104","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F104=\"X\",$F104=\"H\",$F104=\"Z-ERROR\"),$F104,IF($V104>=RULES!$F$149,\"1\",IF($W104>=RULES!$F$149,\"2\",IF($X104>=RULES!$F$149,\"3\",IF($Y104>=RULES!$F$149,\"4\",IF($Z104>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA104<>\"*\",\"~\",IF($V104>=RULES!$G$149,\"1?\",IF($W104>=RULES!$G$149,\"2?\",IF($X104>=RULES!$G$149,\"3?\",IF($Y104>=RULES!$G$149,\"4?\",IF($Z104>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB104<>\"*\",\"~\",IF((V104+W104>=RULES!$F$149),\"12\",IF((W104+X104>=RULES!$F$149),\"23\",IF((X104+Y104>=RULES!$F$149),\"34\",IF((Y104+Z104>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC104<>\"*\",\"~\",IF(Y104+Z104<(1-RULES!$F$149),\"13\",IF(V104+Z104<(1-RULES!$F$149),\"24\",IF(V104+W104<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F104=\"X\",$F104=\"H\",$F104=\"Z-ERROR\",AND($AA104=\"H\",$AH104)),$AE104,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P104,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L104,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M104,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N104,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E104&\"1\",IF(NOT($AH104),$E104&\"U\",$AE104)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN104","v":""},{"$f":"'Calculator Table'!BR104","v":0},{"$f":"Calculate!AV104","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A105","v":0},{"$f":"IF(F105=\"X\",\"X\",(IF(F105<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H105),0,Calculate!H105),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N105),0,Calculate!N105),IF(ISERROR(Calculate!J105),0,Calculate!J105))))))","v":0},{"$f":"IF(F105=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I105),$C$2,Calculate!I105),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O105),$C$2,Calculate!O105),IF(ISERROR(Calculate!K105),$C$2,Calculate!K105))))","v":5.5},{"$f":"AF105 & IF(OR($AH105,RIGHT($AF105,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P105","v":"S"},{"$f":"Calculate!Q105","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F105=\"X\",$F105=\"H\",$F105=\"Z-ERROR\"),$F105,IF($V105>=RULES!$F$149,\"1\",IF($W105>=RULES!$F$149,\"2\",IF($X105>=RULES!$F$149,\"3\",IF($Y105>=RULES!$F$149,\"4\",IF($Z105>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA105<>\"*\",\"~\",IF($V105>=RULES!$G$149,\"1?\",IF($W105>=RULES!$G$149,\"2?\",IF($X105>=RULES!$G$149,\"3?\",IF($Y105>=RULES!$G$149,\"4?\",IF($Z105>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB105<>\"*\",\"~\",IF((V105+W105>=RULES!$F$149),\"12\",IF((W105+X105>=RULES!$F$149),\"23\",IF((X105+Y105>=RULES!$F$149),\"34\",IF((Y105+Z105>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC105<>\"*\",\"~\",IF(Y105+Z105<(1-RULES!$F$149),\"13\",IF(V105+Z105<(1-RULES!$F$149),\"24\",IF(V105+W105<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F105=\"X\",$F105=\"H\",$F105=\"Z-ERROR\",AND($AA105=\"H\",$AH105)),$AE105,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P105,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L105,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M105,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N105,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E105&\"1\",IF(NOT($AH105),$E105&\"U\",$AE105)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN105","v":""},{"$f":"'Calculator Table'!BR105","v":0},{"$f":"Calculate!AV105","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A106","v":0},{"$f":"IF(F106=\"X\",\"X\",(IF(F106<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H106),0,Calculate!H106),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N106),0,Calculate!N106),IF(ISERROR(Calculate!J106),0,Calculate!J106))))))","v":0},{"$f":"IF(F106=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I106),$C$2,Calculate!I106),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O106),$C$2,Calculate!O106),IF(ISERROR(Calculate!K106),$C$2,Calculate!K106))))","v":5.5},{"$f":"AF106 & IF(OR($AH106,RIGHT($AF106,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P106","v":"S"},{"$f":"Calculate!Q106","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F106=\"X\",$F106=\"H\",$F106=\"Z-ERROR\"),$F106,IF($V106>=RULES!$F$149,\"1\",IF($W106>=RULES!$F$149,\"2\",IF($X106>=RULES!$F$149,\"3\",IF($Y106>=RULES!$F$149,\"4\",IF($Z106>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA106<>\"*\",\"~\",IF($V106>=RULES!$G$149,\"1?\",IF($W106>=RULES!$G$149,\"2?\",IF($X106>=RULES!$G$149,\"3?\",IF($Y106>=RULES!$G$149,\"4?\",IF($Z106>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB106<>\"*\",\"~\",IF((V106+W106>=RULES!$F$149),\"12\",IF((W106+X106>=RULES!$F$149),\"23\",IF((X106+Y106>=RULES!$F$149),\"34\",IF((Y106+Z106>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC106<>\"*\",\"~\",IF(Y106+Z106<(1-RULES!$F$149),\"13\",IF(V106+Z106<(1-RULES!$F$149),\"24\",IF(V106+W106<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F106=\"X\",$F106=\"H\",$F106=\"Z-ERROR\",AND($AA106=\"H\",$AH106)),$AE106,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P106,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L106,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M106,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N106,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E106&\"1\",IF(NOT($AH106),$E106&\"U\",$AE106)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN106","v":""},{"$f":"'Calculator Table'!BR106","v":0},{"$f":"Calculate!AV106","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A107","v":0},{"$f":"IF(F107=\"X\",\"X\",(IF(F107<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H107),0,Calculate!H107),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N107),0,Calculate!N107),IF(ISERROR(Calculate!J107),0,Calculate!J107))))))","v":0},{"$f":"IF(F107=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I107),$C$2,Calculate!I107),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O107),$C$2,Calculate!O107),IF(ISERROR(Calculate!K107),$C$2,Calculate!K107))))","v":5.5},{"$f":"AF107 & IF(OR($AH107,RIGHT($AF107,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P107","v":"S"},{"$f":"Calculate!Q107","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F107=\"X\",$F107=\"H\",$F107=\"Z-ERROR\"),$F107,IF($V107>=RULES!$F$149,\"1\",IF($W107>=RULES!$F$149,\"2\",IF($X107>=RULES!$F$149,\"3\",IF($Y107>=RULES!$F$149,\"4\",IF($Z107>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA107<>\"*\",\"~\",IF($V107>=RULES!$G$149,\"1?\",IF($W107>=RULES!$G$149,\"2?\",IF($X107>=RULES!$G$149,\"3?\",IF($Y107>=RULES!$G$149,\"4?\",IF($Z107>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB107<>\"*\",\"~\",IF((V107+W107>=RULES!$F$149),\"12\",IF((W107+X107>=RULES!$F$149),\"23\",IF((X107+Y107>=RULES!$F$149),\"34\",IF((Y107+Z107>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC107<>\"*\",\"~\",IF(Y107+Z107<(1-RULES!$F$149),\"13\",IF(V107+Z107<(1-RULES!$F$149),\"24\",IF(V107+W107<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F107=\"X\",$F107=\"H\",$F107=\"Z-ERROR\",AND($AA107=\"H\",$AH107)),$AE107,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P107,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L107,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M107,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N107,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E107&\"1\",IF(NOT($AH107),$E107&\"U\",$AE107)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN107","v":""},{"$f":"'Calculator Table'!BR107","v":0},{"$f":"Calculate!AV107","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A108","v":0},{"$f":"IF(F108=\"X\",\"X\",(IF(F108<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H108),0,Calculate!H108),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N108),0,Calculate!N108),IF(ISERROR(Calculate!J108),0,Calculate!J108))))))","v":0},{"$f":"IF(F108=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I108),$C$2,Calculate!I108),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O108),$C$2,Calculate!O108),IF(ISERROR(Calculate!K108),$C$2,Calculate!K108))))","v":5.5},{"$f":"AF108 & IF(OR($AH108,RIGHT($AF108,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P108","v":"S"},{"$f":"Calculate!Q108","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F108=\"X\",$F108=\"H\",$F108=\"Z-ERROR\"),$F108,IF($V108>=RULES!$F$149,\"1\",IF($W108>=RULES!$F$149,\"2\",IF($X108>=RULES!$F$149,\"3\",IF($Y108>=RULES!$F$149,\"4\",IF($Z108>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA108<>\"*\",\"~\",IF($V108>=RULES!$G$149,\"1?\",IF($W108>=RULES!$G$149,\"2?\",IF($X108>=RULES!$G$149,\"3?\",IF($Y108>=RULES!$G$149,\"4?\",IF($Z108>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB108<>\"*\",\"~\",IF((V108+W108>=RULES!$F$149),\"12\",IF((W108+X108>=RULES!$F$149),\"23\",IF((X108+Y108>=RULES!$F$149),\"34\",IF((Y108+Z108>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC108<>\"*\",\"~\",IF(Y108+Z108<(1-RULES!$F$149),\"13\",IF(V108+Z108<(1-RULES!$F$149),\"24\",IF(V108+W108<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F108=\"X\",$F108=\"H\",$F108=\"Z-ERROR\",AND($AA108=\"H\",$AH108)),$AE108,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P108,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L108,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M108,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N108,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E108&\"1\",IF(NOT($AH108),$E108&\"U\",$AE108)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN108","v":""},{"$f":"'Calculator Table'!BR108","v":0},{"$f":"Calculate!AV108","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A109","v":0},{"$f":"IF(F109=\"X\",\"X\",(IF(F109<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H109),0,Calculate!H109),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N109),0,Calculate!N109),IF(ISERROR(Calculate!J109),0,Calculate!J109))))))","v":0},{"$f":"IF(F109=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I109),$C$2,Calculate!I109),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O109),$C$2,Calculate!O109),IF(ISERROR(Calculate!K109),$C$2,Calculate!K109))))","v":5.5},{"$f":"AF109 & IF(OR($AH109,RIGHT($AF109,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P109","v":"S"},{"$f":"Calculate!Q109","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F109=\"X\",$F109=\"H\",$F109=\"Z-ERROR\"),$F109,IF($V109>=RULES!$F$149,\"1\",IF($W109>=RULES!$F$149,\"2\",IF($X109>=RULES!$F$149,\"3\",IF($Y109>=RULES!$F$149,\"4\",IF($Z109>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA109<>\"*\",\"~\",IF($V109>=RULES!$G$149,\"1?\",IF($W109>=RULES!$G$149,\"2?\",IF($X109>=RULES!$G$149,\"3?\",IF($Y109>=RULES!$G$149,\"4?\",IF($Z109>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB109<>\"*\",\"~\",IF((V109+W109>=RULES!$F$149),\"12\",IF((W109+X109>=RULES!$F$149),\"23\",IF((X109+Y109>=RULES!$F$149),\"34\",IF((Y109+Z109>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC109<>\"*\",\"~\",IF(Y109+Z109<(1-RULES!$F$149),\"13\",IF(V109+Z109<(1-RULES!$F$149),\"24\",IF(V109+W109<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F109=\"X\",$F109=\"H\",$F109=\"Z-ERROR\",AND($AA109=\"H\",$AH109)),$AE109,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P109,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L109,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M109,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N109,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E109&\"1\",IF(NOT($AH109),$E109&\"U\",$AE109)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN109","v":""},{"$f":"'Calculator Table'!BR109","v":0},{"$f":"Calculate!AV109","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A110","v":0},{"$f":"IF(F110=\"X\",\"X\",(IF(F110<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H110),0,Calculate!H110),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N110),0,Calculate!N110),IF(ISERROR(Calculate!J110),0,Calculate!J110))))))","v":0},{"$f":"IF(F110=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I110),$C$2,Calculate!I110),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O110),$C$2,Calculate!O110),IF(ISERROR(Calculate!K110),$C$2,Calculate!K110))))","v":5.5},{"$f":"AF110 & IF(OR($AH110,RIGHT($AF110,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P110","v":"S"},{"$f":"Calculate!Q110","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F110=\"X\",$F110=\"H\",$F110=\"Z-ERROR\"),$F110,IF($V110>=RULES!$F$149,\"1\",IF($W110>=RULES!$F$149,\"2\",IF($X110>=RULES!$F$149,\"3\",IF($Y110>=RULES!$F$149,\"4\",IF($Z110>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA110<>\"*\",\"~\",IF($V110>=RULES!$G$149,\"1?\",IF($W110>=RULES!$G$149,\"2?\",IF($X110>=RULES!$G$149,\"3?\",IF($Y110>=RULES!$G$149,\"4?\",IF($Z110>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB110<>\"*\",\"~\",IF((V110+W110>=RULES!$F$149),\"12\",IF((W110+X110>=RULES!$F$149),\"23\",IF((X110+Y110>=RULES!$F$149),\"34\",IF((Y110+Z110>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC110<>\"*\",\"~\",IF(Y110+Z110<(1-RULES!$F$149),\"13\",IF(V110+Z110<(1-RULES!$F$149),\"24\",IF(V110+W110<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F110=\"X\",$F110=\"H\",$F110=\"Z-ERROR\",AND($AA110=\"H\",$AH110)),$AE110,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P110,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L110,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M110,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N110,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E110&\"1\",IF(NOT($AH110),$E110&\"U\",$AE110)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN110","v":""},{"$f":"'Calculator Table'!BR110","v":0},{"$f":"Calculate!AV110","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A111","v":0},{"$f":"IF(F111=\"X\",\"X\",(IF(F111<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H111),0,Calculate!H111),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N111),0,Calculate!N111),IF(ISERROR(Calculate!J111),0,Calculate!J111))))))","v":0},{"$f":"IF(F111=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I111),$C$2,Calculate!I111),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O111),$C$2,Calculate!O111),IF(ISERROR(Calculate!K111),$C$2,Calculate!K111))))","v":5.5},{"$f":"AF111 & IF(OR($AH111,RIGHT($AF111,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P111","v":"S"},{"$f":"Calculate!Q111","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F111=\"X\",$F111=\"H\",$F111=\"Z-ERROR\"),$F111,IF($V111>=RULES!$F$149,\"1\",IF($W111>=RULES!$F$149,\"2\",IF($X111>=RULES!$F$149,\"3\",IF($Y111>=RULES!$F$149,\"4\",IF($Z111>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA111<>\"*\",\"~\",IF($V111>=RULES!$G$149,\"1?\",IF($W111>=RULES!$G$149,\"2?\",IF($X111>=RULES!$G$149,\"3?\",IF($Y111>=RULES!$G$149,\"4?\",IF($Z111>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB111<>\"*\",\"~\",IF((V111+W111>=RULES!$F$149),\"12\",IF((W111+X111>=RULES!$F$149),\"23\",IF((X111+Y111>=RULES!$F$149),\"34\",IF((Y111+Z111>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC111<>\"*\",\"~\",IF(Y111+Z111<(1-RULES!$F$149),\"13\",IF(V111+Z111<(1-RULES!$F$149),\"24\",IF(V111+W111<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F111=\"X\",$F111=\"H\",$F111=\"Z-ERROR\",AND($AA111=\"H\",$AH111)),$AE111,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P111,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L111,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M111,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N111,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E111&\"1\",IF(NOT($AH111),$E111&\"U\",$AE111)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN111","v":""},{"$f":"'Calculator Table'!BR111","v":0},{"$f":"Calculate!AV111","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A112","v":0},{"$f":"IF(F112=\"X\",\"X\",(IF(F112<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H112),0,Calculate!H112),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N112),0,Calculate!N112),IF(ISERROR(Calculate!J112),0,Calculate!J112))))))","v":0},{"$f":"IF(F112=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I112),$C$2,Calculate!I112),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O112),$C$2,Calculate!O112),IF(ISERROR(Calculate!K112),$C$2,Calculate!K112))))","v":5.5},{"$f":"AF112 & IF(OR($AH112,RIGHT($AF112,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P112","v":"S"},{"$f":"Calculate!Q112","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F112=\"X\",$F112=\"H\",$F112=\"Z-ERROR\"),$F112,IF($V112>=RULES!$F$149,\"1\",IF($W112>=RULES!$F$149,\"2\",IF($X112>=RULES!$F$149,\"3\",IF($Y112>=RULES!$F$149,\"4\",IF($Z112>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA112<>\"*\",\"~\",IF($V112>=RULES!$G$149,\"1?\",IF($W112>=RULES!$G$149,\"2?\",IF($X112>=RULES!$G$149,\"3?\",IF($Y112>=RULES!$G$149,\"4?\",IF($Z112>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB112<>\"*\",\"~\",IF((V112+W112>=RULES!$F$149),\"12\",IF((W112+X112>=RULES!$F$149),\"23\",IF((X112+Y112>=RULES!$F$149),\"34\",IF((Y112+Z112>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC112<>\"*\",\"~\",IF(Y112+Z112<(1-RULES!$F$149),\"13\",IF(V112+Z112<(1-RULES!$F$149),\"24\",IF(V112+W112<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F112=\"X\",$F112=\"H\",$F112=\"Z-ERROR\",AND($AA112=\"H\",$AH112)),$AE112,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P112,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L112,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M112,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N112,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E112&\"1\",IF(NOT($AH112),$E112&\"U\",$AE112)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN112","v":""},{"$f":"'Calculator Table'!BR112","v":0},{"$f":"Calculate!AV112","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A113","v":0},{"$f":"IF(F113=\"X\",\"X\",(IF(F113<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H113),0,Calculate!H113),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N113),0,Calculate!N113),IF(ISERROR(Calculate!J113),0,Calculate!J113))))))","v":0},{"$f":"IF(F113=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I113),$C$2,Calculate!I113),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O113),$C$2,Calculate!O113),IF(ISERROR(Calculate!K113),$C$2,Calculate!K113))))","v":5.5},{"$f":"AF113 & IF(OR($AH113,RIGHT($AF113,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P113","v":"S"},{"$f":"Calculate!Q113","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F113=\"X\",$F113=\"H\",$F113=\"Z-ERROR\"),$F113,IF($V113>=RULES!$F$149,\"1\",IF($W113>=RULES!$F$149,\"2\",IF($X113>=RULES!$F$149,\"3\",IF($Y113>=RULES!$F$149,\"4\",IF($Z113>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA113<>\"*\",\"~\",IF($V113>=RULES!$G$149,\"1?\",IF($W113>=RULES!$G$149,\"2?\",IF($X113>=RULES!$G$149,\"3?\",IF($Y113>=RULES!$G$149,\"4?\",IF($Z113>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB113<>\"*\",\"~\",IF((V113+W113>=RULES!$F$149),\"12\",IF((W113+X113>=RULES!$F$149),\"23\",IF((X113+Y113>=RULES!$F$149),\"34\",IF((Y113+Z113>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC113<>\"*\",\"~\",IF(Y113+Z113<(1-RULES!$F$149),\"13\",IF(V113+Z113<(1-RULES!$F$149),\"24\",IF(V113+W113<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F113=\"X\",$F113=\"H\",$F113=\"Z-ERROR\",AND($AA113=\"H\",$AH113)),$AE113,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P113,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L113,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M113,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N113,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E113&\"1\",IF(NOT($AH113),$E113&\"U\",$AE113)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN113","v":""},{"$f":"'Calculator Table'!BR113","v":0},{"$f":"Calculate!AV113","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A114","v":0},{"$f":"IF(F114=\"X\",\"X\",(IF(F114<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H114),0,Calculate!H114),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N114),0,Calculate!N114),IF(ISERROR(Calculate!J114),0,Calculate!J114))))))","v":0},{"$f":"IF(F114=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I114),$C$2,Calculate!I114),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O114),$C$2,Calculate!O114),IF(ISERROR(Calculate!K114),$C$2,Calculate!K114))))","v":5.5},{"$f":"AF114 & IF(OR($AH114,RIGHT($AF114,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P114","v":"S"},{"$f":"Calculate!Q114","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F114=\"X\",$F114=\"H\",$F114=\"Z-ERROR\"),$F114,IF($V114>=RULES!$F$149,\"1\",IF($W114>=RULES!$F$149,\"2\",IF($X114>=RULES!$F$149,\"3\",IF($Y114>=RULES!$F$149,\"4\",IF($Z114>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA114<>\"*\",\"~\",IF($V114>=RULES!$G$149,\"1?\",IF($W114>=RULES!$G$149,\"2?\",IF($X114>=RULES!$G$149,\"3?\",IF($Y114>=RULES!$G$149,\"4?\",IF($Z114>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB114<>\"*\",\"~\",IF((V114+W114>=RULES!$F$149),\"12\",IF((W114+X114>=RULES!$F$149),\"23\",IF((X114+Y114>=RULES!$F$149),\"34\",IF((Y114+Z114>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC114<>\"*\",\"~\",IF(Y114+Z114<(1-RULES!$F$149),\"13\",IF(V114+Z114<(1-RULES!$F$149),\"24\",IF(V114+W114<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F114=\"X\",$F114=\"H\",$F114=\"Z-ERROR\",AND($AA114=\"H\",$AH114)),$AE114,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P114,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L114,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M114,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N114,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E114&\"1\",IF(NOT($AH114),$E114&\"U\",$AE114)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN114","v":""},{"$f":"'Calculator Table'!BR114","v":0},{"$f":"Calculate!AV114","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A115","v":0},{"$f":"IF(F115=\"X\",\"X\",(IF(F115<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H115),0,Calculate!H115),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N115),0,Calculate!N115),IF(ISERROR(Calculate!J115),0,Calculate!J115))))))","v":0},{"$f":"IF(F115=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I115),$C$2,Calculate!I115),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O115),$C$2,Calculate!O115),IF(ISERROR(Calculate!K115),$C$2,Calculate!K115))))","v":5.5},{"$f":"AF115 & IF(OR($AH115,RIGHT($AF115,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P115","v":"S"},{"$f":"Calculate!Q115","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F115=\"X\",$F115=\"H\",$F115=\"Z-ERROR\"),$F115,IF($V115>=RULES!$F$149,\"1\",IF($W115>=RULES!$F$149,\"2\",IF($X115>=RULES!$F$149,\"3\",IF($Y115>=RULES!$F$149,\"4\",IF($Z115>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA115<>\"*\",\"~\",IF($V115>=RULES!$G$149,\"1?\",IF($W115>=RULES!$G$149,\"2?\",IF($X115>=RULES!$G$149,\"3?\",IF($Y115>=RULES!$G$149,\"4?\",IF($Z115>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB115<>\"*\",\"~\",IF((V115+W115>=RULES!$F$149),\"12\",IF((W115+X115>=RULES!$F$149),\"23\",IF((X115+Y115>=RULES!$F$149),\"34\",IF((Y115+Z115>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC115<>\"*\",\"~\",IF(Y115+Z115<(1-RULES!$F$149),\"13\",IF(V115+Z115<(1-RULES!$F$149),\"24\",IF(V115+W115<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F115=\"X\",$F115=\"H\",$F115=\"Z-ERROR\",AND($AA115=\"H\",$AH115)),$AE115,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P115,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L115,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M115,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N115,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E115&\"1\",IF(NOT($AH115),$E115&\"U\",$AE115)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN115","v":""},{"$f":"'Calculator Table'!BR115","v":0},{"$f":"Calculate!AV115","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A116","v":0},{"$f":"IF(F116=\"X\",\"X\",(IF(F116<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H116),0,Calculate!H116),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N116),0,Calculate!N116),IF(ISERROR(Calculate!J116),0,Calculate!J116))))))","v":0},{"$f":"IF(F116=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I116),$C$2,Calculate!I116),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O116),$C$2,Calculate!O116),IF(ISERROR(Calculate!K116),$C$2,Calculate!K116))))","v":5.5},{"$f":"AF116 & IF(OR($AH116,RIGHT($AF116,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P116","v":"S"},{"$f":"Calculate!Q116","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F116=\"X\",$F116=\"H\",$F116=\"Z-ERROR\"),$F116,IF($V116>=RULES!$F$149,\"1\",IF($W116>=RULES!$F$149,\"2\",IF($X116>=RULES!$F$149,\"3\",IF($Y116>=RULES!$F$149,\"4\",IF($Z116>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA116<>\"*\",\"~\",IF($V116>=RULES!$G$149,\"1?\",IF($W116>=RULES!$G$149,\"2?\",IF($X116>=RULES!$G$149,\"3?\",IF($Y116>=RULES!$G$149,\"4?\",IF($Z116>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB116<>\"*\",\"~\",IF((V116+W116>=RULES!$F$149),\"12\",IF((W116+X116>=RULES!$F$149),\"23\",IF((X116+Y116>=RULES!$F$149),\"34\",IF((Y116+Z116>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC116<>\"*\",\"~\",IF(Y116+Z116<(1-RULES!$F$149),\"13\",IF(V116+Z116<(1-RULES!$F$149),\"24\",IF(V116+W116<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F116=\"X\",$F116=\"H\",$F116=\"Z-ERROR\",AND($AA116=\"H\",$AH116)),$AE116,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P116,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L116,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M116,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N116,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E116&\"1\",IF(NOT($AH116),$E116&\"U\",$AE116)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN116","v":""},{"$f":"'Calculator Table'!BR116","v":0},{"$f":"Calculate!AV116","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A117","v":0},{"$f":"IF(F117=\"X\",\"X\",(IF(F117<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H117),0,Calculate!H117),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N117),0,Calculate!N117),IF(ISERROR(Calculate!J117),0,Calculate!J117))))))","v":0},{"$f":"IF(F117=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I117),$C$2,Calculate!I117),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O117),$C$2,Calculate!O117),IF(ISERROR(Calculate!K117),$C$2,Calculate!K117))))","v":5.5},{"$f":"AF117 & IF(OR($AH117,RIGHT($AF117,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P117","v":"S"},{"$f":"Calculate!Q117","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F117=\"X\",$F117=\"H\",$F117=\"Z-ERROR\"),$F117,IF($V117>=RULES!$F$149,\"1\",IF($W117>=RULES!$F$149,\"2\",IF($X117>=RULES!$F$149,\"3\",IF($Y117>=RULES!$F$149,\"4\",IF($Z117>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA117<>\"*\",\"~\",IF($V117>=RULES!$G$149,\"1?\",IF($W117>=RULES!$G$149,\"2?\",IF($X117>=RULES!$G$149,\"3?\",IF($Y117>=RULES!$G$149,\"4?\",IF($Z117>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB117<>\"*\",\"~\",IF((V117+W117>=RULES!$F$149),\"12\",IF((W117+X117>=RULES!$F$149),\"23\",IF((X117+Y117>=RULES!$F$149),\"34\",IF((Y117+Z117>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC117<>\"*\",\"~\",IF(Y117+Z117<(1-RULES!$F$149),\"13\",IF(V117+Z117<(1-RULES!$F$149),\"24\",IF(V117+W117<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F117=\"X\",$F117=\"H\",$F117=\"Z-ERROR\",AND($AA117=\"H\",$AH117)),$AE117,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P117,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L117,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M117,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N117,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E117&\"1\",IF(NOT($AH117),$E117&\"U\",$AE117)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN117","v":""},{"$f":"'Calculator Table'!BR117","v":0},{"$f":"Calculate!AV117","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A118","v":0},{"$f":"IF(F118=\"X\",\"X\",(IF(F118<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H118),0,Calculate!H118),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N118),0,Calculate!N118),IF(ISERROR(Calculate!J118),0,Calculate!J118))))))","v":0},{"$f":"IF(F118=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I118),$C$2,Calculate!I118),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O118),$C$2,Calculate!O118),IF(ISERROR(Calculate!K118),$C$2,Calculate!K118))))","v":5.5},{"$f":"AF118 & IF(OR($AH118,RIGHT($AF118,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P118","v":"S"},{"$f":"Calculate!Q118","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F118=\"X\",$F118=\"H\",$F118=\"Z-ERROR\"),$F118,IF($V118>=RULES!$F$149,\"1\",IF($W118>=RULES!$F$149,\"2\",IF($X118>=RULES!$F$149,\"3\",IF($Y118>=RULES!$F$149,\"4\",IF($Z118>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA118<>\"*\",\"~\",IF($V118>=RULES!$G$149,\"1?\",IF($W118>=RULES!$G$149,\"2?\",IF($X118>=RULES!$G$149,\"3?\",IF($Y118>=RULES!$G$149,\"4?\",IF($Z118>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB118<>\"*\",\"~\",IF((V118+W118>=RULES!$F$149),\"12\",IF((W118+X118>=RULES!$F$149),\"23\",IF((X118+Y118>=RULES!$F$149),\"34\",IF((Y118+Z118>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC118<>\"*\",\"~\",IF(Y118+Z118<(1-RULES!$F$149),\"13\",IF(V118+Z118<(1-RULES!$F$149),\"24\",IF(V118+W118<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F118=\"X\",$F118=\"H\",$F118=\"Z-ERROR\",AND($AA118=\"H\",$AH118)),$AE118,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P118,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L118,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M118,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N118,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E118&\"1\",IF(NOT($AH118),$E118&\"U\",$AE118)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN118","v":""},{"$f":"'Calculator Table'!BR118","v":0},{"$f":"Calculate!AV118","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A119","v":0},{"$f":"IF(F119=\"X\",\"X\",(IF(F119<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H119),0,Calculate!H119),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N119),0,Calculate!N119),IF(ISERROR(Calculate!J119),0,Calculate!J119))))))","v":0},{"$f":"IF(F119=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I119),$C$2,Calculate!I119),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O119),$C$2,Calculate!O119),IF(ISERROR(Calculate!K119),$C$2,Calculate!K119))))","v":5.5},{"$f":"AF119 & IF(OR($AH119,RIGHT($AF119,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P119","v":"S"},{"$f":"Calculate!Q119","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F119=\"X\",$F119=\"H\",$F119=\"Z-ERROR\"),$F119,IF($V119>=RULES!$F$149,\"1\",IF($W119>=RULES!$F$149,\"2\",IF($X119>=RULES!$F$149,\"3\",IF($Y119>=RULES!$F$149,\"4\",IF($Z119>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA119<>\"*\",\"~\",IF($V119>=RULES!$G$149,\"1?\",IF($W119>=RULES!$G$149,\"2?\",IF($X119>=RULES!$G$149,\"3?\",IF($Y119>=RULES!$G$149,\"4?\",IF($Z119>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB119<>\"*\",\"~\",IF((V119+W119>=RULES!$F$149),\"12\",IF((W119+X119>=RULES!$F$149),\"23\",IF((X119+Y119>=RULES!$F$149),\"34\",IF((Y119+Z119>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC119<>\"*\",\"~\",IF(Y119+Z119<(1-RULES!$F$149),\"13\",IF(V119+Z119<(1-RULES!$F$149),\"24\",IF(V119+W119<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F119=\"X\",$F119=\"H\",$F119=\"Z-ERROR\",AND($AA119=\"H\",$AH119)),$AE119,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P119,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L119,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M119,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N119,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E119&\"1\",IF(NOT($AH119),$E119&\"U\",$AE119)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN119","v":""},{"$f":"'Calculator Table'!BR119","v":0},{"$f":"Calculate!AV119","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A120","v":0},{"$f":"IF(F120=\"X\",\"X\",(IF(F120<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H120),0,Calculate!H120),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N120),0,Calculate!N120),IF(ISERROR(Calculate!J120),0,Calculate!J120))))))","v":0},{"$f":"IF(F120=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I120),$C$2,Calculate!I120),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O120),$C$2,Calculate!O120),IF(ISERROR(Calculate!K120),$C$2,Calculate!K120))))","v":5.5},{"$f":"AF120 & IF(OR($AH120,RIGHT($AF120,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P120","v":"S"},{"$f":"Calculate!Q120","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F120=\"X\",$F120=\"H\",$F120=\"Z-ERROR\"),$F120,IF($V120>=RULES!$F$149,\"1\",IF($W120>=RULES!$F$149,\"2\",IF($X120>=RULES!$F$149,\"3\",IF($Y120>=RULES!$F$149,\"4\",IF($Z120>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA120<>\"*\",\"~\",IF($V120>=RULES!$G$149,\"1?\",IF($W120>=RULES!$G$149,\"2?\",IF($X120>=RULES!$G$149,\"3?\",IF($Y120>=RULES!$G$149,\"4?\",IF($Z120>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB120<>\"*\",\"~\",IF((V120+W120>=RULES!$F$149),\"12\",IF((W120+X120>=RULES!$F$149),\"23\",IF((X120+Y120>=RULES!$F$149),\"34\",IF((Y120+Z120>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC120<>\"*\",\"~\",IF(Y120+Z120<(1-RULES!$F$149),\"13\",IF(V120+Z120<(1-RULES!$F$149),\"24\",IF(V120+W120<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F120=\"X\",$F120=\"H\",$F120=\"Z-ERROR\",AND($AA120=\"H\",$AH120)),$AE120,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P120,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L120,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M120,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N120,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E120&\"1\",IF(NOT($AH120),$E120&\"U\",$AE120)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN120","v":""},{"$f":"'Calculator Table'!BR120","v":0},{"$f":"Calculate!AV120","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A121","v":0},{"$f":"IF(F121=\"X\",\"X\",(IF(F121<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H121),0,Calculate!H121),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N121),0,Calculate!N121),IF(ISERROR(Calculate!J121),0,Calculate!J121))))))","v":0},{"$f":"IF(F121=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I121),$C$2,Calculate!I121),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O121),$C$2,Calculate!O121),IF(ISERROR(Calculate!K121),$C$2,Calculate!K121))))","v":5.5},{"$f":"AF121 & IF(OR($AH121,RIGHT($AF121,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P121","v":"S"},{"$f":"Calculate!Q121","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F121=\"X\",$F121=\"H\",$F121=\"Z-ERROR\"),$F121,IF($V121>=RULES!$F$149,\"1\",IF($W121>=RULES!$F$149,\"2\",IF($X121>=RULES!$F$149,\"3\",IF($Y121>=RULES!$F$149,\"4\",IF($Z121>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA121<>\"*\",\"~\",IF($V121>=RULES!$G$149,\"1?\",IF($W121>=RULES!$G$149,\"2?\",IF($X121>=RULES!$G$149,\"3?\",IF($Y121>=RULES!$G$149,\"4?\",IF($Z121>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB121<>\"*\",\"~\",IF((V121+W121>=RULES!$F$149),\"12\",IF((W121+X121>=RULES!$F$149),\"23\",IF((X121+Y121>=RULES!$F$149),\"34\",IF((Y121+Z121>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC121<>\"*\",\"~\",IF(Y121+Z121<(1-RULES!$F$149),\"13\",IF(V121+Z121<(1-RULES!$F$149),\"24\",IF(V121+W121<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F121=\"X\",$F121=\"H\",$F121=\"Z-ERROR\",AND($AA121=\"H\",$AH121)),$AE121,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P121,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L121,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M121,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N121,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E121&\"1\",IF(NOT($AH121),$E121&\"U\",$AE121)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN121","v":""},{"$f":"'Calculator Table'!BR121","v":0},{"$f":"Calculate!AV121","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A122","v":0},{"$f":"IF(F122=\"X\",\"X\",(IF(F122<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H122),0,Calculate!H122),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N122),0,Calculate!N122),IF(ISERROR(Calculate!J122),0,Calculate!J122))))))","v":0},{"$f":"IF(F122=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I122),$C$2,Calculate!I122),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O122),$C$2,Calculate!O122),IF(ISERROR(Calculate!K122),$C$2,Calculate!K122))))","v":5.5},{"$f":"AF122 & IF(OR($AH122,RIGHT($AF122,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P122","v":"S"},{"$f":"Calculate!Q122","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F122=\"X\",$F122=\"H\",$F122=\"Z-ERROR\"),$F122,IF($V122>=RULES!$F$149,\"1\",IF($W122>=RULES!$F$149,\"2\",IF($X122>=RULES!$F$149,\"3\",IF($Y122>=RULES!$F$149,\"4\",IF($Z122>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA122<>\"*\",\"~\",IF($V122>=RULES!$G$149,\"1?\",IF($W122>=RULES!$G$149,\"2?\",IF($X122>=RULES!$G$149,\"3?\",IF($Y122>=RULES!$G$149,\"4?\",IF($Z122>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB122<>\"*\",\"~\",IF((V122+W122>=RULES!$F$149),\"12\",IF((W122+X122>=RULES!$F$149),\"23\",IF((X122+Y122>=RULES!$F$149),\"34\",IF((Y122+Z122>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC122<>\"*\",\"~\",IF(Y122+Z122<(1-RULES!$F$149),\"13\",IF(V122+Z122<(1-RULES!$F$149),\"24\",IF(V122+W122<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F122=\"X\",$F122=\"H\",$F122=\"Z-ERROR\",AND($AA122=\"H\",$AH122)),$AE122,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P122,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L122,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M122,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N122,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E122&\"1\",IF(NOT($AH122),$E122&\"U\",$AE122)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN122","v":""},{"$f":"'Calculator Table'!BR122","v":0},{"$f":"Calculate!AV122","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A123","v":0},{"$f":"IF(F123=\"X\",\"X\",(IF(F123<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H123),0,Calculate!H123),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N123),0,Calculate!N123),IF(ISERROR(Calculate!J123),0,Calculate!J123))))))","v":0},{"$f":"IF(F123=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I123),$C$2,Calculate!I123),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O123),$C$2,Calculate!O123),IF(ISERROR(Calculate!K123),$C$2,Calculate!K123))))","v":5.5},{"$f":"AF123 & IF(OR($AH123,RIGHT($AF123,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P123","v":"S"},{"$f":"Calculate!Q123","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F123=\"X\",$F123=\"H\",$F123=\"Z-ERROR\"),$F123,IF($V123>=RULES!$F$149,\"1\",IF($W123>=RULES!$F$149,\"2\",IF($X123>=RULES!$F$149,\"3\",IF($Y123>=RULES!$F$149,\"4\",IF($Z123>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA123<>\"*\",\"~\",IF($V123>=RULES!$G$149,\"1?\",IF($W123>=RULES!$G$149,\"2?\",IF($X123>=RULES!$G$149,\"3?\",IF($Y123>=RULES!$G$149,\"4?\",IF($Z123>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB123<>\"*\",\"~\",IF((V123+W123>=RULES!$F$149),\"12\",IF((W123+X123>=RULES!$F$149),\"23\",IF((X123+Y123>=RULES!$F$149),\"34\",IF((Y123+Z123>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC123<>\"*\",\"~\",IF(Y123+Z123<(1-RULES!$F$149),\"13\",IF(V123+Z123<(1-RULES!$F$149),\"24\",IF(V123+W123<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F123=\"X\",$F123=\"H\",$F123=\"Z-ERROR\",AND($AA123=\"H\",$AH123)),$AE123,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P123,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L123,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M123,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N123,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E123&\"1\",IF(NOT($AH123),$E123&\"U\",$AE123)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN123","v":""},{"$f":"'Calculator Table'!BR123","v":0},{"$f":"Calculate!AV123","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A124","v":0},{"$f":"IF(F124=\"X\",\"X\",(IF(F124<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H124),0,Calculate!H124),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N124),0,Calculate!N124),IF(ISERROR(Calculate!J124),0,Calculate!J124))))))","v":0},{"$f":"IF(F124=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I124),$C$2,Calculate!I124),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O124),$C$2,Calculate!O124),IF(ISERROR(Calculate!K124),$C$2,Calculate!K124))))","v":5.5},{"$f":"AF124 & IF(OR($AH124,RIGHT($AF124,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P124","v":"S"},{"$f":"Calculate!Q124","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F124=\"X\",$F124=\"H\",$F124=\"Z-ERROR\"),$F124,IF($V124>=RULES!$F$149,\"1\",IF($W124>=RULES!$F$149,\"2\",IF($X124>=RULES!$F$149,\"3\",IF($Y124>=RULES!$F$149,\"4\",IF($Z124>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA124<>\"*\",\"~\",IF($V124>=RULES!$G$149,\"1?\",IF($W124>=RULES!$G$149,\"2?\",IF($X124>=RULES!$G$149,\"3?\",IF($Y124>=RULES!$G$149,\"4?\",IF($Z124>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB124<>\"*\",\"~\",IF((V124+W124>=RULES!$F$149),\"12\",IF((W124+X124>=RULES!$F$149),\"23\",IF((X124+Y124>=RULES!$F$149),\"34\",IF((Y124+Z124>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC124<>\"*\",\"~\",IF(Y124+Z124<(1-RULES!$F$149),\"13\",IF(V124+Z124<(1-RULES!$F$149),\"24\",IF(V124+W124<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F124=\"X\",$F124=\"H\",$F124=\"Z-ERROR\",AND($AA124=\"H\",$AH124)),$AE124,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P124,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L124,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M124,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N124,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E124&\"1\",IF(NOT($AH124),$E124&\"U\",$AE124)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN124","v":""},{"$f":"'Calculator Table'!BR124","v":0},{"$f":"Calculate!AV124","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A125","v":0},{"$f":"IF(F125=\"X\",\"X\",(IF(F125<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H125),0,Calculate!H125),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N125),0,Calculate!N125),IF(ISERROR(Calculate!J125),0,Calculate!J125))))))","v":0},{"$f":"IF(F125=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I125),$C$2,Calculate!I125),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O125),$C$2,Calculate!O125),IF(ISERROR(Calculate!K125),$C$2,Calculate!K125))))","v":5.5},{"$f":"AF125 & IF(OR($AH125,RIGHT($AF125,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P125","v":"S"},{"$f":"Calculate!Q125","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F125=\"X\",$F125=\"H\",$F125=\"Z-ERROR\"),$F125,IF($V125>=RULES!$F$149,\"1\",IF($W125>=RULES!$F$149,\"2\",IF($X125>=RULES!$F$149,\"3\",IF($Y125>=RULES!$F$149,\"4\",IF($Z125>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA125<>\"*\",\"~\",IF($V125>=RULES!$G$149,\"1?\",IF($W125>=RULES!$G$149,\"2?\",IF($X125>=RULES!$G$149,\"3?\",IF($Y125>=RULES!$G$149,\"4?\",IF($Z125>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB125<>\"*\",\"~\",IF((V125+W125>=RULES!$F$149),\"12\",IF((W125+X125>=RULES!$F$149),\"23\",IF((X125+Y125>=RULES!$F$149),\"34\",IF((Y125+Z125>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC125<>\"*\",\"~\",IF(Y125+Z125<(1-RULES!$F$149),\"13\",IF(V125+Z125<(1-RULES!$F$149),\"24\",IF(V125+W125<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F125=\"X\",$F125=\"H\",$F125=\"Z-ERROR\",AND($AA125=\"H\",$AH125)),$AE125,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P125,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L125,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M125,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N125,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E125&\"1\",IF(NOT($AH125),$E125&\"U\",$AE125)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN125","v":""},{"$f":"'Calculator Table'!BR125","v":0},{"$f":"Calculate!AV125","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A126","v":0},{"$f":"IF(F126=\"X\",\"X\",(IF(F126<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H126),0,Calculate!H126),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N126),0,Calculate!N126),IF(ISERROR(Calculate!J126),0,Calculate!J126))))))","v":0},{"$f":"IF(F126=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I126),$C$2,Calculate!I126),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O126),$C$2,Calculate!O126),IF(ISERROR(Calculate!K126),$C$2,Calculate!K126))))","v":5.5},{"$f":"AF126 & IF(OR($AH126,RIGHT($AF126,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P126","v":"S"},{"$f":"Calculate!Q126","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F126=\"X\",$F126=\"H\",$F126=\"Z-ERROR\"),$F126,IF($V126>=RULES!$F$149,\"1\",IF($W126>=RULES!$F$149,\"2\",IF($X126>=RULES!$F$149,\"3\",IF($Y126>=RULES!$F$149,\"4\",IF($Z126>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA126<>\"*\",\"~\",IF($V126>=RULES!$G$149,\"1?\",IF($W126>=RULES!$G$149,\"2?\",IF($X126>=RULES!$G$149,\"3?\",IF($Y126>=RULES!$G$149,\"4?\",IF($Z126>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB126<>\"*\",\"~\",IF((V126+W126>=RULES!$F$149),\"12\",IF((W126+X126>=RULES!$F$149),\"23\",IF((X126+Y126>=RULES!$F$149),\"34\",IF((Y126+Z126>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC126<>\"*\",\"~\",IF(Y126+Z126<(1-RULES!$F$149),\"13\",IF(V126+Z126<(1-RULES!$F$149),\"24\",IF(V126+W126<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F126=\"X\",$F126=\"H\",$F126=\"Z-ERROR\",AND($AA126=\"H\",$AH126)),$AE126,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P126,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L126,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M126,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N126,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E126&\"1\",IF(NOT($AH126),$E126&\"U\",$AE126)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN126","v":""},{"$f":"'Calculator Table'!BR126","v":0},{"$f":"Calculate!AV126","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A127","v":0},{"$f":"IF(F127=\"X\",\"X\",(IF(F127<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H127),0,Calculate!H127),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N127),0,Calculate!N127),IF(ISERROR(Calculate!J127),0,Calculate!J127))))))","v":0},{"$f":"IF(F127=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I127),$C$2,Calculate!I127),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O127),$C$2,Calculate!O127),IF(ISERROR(Calculate!K127),$C$2,Calculate!K127))))","v":5.5},{"$f":"AF127 & IF(OR($AH127,RIGHT($AF127,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P127","v":"S"},{"$f":"Calculate!Q127","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F127=\"X\",$F127=\"H\",$F127=\"Z-ERROR\"),$F127,IF($V127>=RULES!$F$149,\"1\",IF($W127>=RULES!$F$149,\"2\",IF($X127>=RULES!$F$149,\"3\",IF($Y127>=RULES!$F$149,\"4\",IF($Z127>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA127<>\"*\",\"~\",IF($V127>=RULES!$G$149,\"1?\",IF($W127>=RULES!$G$149,\"2?\",IF($X127>=RULES!$G$149,\"3?\",IF($Y127>=RULES!$G$149,\"4?\",IF($Z127>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB127<>\"*\",\"~\",IF((V127+W127>=RULES!$F$149),\"12\",IF((W127+X127>=RULES!$F$149),\"23\",IF((X127+Y127>=RULES!$F$149),\"34\",IF((Y127+Z127>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC127<>\"*\",\"~\",IF(Y127+Z127<(1-RULES!$F$149),\"13\",IF(V127+Z127<(1-RULES!$F$149),\"24\",IF(V127+W127<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F127=\"X\",$F127=\"H\",$F127=\"Z-ERROR\",AND($AA127=\"H\",$AH127)),$AE127,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P127,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L127,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M127,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N127,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E127&\"1\",IF(NOT($AH127),$E127&\"U\",$AE127)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN127","v":""},{"$f":"'Calculator Table'!BR127","v":0},{"$f":"Calculate!AV127","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A128","v":0},{"$f":"IF(F128=\"X\",\"X\",(IF(F128<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H128),0,Calculate!H128),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N128),0,Calculate!N128),IF(ISERROR(Calculate!J128),0,Calculate!J128))))))","v":0},{"$f":"IF(F128=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I128),$C$2,Calculate!I128),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O128),$C$2,Calculate!O128),IF(ISERROR(Calculate!K128),$C$2,Calculate!K128))))","v":5.5},{"$f":"AF128 & IF(OR($AH128,RIGHT($AF128,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P128","v":"S"},{"$f":"Calculate!Q128","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F128=\"X\",$F128=\"H\",$F128=\"Z-ERROR\"),$F128,IF($V128>=RULES!$F$149,\"1\",IF($W128>=RULES!$F$149,\"2\",IF($X128>=RULES!$F$149,\"3\",IF($Y128>=RULES!$F$149,\"4\",IF($Z128>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA128<>\"*\",\"~\",IF($V128>=RULES!$G$149,\"1?\",IF($W128>=RULES!$G$149,\"2?\",IF($X128>=RULES!$G$149,\"3?\",IF($Y128>=RULES!$G$149,\"4?\",IF($Z128>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB128<>\"*\",\"~\",IF((V128+W128>=RULES!$F$149),\"12\",IF((W128+X128>=RULES!$F$149),\"23\",IF((X128+Y128>=RULES!$F$149),\"34\",IF((Y128+Z128>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC128<>\"*\",\"~\",IF(Y128+Z128<(1-RULES!$F$149),\"13\",IF(V128+Z128<(1-RULES!$F$149),\"24\",IF(V128+W128<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F128=\"X\",$F128=\"H\",$F128=\"Z-ERROR\",AND($AA128=\"H\",$AH128)),$AE128,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P128,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L128,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M128,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N128,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E128&\"1\",IF(NOT($AH128),$E128&\"U\",$AE128)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN128","v":""},{"$f":"'Calculator Table'!BR128","v":0},{"$f":"Calculate!AV128","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A129","v":0},{"$f":"IF(F129=\"X\",\"X\",(IF(F129<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H129),0,Calculate!H129),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N129),0,Calculate!N129),IF(ISERROR(Calculate!J129),0,Calculate!J129))))))","v":0},{"$f":"IF(F129=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I129),$C$2,Calculate!I129),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O129),$C$2,Calculate!O129),IF(ISERROR(Calculate!K129),$C$2,Calculate!K129))))","v":5.5},{"$f":"AF129 & IF(OR($AH129,RIGHT($AF129,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P129","v":"S"},{"$f":"Calculate!Q129","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F129=\"X\",$F129=\"H\",$F129=\"Z-ERROR\"),$F129,IF($V129>=RULES!$F$149,\"1\",IF($W129>=RULES!$F$149,\"2\",IF($X129>=RULES!$F$149,\"3\",IF($Y129>=RULES!$F$149,\"4\",IF($Z129>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA129<>\"*\",\"~\",IF($V129>=RULES!$G$149,\"1?\",IF($W129>=RULES!$G$149,\"2?\",IF($X129>=RULES!$G$149,\"3?\",IF($Y129>=RULES!$G$149,\"4?\",IF($Z129>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB129<>\"*\",\"~\",IF((V129+W129>=RULES!$F$149),\"12\",IF((W129+X129>=RULES!$F$149),\"23\",IF((X129+Y129>=RULES!$F$149),\"34\",IF((Y129+Z129>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC129<>\"*\",\"~\",IF(Y129+Z129<(1-RULES!$F$149),\"13\",IF(V129+Z129<(1-RULES!$F$149),\"24\",IF(V129+W129<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F129=\"X\",$F129=\"H\",$F129=\"Z-ERROR\",AND($AA129=\"H\",$AH129)),$AE129,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P129,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L129,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M129,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N129,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E129&\"1\",IF(NOT($AH129),$E129&\"U\",$AE129)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN129","v":""},{"$f":"'Calculator Table'!BR129","v":0},{"$f":"Calculate!AV129","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A130","v":0},{"$f":"IF(F130=\"X\",\"X\",(IF(F130<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H130),0,Calculate!H130),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N130),0,Calculate!N130),IF(ISERROR(Calculate!J130),0,Calculate!J130))))))","v":0},{"$f":"IF(F130=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I130),$C$2,Calculate!I130),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O130),$C$2,Calculate!O130),IF(ISERROR(Calculate!K130),$C$2,Calculate!K130))))","v":5.5},{"$f":"AF130 & IF(OR($AH130,RIGHT($AF130,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P130","v":"S"},{"$f":"Calculate!Q130","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F130=\"X\",$F130=\"H\",$F130=\"Z-ERROR\"),$F130,IF($V130>=RULES!$F$149,\"1\",IF($W130>=RULES!$F$149,\"2\",IF($X130>=RULES!$F$149,\"3\",IF($Y130>=RULES!$F$149,\"4\",IF($Z130>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA130<>\"*\",\"~\",IF($V130>=RULES!$G$149,\"1?\",IF($W130>=RULES!$G$149,\"2?\",IF($X130>=RULES!$G$149,\"3?\",IF($Y130>=RULES!$G$149,\"4?\",IF($Z130>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB130<>\"*\",\"~\",IF((V130+W130>=RULES!$F$149),\"12\",IF((W130+X130>=RULES!$F$149),\"23\",IF((X130+Y130>=RULES!$F$149),\"34\",IF((Y130+Z130>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC130<>\"*\",\"~\",IF(Y130+Z130<(1-RULES!$F$149),\"13\",IF(V130+Z130<(1-RULES!$F$149),\"24\",IF(V130+W130<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F130=\"X\",$F130=\"H\",$F130=\"Z-ERROR\",AND($AA130=\"H\",$AH130)),$AE130,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P130,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L130,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M130,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N130,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E130&\"1\",IF(NOT($AH130),$E130&\"U\",$AE130)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN130","v":""},{"$f":"'Calculator Table'!BR130","v":0},{"$f":"Calculate!AV130","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A131","v":0},{"$f":"IF(F131=\"X\",\"X\",(IF(F131<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H131),0,Calculate!H131),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N131),0,Calculate!N131),IF(ISERROR(Calculate!J131),0,Calculate!J131))))))","v":0},{"$f":"IF(F131=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I131),$C$2,Calculate!I131),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O131),$C$2,Calculate!O131),IF(ISERROR(Calculate!K131),$C$2,Calculate!K131))))","v":5.5},{"$f":"AF131 & IF(OR($AH131,RIGHT($AF131,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P131","v":"S"},{"$f":"Calculate!Q131","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F131=\"X\",$F131=\"H\",$F131=\"Z-ERROR\"),$F131,IF($V131>=RULES!$F$149,\"1\",IF($W131>=RULES!$F$149,\"2\",IF($X131>=RULES!$F$149,\"3\",IF($Y131>=RULES!$F$149,\"4\",IF($Z131>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA131<>\"*\",\"~\",IF($V131>=RULES!$G$149,\"1?\",IF($W131>=RULES!$G$149,\"2?\",IF($X131>=RULES!$G$149,\"3?\",IF($Y131>=RULES!$G$149,\"4?\",IF($Z131>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB131<>\"*\",\"~\",IF((V131+W131>=RULES!$F$149),\"12\",IF((W131+X131>=RULES!$F$149),\"23\",IF((X131+Y131>=RULES!$F$149),\"34\",IF((Y131+Z131>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC131<>\"*\",\"~\",IF(Y131+Z131<(1-RULES!$F$149),\"13\",IF(V131+Z131<(1-RULES!$F$149),\"24\",IF(V131+W131<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F131=\"X\",$F131=\"H\",$F131=\"Z-ERROR\",AND($AA131=\"H\",$AH131)),$AE131,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P131,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L131,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M131,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N131,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E131&\"1\",IF(NOT($AH131),$E131&\"U\",$AE131)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN131","v":""},{"$f":"'Calculator Table'!BR131","v":0},{"$f":"Calculate!AV131","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A132","v":0},{"$f":"IF(F132=\"X\",\"X\",(IF(F132<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H132),0,Calculate!H132),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N132),0,Calculate!N132),IF(ISERROR(Calculate!J132),0,Calculate!J132))))))","v":0},{"$f":"IF(F132=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I132),$C$2,Calculate!I132),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O132),$C$2,Calculate!O132),IF(ISERROR(Calculate!K132),$C$2,Calculate!K132))))","v":5.5},{"$f":"AF132 & IF(OR($AH132,RIGHT($AF132,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P132","v":"S"},{"$f":"Calculate!Q132","v":"*"},{"$f":"B132","v":0},5.5,{"$f":"AF132","v":{"$error":"#VALUE!"}},0,5.5,{"$f":"K132-J132","v":5.5},0,1.5,2.5,3.5,4.5,4,3,2,1,{"$f":"IF($L132=0,IF($M132=1,1,0),$N132/$L132)","v":0.27272727272727271},{"$f":"IF($L132=0,IF($M132=2,1,0),($O132-$N132)/$L132)","v":0.18181818181818182},{"$f":"IF($L132=0,IF($M132=3,1,0),($P132-$O132)/$L132)","v":0.18181818181818182},{"$f":"IF($L132=0,IF($M132=4,1,0),($Q132-$P132)/$L132)","v":0.18181818181818182},{"$f":"IF($L132=0,IF($M132=5,1,0),$U132/$L132)","v":0.18181818181818182},{"$f":"IF(OR($F132=\"X\",$F132=\"H\",$F132=\"Z-ERROR\"),$F132,IF($V132>=RULES!$F$149,\"1\",IF($W132>=RULES!$F$149,\"2\",IF($X132>=RULES!$F$149,\"3\",IF($Y132>=RULES!$F$149,\"4\",IF($Z132>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA132<>\"*\",\"~\",IF($V132>=RULES!$G$149,\"1?\",IF($W132>=RULES!$G$149,\"2?\",IF($X132>=RULES!$G$149,\"3?\",IF($Y132>=RULES!$G$149,\"4?\",IF($Z132>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB132<>\"*\",\"~\",IF((V132+W132>=RULES!$F$149),\"12\",IF((W132+X132>=RULES!$F$149),\"23\",IF((X132+Y132>=RULES!$F$149),\"34\",IF((Y132+Z132>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC132<>\"*\",\"~\",IF(Y132+Z132<(1-RULES!$F$149),\"13\",IF(V132+Z132<(1-RULES!$F$149),\"24\",IF(V132+W132<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},{"$f":"IF(AA132<>\"*\",CONCATENATE(E132,AA132),IF(AB132<>\"*\",CONCATENATE(E132,AB132),IF(AC132<>\"*\",CONCATENATE(E132,LEFT(AC132,1),E132,RIGHT(AC132,1)),IF(AD132=\"NR\",CONCATENATE(E132,\"NR\"),IF(AD132=\"U\",CONCATENATE(E132,\"U\"),CONCATENATE(E132,LEFT(AD132,1),E132,RIGHT(AD132,1)))))))","v":"SU"},{"$f":"IF(OR($F132=\"X\",$F132=\"H\",$F132=\"Z-ERROR\",AND($AA132=\"H\",$AH132)),$AE132,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P132,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L132,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M132,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N132,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E132&\"1\",IF(NOT($AH132),$E132&\"U\",$AE132)))","v":{"$error":"#VALUE!"}},{"$f":"IF(AE132=AF132,\"\",\"changed\")","v":{"$error":"#VALUE!"}},{"$f":"'Calculator Table'!BN132","v":""},{"$f":"'Calculator Table'!BR132","v":0},{"$f":"Calculate!AV132","v":2},null,null,null,null,null,{"$f":"AND(AF132=AM132)","v":{"$error":"#VALUE!"}}]
[{"$f":"Calculate!A133","v":0},{"$f":"IF(F133=\"X\",\"X\",(IF(F133<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H133),0,Calculate!H133),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N133),0,Calculate!N133),IF(ISERROR(Calculate!J133),0,Calculate!J133))))))","v":0},{"$f":"IF(F133=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I133),$C$2,Calculate!I133),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O133),$C$2,Calculate!O133),IF(ISERROR(Calculate!K133),$C$2,Calculate!K133))))","v":5.5},{"$f":"AF133 & IF(OR($AH133,RIGHT($AF133,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P133","v":"S"},{"$f":"Calculate!Q133","v":"*"},0,5.5,{"$error":"#VALUE!"},{"$f":"IF(G133=\"H\",0,MIN(MAX(G133,0),$C$2))","v":0},{"$f":"IF(H133=\"H\",0,MIN(MAX(H133,0),$C$2))","v":5.5},5.5,{"$f":"IF(L133=0,IF(J133<=1.5,1,IF(J133<=2.5,2,IF(J133<=3.5,3,IF(J133<=4.5,4,5)))),0)","v":0},{"$f":"IF($J133<=1.5,IF($K133<=1.5,$L133,1.5-$J133),0)","v":1.5},{"$f":"IF($J133<=2.5,IF($K133<=2.5,$L133,2.5-$J133),0)","v":2.5},{"$f":"IF($J133<=3.5,IF($K133<=3.5,$L133,3.5-$J133),0)","v":3.5},{"$f":"IF($J133<=4.5,IF($K133<=4.5,$L133,4.5-$J133),0)","v":4.5},{"$f":"IF($K133<=1.5,0,IF($J133>1.5,$L133,$K133-1.5))","v":4},{"$f":"IF($K133<=2.5,0,IF($J133>2.5,$L133,$K133-2.5))","v":3},{"$f":"IF($K133<=3.5,0,IF($J133>3.5,$L133,$K133-3.5))","v":2},{"$f":"IF($K133<=4.5,0,IF($J133>4.5,$L133,$K133-4.5))","v":1},0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F133=\"X\",$F133=\"H\",$F133=\"Z-ERROR\"),$F133,IF($V133>=RULES!$F$149,\"1\",IF($W133>=RULES!$F$149,\"2\",IF($X133>=RULES!$F$149,\"3\",IF($Y133>=RULES!$F$149,\"4\",IF($Z133>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA133<>\"*\",\"~\",IF($V133>=RULES!$G$149,\"1?\",IF($W133>=RULES!$G$149,\"2?\",IF($X133>=RULES!$G$149,\"3?\",IF($Y133>=RULES!$G$149,\"4?\",IF($Z133>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB133<>\"*\",\"~\",IF((V133+W133>=RULES!$F$149),\"12\",IF((W133+X133>=RULES!$F$149),\"23\",IF((X133+Y133>=RULES!$F$149),\"34\",IF((Y133+Z133>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC133<>\"*\",\"~\",IF(Y133+Z133<(1-RULES!$F$149),\"13\",IF(V133+Z133<(1-RULES!$F$149),\"24\",IF(V133+W133<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F133=\"X\",$F133=\"H\",$F133=\"Z-ERROR\",AND($AA133=\"H\",$AH133)),$AE133,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P133,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L133,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M133,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N133,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E133&\"1\",IF(NOT($AH133),$E133&\"U\",$AE133)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN133","v":""},{"$f":"'Calculator Table'!BR133","v":0},{"$f":"Calculate!AV133","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A134","v":0},{"$f":"IF(F134=\"X\",\"X\",(IF(F134<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H134),0,Calculate!H134),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N134),0,Calculate!N134),IF(ISERROR(Calculate!J134),0,Calculate!J134))))))","v":0},{"$f":"IF(F134=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I134),$C$2,Calculate!I134),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O134),$C$2,Calculate!O134),IF(ISERROR(Calculate!K134),$C$2,Calculate!K134))))","v":5.5},{"$f":"AF134 & IF(OR($AH134,RIGHT($AF134,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P134","v":"S"},{"$f":"Calculate!Q134","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F134=\"X\",$F134=\"H\",$F134=\"Z-ERROR\"),$F134,IF($V134>=RULES!$F$149,\"1\",IF($W134>=RULES!$F$149,\"2\",IF($X134>=RULES!$F$149,\"3\",IF($Y134>=RULES!$F$149,\"4\",IF($Z134>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA134<>\"*\",\"~\",IF($V134>=RULES!$G$149,\"1?\",IF($W134>=RULES!$G$149,\"2?\",IF($X134>=RULES!$G$149,\"3?\",IF($Y134>=RULES!$G$149,\"4?\",IF($Z134>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB134<>\"*\",\"~\",IF((V134+W134>=RULES!$F$149),\"12\",IF((W134+X134>=RULES!$F$149),\"23\",IF((X134+Y134>=RULES!$F$149),\"34\",IF((Y134+Z134>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC134<>\"*\",\"~\",IF(Y134+Z134<(1-RULES!$F$149),\"13\",IF(V134+Z134<(1-RULES!$F$149),\"24\",IF(V134+W134<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F134=\"X\",$F134=\"H\",$F134=\"Z-ERROR\",AND($AA134=\"H\",$AH134)),$AE134,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P134,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L134,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M134,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N134,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E134&\"1\",IF(NOT($AH134),$E134&\"U\",$AE134)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN134","v":""},{"$f":"'Calculator Table'!BR134","v":0},{"$f":"Calculate!AV134","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A135","v":0},{"$f":"IF(F135=\"X\",\"X\",(IF(F135<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H135),0,Calculate!H135),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N135),0,Calculate!N135),IF(ISERROR(Calculate!J135),0,Calculate!J135))))))","v":0},{"$f":"IF(F135=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I135),$C$2,Calculate!I135),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O135),$C$2,Calculate!O135),IF(ISERROR(Calculate!K135),$C$2,Calculate!K135))))","v":5.5},{"$f":"AF135 & IF(OR($AH135,RIGHT($AF135,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P135","v":"S"},{"$f":"Calculate!Q135","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F135=\"X\",$F135=\"H\",$F135=\"Z-ERROR\"),$F135,IF($V135>=RULES!$F$149,\"1\",IF($W135>=RULES!$F$149,\"2\",IF($X135>=RULES!$F$149,\"3\",IF($Y135>=RULES!$F$149,\"4\",IF($Z135>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA135<>\"*\",\"~\",IF($V135>=RULES!$G$149,\"1?\",IF($W135>=RULES!$G$149,\"2?\",IF($X135>=RULES!$G$149,\"3?\",IF($Y135>=RULES!$G$149,\"4?\",IF($Z135>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB135<>\"*\",\"~\",IF((V135+W135>=RULES!$F$149),\"12\",IF((W135+X135>=RULES!$F$149),\"23\",IF((X135+Y135>=RULES!$F$149),\"34\",IF((Y135+Z135>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC135<>\"*\",\"~\",IF(Y135+Z135<(1-RULES!$F$149),\"13\",IF(V135+Z135<(1-RULES!$F$149),\"24\",IF(V135+W135<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F135=\"X\",$F135=\"H\",$F135=\"Z-ERROR\",AND($AA135=\"H\",$AH135)),$AE135,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P135,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L135,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M135,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N135,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E135&\"1\",IF(NOT($AH135),$E135&\"U\",$AE135)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN135","v":""},{"$f":"'Calculator Table'!BR135","v":0},{"$f":"Calculate!AV135","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A136","v":0},{"$f":"IF(F136=\"X\",\"X\",(IF(F136<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H136),0,Calculate!H136),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N136),0,Calculate!N136),IF(ISERROR(Calculate!J136),0,Calculate!J136))))))","v":0},{"$f":"IF(F136=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I136),$C$2,Calculate!I136),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O136),$C$2,Calculate!O136),IF(ISERROR(Calculate!K136),$C$2,Calculate!K136))))","v":5.5},{"$f":"AF136 & IF(OR($AH136,RIGHT($AF136,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P136","v":"S"},{"$f":"Calculate!Q136","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F136=\"X\",$F136=\"H\",$F136=\"Z-ERROR\"),$F136,IF($V136>=RULES!$F$149,\"1\",IF($W136>=RULES!$F$149,\"2\",IF($X136>=RULES!$F$149,\"3\",IF($Y136>=RULES!$F$149,\"4\",IF($Z136>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA136<>\"*\",\"~\",IF($V136>=RULES!$G$149,\"1?\",IF($W136>=RULES!$G$149,\"2?\",IF($X136>=RULES!$G$149,\"3?\",IF($Y136>=RULES!$G$149,\"4?\",IF($Z136>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB136<>\"*\",\"~\",IF((V136+W136>=RULES!$F$149),\"12\",IF((W136+X136>=RULES!$F$149),\"23\",IF((X136+Y136>=RULES!$F$149),\"34\",IF((Y136+Z136>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC136<>\"*\",\"~\",IF(Y136+Z136<(1-RULES!$F$149),\"13\",IF(V136+Z136<(1-RULES!$F$149),\"24\",IF(V136+W136<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F136=\"X\",$F136=\"H\",$F136=\"Z-ERROR\",AND($AA136=\"H\",$AH136)),$AE136,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P136,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L136,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M136,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N136,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E136&\"1\",IF(NOT($AH136),$E136&\"U\",$AE136)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN136","v":""},{"$f":"'Calculator Table'!BR136","v":0},{"$f":"Calculate!AV136","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A137","v":0},{"$f":"IF(F137=\"X\",\"X\",(IF(F137<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H137),0,Calculate!H137),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N137),0,Calculate!N137),IF(ISERROR(Calculate!J137),0,Calculate!J137))))))","v":0},{"$f":"IF(F137=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I137),$C$2,Calculate!I137),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O137),$C$2,Calculate!O137),IF(ISERROR(Calculate!K137),$C$2,Calculate!K137))))","v":5.5},{"$f":"AF137 & IF(OR($AH137,RIGHT($AF137,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P137","v":"S"},{"$f":"Calculate!Q137","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F137=\"X\",$F137=\"H\",$F137=\"Z-ERROR\"),$F137,IF($V137>=RULES!$F$149,\"1\",IF($W137>=RULES!$F$149,\"2\",IF($X137>=RULES!$F$149,\"3\",IF($Y137>=RULES!$F$149,\"4\",IF($Z137>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA137<>\"*\",\"~\",IF($V137>=RULES!$G$149,\"1?\",IF($W137>=RULES!$G$149,\"2?\",IF($X137>=RULES!$G$149,\"3?\",IF($Y137>=RULES!$G$149,\"4?\",IF($Z137>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB137<>\"*\",\"~\",IF((V137+W137>=RULES!$F$149),\"12\",IF((W137+X137>=RULES!$F$149),\"23\",IF((X137+Y137>=RULES!$F$149),\"34\",IF((Y137+Z137>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC137<>\"*\",\"~\",IF(Y137+Z137<(1-RULES!$F$149),\"13\",IF(V137+Z137<(1-RULES!$F$149),\"24\",IF(V137+W137<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F137=\"X\",$F137=\"H\",$F137=\"Z-ERROR\",AND($AA137=\"H\",$AH137)),$AE137,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P137,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L137,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M137,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N137,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E137&\"1\",IF(NOT($AH137),$E137&\"U\",$AE137)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN137","v":""},{"$f":"'Calculator Table'!BR137","v":0},{"$f":"Calculate!AV137","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A138","v":0},{"$f":"IF(F138=\"X\",\"X\",(IF(F138<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H138),0,Calculate!H138),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N138),0,Calculate!N138),IF(ISERROR(Calculate!J138),0,Calculate!J138))))))","v":0},{"$f":"IF(F138=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I138),$C$2,Calculate!I138),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O138),$C$2,Calculate!O138),IF(ISERROR(Calculate!K138),$C$2,Calculate!K138))))","v":5.5},{"$f":"AF138 & IF(OR($AH138,RIGHT($AF138,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P138","v":"S"},{"$f":"Calculate!Q138","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F138=\"X\",$F138=\"H\",$F138=\"Z-ERROR\"),$F138,IF($V138>=RULES!$F$149,\"1\",IF($W138>=RULES!$F$149,\"2\",IF($X138>=RULES!$F$149,\"3\",IF($Y138>=RULES!$F$149,\"4\",IF($Z138>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA138<>\"*\",\"~\",IF($V138>=RULES!$G$149,\"1?\",IF($W138>=RULES!$G$149,\"2?\",IF($X138>=RULES!$G$149,\"3?\",IF($Y138>=RULES!$G$149,\"4?\",IF($Z138>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB138<>\"*\",\"~\",IF((V138+W138>=RULES!$F$149),\"12\",IF((W138+X138>=RULES!$F$149),\"23\",IF((X138+Y138>=RULES!$F$149),\"34\",IF((Y138+Z138>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC138<>\"*\",\"~\",IF(Y138+Z138<(1-RULES!$F$149),\"13\",IF(V138+Z138<(1-RULES!$F$149),\"24\",IF(V138+W138<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F138=\"X\",$F138=\"H\",$F138=\"Z-ERROR\",AND($AA138=\"H\",$AH138)),$AE138,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P138,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L138,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M138,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N138,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E138&\"1\",IF(NOT($AH138),$E138&\"U\",$AE138)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN138","v":""},{"$f":"'Calculator Table'!BR138","v":0},{"$f":"Calculate!AV138","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A139","v":0},{"$f":"IF(F139=\"X\",\"X\",(IF(F139<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H139),0,Calculate!H139),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N139),0,Calculate!N139),IF(ISERROR(Calculate!J139),0,Calculate!J139))))))","v":0},{"$f":"IF(F139=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I139),$C$2,Calculate!I139),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O139),$C$2,Calculate!O139),IF(ISERROR(Calculate!K139),$C$2,Calculate!K139))))","v":5.5},{"$f":"AF139 & IF(OR($AH139,RIGHT($AF139,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P139","v":"S"},{"$f":"Calculate!Q139","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F139=\"X\",$F139=\"H\",$F139=\"Z-ERROR\"),$F139,IF($V139>=RULES!$F$149,\"1\",IF($W139>=RULES!$F$149,\"2\",IF($X139>=RULES!$F$149,\"3\",IF($Y139>=RULES!$F$149,\"4\",IF($Z139>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA139<>\"*\",\"~\",IF($V139>=RULES!$G$149,\"1?\",IF($W139>=RULES!$G$149,\"2?\",IF($X139>=RULES!$G$149,\"3?\",IF($Y139>=RULES!$G$149,\"4?\",IF($Z139>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB139<>\"*\",\"~\",IF((V139+W139>=RULES!$F$149),\"12\",IF((W139+X139>=RULES!$F$149),\"23\",IF((X139+Y139>=RULES!$F$149),\"34\",IF((Y139+Z139>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC139<>\"*\",\"~\",IF(Y139+Z139<(1-RULES!$F$149),\"13\",IF(V139+Z139<(1-RULES!$F$149),\"24\",IF(V139+W139<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F139=\"X\",$F139=\"H\",$F139=\"Z-ERROR\",AND($AA139=\"H\",$AH139)),$AE139,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P139,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L139,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M139,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N139,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E139&\"1\",IF(NOT($AH139),$E139&\"U\",$AE139)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN139","v":""},{"$f":"'Calculator Table'!BR139","v":0},{"$f":"Calculate!AV139","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A140","v":0},{"$f":"IF(F140=\"X\",\"X\",(IF(F140<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H140),0,Calculate!H140),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N140),0,Calculate!N140),IF(ISERROR(Calculate!J140),0,Calculate!J140))))))","v":0},{"$f":"IF(F140=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I140),$C$2,Calculate!I140),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O140),$C$2,Calculate!O140),IF(ISERROR(Calculate!K140),$C$2,Calculate!K140))))","v":5.5},{"$f":"AF140 & IF(OR($AH140,RIGHT($AF140,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P140","v":"S"},{"$f":"Calculate!Q140","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F140=\"X\",$F140=\"H\",$F140=\"Z-ERROR\"),$F140,IF($V140>=RULES!$F$149,\"1\",IF($W140>=RULES!$F$149,\"2\",IF($X140>=RULES!$F$149,\"3\",IF($Y140>=RULES!$F$149,\"4\",IF($Z140>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA140<>\"*\",\"~\",IF($V140>=RULES!$G$149,\"1?\",IF($W140>=RULES!$G$149,\"2?\",IF($X140>=RULES!$G$149,\"3?\",IF($Y140>=RULES!$G$149,\"4?\",IF($Z140>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB140<>\"*\",\"~\",IF((V140+W140>=RULES!$F$149),\"12\",IF((W140+X140>=RULES!$F$149),\"23\",IF((X140+Y140>=RULES!$F$149),\"34\",IF((Y140+Z140>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC140<>\"*\",\"~\",IF(Y140+Z140<(1-RULES!$F$149),\"13\",IF(V140+Z140<(1-RULES!$F$149),\"24\",IF(V140+W140<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F140=\"X\",$F140=\"H\",$F140=\"Z-ERROR\",AND($AA140=\"H\",$AH140)),$AE140,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P140,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L140,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M140,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N140,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E140&\"1\",IF(NOT($AH140),$E140&\"U\",$AE140)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN140","v":""},{"$f":"'Calculator Table'!BR140","v":0},{"$f":"Calculate!AV140","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A141","v":0},{"$f":"IF(F141=\"X\",\"X\",(IF(F141<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H141),0,Calculate!H141),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N141),0,Calculate!N141),IF(ISERROR(Calculate!J141),0,Calculate!J141))))))","v":0},{"$f":"IF(F141=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I141),$C$2,Calculate!I141),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O141),$C$2,Calculate!O141),IF(ISERROR(Calculate!K141),$C$2,Calculate!K141))))","v":5.5},{"$f":"AF141 & IF(OR($AH141,RIGHT($AF141,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P141","v":"S"},{"$f":"Calculate!Q141","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F141=\"X\",$F141=\"H\",$F141=\"Z-ERROR\"),$F141,IF($V141>=RULES!$F$149,\"1\",IF($W141>=RULES!$F$149,\"2\",IF($X141>=RULES!$F$149,\"3\",IF($Y141>=RULES!$F$149,\"4\",IF($Z141>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA141<>\"*\",\"~\",IF($V141>=RULES!$G$149,\"1?\",IF($W141>=RULES!$G$149,\"2?\",IF($X141>=RULES!$G$149,\"3?\",IF($Y141>=RULES!$G$149,\"4?\",IF($Z141>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB141<>\"*\",\"~\",IF((V141+W141>=RULES!$F$149),\"12\",IF((W141+X141>=RULES!$F$149),\"23\",IF((X141+Y141>=RULES!$F$149),\"34\",IF((Y141+Z141>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC141<>\"*\",\"~\",IF(Y141+Z141<(1-RULES!$F$149),\"13\",IF(V141+Z141<(1-RULES!$F$149),\"24\",IF(V141+W141<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F141=\"X\",$F141=\"H\",$F141=\"Z-ERROR\",AND($AA141=\"H\",$AH141)),$AE141,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P141,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L141,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M141,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N141,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E141&\"1\",IF(NOT($AH141),$E141&\"U\",$AE141)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN141","v":""},{"$f":"'Calculator Table'!BR141","v":0},{"$f":"Calculate!AV141","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A142","v":0},{"$f":"IF(F142=\"X\",\"X\",(IF(F142<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H142),0,Calculate!H142),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N142),0,Calculate!N142),IF(ISERROR(Calculate!J142),0,Calculate!J142))))))","v":0},{"$f":"IF(F142=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I142),$C$2,Calculate!I142),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O142),$C$2,Calculate!O142),IF(ISERROR(Calculate!K142),$C$2,Calculate!K142))))","v":5.5},{"$f":"AF142 & IF(OR($AH142,RIGHT($AF142,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P142","v":"S"},{"$f":"Calculate!Q142","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F142=\"X\",$F142=\"H\",$F142=\"Z-ERROR\"),$F142,IF($V142>=RULES!$F$149,\"1\",IF($W142>=RULES!$F$149,\"2\",IF($X142>=RULES!$F$149,\"3\",IF($Y142>=RULES!$F$149,\"4\",IF($Z142>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA142<>\"*\",\"~\",IF($V142>=RULES!$G$149,\"1?\",IF($W142>=RULES!$G$149,\"2?\",IF($X142>=RULES!$G$149,\"3?\",IF($Y142>=RULES!$G$149,\"4?\",IF($Z142>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB142<>\"*\",\"~\",IF((V142+W142>=RULES!$F$149),\"12\",IF((W142+X142>=RULES!$F$149),\"23\",IF((X142+Y142>=RULES!$F$149),\"34\",IF((Y142+Z142>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC142<>\"*\",\"~\",IF(Y142+Z142<(1-RULES!$F$149),\"13\",IF(V142+Z142<(1-RULES!$F$149),\"24\",IF(V142+W142<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F142=\"X\",$F142=\"H\",$F142=\"Z-ERROR\",AND($AA142=\"H\",$AH142)),$AE142,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P142,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L142,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M142,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N142,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E142&\"1\",IF(NOT($AH142),$E142&\"U\",$AE142)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN142","v":""},{"$f":"'Calculator Table'!BR142","v":0},{"$f":"Calculate!AV142","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A143","v":0},{"$f":"IF(F143=\"X\",\"X\",(IF(F143<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H143),0,Calculate!H143),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N143),0,Calculate!N143),IF(ISERROR(Calculate!J143),0,Calculate!J143))))))","v":0},{"$f":"IF(F143=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I143),$C$2,Calculate!I143),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O143),$C$2,Calculate!O143),IF(ISERROR(Calculate!K143),$C$2,Calculate!K143))))","v":5.5},{"$f":"AF143 & IF(OR($AH143,RIGHT($AF143,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P143","v":"S"},{"$f":"Calculate!Q143","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F143=\"X\",$F143=\"H\",$F143=\"Z-ERROR\"),$F143,IF($V143>=RULES!$F$149,\"1\",IF($W143>=RULES!$F$149,\"2\",IF($X143>=RULES!$F$149,\"3\",IF($Y143>=RULES!$F$149,\"4\",IF($Z143>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA143<>\"*\",\"~\",IF($V143>=RULES!$G$149,\"1?\",IF($W143>=RULES!$G$149,\"2?\",IF($X143>=RULES!$G$149,\"3?\",IF($Y143>=RULES!$G$149,\"4?\",IF($Z143>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB143<>\"*\",\"~\",IF((V143+W143>=RULES!$F$149),\"12\",IF((W143+X143>=RULES!$F$149),\"23\",IF((X143+Y143>=RULES!$F$149),\"34\",IF((Y143+Z143>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC143<>\"*\",\"~\",IF(Y143+Z143<(1-RULES!$F$149),\"13\",IF(V143+Z143<(1-RULES!$F$149),\"24\",IF(V143+W143<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F143=\"X\",$F143=\"H\",$F143=\"Z-ERROR\",AND($AA143=\"H\",$AH143)),$AE143,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P143,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L143,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M143,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N143,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E143&\"1\",IF(NOT($AH143),$E143&\"U\",$AE143)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN143","v":""},{"$f":"'Calculator Table'!BR143","v":0},{"$f":"Calculate!AV143","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A144","v":0},{"$f":"IF(F144=\"X\",\"X\",(IF(F144<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H144),0,Calculate!H144),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N144),0,Calculate!N144),IF(ISERROR(Calculate!J144),0,Calculate!J144))))))","v":0},{"$f":"IF(F144=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I144),$C$2,Calculate!I144),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O144),$C$2,Calculate!O144),IF(ISERROR(Calculate!K144),$C$2,Calculate!K144))))","v":5.5},{"$f":"AF144 & IF(OR($AH144,RIGHT($AF144,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P144","v":"S"},{"$f":"Calculate!Q144","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F144=\"X\",$F144=\"H\",$F144=\"Z-ERROR\"),$F144,IF($V144>=RULES!$F$149,\"1\",IF($W144>=RULES!$F$149,\"2\",IF($X144>=RULES!$F$149,\"3\",IF($Y144>=RULES!$F$149,\"4\",IF($Z144>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA144<>\"*\",\"~\",IF($V144>=RULES!$G$149,\"1?\",IF($W144>=RULES!$G$149,\"2?\",IF($X144>=RULES!$G$149,\"3?\",IF($Y144>=RULES!$G$149,\"4?\",IF($Z144>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB144<>\"*\",\"~\",IF((V144+W144>=RULES!$F$149),\"12\",IF((W144+X144>=RULES!$F$149),\"23\",IF((X144+Y144>=RULES!$F$149),\"34\",IF((Y144+Z144>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC144<>\"*\",\"~\",IF(Y144+Z144<(1-RULES!$F$149),\"13\",IF(V144+Z144<(1-RULES!$F$149),\"24\",IF(V144+W144<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F144=\"X\",$F144=\"H\",$F144=\"Z-ERROR\",AND($AA144=\"H\",$AH144)),$AE144,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P144,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L144,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M144,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N144,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E144&\"1\",IF(NOT($AH144),$E144&\"U\",$AE144)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN144","v":""},{"$f":"'Calculator Table'!BR144","v":0},{"$f":"Calculate!AV144","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A145","v":0},{"$f":"IF(F145=\"X\",\"X\",(IF(F145<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H145),0,Calculate!H145),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N145),0,Calculate!N145),IF(ISERROR(Calculate!J145),0,Calculate!J145))))))","v":0},{"$f":"IF(F145=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I145),$C$2,Calculate!I145),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O145),$C$2,Calculate!O145),IF(ISERROR(Calculate!K145),$C$2,Calculate!K145))))","v":5.5},{"$f":"AF145 & IF(OR($AH145,RIGHT($AF145,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P145","v":"S"},{"$f":"Calculate!Q145","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F145=\"X\",$F145=\"H\",$F145=\"Z-ERROR\"),$F145,IF($V145>=RULES!$F$149,\"1\",IF($W145>=RULES!$F$149,\"2\",IF($X145>=RULES!$F$149,\"3\",IF($Y145>=RULES!$F$149,\"4\",IF($Z145>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA145<>\"*\",\"~\",IF($V145>=RULES!$G$149,\"1?\",IF($W145>=RULES!$G$149,\"2?\",IF($X145>=RULES!$G$149,\"3?\",IF($Y145>=RULES!$G$149,\"4?\",IF($Z145>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB145<>\"*\",\"~\",IF((V145+W145>=RULES!$F$149),\"12\",IF((W145+X145>=RULES!$F$149),\"23\",IF((X145+Y145>=RULES!$F$149),\"34\",IF((Y145+Z145>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC145<>\"*\",\"~\",IF(Y145+Z145<(1-RULES!$F$149),\"13\",IF(V145+Z145<(1-RULES!$F$149),\"24\",IF(V145+W145<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F145=\"X\",$F145=\"H\",$F145=\"Z-ERROR\",AND($AA145=\"H\",$AH145)),$AE145,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P145,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L145,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M145,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N145,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E145&\"1\",IF(NOT($AH145),$E145&\"U\",$AE145)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN145","v":""},{"$f":"'Calculator Table'!BR145","v":0},{"$f":"Calculate!AV145","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A146","v":0},{"$f":"IF(F146=\"X\",\"X\",(IF(F146<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H146),0,Calculate!H146),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N146),0,Calculate!N146),IF(ISERROR(Calculate!J146),0,Calculate!J146))))))","v":0},{"$f":"IF(F146=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I146),$C$2,Calculate!I146),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O146),$C$2,Calculate!O146),IF(ISERROR(Calculate!K146),$C$2,Calculate!K146))))","v":5.5},{"$f":"AF146 & IF(OR($AH146,RIGHT($AF146,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P146","v":"S"},{"$f":"Calculate!Q146","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F146=\"X\",$F146=\"H\",$F146=\"Z-ERROR\"),$F146,IF($V146>=RULES!$F$149,\"1\",IF($W146>=RULES!$F$149,\"2\",IF($X146>=RULES!$F$149,\"3\",IF($Y146>=RULES!$F$149,\"4\",IF($Z146>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA146<>\"*\",\"~\",IF($V146>=RULES!$G$149,\"1?\",IF($W146>=RULES!$G$149,\"2?\",IF($X146>=RULES!$G$149,\"3?\",IF($Y146>=RULES!$G$149,\"4?\",IF($Z146>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB146<>\"*\",\"~\",IF((V146+W146>=RULES!$F$149),\"12\",IF((W146+X146>=RULES!$F$149),\"23\",IF((X146+Y146>=RULES!$F$149),\"34\",IF((Y146+Z146>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC146<>\"*\",\"~\",IF(Y146+Z146<(1-RULES!$F$149),\"13\",IF(V146+Z146<(1-RULES!$F$149),\"24\",IF(V146+W146<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F146=\"X\",$F146=\"H\",$F146=\"Z-ERROR\",AND($AA146=\"H\",$AH146)),$AE146,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P146,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L146,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M146,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N146,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E146&\"1\",IF(NOT($AH146),$E146&\"U\",$AE146)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN146","v":""},{"$f":"'Calculator Table'!BR146","v":0},{"$f":"Calculate!AV146","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A147","v":0},{"$f":"IF(F147=\"X\",\"X\",(IF(F147<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H147),0,Calculate!H147),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N147),0,Calculate!N147),IF(ISERROR(Calculate!J147),0,Calculate!J147))))))","v":0},{"$f":"IF(F147=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I147),$C$2,Calculate!I147),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O147),$C$2,Calculate!O147),IF(ISERROR(Calculate!K147),$C$2,Calculate!K147))))","v":5.5},{"$f":"AF147 & IF(OR($AH147,RIGHT($AF147,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P147","v":"S"},{"$f":"Calculate!Q147","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F147=\"X\",$F147=\"H\",$F147=\"Z-ERROR\"),$F147,IF($V147>=RULES!$F$149,\"1\",IF($W147>=RULES!$F$149,\"2\",IF($X147>=RULES!$F$149,\"3\",IF($Y147>=RULES!$F$149,\"4\",IF($Z147>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA147<>\"*\",\"~\",IF($V147>=RULES!$G$149,\"1?\",IF($W147>=RULES!$G$149,\"2?\",IF($X147>=RULES!$G$149,\"3?\",IF($Y147>=RULES!$G$149,\"4?\",IF($Z147>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB147<>\"*\",\"~\",IF((V147+W147>=RULES!$F$149),\"12\",IF((W147+X147>=RULES!$F$149),\"23\",IF((X147+Y147>=RULES!$F$149),\"34\",IF((Y147+Z147>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC147<>\"*\",\"~\",IF(Y147+Z147<(1-RULES!$F$149),\"13\",IF(V147+Z147<(1-RULES!$F$149),\"24\",IF(V147+W147<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F147=\"X\",$F147=\"H\",$F147=\"Z-ERROR\",AND($AA147=\"H\",$AH147)),$AE147,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P147,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L147,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M147,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N147,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E147&\"1\",IF(NOT($AH147),$E147&\"U\",$AE147)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN147","v":""},{"$f":"'Calculator Table'!BR147","v":0},{"$f":"Calculate!AV147","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A148","v":0},{"$f":"IF(F148=\"X\",\"X\",(IF(F148<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H148),0,Calculate!H148),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N148),0,Calculate!N148),IF(ISERROR(Calculate!J148),0,Calculate!J148))))))","v":0},{"$f":"IF(F148=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I148),$C$2,Calculate!I148),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O148),$C$2,Calculate!O148),IF(ISERROR(Calculate!K148),$C$2,Calculate!K148))))","v":5.5},{"$f":"AF148 & IF(OR($AH148,RIGHT($AF148,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P148","v":"S"},{"$f":"Calculate!Q148","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F148=\"X\",$F148=\"H\",$F148=\"Z-ERROR\"),$F148,IF($V148>=RULES!$F$149,\"1\",IF($W148>=RULES!$F$149,\"2\",IF($X148>=RULES!$F$149,\"3\",IF($Y148>=RULES!$F$149,\"4\",IF($Z148>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA148<>\"*\",\"~\",IF($V148>=RULES!$G$149,\"1?\",IF($W148>=RULES!$G$149,\"2?\",IF($X148>=RULES!$G$149,\"3?\",IF($Y148>=RULES!$G$149,\"4?\",IF($Z148>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB148<>\"*\",\"~\",IF((V148+W148>=RULES!$F$149),\"12\",IF((W148+X148>=RULES!$F$149),\"23\",IF((X148+Y148>=RULES!$F$149),\"34\",IF((Y148+Z148>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC148<>\"*\",\"~\",IF(Y148+Z148<(1-RULES!$F$149),\"13\",IF(V148+Z148<(1-RULES!$F$149),\"24\",IF(V148+W148<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F148=\"X\",$F148=\"H\",$F148=\"Z-ERROR\",AND($AA148=\"H\",$AH148)),$AE148,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P148,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L148,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M148,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N148,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E148&\"1\",IF(NOT($AH148),$E148&\"U\",$AE148)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN148","v":""},{"$f":"'Calculator Table'!BR148","v":0},{"$f":"Calculate!AV148","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A149","v":0},{"$f":"IF(F149=\"X\",\"X\",(IF(F149<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H149),0,Calculate!H149),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N149),0,Calculate!N149),IF(ISERROR(Calculate!J149),0,Calculate!J149))))))","v":0},{"$f":"IF(F149=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I149),$C$2,Calculate!I149),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O149),$C$2,Calculate!O149),IF(ISERROR(Calculate!K149),$C$2,Calculate!K149))))","v":5.5},{"$f":"AF149 & IF(OR($AH149,RIGHT($AF149,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P149","v":"S"},{"$f":"Calculate!Q149","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F149=\"X\",$F149=\"H\",$F149=\"Z-ERROR\"),$F149,IF($V149>=RULES!$F$149,\"1\",IF($W149>=RULES!$F$149,\"2\",IF($X149>=RULES!$F$149,\"3\",IF($Y149>=RULES!$F$149,\"4\",IF($Z149>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA149<>\"*\",\"~\",IF($V149>=RULES!$G$149,\"1?\",IF($W149>=RULES!$G$149,\"2?\",IF($X149>=RULES!$G$149,\"3?\",IF($Y149>=RULES!$G$149,\"4?\",IF($Z149>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB149<>\"*\",\"~\",IF((V149+W149>=RULES!$F$149),\"12\",IF((W149+X149>=RULES!$F$149),\"23\",IF((X149+Y149>=RULES!$F$149),\"34\",IF((Y149+Z149>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC149<>\"*\",\"~\",IF(Y149+Z149<(1-RULES!$F$149),\"13\",IF(V149+Z149<(1-RULES!$F$149),\"24\",IF(V149+W149<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F149=\"X\",$F149=\"H\",$F149=\"Z-ERROR\",AND($AA149=\"H\",$AH149)),$AE149,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P149,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L149,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M149,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N149,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E149&\"1\",IF(NOT($AH149),$E149&\"U\",$AE149)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN149","v":""},{"$f":"'Calculator Table'!BR149","v":0},{"$f":"Calculate!AV149","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A150","v":0},{"$f":"IF(F150=\"X\",\"X\",(IF(F150<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H150),0,Calculate!H150),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N150),0,Calculate!N150),IF(ISERROR(Calculate!J150),0,Calculate!J150))))))","v":0},{"$f":"IF(F150=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I150),$C$2,Calculate!I150),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O150),$C$2,Calculate!O150),IF(ISERROR(Calculate!K150),$C$2,Calculate!K150))))","v":5.5},{"$f":"AF150 & IF(OR($AH150,RIGHT($AF150,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P150","v":"S"},{"$f":"Calculate!Q150","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F150=\"X\",$F150=\"H\",$F150=\"Z-ERROR\"),$F150,IF($V150>=RULES!$F$149,\"1\",IF($W150>=RULES!$F$149,\"2\",IF($X150>=RULES!$F$149,\"3\",IF($Y150>=RULES!$F$149,\"4\",IF($Z150>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA150<>\"*\",\"~\",IF($V150>=RULES!$G$149,\"1?\",IF($W150>=RULES!$G$149,\"2?\",IF($X150>=RULES!$G$149,\"3?\",IF($Y150>=RULES!$G$149,\"4?\",IF($Z150>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB150<>\"*\",\"~\",IF((V150+W150>=RULES!$F$149),\"12\",IF((W150+X150>=RULES!$F$149),\"23\",IF((X150+Y150>=RULES!$F$149),\"34\",IF((Y150+Z150>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC150<>\"*\",\"~\",IF(Y150+Z150<(1-RULES!$F$149),\"13\",IF(V150+Z150<(1-RULES!$F$149),\"24\",IF(V150+W150<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F150=\"X\",$F150=\"H\",$F150=\"Z-ERROR\",AND($AA150=\"H\",$AH150)),$AE150,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P150,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L150,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M150,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N150,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E150&\"1\",IF(NOT($AH150),$E150&\"U\",$AE150)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN150","v":""},{"$f":"'Calculator Table'!BR150","v":0},{"$f":"Calculate!AV150","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A151","v":0},{"$f":"IF(F151=\"X\",\"X\",(IF(F151<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H151),0,Calculate!H151),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N151),0,Calculate!N151),IF(ISERROR(Calculate!J151),0,Calculate!J151))))))","v":0},{"$f":"IF(F151=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I151),$C$2,Calculate!I151),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O151),$C$2,Calculate!O151),IF(ISERROR(Calculate!K151),$C$2,Calculate!K151))))","v":5.5},{"$f":"AF151 & IF(OR($AH151,RIGHT($AF151,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P151","v":"S"},{"$f":"Calculate!Q151","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F151=\"X\",$F151=\"H\",$F151=\"Z-ERROR\"),$F151,IF($V151>=RULES!$F$149,\"1\",IF($W151>=RULES!$F$149,\"2\",IF($X151>=RULES!$F$149,\"3\",IF($Y151>=RULES!$F$149,\"4\",IF($Z151>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA151<>\"*\",\"~\",IF($V151>=RULES!$G$149,\"1?\",IF($W151>=RULES!$G$149,\"2?\",IF($X151>=RULES!$G$149,\"3?\",IF($Y151>=RULES!$G$149,\"4?\",IF($Z151>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB151<>\"*\",\"~\",IF((V151+W151>=RULES!$F$149),\"12\",IF((W151+X151>=RULES!$F$149),\"23\",IF((X151+Y151>=RULES!$F$149),\"34\",IF((Y151+Z151>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC151<>\"*\",\"~\",IF(Y151+Z151<(1-RULES!$F$149),\"13\",IF(V151+Z151<(1-RULES!$F$149),\"24\",IF(V151+W151<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F151=\"X\",$F151=\"H\",$F151=\"Z-ERROR\",AND($AA151=\"H\",$AH151)),$AE151,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P151,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L151,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M151,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N151,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E151&\"1\",IF(NOT($AH151),$E151&\"U\",$AE151)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN151","v":""},{"$f":"'Calculator Table'!BR151","v":0},{"$f":"Calculate!AV151","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A152","v":0},{"$f":"IF(F152=\"X\",\"X\",(IF(F152<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H152),0,Calculate!H152),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N152),0,Calculate!N152),IF(ISERROR(Calculate!J152),0,Calculate!J152))))))","v":0},{"$f":"IF(F152=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I152),$C$2,Calculate!I152),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O152),$C$2,Calculate!O152),IF(ISERROR(Calculate!K152),$C$2,Calculate!K152))))","v":5.5},{"$f":"AF152 & IF(OR($AH152,RIGHT($AF152,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P152","v":"S"},{"$f":"Calculate!Q152","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F152=\"X\",$F152=\"H\",$F152=\"Z-ERROR\"),$F152,IF($V152>=RULES!$F$149,\"1\",IF($W152>=RULES!$F$149,\"2\",IF($X152>=RULES!$F$149,\"3\",IF($Y152>=RULES!$F$149,\"4\",IF($Z152>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA152<>\"*\",\"~\",IF($V152>=RULES!$G$149,\"1?\",IF($W152>=RULES!$G$149,\"2?\",IF($X152>=RULES!$G$149,\"3?\",IF($Y152>=RULES!$G$149,\"4?\",IF($Z152>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB152<>\"*\",\"~\",IF((V152+W152>=RULES!$F$149),\"12\",IF((W152+X152>=RULES!$F$149),\"23\",IF((X152+Y152>=RULES!$F$149),\"34\",IF((Y152+Z152>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC152<>\"*\",\"~\",IF(Y152+Z152<(1-RULES!$F$149),\"13\",IF(V152+Z152<(1-RULES!$F$149),\"24\",IF(V152+W152<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F152=\"X\",$F152=\"H\",$F152=\"Z-ERROR\",AND($AA152=\"H\",$AH152)),$AE152,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P152,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L152,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M152,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N152,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E152&\"1\",IF(NOT($AH152),$E152&\"U\",$AE152)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN152","v":""},{"$f":"'Calculator Table'!BR152","v":0},{"$f":"Calculate!AV152","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A153","v":0},{"$f":"IF(F153=\"X\",\"X\",(IF(F153<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H153),0,Calculate!H153),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N153),0,Calculate!N153),IF(ISERROR(Calculate!J153),0,Calculate!J153))))))","v":0},{"$f":"IF(F153=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I153),$C$2,Calculate!I153),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O153),$C$2,Calculate!O153),IF(ISERROR(Calculate!K153),$C$2,Calculate!K153))))","v":5.5},{"$f":"AF153 & IF(OR($AH153,RIGHT($AF153,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P153","v":"S"},{"$f":"Calculate!Q153","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F153=\"X\",$F153=\"H\",$F153=\"Z-ERROR\"),$F153,IF($V153>=RULES!$F$149,\"1\",IF($W153>=RULES!$F$149,\"2\",IF($X153>=RULES!$F$149,\"3\",IF($Y153>=RULES!$F$149,\"4\",IF($Z153>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA153<>\"*\",\"~\",IF($V153>=RULES!$G$149,\"1?\",IF($W153>=RULES!$G$149,\"2?\",IF($X153>=RULES!$G$149,\"3?\",IF($Y153>=RULES!$G$149,\"4?\",IF($Z153>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB153<>\"*\",\"~\",IF((V153+W153>=RULES!$F$149),\"12\",IF((W153+X153>=RULES!$F$149),\"23\",IF((X153+Y153>=RULES!$F$149),\"34\",IF((Y153+Z153>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC153<>\"*\",\"~\",IF(Y153+Z153<(1-RULES!$F$149),\"13\",IF(V153+Z153<(1-RULES!$F$149),\"24\",IF(V153+W153<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F153=\"X\",$F153=\"H\",$F153=\"Z-ERROR\",AND($AA153=\"H\",$AH153)),$AE153,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P153,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L153,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M153,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N153,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E153&\"1\",IF(NOT($AH153),$E153&\"U\",$AE153)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN153","v":""},{"$f":"'Calculator Table'!BR153","v":0},{"$f":"Calculate!AV153","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A154","v":0},{"$f":"IF(F154=\"X\",\"X\",(IF(F154<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H154),0,Calculate!H154),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N154),0,Calculate!N154),IF(ISERROR(Calculate!J154),0,Calculate!J154))))))","v":0},{"$f":"IF(F154=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I154),$C$2,Calculate!I154),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O154),$C$2,Calculate!O154),IF(ISERROR(Calculate!K154),$C$2,Calculate!K154))))","v":5.5},{"$f":"AF154 & IF(OR($AH154,RIGHT($AF154,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P154","v":"S"},{"$f":"Calculate!Q154","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F154=\"X\",$F154=\"H\",$F154=\"Z-ERROR\"),$F154,IF($V154>=RULES!$F$149,\"1\",IF($W154>=RULES!$F$149,\"2\",IF($X154>=RULES!$F$149,\"3\",IF($Y154>=RULES!$F$149,\"4\",IF($Z154>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA154<>\"*\",\"~\",IF($V154>=RULES!$G$149,\"1?\",IF($W154>=RULES!$G$149,\"2?\",IF($X154>=RULES!$G$149,\"3?\",IF($Y154>=RULES!$G$149,\"4?\",IF($Z154>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB154<>\"*\",\"~\",IF((V154+W154>=RULES!$F$149),\"12\",IF((W154+X154>=RULES!$F$149),\"23\",IF((X154+Y154>=RULES!$F$149),\"34\",IF((Y154+Z154>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC154<>\"*\",\"~\",IF(Y154+Z154<(1-RULES!$F$149),\"13\",IF(V154+Z154<(1-RULES!$F$149),\"24\",IF(V154+W154<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F154=\"X\",$F154=\"H\",$F154=\"Z-ERROR\",AND($AA154=\"H\",$AH154)),$AE154,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P154,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L154,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M154,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N154,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E154&\"1\",IF(NOT($AH154),$E154&\"U\",$AE154)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN154","v":""},{"$f":"'Calculator Table'!BR154","v":0},{"$f":"Calculate!AV154","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A155","v":0},{"$f":"IF(F155=\"X\",\"X\",(IF(F155<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H155),0,Calculate!H155),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N155),0,Calculate!N155),IF(ISERROR(Calculate!J155),0,Calculate!J155))))))","v":0},{"$f":"IF(F155=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I155),$C$2,Calculate!I155),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O155),$C$2,Calculate!O155),IF(ISERROR(Calculate!K155),$C$2,Calculate!K155))))","v":5.5},{"$f":"AF155 & IF(OR($AH155,RIGHT($AF155,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P155","v":"S"},{"$f":"Calculate!Q155","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F155=\"X\",$F155=\"H\",$F155=\"Z-ERROR\"),$F155,IF($V155>=RULES!$F$149,\"1\",IF($W155>=RULES!$F$149,\"2\",IF($X155>=RULES!$F$149,\"3\",IF($Y155>=RULES!$F$149,\"4\",IF($Z155>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA155<>\"*\",\"~\",IF($V155>=RULES!$G$149,\"1?\",IF($W155>=RULES!$G$149,\"2?\",IF($X155>=RULES!$G$149,\"3?\",IF($Y155>=RULES!$G$149,\"4?\",IF($Z155>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB155<>\"*\",\"~\",IF((V155+W155>=RULES!$F$149),\"12\",IF((W155+X155>=RULES!$F$149),\"23\",IF((X155+Y155>=RULES!$F$149),\"34\",IF((Y155+Z155>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC155<>\"*\",\"~\",IF(Y155+Z155<(1-RULES!$F$149),\"13\",IF(V155+Z155<(1-RULES!$F$149),\"24\",IF(V155+W155<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F155=\"X\",$F155=\"H\",$F155=\"Z-ERROR\",AND($AA155=\"H\",$AH155)),$AE155,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P155,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L155,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M155,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N155,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E155&\"1\",IF(NOT($AH155),$E155&\"U\",$AE155)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN155","v":""},{"$f":"'Calculator Table'!BR155","v":0},{"$f":"Calculate!AV155","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A156","v":0},{"$f":"IF(F156=\"X\",\"X\",(IF(F156<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H156),0,Calculate!H156),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N156),0,Calculate!N156),IF(ISERROR(Calculate!J156),0,Calculate!J156))))))","v":0},{"$f":"IF(F156=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I156),$C$2,Calculate!I156),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O156),$C$2,Calculate!O156),IF(ISERROR(Calculate!K156),$C$2,Calculate!K156))))","v":5.5},{"$f":"AF156 & IF(OR($AH156,RIGHT($AF156,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P156","v":"S"},{"$f":"Calculate!Q156","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F156=\"X\",$F156=\"H\",$F156=\"Z-ERROR\"),$F156,IF($V156>=RULES!$F$149,\"1\",IF($W156>=RULES!$F$149,\"2\",IF($X156>=RULES!$F$149,\"3\",IF($Y156>=RULES!$F$149,\"4\",IF($Z156>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA156<>\"*\",\"~\",IF($V156>=RULES!$G$149,\"1?\",IF($W156>=RULES!$G$149,\"2?\",IF($X156>=RULES!$G$149,\"3?\",IF($Y156>=RULES!$G$149,\"4?\",IF($Z156>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB156<>\"*\",\"~\",IF((V156+W156>=RULES!$F$149),\"12\",IF((W156+X156>=RULES!$F$149),\"23\",IF((X156+Y156>=RULES!$F$149),\"34\",IF((Y156+Z156>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC156<>\"*\",\"~\",IF(Y156+Z156<(1-RULES!$F$149),\"13\",IF(V156+Z156<(1-RULES!$F$149),\"24\",IF(V156+W156<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F156=\"X\",$F156=\"H\",$F156=\"Z-ERROR\",AND($AA156=\"H\",$AH156)),$AE156,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P156,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L156,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M156,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N156,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E156&\"1\",IF(NOT($AH156),$E156&\"U\",$AE156)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN156","v":""},{"$f":"'Calculator Table'!BR156","v":0},{"$f":"Calculate!AV156","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A157","v":0},{"$f":"IF(F157=\"X\",\"X\",(IF(F157<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H157),0,Calculate!H157),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N157),0,Calculate!N157),IF(ISERROR(Calculate!J157),0,Calculate!J157))))))","v":0},{"$f":"IF(F157=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I157),$C$2,Calculate!I157),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O157),$C$2,Calculate!O157),IF(ISERROR(Calculate!K157),$C$2,Calculate!K157))))","v":5.5},{"$f":"AF157 & IF(OR($AH157,RIGHT($AF157,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P157","v":"S"},{"$f":"Calculate!Q157","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F157=\"X\",$F157=\"H\",$F157=\"Z-ERROR\"),$F157,IF($V157>=RULES!$F$149,\"1\",IF($W157>=RULES!$F$149,\"2\",IF($X157>=RULES!$F$149,\"3\",IF($Y157>=RULES!$F$149,\"4\",IF($Z157>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA157<>\"*\",\"~\",IF($V157>=RULES!$G$149,\"1?\",IF($W157>=RULES!$G$149,\"2?\",IF($X157>=RULES!$G$149,\"3?\",IF($Y157>=RULES!$G$149,\"4?\",IF($Z157>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB157<>\"*\",\"~\",IF((V157+W157>=RULES!$F$149),\"12\",IF((W157+X157>=RULES!$F$149),\"23\",IF((X157+Y157>=RULES!$F$149),\"34\",IF((Y157+Z157>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC157<>\"*\",\"~\",IF(Y157+Z157<(1-RULES!$F$149),\"13\",IF(V157+Z157<(1-RULES!$F$149),\"24\",IF(V157+W157<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F157=\"X\",$F157=\"H\",$F157=\"Z-ERROR\",AND($AA157=\"H\",$AH157)),$AE157,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P157,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L157,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M157,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N157,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E157&\"1\",IF(NOT($AH157),$E157&\"U\",$AE157)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN157","v":""},{"$f":"'Calculator Table'!BR157","v":0},{"$f":"Calculate!AV157","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A158","v":0},{"$f":"IF(F158=\"X\",\"X\",(IF(F158<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H158),0,Calculate!H158),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N158),0,Calculate!N158),IF(ISERROR(Calculate!J158),0,Calculate!J158))))))","v":0},{"$f":"IF(F158=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I158),$C$2,Calculate!I158),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O158),$C$2,Calculate!O158),IF(ISERROR(Calculate!K158),$C$2,Calculate!K158))))","v":5.5},{"$f":"AF158 & IF(OR($AH158,RIGHT($AF158,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P158","v":"S"},{"$f":"Calculate!Q158","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F158=\"X\",$F158=\"H\",$F158=\"Z-ERROR\"),$F158,IF($V158>=RULES!$F$149,\"1\",IF($W158>=RULES!$F$149,\"2\",IF($X158>=RULES!$F$149,\"3\",IF($Y158>=RULES!$F$149,\"4\",IF($Z158>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA158<>\"*\",\"~\",IF($V158>=RULES!$G$149,\"1?\",IF($W158>=RULES!$G$149,\"2?\",IF($X158>=RULES!$G$149,\"3?\",IF($Y158>=RULES!$G$149,\"4?\",IF($Z158>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB158<>\"*\",\"~\",IF((V158+W158>=RULES!$F$149),\"12\",IF((W158+X158>=RULES!$F$149),\"23\",IF((X158+Y158>=RULES!$F$149),\"34\",IF((Y158+Z158>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC158<>\"*\",\"~\",IF(Y158+Z158<(1-RULES!$F$149),\"13\",IF(V158+Z158<(1-RULES!$F$149),\"24\",IF(V158+W158<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F158=\"X\",$F158=\"H\",$F158=\"Z-ERROR\",AND($AA158=\"H\",$AH158)),$AE158,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P158,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L158,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M158,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N158,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E158&\"1\",IF(NOT($AH158),$E158&\"U\",$AE158)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN158","v":""},{"$f":"'Calculator Table'!BR158","v":0},{"$f":"Calculate!AV158","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A159","v":0},{"$f":"IF(F159=\"X\",\"X\",(IF(F159<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H159),0,Calculate!H159),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N159),0,Calculate!N159),IF(ISERROR(Calculate!J159),0,Calculate!J159))))))","v":0},{"$f":"IF(F159=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I159),$C$2,Calculate!I159),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O159),$C$2,Calculate!O159),IF(ISERROR(Calculate!K159),$C$2,Calculate!K159))))","v":5.5},{"$f":"AF159 & IF(OR($AH159,RIGHT($AF159,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P159","v":"S"},{"$f":"Calculate!Q159","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F159=\"X\",$F159=\"H\",$F159=\"Z-ERROR\"),$F159,IF($V159>=RULES!$F$149,\"1\",IF($W159>=RULES!$F$149,\"2\",IF($X159>=RULES!$F$149,\"3\",IF($Y159>=RULES!$F$149,\"4\",IF($Z159>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA159<>\"*\",\"~\",IF($V159>=RULES!$G$149,\"1?\",IF($W159>=RULES!$G$149,\"2?\",IF($X159>=RULES!$G$149,\"3?\",IF($Y159>=RULES!$G$149,\"4?\",IF($Z159>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB159<>\"*\",\"~\",IF((V159+W159>=RULES!$F$149),\"12\",IF((W159+X159>=RULES!$F$149),\"23\",IF((X159+Y159>=RULES!$F$149),\"34\",IF((Y159+Z159>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC159<>\"*\",\"~\",IF(Y159+Z159<(1-RULES!$F$149),\"13\",IF(V159+Z159<(1-RULES!$F$149),\"24\",IF(V159+W159<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F159=\"X\",$F159=\"H\",$F159=\"Z-ERROR\",AND($AA159=\"H\",$AH159)),$AE159,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P159,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L159,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M159,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N159,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E159&\"1\",IF(NOT($AH159),$E159&\"U\",$AE159)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN159","v":""},{"$f":"'Calculator Table'!BR159","v":0},{"$f":"Calculate!AV159","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A160","v":0},{"$f":"IF(F160=\"X\",\"X\",(IF(F160<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H160),0,Calculate!H160),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N160),0,Calculate!N160),IF(ISERROR(Calculate!J160),0,Calculate!J160))))))","v":0},{"$f":"IF(F160=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I160),$C$2,Calculate!I160),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O160),$C$2,Calculate!O160),IF(ISERROR(Calculate!K160),$C$2,Calculate!K160))))","v":5.5},{"$f":"AF160 & IF(OR($AH160,RIGHT($AF160,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P160","v":"S"},{"$f":"Calculate!Q160","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F160=\"X\",$F160=\"H\",$F160=\"Z-ERROR\"),$F160,IF($V160>=RULES!$F$149,\"1\",IF($W160>=RULES!$F$149,\"2\",IF($X160>=RULES!$F$149,\"3\",IF($Y160>=RULES!$F$149,\"4\",IF($Z160>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA160<>\"*\",\"~\",IF($V160>=RULES!$G$149,\"1?\",IF($W160>=RULES!$G$149,\"2?\",IF($X160>=RULES!$G$149,\"3?\",IF($Y160>=RULES!$G$149,\"4?\",IF($Z160>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB160<>\"*\",\"~\",IF((V160+W160>=RULES!$F$149),\"12\",IF((W160+X160>=RULES!$F$149),\"23\",IF((X160+Y160>=RULES!$F$149),\"34\",IF((Y160+Z160>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC160<>\"*\",\"~\",IF(Y160+Z160<(1-RULES!$F$149),\"13\",IF(V160+Z160<(1-RULES!$F$149),\"24\",IF(V160+W160<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F160=\"X\",$F160=\"H\",$F160=\"Z-ERROR\",AND($AA160=\"H\",$AH160)),$AE160,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P160,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L160,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M160,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N160,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E160&\"1\",IF(NOT($AH160),$E160&\"U\",$AE160)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN160","v":""},{"$f":"'Calculator Table'!BR160","v":0},{"$f":"Calculate!AV160","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A161","v":0},{"$f":"IF(F161=\"X\",\"X\",(IF(F161<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H161),0,Calculate!H161),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N161),0,Calculate!N161),IF(ISERROR(Calculate!J161),0,Calculate!J161))))))","v":0},{"$f":"IF(F161=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I161),$C$2,Calculate!I161),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O161),$C$2,Calculate!O161),IF(ISERROR(Calculate!K161),$C$2,Calculate!K161))))","v":5.5},{"$f":"AF161 & IF(OR($AH161,RIGHT($AF161,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P161","v":"S"},{"$f":"Calculate!Q161","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F161=\"X\",$F161=\"H\",$F161=\"Z-ERROR\"),$F161,IF($V161>=RULES!$F$149,\"1\",IF($W161>=RULES!$F$149,\"2\",IF($X161>=RULES!$F$149,\"3\",IF($Y161>=RULES!$F$149,\"4\",IF($Z161>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA161<>\"*\",\"~\",IF($V161>=RULES!$G$149,\"1?\",IF($W161>=RULES!$G$149,\"2?\",IF($X161>=RULES!$G$149,\"3?\",IF($Y161>=RULES!$G$149,\"4?\",IF($Z161>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB161<>\"*\",\"~\",IF((V161+W161>=RULES!$F$149),\"12\",IF((W161+X161>=RULES!$F$149),\"23\",IF((X161+Y161>=RULES!$F$149),\"34\",IF((Y161+Z161>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC161<>\"*\",\"~\",IF(Y161+Z161<(1-RULES!$F$149),\"13\",IF(V161+Z161<(1-RULES!$F$149),\"24\",IF(V161+W161<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F161=\"X\",$F161=\"H\",$F161=\"Z-ERROR\",AND($AA161=\"H\",$AH161)),$AE161,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P161,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L161,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M161,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N161,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E161&\"1\",IF(NOT($AH161),$E161&\"U\",$AE161)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN161","v":""},{"$f":"'Calculator Table'!BR161","v":0},{"$f":"Calculate!AV161","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A162","v":0},{"$f":"IF(F162=\"X\",\"X\",(IF(F162<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H162),0,Calculate!H162),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N162),0,Calculate!N162),IF(ISERROR(Calculate!J162),0,Calculate!J162))))))","v":0},{"$f":"IF(F162=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I162),$C$2,Calculate!I162),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O162),$C$2,Calculate!O162),IF(ISERROR(Calculate!K162),$C$2,Calculate!K162))))","v":5.5},{"$f":"AF162 & IF(OR($AH162,RIGHT($AF162,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P162","v":"S"},{"$f":"Calculate!Q162","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F162=\"X\",$F162=\"H\",$F162=\"Z-ERROR\"),$F162,IF($V162>=RULES!$F$149,\"1\",IF($W162>=RULES!$F$149,\"2\",IF($X162>=RULES!$F$149,\"3\",IF($Y162>=RULES!$F$149,\"4\",IF($Z162>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA162<>\"*\",\"~\",IF($V162>=RULES!$G$149,\"1?\",IF($W162>=RULES!$G$149,\"2?\",IF($X162>=RULES!$G$149,\"3?\",IF($Y162>=RULES!$G$149,\"4?\",IF($Z162>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB162<>\"*\",\"~\",IF((V162+W162>=RULES!$F$149),\"12\",IF((W162+X162>=RULES!$F$149),\"23\",IF((X162+Y162>=RULES!$F$149),\"34\",IF((Y162+Z162>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC162<>\"*\",\"~\",IF(Y162+Z162<(1-RULES!$F$149),\"13\",IF(V162+Z162<(1-RULES!$F$149),\"24\",IF(V162+W162<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F162=\"X\",$F162=\"H\",$F162=\"Z-ERROR\",AND($AA162=\"H\",$AH162)),$AE162,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P162,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L162,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M162,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N162,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E162&\"1\",IF(NOT($AH162),$E162&\"U\",$AE162)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN162","v":""},{"$f":"'Calculator Table'!BR162","v":0},{"$f":"Calculate!AV162","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A163","v":0},{"$f":"IF(F163=\"X\",\"X\",(IF(F163<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H163),0,Calculate!H163),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N163),0,Calculate!N163),IF(ISERROR(Calculate!J163),0,Calculate!J163))))))","v":0},{"$f":"IF(F163=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I163),$C$2,Calculate!I163),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O163),$C$2,Calculate!O163),IF(ISERROR(Calculate!K163),$C$2,Calculate!K163))))","v":5.5},{"$f":"AF163 & IF(OR($AH163,RIGHT($AF163,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P163","v":"S"},{"$f":"Calculate!Q163","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F163=\"X\",$F163=\"H\",$F163=\"Z-ERROR\"),$F163,IF($V163>=RULES!$F$149,\"1\",IF($W163>=RULES!$F$149,\"2\",IF($X163>=RULES!$F$149,\"3\",IF($Y163>=RULES!$F$149,\"4\",IF($Z163>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA163<>\"*\",\"~\",IF($V163>=RULES!$G$149,\"1?\",IF($W163>=RULES!$G$149,\"2?\",IF($X163>=RULES!$G$149,\"3?\",IF($Y163>=RULES!$G$149,\"4?\",IF($Z163>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB163<>\"*\",\"~\",IF((V163+W163>=RULES!$F$149),\"12\",IF((W163+X163>=RULES!$F$149),\"23\",IF((X163+Y163>=RULES!$F$149),\"34\",IF((Y163+Z163>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC163<>\"*\",\"~\",IF(Y163+Z163<(1-RULES!$F$149),\"13\",IF(V163+Z163<(1-RULES!$F$149),\"24\",IF(V163+W163<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F163=\"X\",$F163=\"H\",$F163=\"Z-ERROR\",AND($AA163=\"H\",$AH163)),$AE163,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P163,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L163,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M163,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N163,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E163&\"1\",IF(NOT($AH163),$E163&\"U\",$AE163)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN163","v":""},{"$f":"'Calculator Table'!BR163","v":0},{"$f":"Calculate!AV163","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A164","v":0},{"$f":"IF(F164=\"X\",\"X\",(IF(F164<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H164),0,Calculate!H164),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N164),0,Calculate!N164),IF(ISERROR(Calculate!J164),0,Calculate!J164))))))","v":0},{"$f":"IF(F164=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I164),$C$2,Calculate!I164),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O164),$C$2,Calculate!O164),IF(ISERROR(Calculate!K164),$C$2,Calculate!K164))))","v":5.5},{"$f":"AF164 & IF(OR($AH164,RIGHT($AF164,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P164","v":"S"},{"$f":"Calculate!Q164","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F164=\"X\",$F164=\"H\",$F164=\"Z-ERROR\"),$F164,IF($V164>=RULES!$F$149,\"1\",IF($W164>=RULES!$F$149,\"2\",IF($X164>=RULES!$F$149,\"3\",IF($Y164>=RULES!$F$149,\"4\",IF($Z164>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA164<>\"*\",\"~\",IF($V164>=RULES!$G$149,\"1?\",IF($W164>=RULES!$G$149,\"2?\",IF($X164>=RULES!$G$149,\"3?\",IF($Y164>=RULES!$G$149,\"4?\",IF($Z164>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB164<>\"*\",\"~\",IF((V164+W164>=RULES!$F$149),\"12\",IF((W164+X164>=RULES!$F$149),\"23\",IF((X164+Y164>=RULES!$F$149),\"34\",IF((Y164+Z164>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC164<>\"*\",\"~\",IF(Y164+Z164<(1-RULES!$F$149),\"13\",IF(V164+Z164<(1-RULES!$F$149),\"24\",IF(V164+W164<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F164=\"X\",$F164=\"H\",$F164=\"Z-ERROR\",AND($AA164=\"H\",$AH164)),$AE164,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P164,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L164,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M164,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N164,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E164&\"1\",IF(NOT($AH164),$E164&\"U\",$AE164)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN164","v":""},{"$f":"'Calculator Table'!BR164","v":0},{"$f":"Calculate!AV164","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A165","v":0},{"$f":"IF(F165=\"X\",\"X\",(IF(F165<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H165),0,Calculate!H165),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N165),0,Calculate!N165),IF(ISERROR(Calculate!J165),0,Calculate!J165))))))","v":0},{"$f":"IF(F165=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I165),$C$2,Calculate!I165),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O165),$C$2,Calculate!O165),IF(ISERROR(Calculate!K165),$C$2,Calculate!K165))))","v":5.5},{"$f":"AF165 & IF(OR($AH165,RIGHT($AF165,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P165","v":"S"},{"$f":"Calculate!Q165","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F165=\"X\",$F165=\"H\",$F165=\"Z-ERROR\"),$F165,IF($V165>=RULES!$F$149,\"1\",IF($W165>=RULES!$F$149,\"2\",IF($X165>=RULES!$F$149,\"3\",IF($Y165>=RULES!$F$149,\"4\",IF($Z165>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA165<>\"*\",\"~\",IF($V165>=RULES!$G$149,\"1?\",IF($W165>=RULES!$G$149,\"2?\",IF($X165>=RULES!$G$149,\"3?\",IF($Y165>=RULES!$G$149,\"4?\",IF($Z165>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB165<>\"*\",\"~\",IF((V165+W165>=RULES!$F$149),\"12\",IF((W165+X165>=RULES!$F$149),\"23\",IF((X165+Y165>=RULES!$F$149),\"34\",IF((Y165+Z165>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC165<>\"*\",\"~\",IF(Y165+Z165<(1-RULES!$F$149),\"13\",IF(V165+Z165<(1-RULES!$F$149),\"24\",IF(V165+W165<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F165=\"X\",$F165=\"H\",$F165=\"Z-ERROR\",AND($AA165=\"H\",$AH165)),$AE165,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P165,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L165,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M165,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N165,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E165&\"1\",IF(NOT($AH165),$E165&\"U\",$AE165)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN165","v":""},{"$f":"'Calculator Table'!BR165","v":0},{"$f":"Calculate!AV165","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A166","v":0},{"$f":"IF(F166=\"X\",\"X\",(IF(F166<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H166),0,Calculate!H166),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N166),0,Calculate!N166),IF(ISERROR(Calculate!J166),0,Calculate!J166))))))","v":0},{"$f":"IF(F166=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I166),$C$2,Calculate!I166),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O166),$C$2,Calculate!O166),IF(ISERROR(Calculate!K166),$C$2,Calculate!K166))))","v":5.5},{"$f":"AF166 & IF(OR($AH166,RIGHT($AF166,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P166","v":"S"},{"$f":"Calculate!Q166","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F166=\"X\",$F166=\"H\",$F166=\"Z-ERROR\"),$F166,IF($V166>=RULES!$F$149,\"1\",IF($W166>=RULES!$F$149,\"2\",IF($X166>=RULES!$F$149,\"3\",IF($Y166>=RULES!$F$149,\"4\",IF($Z166>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA166<>\"*\",\"~\",IF($V166>=RULES!$G$149,\"1?\",IF($W166>=RULES!$G$149,\"2?\",IF($X166>=RULES!$G$149,\"3?\",IF($Y166>=RULES!$G$149,\"4?\",IF($Z166>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB166<>\"*\",\"~\",IF((V166+W166>=RULES!$F$149),\"12\",IF((W166+X166>=RULES!$F$149),\"23\",IF((X166+Y166>=RULES!$F$149),\"34\",IF((Y166+Z166>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC166<>\"*\",\"~\",IF(Y166+Z166<(1-RULES!$F$149),\"13\",IF(V166+Z166<(1-RULES!$F$149),\"24\",IF(V166+W166<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F166=\"X\",$F166=\"H\",$F166=\"Z-ERROR\",AND($AA166=\"H\",$AH166)),$AE166,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P166,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L166,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M166,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N166,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E166&\"1\",IF(NOT($AH166),$E166&\"U\",$AE166)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN166","v":""},{"$f":"'Calculator Table'!BR166","v":0},{"$f":"Calculate!AV166","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A167","v":0},{"$f":"IF(F167=\"X\",\"X\",(IF(F167<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H167),0,Calculate!H167),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N167),0,Calculate!N167),IF(ISERROR(Calculate!J167),0,Calculate!J167))))))","v":0},{"$f":"IF(F167=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I167),$C$2,Calculate!I167),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O167),$C$2,Calculate!O167),IF(ISERROR(Calculate!K167),$C$2,Calculate!K167))))","v":5.5},{"$f":"AF167 & IF(OR($AH167,RIGHT($AF167,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P167","v":"S"},{"$f":"Calculate!Q167","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F167=\"X\",$F167=\"H\",$F167=\"Z-ERROR\"),$F167,IF($V167>=RULES!$F$149,\"1\",IF($W167>=RULES!$F$149,\"2\",IF($X167>=RULES!$F$149,\"3\",IF($Y167>=RULES!$F$149,\"4\",IF($Z167>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA167<>\"*\",\"~\",IF($V167>=RULES!$G$149,\"1?\",IF($W167>=RULES!$G$149,\"2?\",IF($X167>=RULES!$G$149,\"3?\",IF($Y167>=RULES!$G$149,\"4?\",IF($Z167>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB167<>\"*\",\"~\",IF((V167+W167>=RULES!$F$149),\"12\",IF((W167+X167>=RULES!$F$149),\"23\",IF((X167+Y167>=RULES!$F$149),\"34\",IF((Y167+Z167>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC167<>\"*\",\"~\",IF(Y167+Z167<(1-RULES!$F$149),\"13\",IF(V167+Z167<(1-RULES!$F$149),\"24\",IF(V167+W167<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F167=\"X\",$F167=\"H\",$F167=\"Z-ERROR\",AND($AA167=\"H\",$AH167)),$AE167,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P167,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L167,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M167,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N167,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E167&\"1\",IF(NOT($AH167),$E167&\"U\",$AE167)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN167","v":""},{"$f":"'Calculator Table'!BR167","v":0},{"$f":"Calculate!AV167","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A168","v":0},{"$f":"IF(F168=\"X\",\"X\",(IF(F168<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H168),0,Calculate!H168),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N168),0,Calculate!N168),IF(ISERROR(Calculate!J168),0,Calculate!J168))))))","v":0},{"$f":"IF(F168=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I168),$C$2,Calculate!I168),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O168),$C$2,Calculate!O168),IF(ISERROR(Calculate!K168),$C$2,Calculate!K168))))","v":5.5},{"$f":"AF168 & IF(OR($AH168,RIGHT($AF168,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P168","v":"S"},{"$f":"Calculate!Q168","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F168=\"X\",$F168=\"H\",$F168=\"Z-ERROR\"),$F168,IF($V168>=RULES!$F$149,\"1\",IF($W168>=RULES!$F$149,\"2\",IF($X168>=RULES!$F$149,\"3\",IF($Y168>=RULES!$F$149,\"4\",IF($Z168>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA168<>\"*\",\"~\",IF($V168>=RULES!$G$149,\"1?\",IF($W168>=RULES!$G$149,\"2?\",IF($X168>=RULES!$G$149,\"3?\",IF($Y168>=RULES!$G$149,\"4?\",IF($Z168>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB168<>\"*\",\"~\",IF((V168+W168>=RULES!$F$149),\"12\",IF((W168+X168>=RULES!$F$149),\"23\",IF((X168+Y168>=RULES!$F$149),\"34\",IF((Y168+Z168>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC168<>\"*\",\"~\",IF(Y168+Z168<(1-RULES!$F$149),\"13\",IF(V168+Z168<(1-RULES!$F$149),\"24\",IF(V168+W168<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F168=\"X\",$F168=\"H\",$F168=\"Z-ERROR\",AND($AA168=\"H\",$AH168)),$AE168,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P168,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L168,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M168,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N168,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E168&\"1\",IF(NOT($AH168),$E168&\"U\",$AE168)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN168","v":""},{"$f":"'Calculator Table'!BR168","v":0},{"$f":"Calculate!AV168","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A169","v":0},{"$f":"IF(F169=\"X\",\"X\",(IF(F169<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H169),0,Calculate!H169),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N169),0,Calculate!N169),IF(ISERROR(Calculate!J169),0,Calculate!J169))))))","v":0},{"$f":"IF(F169=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I169),$C$2,Calculate!I169),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O169),$C$2,Calculate!O169),IF(ISERROR(Calculate!K169),$C$2,Calculate!K169))))","v":5.5},{"$f":"AF169 & IF(OR($AH169,RIGHT($AF169,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P169","v":"S"},{"$f":"Calculate!Q169","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F169=\"X\",$F169=\"H\",$F169=\"Z-ERROR\"),$F169,IF($V169>=RULES!$F$149,\"1\",IF($W169>=RULES!$F$149,\"2\",IF($X169>=RULES!$F$149,\"3\",IF($Y169>=RULES!$F$149,\"4\",IF($Z169>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA169<>\"*\",\"~\",IF($V169>=RULES!$G$149,\"1?\",IF($W169>=RULES!$G$149,\"2?\",IF($X169>=RULES!$G$149,\"3?\",IF($Y169>=RULES!$G$149,\"4?\",IF($Z169>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB169<>\"*\",\"~\",IF((V169+W169>=RULES!$F$149),\"12\",IF((W169+X169>=RULES!$F$149),\"23\",IF((X169+Y169>=RULES!$F$149),\"34\",IF((Y169+Z169>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC169<>\"*\",\"~\",IF(Y169+Z169<(1-RULES!$F$149),\"13\",IF(V169+Z169<(1-RULES!$F$149),\"24\",IF(V169+W169<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F169=\"X\",$F169=\"H\",$F169=\"Z-ERROR\",AND($AA169=\"H\",$AH169)),$AE169,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P169,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L169,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M169,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N169,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E169&\"1\",IF(NOT($AH169),$E169&\"U\",$AE169)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN169","v":""},{"$f":"'Calculator Table'!BR169","v":0},{"$f":"Calculate!AV169","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A170","v":0},{"$f":"IF(F170=\"X\",\"X\",(IF(F170<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H170),0,Calculate!H170),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N170),0,Calculate!N170),IF(ISERROR(Calculate!J170),0,Calculate!J170))))))","v":0},{"$f":"IF(F170=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I170),$C$2,Calculate!I170),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O170),$C$2,Calculate!O170),IF(ISERROR(Calculate!K170),$C$2,Calculate!K170))))","v":5.5},{"$f":"AF170 & IF(OR($AH170,RIGHT($AF170,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P170","v":"S"},{"$f":"Calculate!Q170","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F170=\"X\",$F170=\"H\",$F170=\"Z-ERROR\"),$F170,IF($V170>=RULES!$F$149,\"1\",IF($W170>=RULES!$F$149,\"2\",IF($X170>=RULES!$F$149,\"3\",IF($Y170>=RULES!$F$149,\"4\",IF($Z170>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA170<>\"*\",\"~\",IF($V170>=RULES!$G$149,\"1?\",IF($W170>=RULES!$G$149,\"2?\",IF($X170>=RULES!$G$149,\"3?\",IF($Y170>=RULES!$G$149,\"4?\",IF($Z170>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB170<>\"*\",\"~\",IF((V170+W170>=RULES!$F$149),\"12\",IF((W170+X170>=RULES!$F$149),\"23\",IF((X170+Y170>=RULES!$F$149),\"34\",IF((Y170+Z170>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC170<>\"*\",\"~\",IF(Y170+Z170<(1-RULES!$F$149),\"13\",IF(V170+Z170<(1-RULES!$F$149),\"24\",IF(V170+W170<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F170=\"X\",$F170=\"H\",$F170=\"Z-ERROR\",AND($AA170=\"H\",$AH170)),$AE170,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P170,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L170,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M170,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N170,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E170&\"1\",IF(NOT($AH170),$E170&\"U\",$AE170)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN170","v":""},{"$f":"'Calculator Table'!BR170","v":0},{"$f":"Calculate!AV170","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A171","v":0},{"$f":"IF(F171=\"X\",\"X\",(IF(F171<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H171),0,Calculate!H171),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N171),0,Calculate!N171),IF(ISERROR(Calculate!J171),0,Calculate!J171))))))","v":0},{"$f":"IF(F171=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I171),$C$2,Calculate!I171),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O171),$C$2,Calculate!O171),IF(ISERROR(Calculate!K171),$C$2,Calculate!K171))))","v":5.5},{"$f":"AF171 & IF(OR($AH171,RIGHT($AF171,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P171","v":"S"},{"$f":"Calculate!Q171","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F171=\"X\",$F171=\"H\",$F171=\"Z-ERROR\"),$F171,IF($V171>=RULES!$F$149,\"1\",IF($W171>=RULES!$F$149,\"2\",IF($X171>=RULES!$F$149,\"3\",IF($Y171>=RULES!$F$149,\"4\",IF($Z171>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA171<>\"*\",\"~\",IF($V171>=RULES!$G$149,\"1?\",IF($W171>=RULES!$G$149,\"2?\",IF($X171>=RULES!$G$149,\"3?\",IF($Y171>=RULES!$G$149,\"4?\",IF($Z171>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB171<>\"*\",\"~\",IF((V171+W171>=RULES!$F$149),\"12\",IF((W171+X171>=RULES!$F$149),\"23\",IF((X171+Y171>=RULES!$F$149),\"34\",IF((Y171+Z171>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC171<>\"*\",\"~\",IF(Y171+Z171<(1-RULES!$F$149),\"13\",IF(V171+Z171<(1-RULES!$F$149),\"24\",IF(V171+W171<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F171=\"X\",$F171=\"H\",$F171=\"Z-ERROR\",AND($AA171=\"H\",$AH171)),$AE171,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P171,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L171,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M171,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N171,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E171&\"1\",IF(NOT($AH171),$E171&\"U\",$AE171)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN171","v":""},{"$f":"'Calculator Table'!BR171","v":0},{"$f":"Calculate!AV171","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A172","v":0},{"$f":"IF(F172=\"X\",\"X\",(IF(F172<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H172),0,Calculate!H172),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N172),0,Calculate!N172),IF(ISERROR(Calculate!J172),0,Calculate!J172))))))","v":0},{"$f":"IF(F172=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I172),$C$2,Calculate!I172),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O172),$C$2,Calculate!O172),IF(ISERROR(Calculate!K172),$C$2,Calculate!K172))))","v":5.5},{"$f":"AF172 & IF(OR($AH172,RIGHT($AF172,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P172","v":"S"},{"$f":"Calculate!Q172","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F172=\"X\",$F172=\"H\",$F172=\"Z-ERROR\"),$F172,IF($V172>=RULES!$F$149,\"1\",IF($W172>=RULES!$F$149,\"2\",IF($X172>=RULES!$F$149,\"3\",IF($Y172>=RULES!$F$149,\"4\",IF($Z172>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA172<>\"*\",\"~\",IF($V172>=RULES!$G$149,\"1?\",IF($W172>=RULES!$G$149,\"2?\",IF($X172>=RULES!$G$149,\"3?\",IF($Y172>=RULES!$G$149,\"4?\",IF($Z172>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB172<>\"*\",\"~\",IF((V172+W172>=RULES!$F$149),\"12\",IF((W172+X172>=RULES!$F$149),\"23\",IF((X172+Y172>=RULES!$F$149),\"34\",IF((Y172+Z172>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC172<>\"*\",\"~\",IF(Y172+Z172<(1-RULES!$F$149),\"13\",IF(V172+Z172<(1-RULES!$F$149),\"24\",IF(V172+W172<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F172=\"X\",$F172=\"H\",$F172=\"Z-ERROR\",AND($AA172=\"H\",$AH172)),$AE172,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P172,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L172,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M172,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N172,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E172&\"1\",IF(NOT($AH172),$E172&\"U\",$AE172)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN172","v":""},{"$f":"'Calculator Table'!BR172","v":0},{"$f":"Calculate!AV172","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A173","v":0},{"$f":"IF(F173=\"X\",\"X\",(IF(F173<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H173),0,Calculate!H173),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N173),0,Calculate!N173),IF(ISERROR(Calculate!J173),0,Calculate!J173))))))","v":0},{"$f":"IF(F173=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I173),$C$2,Calculate!I173),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O173),$C$2,Calculate!O173),IF(ISERROR(Calculate!K173),$C$2,Calculate!K173))))","v":5.5},{"$f":"AF173 & IF(OR($AH173,RIGHT($AF173,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P173","v":"S"},{"$f":"Calculate!Q173","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F173=\"X\",$F173=\"H\",$F173=\"Z-ERROR\"),$F173,IF($V173>=RULES!$F$149,\"1\",IF($W173>=RULES!$F$149,\"2\",IF($X173>=RULES!$F$149,\"3\",IF($Y173>=RULES!$F$149,\"4\",IF($Z173>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA173<>\"*\",\"~\",IF($V173>=RULES!$G$149,\"1?\",IF($W173>=RULES!$G$149,\"2?\",IF($X173>=RULES!$G$149,\"3?\",IF($Y173>=RULES!$G$149,\"4?\",IF($Z173>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB173<>\"*\",\"~\",IF((V173+W173>=RULES!$F$149),\"12\",IF((W173+X173>=RULES!$F$149),\"23\",IF((X173+Y173>=RULES!$F$149),\"34\",IF((Y173+Z173>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC173<>\"*\",\"~\",IF(Y173+Z173<(1-RULES!$F$149),\"13\",IF(V173+Z173<(1-RULES!$F$149),\"24\",IF(V173+W173<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F173=\"X\",$F173=\"H\",$F173=\"Z-ERROR\",AND($AA173=\"H\",$AH173)),$AE173,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P173,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L173,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M173,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N173,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E173&\"1\",IF(NOT($AH173),$E173&\"U\",$AE173)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN173","v":""},{"$f":"'Calculator Table'!BR173","v":0},{"$f":"Calculate!AV173","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A174","v":0},{"$f":"IF(F174=\"X\",\"X\",(IF(F174<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H174),0,Calculate!H174),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N174),0,Calculate!N174),IF(ISERROR(Calculate!J174),0,Calculate!J174))))))","v":0},{"$f":"IF(F174=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I174),$C$2,Calculate!I174),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O174),$C$2,Calculate!O174),IF(ISERROR(Calculate!K174),$C$2,Calculate!K174))))","v":5.5},{"$f":"AF174 & IF(OR($AH174,RIGHT($AF174,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P174","v":"S"},{"$f":"Calculate!Q174","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F174=\"X\",$F174=\"H\",$F174=\"Z-ERROR\"),$F174,IF($V174>=RULES!$F$149,\"1\",IF($W174>=RULES!$F$149,\"2\",IF($X174>=RULES!$F$149,\"3\",IF($Y174>=RULES!$F$149,\"4\",IF($Z174>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA174<>\"*\",\"~\",IF($V174>=RULES!$G$149,\"1?\",IF($W174>=RULES!$G$149,\"2?\",IF($X174>=RULES!$G$149,\"3?\",IF($Y174>=RULES!$G$149,\"4?\",IF($Z174>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB174<>\"*\",\"~\",IF((V174+W174>=RULES!$F$149),\"12\",IF((W174+X174>=RULES!$F$149),\"23\",IF((X174+Y174>=RULES!$F$149),\"34\",IF((Y174+Z174>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC174<>\"*\",\"~\",IF(Y174+Z174<(1-RULES!$F$149),\"13\",IF(V174+Z174<(1-RULES!$F$149),\"24\",IF(V174+W174<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F174=\"X\",$F174=\"H\",$F174=\"Z-ERROR\",AND($AA174=\"H\",$AH174)),$AE174,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P174,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L174,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M174,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N174,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E174&\"1\",IF(NOT($AH174),$E174&\"U\",$AE174)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN174","v":""},{"$f":"'Calculator Table'!BR174","v":0},{"$f":"Calculate!AV174","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A175","v":0},{"$f":"IF(F175=\"X\",\"X\",(IF(F175<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H175),0,Calculate!H175),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N175),0,Calculate!N175),IF(ISERROR(Calculate!J175),0,Calculate!J175))))))","v":0},{"$f":"IF(F175=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I175),$C$2,Calculate!I175),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O175),$C$2,Calculate!O175),IF(ISERROR(Calculate!K175),$C$2,Calculate!K175))))","v":5.5},{"$f":"AF175 & IF(OR($AH175,RIGHT($AF175,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P175","v":"S"},{"$f":"Calculate!Q175","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F175=\"X\",$F175=\"H\",$F175=\"Z-ERROR\"),$F175,IF($V175>=RULES!$F$149,\"1\",IF($W175>=RULES!$F$149,\"2\",IF($X175>=RULES!$F$149,\"3\",IF($Y175>=RULES!$F$149,\"4\",IF($Z175>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA175<>\"*\",\"~\",IF($V175>=RULES!$G$149,\"1?\",IF($W175>=RULES!$G$149,\"2?\",IF($X175>=RULES!$G$149,\"3?\",IF($Y175>=RULES!$G$149,\"4?\",IF($Z175>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB175<>\"*\",\"~\",IF((V175+W175>=RULES!$F$149),\"12\",IF((W175+X175>=RULES!$F$149),\"23\",IF((X175+Y175>=RULES!$F$149),\"34\",IF((Y175+Z175>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC175<>\"*\",\"~\",IF(Y175+Z175<(1-RULES!$F$149),\"13\",IF(V175+Z175<(1-RULES!$F$149),\"24\",IF(V175+W175<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F175=\"X\",$F175=\"H\",$F175=\"Z-ERROR\",AND($AA175=\"H\",$AH175)),$AE175,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P175,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L175,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M175,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N175,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E175&\"1\",IF(NOT($AH175),$E175&\"U\",$AE175)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN175","v":""},{"$f":"'Calculator Table'!BR175","v":0},{"$f":"Calculate!AV175","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A176","v":0},{"$f":"IF(F176=\"X\",\"X\",(IF(F176<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H176),0,Calculate!H176),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N176),0,Calculate!N176),IF(ISERROR(Calculate!J176),0,Calculate!J176))))))","v":0},{"$f":"IF(F176=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I176),$C$2,Calculate!I176),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O176),$C$2,Calculate!O176),IF(ISERROR(Calculate!K176),$C$2,Calculate!K176))))","v":5.5},{"$f":"AF176 & IF(OR($AH176,RIGHT($AF176,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P176","v":"S"},{"$f":"Calculate!Q176","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F176=\"X\",$F176=\"H\",$F176=\"Z-ERROR\"),$F176,IF($V176>=RULES!$F$149,\"1\",IF($W176>=RULES!$F$149,\"2\",IF($X176>=RULES!$F$149,\"3\",IF($Y176>=RULES!$F$149,\"4\",IF($Z176>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA176<>\"*\",\"~\",IF($V176>=RULES!$G$149,\"1?\",IF($W176>=RULES!$G$149,\"2?\",IF($X176>=RULES!$G$149,\"3?\",IF($Y176>=RULES!$G$149,\"4?\",IF($Z176>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB176<>\"*\",\"~\",IF((V176+W176>=RULES!$F$149),\"12\",IF((W176+X176>=RULES!$F$149),\"23\",IF((X176+Y176>=RULES!$F$149),\"34\",IF((Y176+Z176>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC176<>\"*\",\"~\",IF(Y176+Z176<(1-RULES!$F$149),\"13\",IF(V176+Z176<(1-RULES!$F$149),\"24\",IF(V176+W176<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F176=\"X\",$F176=\"H\",$F176=\"Z-ERROR\",AND($AA176=\"H\",$AH176)),$AE176,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P176,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L176,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M176,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N176,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E176&\"1\",IF(NOT($AH176),$E176&\"U\",$AE176)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN176","v":""},{"$f":"'Calculator Table'!BR176","v":0},{"$f":"Calculate!AV176","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A177","v":0},{"$f":"IF(F177=\"X\",\"X\",(IF(F177<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H177),0,Calculate!H177),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N177),0,Calculate!N177),IF(ISERROR(Calculate!J177),0,Calculate!J177))))))","v":0},{"$f":"IF(F177=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I177),$C$2,Calculate!I177),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O177),$C$2,Calculate!O177),IF(ISERROR(Calculate!K177),$C$2,Calculate!K177))))","v":5.5},{"$f":"AF177 & IF(OR($AH177,RIGHT($AF177,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P177","v":"S"},{"$f":"Calculate!Q177","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F177=\"X\",$F177=\"H\",$F177=\"Z-ERROR\"),$F177,IF($V177>=RULES!$F$149,\"1\",IF($W177>=RULES!$F$149,\"2\",IF($X177>=RULES!$F$149,\"3\",IF($Y177>=RULES!$F$149,\"4\",IF($Z177>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA177<>\"*\",\"~\",IF($V177>=RULES!$G$149,\"1?\",IF($W177>=RULES!$G$149,\"2?\",IF($X177>=RULES!$G$149,\"3?\",IF($Y177>=RULES!$G$149,\"4?\",IF($Z177>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB177<>\"*\",\"~\",IF((V177+W177>=RULES!$F$149),\"12\",IF((W177+X177>=RULES!$F$149),\"23\",IF((X177+Y177>=RULES!$F$149),\"34\",IF((Y177+Z177>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC177<>\"*\",\"~\",IF(Y177+Z177<(1-RULES!$F$149),\"13\",IF(V177+Z177<(1-RULES!$F$149),\"24\",IF(V177+W177<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F177=\"X\",$F177=\"H\",$F177=\"Z-ERROR\",AND($AA177=\"H\",$AH177)),$AE177,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P177,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L177,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M177,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N177,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E177&\"1\",IF(NOT($AH177),$E177&\"U\",$AE177)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN177","v":""},{"$f":"'Calculator Table'!BR177","v":0},{"$f":"Calculate!AV177","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A178","v":0},{"$f":"IF(F178=\"X\",\"X\",(IF(F178<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H178),0,Calculate!H178),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N178),0,Calculate!N178),IF(ISERROR(Calculate!J178),0,Calculate!J178))))))","v":0},{"$f":"IF(F178=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I178),$C$2,Calculate!I178),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O178),$C$2,Calculate!O178),IF(ISERROR(Calculate!K178),$C$2,Calculate!K178))))","v":5.5},{"$f":"AF178 & IF(OR($AH178,RIGHT($AF178,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P178","v":"S"},{"$f":"Calculate!Q178","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F178=\"X\",$F178=\"H\",$F178=\"Z-ERROR\"),$F178,IF($V178>=RULES!$F$149,\"1\",IF($W178>=RULES!$F$149,\"2\",IF($X178>=RULES!$F$149,\"3\",IF($Y178>=RULES!$F$149,\"4\",IF($Z178>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA178<>\"*\",\"~\",IF($V178>=RULES!$G$149,\"1?\",IF($W178>=RULES!$G$149,\"2?\",IF($X178>=RULES!$G$149,\"3?\",IF($Y178>=RULES!$G$149,\"4?\",IF($Z178>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB178<>\"*\",\"~\",IF((V178+W178>=RULES!$F$149),\"12\",IF((W178+X178>=RULES!$F$149),\"23\",IF((X178+Y178>=RULES!$F$149),\"34\",IF((Y178+Z178>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC178<>\"*\",\"~\",IF(Y178+Z178<(1-RULES!$F$149),\"13\",IF(V178+Z178<(1-RULES!$F$149),\"24\",IF(V178+W178<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F178=\"X\",$F178=\"H\",$F178=\"Z-ERROR\",AND($AA178=\"H\",$AH178)),$AE178,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P178,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L178,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M178,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N178,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E178&\"1\",IF(NOT($AH178),$E178&\"U\",$AE178)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN178","v":""},{"$f":"'Calculator Table'!BR178","v":0},{"$f":"Calculate!AV178","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A179","v":0},{"$f":"IF(F179=\"X\",\"X\",(IF(F179<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H179),0,Calculate!H179),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N179),0,Calculate!N179),IF(ISERROR(Calculate!J179),0,Calculate!J179))))))","v":0},{"$f":"IF(F179=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I179),$C$2,Calculate!I179),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O179),$C$2,Calculate!O179),IF(ISERROR(Calculate!K179),$C$2,Calculate!K179))))","v":5.5},{"$f":"AF179 & IF(OR($AH179,RIGHT($AF179,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P179","v":"S"},{"$f":"Calculate!Q179","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F179=\"X\",$F179=\"H\",$F179=\"Z-ERROR\"),$F179,IF($V179>=RULES!$F$149,\"1\",IF($W179>=RULES!$F$149,\"2\",IF($X179>=RULES!$F$149,\"3\",IF($Y179>=RULES!$F$149,\"4\",IF($Z179>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA179<>\"*\",\"~\",IF($V179>=RULES!$G$149,\"1?\",IF($W179>=RULES!$G$149,\"2?\",IF($X179>=RULES!$G$149,\"3?\",IF($Y179>=RULES!$G$149,\"4?\",IF($Z179>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB179<>\"*\",\"~\",IF((V179+W179>=RULES!$F$149),\"12\",IF((W179+X179>=RULES!$F$149),\"23\",IF((X179+Y179>=RULES!$F$149),\"34\",IF((Y179+Z179>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC179<>\"*\",\"~\",IF(Y179+Z179<(1-RULES!$F$149),\"13\",IF(V179+Z179<(1-RULES!$F$149),\"24\",IF(V179+W179<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F179=\"X\",$F179=\"H\",$F179=\"Z-ERROR\",AND($AA179=\"H\",$AH179)),$AE179,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P179,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L179,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M179,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N179,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E179&\"1\",IF(NOT($AH179),$E179&\"U\",$AE179)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN179","v":""},{"$f":"'Calculator Table'!BR179","v":0},{"$f":"Calculate!AV179","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A180","v":0},{"$f":"IF(F180=\"X\",\"X\",(IF(F180<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H180),0,Calculate!H180),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N180),0,Calculate!N180),IF(ISERROR(Calculate!J180),0,Calculate!J180))))))","v":0},{"$f":"IF(F180=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I180),$C$2,Calculate!I180),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O180),$C$2,Calculate!O180),IF(ISERROR(Calculate!K180),$C$2,Calculate!K180))))","v":5.5},{"$f":"AF180 & IF(OR($AH180,RIGHT($AF180,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P180","v":"S"},{"$f":"Calculate!Q180","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F180=\"X\",$F180=\"H\",$F180=\"Z-ERROR\"),$F180,IF($V180>=RULES!$F$149,\"1\",IF($W180>=RULES!$F$149,\"2\",IF($X180>=RULES!$F$149,\"3\",IF($Y180>=RULES!$F$149,\"4\",IF($Z180>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA180<>\"*\",\"~\",IF($V180>=RULES!$G$149,\"1?\",IF($W180>=RULES!$G$149,\"2?\",IF($X180>=RULES!$G$149,\"3?\",IF($Y180>=RULES!$G$149,\"4?\",IF($Z180>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB180<>\"*\",\"~\",IF((V180+W180>=RULES!$F$149),\"12\",IF((W180+X180>=RULES!$F$149),\"23\",IF((X180+Y180>=RULES!$F$149),\"34\",IF((Y180+Z180>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC180<>\"*\",\"~\",IF(Y180+Z180<(1-RULES!$F$149),\"13\",IF(V180+Z180<(1-RULES!$F$149),\"24\",IF(V180+W180<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F180=\"X\",$F180=\"H\",$F180=\"Z-ERROR\",AND($AA180=\"H\",$AH180)),$AE180,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P180,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L180,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M180,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N180,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E180&\"1\",IF(NOT($AH180),$E180&\"U\",$AE180)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN180","v":""},{"$f":"'Calculator Table'!BR180","v":0},{"$f":"Calculate!AV180","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A181","v":0},{"$f":"IF(F181=\"X\",\"X\",(IF(F181<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H181),0,Calculate!H181),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N181),0,Calculate!N181),IF(ISERROR(Calculate!J181),0,Calculate!J181))))))","v":0},{"$f":"IF(F181=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I181),$C$2,Calculate!I181),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O181),$C$2,Calculate!O181),IF(ISERROR(Calculate!K181),$C$2,Calculate!K181))))","v":5.5},{"$f":"AF181 & IF(OR($AH181,RIGHT($AF181,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P181","v":"S"},{"$f":"Calculate!Q181","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F181=\"X\",$F181=\"H\",$F181=\"Z-ERROR\"),$F181,IF($V181>=RULES!$F$149,\"1\",IF($W181>=RULES!$F$149,\"2\",IF($X181>=RULES!$F$149,\"3\",IF($Y181>=RULES!$F$149,\"4\",IF($Z181>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA181<>\"*\",\"~\",IF($V181>=RULES!$G$149,\"1?\",IF($W181>=RULES!$G$149,\"2?\",IF($X181>=RULES!$G$149,\"3?\",IF($Y181>=RULES!$G$149,\"4?\",IF($Z181>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB181<>\"*\",\"~\",IF((V181+W181>=RULES!$F$149),\"12\",IF((W181+X181>=RULES!$F$149),\"23\",IF((X181+Y181>=RULES!$F$149),\"34\",IF((Y181+Z181>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC181<>\"*\",\"~\",IF(Y181+Z181<(1-RULES!$F$149),\"13\",IF(V181+Z181<(1-RULES!$F$149),\"24\",IF(V181+W181<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F181=\"X\",$F181=\"H\",$F181=\"Z-ERROR\",AND($AA181=\"H\",$AH181)),$AE181,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P181,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L181,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M181,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N181,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E181&\"1\",IF(NOT($AH181),$E181&\"U\",$AE181)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN181","v":""},{"$f":"'Calculator Table'!BR181","v":0},{"$f":"Calculate!AV181","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A182","v":0},{"$f":"IF(F182=\"X\",\"X\",(IF(F182<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H182),0,Calculate!H182),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N182),0,Calculate!N182),IF(ISERROR(Calculate!J182),0,Calculate!J182))))))","v":0},{"$f":"IF(F182=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I182),$C$2,Calculate!I182),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O182),$C$2,Calculate!O182),IF(ISERROR(Calculate!K182),$C$2,Calculate!K182))))","v":5.5},{"$f":"AF182 & IF(OR($AH182,RIGHT($AF182,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P182","v":"S"},{"$f":"Calculate!Q182","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F182=\"X\",$F182=\"H\",$F182=\"Z-ERROR\"),$F182,IF($V182>=RULES!$F$149,\"1\",IF($W182>=RULES!$F$149,\"2\",IF($X182>=RULES!$F$149,\"3\",IF($Y182>=RULES!$F$149,\"4\",IF($Z182>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA182<>\"*\",\"~\",IF($V182>=RULES!$G$149,\"1?\",IF($W182>=RULES!$G$149,\"2?\",IF($X182>=RULES!$G$149,\"3?\",IF($Y182>=RULES!$G$149,\"4?\",IF($Z182>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB182<>\"*\",\"~\",IF((V182+W182>=RULES!$F$149),\"12\",IF((W182+X182>=RULES!$F$149),\"23\",IF((X182+Y182>=RULES!$F$149),\"34\",IF((Y182+Z182>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC182<>\"*\",\"~\",IF(Y182+Z182<(1-RULES!$F$149),\"13\",IF(V182+Z182<(1-RULES!$F$149),\"24\",IF(V182+W182<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F182=\"X\",$F182=\"H\",$F182=\"Z-ERROR\",AND($AA182=\"H\",$AH182)),$AE182,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P182,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L182,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M182,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N182,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E182&\"1\",IF(NOT($AH182),$E182&\"U\",$AE182)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN182","v":""},{"$f":"'Calculator Table'!BR182","v":0},{"$f":"Calculate!AV182","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A183","v":0},{"$f":"IF(F183=\"X\",\"X\",(IF(F183<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H183),0,Calculate!H183),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N183),0,Calculate!N183),IF(ISERROR(Calculate!J183),0,Calculate!J183))))))","v":0},{"$f":"IF(F183=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I183),$C$2,Calculate!I183),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O183),$C$2,Calculate!O183),IF(ISERROR(Calculate!K183),$C$2,Calculate!K183))))","v":5.5},{"$f":"AF183 & IF(OR($AH183,RIGHT($AF183,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P183","v":"S"},{"$f":"Calculate!Q183","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F183=\"X\",$F183=\"H\",$F183=\"Z-ERROR\"),$F183,IF($V183>=RULES!$F$149,\"1\",IF($W183>=RULES!$F$149,\"2\",IF($X183>=RULES!$F$149,\"3\",IF($Y183>=RULES!$F$149,\"4\",IF($Z183>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA183<>\"*\",\"~\",IF($V183>=RULES!$G$149,\"1?\",IF($W183>=RULES!$G$149,\"2?\",IF($X183>=RULES!$G$149,\"3?\",IF($Y183>=RULES!$G$149,\"4?\",IF($Z183>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB183<>\"*\",\"~\",IF((V183+W183>=RULES!$F$149),\"12\",IF((W183+X183>=RULES!$F$149),\"23\",IF((X183+Y183>=RULES!$F$149),\"34\",IF((Y183+Z183>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC183<>\"*\",\"~\",IF(Y183+Z183<(1-RULES!$F$149),\"13\",IF(V183+Z183<(1-RULES!$F$149),\"24\",IF(V183+W183<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F183=\"X\",$F183=\"H\",$F183=\"Z-ERROR\",AND($AA183=\"H\",$AH183)),$AE183,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P183,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L183,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M183,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N183,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E183&\"1\",IF(NOT($AH183),$E183&\"U\",$AE183)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN183","v":""},{"$f":"'Calculator Table'!BR183","v":0},{"$f":"Calculate!AV183","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A184","v":0},{"$f":"IF(F184=\"X\",\"X\",(IF(F184<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H184),0,Calculate!H184),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N184),0,Calculate!N184),IF(ISERROR(Calculate!J184),0,Calculate!J184))))))","v":0},{"$f":"IF(F184=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I184),$C$2,Calculate!I184),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O184),$C$2,Calculate!O184),IF(ISERROR(Calculate!K184),$C$2,Calculate!K184))))","v":5.5},{"$f":"AF184 & IF(OR($AH184,RIGHT($AF184,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P184","v":"S"},{"$f":"Calculate!Q184","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F184=\"X\",$F184=\"H\",$F184=\"Z-ERROR\"),$F184,IF($V184>=RULES!$F$149,\"1\",IF($W184>=RULES!$F$149,\"2\",IF($X184>=RULES!$F$149,\"3\",IF($Y184>=RULES!$F$149,\"4\",IF($Z184>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA184<>\"*\",\"~\",IF($V184>=RULES!$G$149,\"1?\",IF($W184>=RULES!$G$149,\"2?\",IF($X184>=RULES!$G$149,\"3?\",IF($Y184>=RULES!$G$149,\"4?\",IF($Z184>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB184<>\"*\",\"~\",IF((V184+W184>=RULES!$F$149),\"12\",IF((W184+X184>=RULES!$F$149),\"23\",IF((X184+Y184>=RULES!$F$149),\"34\",IF((Y184+Z184>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC184<>\"*\",\"~\",IF(Y184+Z184<(1-RULES!$F$149),\"13\",IF(V184+Z184<(1-RULES!$F$149),\"24\",IF(V184+W184<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F184=\"X\",$F184=\"H\",$F184=\"Z-ERROR\",AND($AA184=\"H\",$AH184)),$AE184,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P184,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L184,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M184,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N184,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E184&\"1\",IF(NOT($AH184),$E184&\"U\",$AE184)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN184","v":""},{"$f":"'Calculator Table'!BR184","v":0},{"$f":"Calculate!AV184","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A185","v":0},{"$f":"IF(F185=\"X\",\"X\",(IF(F185<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H185),0,Calculate!H185),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N185),0,Calculate!N185),IF(ISERROR(Calculate!J185),0,Calculate!J185))))))","v":0},{"$f":"IF(F185=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I185),$C$2,Calculate!I185),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O185),$C$2,Calculate!O185),IF(ISERROR(Calculate!K185),$C$2,Calculate!K185))))","v":5.5},{"$f":"AF185 & IF(OR($AH185,RIGHT($AF185,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P185","v":"S"},{"$f":"Calculate!Q185","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F185=\"X\",$F185=\"H\",$F185=\"Z-ERROR\"),$F185,IF($V185>=RULES!$F$149,\"1\",IF($W185>=RULES!$F$149,\"2\",IF($X185>=RULES!$F$149,\"3\",IF($Y185>=RULES!$F$149,\"4\",IF($Z185>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA185<>\"*\",\"~\",IF($V185>=RULES!$G$149,\"1?\",IF($W185>=RULES!$G$149,\"2?\",IF($X185>=RULES!$G$149,\"3?\",IF($Y185>=RULES!$G$149,\"4?\",IF($Z185>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB185<>\"*\",\"~\",IF((V185+W185>=RULES!$F$149),\"12\",IF((W185+X185>=RULES!$F$149),\"23\",IF((X185+Y185>=RULES!$F$149),\"34\",IF((Y185+Z185>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC185<>\"*\",\"~\",IF(Y185+Z185<(1-RULES!$F$149),\"13\",IF(V185+Z185<(1-RULES!$F$149),\"24\",IF(V185+W185<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F185=\"X\",$F185=\"H\",$F185=\"Z-ERROR\",AND($AA185=\"H\",$AH185)),$AE185,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P185,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L185,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M185,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N185,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E185&\"1\",IF(NOT($AH185),$E185&\"U\",$AE185)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN185","v":""},{"$f":"'Calculator Table'!BR185","v":0},{"$f":"Calculate!AV185","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A186","v":0},{"$f":"IF(F186=\"X\",\"X\",(IF(F186<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H186),0,Calculate!H186),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N186),0,Calculate!N186),IF(ISERROR(Calculate!J186),0,Calculate!J186))))))","v":0},{"$f":"IF(F186=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I186),$C$2,Calculate!I186),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O186),$C$2,Calculate!O186),IF(ISERROR(Calculate!K186),$C$2,Calculate!K186))))","v":5.5},{"$f":"AF186 & IF(OR($AH186,RIGHT($AF186,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P186","v":"S"},{"$f":"Calculate!Q186","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F186=\"X\",$F186=\"H\",$F186=\"Z-ERROR\"),$F186,IF($V186>=RULES!$F$149,\"1\",IF($W186>=RULES!$F$149,\"2\",IF($X186>=RULES!$F$149,\"3\",IF($Y186>=RULES!$F$149,\"4\",IF($Z186>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA186<>\"*\",\"~\",IF($V186>=RULES!$G$149,\"1?\",IF($W186>=RULES!$G$149,\"2?\",IF($X186>=RULES!$G$149,\"3?\",IF($Y186>=RULES!$G$149,\"4?\",IF($Z186>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB186<>\"*\",\"~\",IF((V186+W186>=RULES!$F$149),\"12\",IF((W186+X186>=RULES!$F$149),\"23\",IF((X186+Y186>=RULES!$F$149),\"34\",IF((Y186+Z186>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC186<>\"*\",\"~\",IF(Y186+Z186<(1-RULES!$F$149),\"13\",IF(V186+Z186<(1-RULES!$F$149),\"24\",IF(V186+W186<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F186=\"X\",$F186=\"H\",$F186=\"Z-ERROR\",AND($AA186=\"H\",$AH186)),$AE186,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P186,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L186,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M186,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N186,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E186&\"1\",IF(NOT($AH186),$E186&\"U\",$AE186)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN186","v":""},{"$f":"'Calculator Table'!BR186","v":0},{"$f":"Calculate!AV186","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A187","v":0},{"$f":"IF(F187=\"X\",\"X\",(IF(F187<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H187),0,Calculate!H187),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N187),0,Calculate!N187),IF(ISERROR(Calculate!J187),0,Calculate!J187))))))","v":0},{"$f":"IF(F187=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I187),$C$2,Calculate!I187),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O187),$C$2,Calculate!O187),IF(ISERROR(Calculate!K187),$C$2,Calculate!K187))))","v":5.5},{"$f":"AF187 & IF(OR($AH187,RIGHT($AF187,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P187","v":"S"},{"$f":"Calculate!Q187","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F187=\"X\",$F187=\"H\",$F187=\"Z-ERROR\"),$F187,IF($V187>=RULES!$F$149,\"1\",IF($W187>=RULES!$F$149,\"2\",IF($X187>=RULES!$F$149,\"3\",IF($Y187>=RULES!$F$149,\"4\",IF($Z187>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA187<>\"*\",\"~\",IF($V187>=RULES!$G$149,\"1?\",IF($W187>=RULES!$G$149,\"2?\",IF($X187>=RULES!$G$149,\"3?\",IF($Y187>=RULES!$G$149,\"4?\",IF($Z187>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB187<>\"*\",\"~\",IF((V187+W187>=RULES!$F$149),\"12\",IF((W187+X187>=RULES!$F$149),\"23\",IF((X187+Y187>=RULES!$F$149),\"34\",IF((Y187+Z187>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC187<>\"*\",\"~\",IF(Y187+Z187<(1-RULES!$F$149),\"13\",IF(V187+Z187<(1-RULES!$F$149),\"24\",IF(V187+W187<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F187=\"X\",$F187=\"H\",$F187=\"Z-ERROR\",AND($AA187=\"H\",$AH187)),$AE187,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P187,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L187,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M187,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N187,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E187&\"1\",IF(NOT($AH187),$E187&\"U\",$AE187)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN187","v":""},{"$f":"'Calculator Table'!BR187","v":0},{"$f":"Calculate!AV187","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A188","v":0},{"$f":"IF(F188=\"X\",\"X\",(IF(F188<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H188),0,Calculate!H188),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N188),0,Calculate!N188),IF(ISERROR(Calculate!J188),0,Calculate!J188))))))","v":0},{"$f":"IF(F188=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I188),$C$2,Calculate!I188),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O188),$C$2,Calculate!O188),IF(ISERROR(Calculate!K188),$C$2,Calculate!K188))))","v":5.5},{"$f":"AF188 & IF(OR($AH188,RIGHT($AF188,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P188","v":"S"},{"$f":"Calculate!Q188","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F188=\"X\",$F188=\"H\",$F188=\"Z-ERROR\"),$F188,IF($V188>=RULES!$F$149,\"1\",IF($W188>=RULES!$F$149,\"2\",IF($X188>=RULES!$F$149,\"3\",IF($Y188>=RULES!$F$149,\"4\",IF($Z188>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA188<>\"*\",\"~\",IF($V188>=RULES!$G$149,\"1?\",IF($W188>=RULES!$G$149,\"2?\",IF($X188>=RULES!$G$149,\"3?\",IF($Y188>=RULES!$G$149,\"4?\",IF($Z188>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB188<>\"*\",\"~\",IF((V188+W188>=RULES!$F$149),\"12\",IF((W188+X188>=RULES!$F$149),\"23\",IF((X188+Y188>=RULES!$F$149),\"34\",IF((Y188+Z188>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC188<>\"*\",\"~\",IF(Y188+Z188<(1-RULES!$F$149),\"13\",IF(V188+Z188<(1-RULES!$F$149),\"24\",IF(V188+W188<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F188=\"X\",$F188=\"H\",$F188=\"Z-ERROR\",AND($AA188=\"H\",$AH188)),$AE188,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P188,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L188,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M188,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N188,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E188&\"1\",IF(NOT($AH188),$E188&\"U\",$AE188)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN188","v":""},{"$f":"'Calculator Table'!BR188","v":0},{"$f":"Calculate!AV188","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A189","v":0},{"$f":"IF(F189=\"X\",\"X\",(IF(F189<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H189),0,Calculate!H189),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N189),0,Calculate!N189),IF(ISERROR(Calculate!J189),0,Calculate!J189))))))","v":0},{"$f":"IF(F189=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I189),$C$2,Calculate!I189),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O189),$C$2,Calculate!O189),IF(ISERROR(Calculate!K189),$C$2,Calculate!K189))))","v":5.5},{"$f":"AF189 & IF(OR($AH189,RIGHT($AF189,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P189","v":"S"},{"$f":"Calculate!Q189","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F189=\"X\",$F189=\"H\",$F189=\"Z-ERROR\"),$F189,IF($V189>=RULES!$F$149,\"1\",IF($W189>=RULES!$F$149,\"2\",IF($X189>=RULES!$F$149,\"3\",IF($Y189>=RULES!$F$149,\"4\",IF($Z189>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA189<>\"*\",\"~\",IF($V189>=RULES!$G$149,\"1?\",IF($W189>=RULES!$G$149,\"2?\",IF($X189>=RULES!$G$149,\"3?\",IF($Y189>=RULES!$G$149,\"4?\",IF($Z189>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB189<>\"*\",\"~\",IF((V189+W189>=RULES!$F$149),\"12\",IF((W189+X189>=RULES!$F$149),\"23\",IF((X189+Y189>=RULES!$F$149),\"34\",IF((Y189+Z189>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC189<>\"*\",\"~\",IF(Y189+Z189<(1-RULES!$F$149),\"13\",IF(V189+Z189<(1-RULES!$F$149),\"24\",IF(V189+W189<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F189=\"X\",$F189=\"H\",$F189=\"Z-ERROR\",AND($AA189=\"H\",$AH189)),$AE189,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P189,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L189,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M189,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N189,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E189&\"1\",IF(NOT($AH189),$E189&\"U\",$AE189)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN189","v":""},{"$f":"'Calculator Table'!BR189","v":0},{"$f":"Calculate!AV189","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A190","v":0},{"$f":"IF(F190=\"X\",\"X\",(IF(F190<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H190),0,Calculate!H190),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N190),0,Calculate!N190),IF(ISERROR(Calculate!J190),0,Calculate!J190))))))","v":0},{"$f":"IF(F190=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I190),$C$2,Calculate!I190),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O190),$C$2,Calculate!O190),IF(ISERROR(Calculate!K190),$C$2,Calculate!K190))))","v":5.5},{"$f":"AF190 & IF(OR($AH190,RIGHT($AF190,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P190","v":"S"},{"$f":"Calculate!Q190","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F190=\"X\",$F190=\"H\",$F190=\"Z-ERROR\"),$F190,IF($V190>=RULES!$F$149,\"1\",IF($W190>=RULES!$F$149,\"2\",IF($X190>=RULES!$F$149,\"3\",IF($Y190>=RULES!$F$149,\"4\",IF($Z190>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA190<>\"*\",\"~\",IF($V190>=RULES!$G$149,\"1?\",IF($W190>=RULES!$G$149,\"2?\",IF($X190>=RULES!$G$149,\"3?\",IF($Y190>=RULES!$G$149,\"4?\",IF($Z190>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB190<>\"*\",\"~\",IF((V190+W190>=RULES!$F$149),\"12\",IF((W190+X190>=RULES!$F$149),\"23\",IF((X190+Y190>=RULES!$F$149),\"34\",IF((Y190+Z190>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC190<>\"*\",\"~\",IF(Y190+Z190<(1-RULES!$F$149),\"13\",IF(V190+Z190<(1-RULES!$F$149),\"24\",IF(V190+W190<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F190=\"X\",$F190=\"H\",$F190=\"Z-ERROR\",AND($AA190=\"H\",$AH190)),$AE190,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P190,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L190,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M190,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N190,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E190&\"1\",IF(NOT($AH190),$E190&\"U\",$AE190)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN190","v":""},{"$f":"'Calculator Table'!BR190","v":0},{"$f":"Calculate!AV190","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A191","v":0},{"$f":"IF(F191=\"X\",\"X\",(IF(F191<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H191),0,Calculate!H191),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N191),0,Calculate!N191),IF(ISERROR(Calculate!J191),0,Calculate!J191))))))","v":0},{"$f":"IF(F191=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I191),$C$2,Calculate!I191),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O191),$C$2,Calculate!O191),IF(ISERROR(Calculate!K191),$C$2,Calculate!K191))))","v":5.5},{"$f":"AF191 & IF(OR($AH191,RIGHT($AF191,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P191","v":"S"},{"$f":"Calculate!Q191","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F191=\"X\",$F191=\"H\",$F191=\"Z-ERROR\"),$F191,IF($V191>=RULES!$F$149,\"1\",IF($W191>=RULES!$F$149,\"2\",IF($X191>=RULES!$F$149,\"3\",IF($Y191>=RULES!$F$149,\"4\",IF($Z191>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA191<>\"*\",\"~\",IF($V191>=RULES!$G$149,\"1?\",IF($W191>=RULES!$G$149,\"2?\",IF($X191>=RULES!$G$149,\"3?\",IF($Y191>=RULES!$G$149,\"4?\",IF($Z191>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB191<>\"*\",\"~\",IF((V191+W191>=RULES!$F$149),\"12\",IF((W191+X191>=RULES!$F$149),\"23\",IF((X191+Y191>=RULES!$F$149),\"34\",IF((Y191+Z191>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC191<>\"*\",\"~\",IF(Y191+Z191<(1-RULES!$F$149),\"13\",IF(V191+Z191<(1-RULES!$F$149),\"24\",IF(V191+W191<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F191=\"X\",$F191=\"H\",$F191=\"Z-ERROR\",AND($AA191=\"H\",$AH191)),$AE191,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P191,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L191,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M191,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N191,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E191&\"1\",IF(NOT($AH191),$E191&\"U\",$AE191)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN191","v":""},{"$f":"'Calculator Table'!BR191","v":0},{"$f":"Calculate!AV191","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A192","v":0},{"$f":"IF(F192=\"X\",\"X\",(IF(F192<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H192),0,Calculate!H192),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N192),0,Calculate!N192),IF(ISERROR(Calculate!J192),0,Calculate!J192))))))","v":0},{"$f":"IF(F192=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I192),$C$2,Calculate!I192),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O192),$C$2,Calculate!O192),IF(ISERROR(Calculate!K192),$C$2,Calculate!K192))))","v":5.5},{"$f":"AF192 & IF(OR($AH192,RIGHT($AF192,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P192","v":"S"},{"$f":"Calculate!Q192","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F192=\"X\",$F192=\"H\",$F192=\"Z-ERROR\"),$F192,IF($V192>=RULES!$F$149,\"1\",IF($W192>=RULES!$F$149,\"2\",IF($X192>=RULES!$F$149,\"3\",IF($Y192>=RULES!$F$149,\"4\",IF($Z192>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA192<>\"*\",\"~\",IF($V192>=RULES!$G$149,\"1?\",IF($W192>=RULES!$G$149,\"2?\",IF($X192>=RULES!$G$149,\"3?\",IF($Y192>=RULES!$G$149,\"4?\",IF($Z192>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB192<>\"*\",\"~\",IF((V192+W192>=RULES!$F$149),\"12\",IF((W192+X192>=RULES!$F$149),\"23\",IF((X192+Y192>=RULES!$F$149),\"34\",IF((Y192+Z192>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC192<>\"*\",\"~\",IF(Y192+Z192<(1-RULES!$F$149),\"13\",IF(V192+Z192<(1-RULES!$F$149),\"24\",IF(V192+W192<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F192=\"X\",$F192=\"H\",$F192=\"Z-ERROR\",AND($AA192=\"H\",$AH192)),$AE192,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P192,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L192,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M192,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N192,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E192&\"1\",IF(NOT($AH192),$E192&\"U\",$AE192)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN192","v":""},{"$f":"'Calculator Table'!BR192","v":0},{"$f":"Calculate!AV192","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A193","v":0},{"$f":"IF(F193=\"X\",\"X\",(IF(F193<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H193),0,Calculate!H193),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N193),0,Calculate!N193),IF(ISERROR(Calculate!J193),0,Calculate!J193))))))","v":0},{"$f":"IF(F193=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I193),$C$2,Calculate!I193),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O193),$C$2,Calculate!O193),IF(ISERROR(Calculate!K193),$C$2,Calculate!K193))))","v":5.5},{"$f":"AF193 & IF(OR($AH193,RIGHT($AF193,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P193","v":"S"},{"$f":"Calculate!Q193","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F193=\"X\",$F193=\"H\",$F193=\"Z-ERROR\"),$F193,IF($V193>=RULES!$F$149,\"1\",IF($W193>=RULES!$F$149,\"2\",IF($X193>=RULES!$F$149,\"3\",IF($Y193>=RULES!$F$149,\"4\",IF($Z193>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA193<>\"*\",\"~\",IF($V193>=RULES!$G$149,\"1?\",IF($W193>=RULES!$G$149,\"2?\",IF($X193>=RULES!$G$149,\"3?\",IF($Y193>=RULES!$G$149,\"4?\",IF($Z193>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB193<>\"*\",\"~\",IF((V193+W193>=RULES!$F$149),\"12\",IF((W193+X193>=RULES!$F$149),\"23\",IF((X193+Y193>=RULES!$F$149),\"34\",IF((Y193+Z193>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC193<>\"*\",\"~\",IF(Y193+Z193<(1-RULES!$F$149),\"13\",IF(V193+Z193<(1-RULES!$F$149),\"24\",IF(V193+W193<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F193=\"X\",$F193=\"H\",$F193=\"Z-ERROR\",AND($AA193=\"H\",$AH193)),$AE193,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P193,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L193,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M193,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N193,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E193&\"1\",IF(NOT($AH193),$E193&\"U\",$AE193)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN193","v":""},{"$f":"'Calculator Table'!BR193","v":0},{"$f":"Calculate!AV193","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A194","v":0},{"$f":"IF(F194=\"X\",\"X\",(IF(F194<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H194),0,Calculate!H194),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N194),0,Calculate!N194),IF(ISERROR(Calculate!J194),0,Calculate!J194))))))","v":0},{"$f":"IF(F194=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I194),$C$2,Calculate!I194),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O194),$C$2,Calculate!O194),IF(ISERROR(Calculate!K194),$C$2,Calculate!K194))))","v":5.5},{"$f":"AF194 & IF(OR($AH194,RIGHT($AF194,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P194","v":"S"},{"$f":"Calculate!Q194","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F194=\"X\",$F194=\"H\",$F194=\"Z-ERROR\"),$F194,IF($V194>=RULES!$F$149,\"1\",IF($W194>=RULES!$F$149,\"2\",IF($X194>=RULES!$F$149,\"3\",IF($Y194>=RULES!$F$149,\"4\",IF($Z194>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA194<>\"*\",\"~\",IF($V194>=RULES!$G$149,\"1?\",IF($W194>=RULES!$G$149,\"2?\",IF($X194>=RULES!$G$149,\"3?\",IF($Y194>=RULES!$G$149,\"4?\",IF($Z194>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB194<>\"*\",\"~\",IF((V194+W194>=RULES!$F$149),\"12\",IF((W194+X194>=RULES!$F$149),\"23\",IF((X194+Y194>=RULES!$F$149),\"34\",IF((Y194+Z194>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC194<>\"*\",\"~\",IF(Y194+Z194<(1-RULES!$F$149),\"13\",IF(V194+Z194<(1-RULES!$F$149),\"24\",IF(V194+W194<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F194=\"X\",$F194=\"H\",$F194=\"Z-ERROR\",AND($AA194=\"H\",$AH194)),$AE194,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P194,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L194,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M194,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N194,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E194&\"1\",IF(NOT($AH194),$E194&\"U\",$AE194)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN194","v":""},{"$f":"'Calculator Table'!BR194","v":0},{"$f":"Calculate!AV194","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A195","v":0},{"$f":"IF(F195=\"X\",\"X\",(IF(F195<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H195),0,Calculate!H195),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N195),0,Calculate!N195),IF(ISERROR(Calculate!J195),0,Calculate!J195))))))","v":0},{"$f":"IF(F195=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I195),$C$2,Calculate!I195),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O195),$C$2,Calculate!O195),IF(ISERROR(Calculate!K195),$C$2,Calculate!K195))))","v":5.5},{"$f":"AF195 & IF(OR($AH195,RIGHT($AF195,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P195","v":"S"},{"$f":"Calculate!Q195","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F195=\"X\",$F195=\"H\",$F195=\"Z-ERROR\"),$F195,IF($V195>=RULES!$F$149,\"1\",IF($W195>=RULES!$F$149,\"2\",IF($X195>=RULES!$F$149,\"3\",IF($Y195>=RULES!$F$149,\"4\",IF($Z195>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA195<>\"*\",\"~\",IF($V195>=RULES!$G$149,\"1?\",IF($W195>=RULES!$G$149,\"2?\",IF($X195>=RULES!$G$149,\"3?\",IF($Y195>=RULES!$G$149,\"4?\",IF($Z195>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB195<>\"*\",\"~\",IF((V195+W195>=RULES!$F$149),\"12\",IF((W195+X195>=RULES!$F$149),\"23\",IF((X195+Y195>=RULES!$F$149),\"34\",IF((Y195+Z195>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC195<>\"*\",\"~\",IF(Y195+Z195<(1-RULES!$F$149),\"13\",IF(V195+Z195<(1-RULES!$F$149),\"24\",IF(V195+W195<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F195=\"X\",$F195=\"H\",$F195=\"Z-ERROR\",AND($AA195=\"H\",$AH195)),$AE195,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P195,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L195,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M195,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N195,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E195&\"1\",IF(NOT($AH195),$E195&\"U\",$AE195)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN195","v":""},{"$f":"'Calculator Table'!BR195","v":0},{"$f":"Calculate!AV195","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A196","v":0},{"$f":"IF(F196=\"X\",\"X\",(IF(F196<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H196),0,Calculate!H196),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N196),0,Calculate!N196),IF(ISERROR(Calculate!J196),0,Calculate!J196))))))","v":0},{"$f":"IF(F196=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I196),$C$2,Calculate!I196),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O196),$C$2,Calculate!O196),IF(ISERROR(Calculate!K196),$C$2,Calculate!K196))))","v":5.5},{"$f":"AF196 & IF(OR($AH196,RIGHT($AF196,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P196","v":"S"},{"$f":"Calculate!Q196","v":"*"},{"$f":"B196","v":0},5.5,{"$f":"AF196","v":{"$error":"#VALUE!"}},0,5.5,{"$f":"K196-J196","v":5.5},0,1.5,2.5,3.5,4.5,4,3,2,1,{"$f":"IF($L196=0,IF($M196=1,1,0),$N196/$L196)","v":0.27272727272727271},{"$f":"IF($L196=0,IF($M196=2,1,0),($O196-$N196)/$L196)","v":0.18181818181818182},{"$f":"IF($L196=0,IF($M196=3,1,0),($P196-$O196)/$L196)","v":0.18181818181818182},{"$f":"IF($L196=0,IF($M196=4,1,0),($Q196-$P196)/$L196)","v":0.18181818181818182},{"$f":"IF($L196=0,IF($M196=5,1,0),$U196/$L196)","v":0.18181818181818182},{"$f":"IF(OR($F196=\"X\",$F196=\"H\",$F196=\"Z-ERROR\"),$F196,IF($V196>=RULES!$F$149,\"1\",IF($W196>=RULES!$F$149,\"2\",IF($X196>=RULES!$F$149,\"3\",IF($Y196>=RULES!$F$149,\"4\",IF($Z196>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA196<>\"*\",\"~\",IF($V196>=RULES!$G$149,\"1?\",IF($W196>=RULES!$G$149,\"2?\",IF($X196>=RULES!$G$149,\"3?\",IF($Y196>=RULES!$G$149,\"4?\",IF($Z196>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB196<>\"*\",\"~\",IF((V196+W196>=RULES!$F$149),\"12\",IF((W196+X196>=RULES!$F$149),\"23\",IF((X196+Y196>=RULES!$F$149),\"34\",IF((Y196+Z196>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC196<>\"*\",\"~\",IF(Y196+Z196<(1-RULES!$F$149),\"13\",IF(V196+Z196<(1-RULES!$F$149),\"24\",IF(V196+W196<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},{"$f":"IF(AA196<>\"*\",CONCATENATE(E196,AA196),IF(AB196<>\"*\",CONCATENATE(E196,AB196),IF(AC196<>\"*\",CONCATENATE(E196,LEFT(AC196,1),E196,RIGHT(AC196,1)),IF(AD196=\"NR\",CONCATENATE(E196,\"NR\"),IF(AD196=\"U\",CONCATENATE(E196,\"U\"),CONCATENATE(E196,LEFT(AD196,1),E196,RIGHT(AD196,1)))))))","v":"SU"},{"$f":"IF(OR($F196=\"X\",$F196=\"H\",$F196=\"Z-ERROR\",AND($AA196=\"H\",$AH196)),$AE196,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P196,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L196,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M196,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N196,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E196&\"1\",IF(NOT($AH196),$E196&\"U\",$AE196)))","v":{"$error":"#VALUE!"}},{"$f":"IF(AE196=AF196,\"\",\"changed\")","v":{"$error":"#VALUE!"}},{"$f":"'Calculator Table'!BN196","v":""},{"$f":"'Calculator Table'!BR196","v":0},{"$f":"Calculate!AV196","v":2},null,null,null,null,null,{"$f":"AND(AF196=AM196)","v":{"$error":"#VALUE!"}}]
[{"$f":"Calculate!A197","v":0},{"$f":"IF(F197=\"X\",\"X\",(IF(F197<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H197),0,Calculate!H197),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N197),0,Calculate!N197),IF(ISERROR(Calculate!J197),0,Calculate!J197))))))","v":0},{"$f":"IF(F197=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I197),$C$2,Calculate!I197),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O197),$C$2,Calculate!O197),IF(ISERROR(Calculate!K197),$C$2,Calculate!K197))))","v":5.5},{"$f":"AF197 & IF(OR($AH197,RIGHT($AF197,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P197","v":"S"},{"$f":"Calculate!Q197","v":"*"},0,5.5,{"$error":"#VALUE!"},{"$f":"IF(G197=\"H\",0,MIN(MAX(G197,0),$C$2))","v":0},{"$f":"IF(H197=\"H\",0,MIN(MAX(H197,0),$C$2))","v":5.5},5.5,{"$f":"IF(L197=0,IF(J197<=1.5,1,IF(J197<=2.5,2,IF(J197<=3.5,3,IF(J197<=4.5,4,5)))),0)","v":0},{"$f":"IF($J197<=1.5,IF($K197<=1.5,$L197,1.5-$J197),0)","v":1.5},{"$f":"IF($J197<=2.5,IF($K197<=2.5,$L197,2.5-$J197),0)","v":2.5},{"$f":"IF($J197<=3.5,IF($K197<=3.5,$L197,3.5-$J197),0)","v":3.5},{"$f":"IF($J197<=4.5,IF($K197<=4.5,$L197,4.5-$J197),0)","v":4.5},{"$f":"IF($K197<=1.5,0,IF($J197>1.5,$L197,$K197-1.5))","v":4},{"$f":"IF($K197<=2.5,0,IF($J197>2.5,$L197,$K197-2.5))","v":3},{"$f":"IF($K197<=3.5,0,IF($J197>3.5,$L197,$K197-3.5))","v":2},{"$f":"IF($K197<=4.5,0,IF($J197>4.5,$L197,$K197-4.5))","v":1},0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F197=\"X\",$F197=\"H\",$F197=\"Z-ERROR\"),$F197,IF($V197>=RULES!$F$149,\"1\",IF($W197>=RULES!$F$149,\"2\",IF($X197>=RULES!$F$149,\"3\",IF($Y197>=RULES!$F$149,\"4\",IF($Z197>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA197<>\"*\",\"~\",IF($V197>=RULES!$G$149,\"1?\",IF($W197>=RULES!$G$149,\"2?\",IF($X197>=RULES!$G$149,\"3?\",IF($Y197>=RULES!$G$149,\"4?\",IF($Z197>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB197<>\"*\",\"~\",IF((V197+W197>=RULES!$F$149),\"12\",IF((W197+X197>=RULES!$F$149),\"23\",IF((X197+Y197>=RULES!$F$149),\"34\",IF((Y197+Z197>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC197<>\"*\",\"~\",IF(Y197+Z197<(1-RULES!$F$149),\"13\",IF(V197+Z197<(1-RULES!$F$149),\"24\",IF(V197+W197<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F197=\"X\",$F197=\"H\",$F197=\"Z-ERROR\",AND($AA197=\"H\",$AH197)),$AE197,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P197,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L197,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M197,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N197,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E197&\"1\",IF(NOT($AH197),$E197&\"U\",$AE197)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN197","v":""},{"$f":"'Calculator Table'!BR197","v":0},{"$f":"Calculate!AV197","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A198","v":0},{"$f":"IF(F198=\"X\",\"X\",(IF(F198<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H198),0,Calculate!H198),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N198),0,Calculate!N198),IF(ISERROR(Calculate!J198),0,Calculate!J198))))))","v":0},{"$f":"IF(F198=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I198),$C$2,Calculate!I198),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O198),$C$2,Calculate!O198),IF(ISERROR(Calculate!K198),$C$2,Calculate!K198))))","v":5.5},{"$f":"AF198 & IF(OR($AH198,RIGHT($AF198,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P198","v":"S"},{"$f":"Calculate!Q198","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F198=\"X\",$F198=\"H\",$F198=\"Z-ERROR\"),$F198,IF($V198>=RULES!$F$149,\"1\",IF($W198>=RULES!$F$149,\"2\",IF($X198>=RULES!$F$149,\"3\",IF($Y198>=RULES!$F$149,\"4\",IF($Z198>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA198<>\"*\",\"~\",IF($V198>=RULES!$G$149,\"1?\",IF($W198>=RULES!$G$149,\"2?\",IF($X198>=RULES!$G$149,\"3?\",IF($Y198>=RULES!$G$149,\"4?\",IF($Z198>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB198<>\"*\",\"~\",IF((V198+W198>=RULES!$F$149),\"12\",IF((W198+X198>=RULES!$F$149),\"23\",IF((X198+Y198>=RULES!$F$149),\"34\",IF((Y198+Z198>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC198<>\"*\",\"~\",IF(Y198+Z198<(1-RULES!$F$149),\"13\",IF(V198+Z198<(1-RULES!$F$149),\"24\",IF(V198+W198<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F198=\"X\",$F198=\"H\",$F198=\"Z-ERROR\",AND($AA198=\"H\",$AH198)),$AE198,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P198,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L198,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M198,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N198,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E198&\"1\",IF(NOT($AH198),$E198&\"U\",$AE198)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN198","v":""},{"$f":"'Calculator Table'!BR198","v":0},{"$f":"Calculate!AV198","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A199","v":0},{"$f":"IF(F199=\"X\",\"X\",(IF(F199<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H199),0,Calculate!H199),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N199),0,Calculate!N199),IF(ISERROR(Calculate!J199),0,Calculate!J199))))))","v":0},{"$f":"IF(F199=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I199),$C$2,Calculate!I199),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O199),$C$2,Calculate!O199),IF(ISERROR(Calculate!K199),$C$2,Calculate!K199))))","v":5.5},{"$f":"AF199 & IF(OR($AH199,RIGHT($AF199,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P199","v":"S"},{"$f":"Calculate!Q199","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F199=\"X\",$F199=\"H\",$F199=\"Z-ERROR\"),$F199,IF($V199>=RULES!$F$149,\"1\",IF($W199>=RULES!$F$149,\"2\",IF($X199>=RULES!$F$149,\"3\",IF($Y199>=RULES!$F$149,\"4\",IF($Z199>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA199<>\"*\",\"~\",IF($V199>=RULES!$G$149,\"1?\",IF($W199>=RULES!$G$149,\"2?\",IF($X199>=RULES!$G$149,\"3?\",IF($Y199>=RULES!$G$149,\"4?\",IF($Z199>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB199<>\"*\",\"~\",IF((V199+W199>=RULES!$F$149),\"12\",IF((W199+X199>=RULES!$F$149),\"23\",IF((X199+Y199>=RULES!$F$149),\"34\",IF((Y199+Z199>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC199<>\"*\",\"~\",IF(Y199+Z199<(1-RULES!$F$149),\"13\",IF(V199+Z199<(1-RULES!$F$149),\"24\",IF(V199+W199<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F199=\"X\",$F199=\"H\",$F199=\"Z-ERROR\",AND($AA199=\"H\",$AH199)),$AE199,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P199,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L199,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M199,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N199,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E199&\"1\",IF(NOT($AH199),$E199&\"U\",$AE199)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN199","v":""},{"$f":"'Calculator Table'!BR199","v":0},{"$f":"Calculate!AV199","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A200","v":0},{"$f":"IF(F200=\"X\",\"X\",(IF(F200<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H200),0,Calculate!H200),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N200),0,Calculate!N200),IF(ISERROR(Calculate!J200),0,Calculate!J200))))))","v":0},{"$f":"IF(F200=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I200),$C$2,Calculate!I200),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O200),$C$2,Calculate!O200),IF(ISERROR(Calculate!K200),$C$2,Calculate!K200))))","v":5.5},{"$f":"AF200 & IF(OR($AH200,RIGHT($AF200,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P200","v":"S"},{"$f":"Calculate!Q200","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F200=\"X\",$F200=\"H\",$F200=\"Z-ERROR\"),$F200,IF($V200>=RULES!$F$149,\"1\",IF($W200>=RULES!$F$149,\"2\",IF($X200>=RULES!$F$149,\"3\",IF($Y200>=RULES!$F$149,\"4\",IF($Z200>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA200<>\"*\",\"~\",IF($V200>=RULES!$G$149,\"1?\",IF($W200>=RULES!$G$149,\"2?\",IF($X200>=RULES!$G$149,\"3?\",IF($Y200>=RULES!$G$149,\"4?\",IF($Z200>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB200<>\"*\",\"~\",IF((V200+W200>=RULES!$F$149),\"12\",IF((W200+X200>=RULES!$F$149),\"23\",IF((X200+Y200>=RULES!$F$149),\"34\",IF((Y200+Z200>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC200<>\"*\",\"~\",IF(Y200+Z200<(1-RULES!$F$149),\"13\",IF(V200+Z200<(1-RULES!$F$149),\"24\",IF(V200+W200<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F200=\"X\",$F200=\"H\",$F200=\"Z-ERROR\",AND($AA200=\"H\",$AH200)),$AE200,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P200,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L200,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M200,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N200,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E200&\"1\",IF(NOT($AH200),$E200&\"U\",$AE200)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN200","v":""},{"$f":"'Calculator Table'!BR200","v":0},{"$f":"Calculate!AV200","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A201","v":0},{"$f":"IF(F201=\"X\",\"X\",(IF(F201<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H201),0,Calculate!H201),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N201),0,Calculate!N201),IF(ISERROR(Calculate!J201),0,Calculate!J201))))))","v":0},{"$f":"IF(F201=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I201),$C$2,Calculate!I201),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O201),$C$2,Calculate!O201),IF(ISERROR(Calculate!K201),$C$2,Calculate!K201))))","v":5.5},{"$f":"AF201 & IF(OR($AH201,RIGHT($AF201,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P201","v":"S"},{"$f":"Calculate!Q201","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F201=\"X\",$F201=\"H\",$F201=\"Z-ERROR\"),$F201,IF($V201>=RULES!$F$149,\"1\",IF($W201>=RULES!$F$149,\"2\",IF($X201>=RULES!$F$149,\"3\",IF($Y201>=RULES!$F$149,\"4\",IF($Z201>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA201<>\"*\",\"~\",IF($V201>=RULES!$G$149,\"1?\",IF($W201>=RULES!$G$149,\"2?\",IF($X201>=RULES!$G$149,\"3?\",IF($Y201>=RULES!$G$149,\"4?\",IF($Z201>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB201<>\"*\",\"~\",IF((V201+W201>=RULES!$F$149),\"12\",IF((W201+X201>=RULES!$F$149),\"23\",IF((X201+Y201>=RULES!$F$149),\"34\",IF((Y201+Z201>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC201<>\"*\",\"~\",IF(Y201+Z201<(1-RULES!$F$149),\"13\",IF(V201+Z201<(1-RULES!$F$149),\"24\",IF(V201+W201<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F201=\"X\",$F201=\"H\",$F201=\"Z-ERROR\",AND($AA201=\"H\",$AH201)),$AE201,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P201,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L201,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M201,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N201,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E201&\"1\",IF(NOT($AH201),$E201&\"U\",$AE201)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN201","v":""},{"$f":"'Calculator Table'!BR201","v":0},{"$f":"Calculate!AV201","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A202","v":0},{"$f":"IF(F202=\"X\",\"X\",(IF(F202<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H202),0,Calculate!H202),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N202),0,Calculate!N202),IF(ISERROR(Calculate!J202),0,Calculate!J202))))))","v":0},{"$f":"IF(F202=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I202),$C$2,Calculate!I202),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O202),$C$2,Calculate!O202),IF(ISERROR(Calculate!K202),$C$2,Calculate!K202))))","v":5.5},{"$f":"AF202 & IF(OR($AH202,RIGHT($AF202,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P202","v":"S"},{"$f":"Calculate!Q202","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F202=\"X\",$F202=\"H\",$F202=\"Z-ERROR\"),$F202,IF($V202>=RULES!$F$149,\"1\",IF($W202>=RULES!$F$149,\"2\",IF($X202>=RULES!$F$149,\"3\",IF($Y202>=RULES!$F$149,\"4\",IF($Z202>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA202<>\"*\",\"~\",IF($V202>=RULES!$G$149,\"1?\",IF($W202>=RULES!$G$149,\"2?\",IF($X202>=RULES!$G$149,\"3?\",IF($Y202>=RULES!$G$149,\"4?\",IF($Z202>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB202<>\"*\",\"~\",IF((V202+W202>=RULES!$F$149),\"12\",IF((W202+X202>=RULES!$F$149),\"23\",IF((X202+Y202>=RULES!$F$149),\"34\",IF((Y202+Z202>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC202<>\"*\",\"~\",IF(Y202+Z202<(1-RULES!$F$149),\"13\",IF(V202+Z202<(1-RULES!$F$149),\"24\",IF(V202+W202<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F202=\"X\",$F202=\"H\",$F202=\"Z-ERROR\",AND($AA202=\"H\",$AH202)),$AE202,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P202,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L202,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M202,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N202,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E202&\"1\",IF(NOT($AH202),$E202&\"U\",$AE202)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN202","v":""},{"$f":"'Calculator Table'!BR202","v":0},{"$f":"Calculate!AV202","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A203","v":0},{"$f":"IF(F203=\"X\",\"X\",(IF(F203<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H203),0,Calculate!H203),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N203),0,Calculate!N203),IF(ISERROR(Calculate!J203),0,Calculate!J203))))))","v":0},{"$f":"IF(F203=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I203),$C$2,Calculate!I203),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O203),$C$2,Calculate!O203),IF(ISERROR(Calculate!K203),$C$2,Calculate!K203))))","v":5.5},{"$f":"AF203 & IF(OR($AH203,RIGHT($AF203,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P203","v":"S"},{"$f":"Calculate!Q203","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F203=\"X\",$F203=\"H\",$F203=\"Z-ERROR\"),$F203,IF($V203>=RULES!$F$149,\"1\",IF($W203>=RULES!$F$149,\"2\",IF($X203>=RULES!$F$149,\"3\",IF($Y203>=RULES!$F$149,\"4\",IF($Z203>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA203<>\"*\",\"~\",IF($V203>=RULES!$G$149,\"1?\",IF($W203>=RULES!$G$149,\"2?\",IF($X203>=RULES!$G$149,\"3?\",IF($Y203>=RULES!$G$149,\"4?\",IF($Z203>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB203<>\"*\",\"~\",IF((V203+W203>=RULES!$F$149),\"12\",IF((W203+X203>=RULES!$F$149),\"23\",IF((X203+Y203>=RULES!$F$149),\"34\",IF((Y203+Z203>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC203<>\"*\",\"~\",IF(Y203+Z203<(1-RULES!$F$149),\"13\",IF(V203+Z203<(1-RULES!$F$149),\"24\",IF(V203+W203<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F203=\"X\",$F203=\"H\",$F203=\"Z-ERROR\",AND($AA203=\"H\",$AH203)),$AE203,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P203,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L203,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M203,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N203,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E203&\"1\",IF(NOT($AH203),$E203&\"U\",$AE203)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN203","v":""},{"$f":"'Calculator Table'!BR203","v":0},{"$f":"Calculate!AV203","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A204","v":0},{"$f":"IF(F204=\"X\",\"X\",(IF(F204<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H204),0,Calculate!H204),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N204),0,Calculate!N204),IF(ISERROR(Calculate!J204),0,Calculate!J204))))))","v":0},{"$f":"IF(F204=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I204),$C$2,Calculate!I204),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O204),$C$2,Calculate!O204),IF(ISERROR(Calculate!K204),$C$2,Calculate!K204))))","v":5.5},{"$f":"AF204 & IF(OR($AH204,RIGHT($AF204,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P204","v":"S"},{"$f":"Calculate!Q204","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F204=\"X\",$F204=\"H\",$F204=\"Z-ERROR\"),$F204,IF($V204>=RULES!$F$149,\"1\",IF($W204>=RULES!$F$149,\"2\",IF($X204>=RULES!$F$149,\"3\",IF($Y204>=RULES!$F$149,\"4\",IF($Z204>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA204<>\"*\",\"~\",IF($V204>=RULES!$G$149,\"1?\",IF($W204>=RULES!$G$149,\"2?\",IF($X204>=RULES!$G$149,\"3?\",IF($Y204>=RULES!$G$149,\"4?\",IF($Z204>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB204<>\"*\",\"~\",IF((V204+W204>=RULES!$F$149),\"12\",IF((W204+X204>=RULES!$F$149),\"23\",IF((X204+Y204>=RULES!$F$149),\"34\",IF((Y204+Z204>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC204<>\"*\",\"~\",IF(Y204+Z204<(1-RULES!$F$149),\"13\",IF(V204+Z204<(1-RULES!$F$149),\"24\",IF(V204+W204<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F204=\"X\",$F204=\"H\",$F204=\"Z-ERROR\",AND($AA204=\"H\",$AH204)),$AE204,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P204,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L204,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M204,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N204,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E204&\"1\",IF(NOT($AH204),$E204&\"U\",$AE204)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN204","v":""},{"$f":"'Calculator Table'!BR204","v":0},{"$f":"Calculate!AV204","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A205","v":0},{"$f":"IF(F205=\"X\",\"X\",(IF(F205<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H205),0,Calculate!H205),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N205),0,Calculate!N205),IF(ISERROR(Calculate!J205),0,Calculate!J205))))))","v":0},{"$f":"IF(F205=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I205),$C$2,Calculate!I205),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O205),$C$2,Calculate!O205),IF(ISERROR(Calculate!K205),$C$2,Calculate!K205))))","v":5.5},{"$f":"AF205 & IF(OR($AH205,RIGHT($AF205,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P205","v":"S"},{"$f":"Calculate!Q205","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F205=\"X\",$F205=\"H\",$F205=\"Z-ERROR\"),$F205,IF($V205>=RULES!$F$149,\"1\",IF($W205>=RULES!$F$149,\"2\",IF($X205>=RULES!$F$149,\"3\",IF($Y205>=RULES!$F$149,\"4\",IF($Z205>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA205<>\"*\",\"~\",IF($V205>=RULES!$G$149,\"1?\",IF($W205>=RULES!$G$149,\"2?\",IF($X205>=RULES!$G$149,\"3?\",IF($Y205>=RULES!$G$149,\"4?\",IF($Z205>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB205<>\"*\",\"~\",IF((V205+W205>=RULES!$F$149),\"12\",IF((W205+X205>=RULES!$F$149),\"23\",IF((X205+Y205>=RULES!$F$149),\"34\",IF((Y205+Z205>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC205<>\"*\",\"~\",IF(Y205+Z205<(1-RULES!$F$149),\"13\",IF(V205+Z205<(1-RULES!$F$149),\"24\",IF(V205+W205<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F205=\"X\",$F205=\"H\",$F205=\"Z-ERROR\",AND($AA205=\"H\",$AH205)),$AE205,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P205,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L205,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M205,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N205,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E205&\"1\",IF(NOT($AH205),$E205&\"U\",$AE205)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN205","v":""},{"$f":"'Calculator Table'!BR205","v":0},{"$f":"Calculate!AV205","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A206","v":0},{"$f":"IF(F206=\"X\",\"X\",(IF(F206<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H206),0,Calculate!H206),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N206),0,Calculate!N206),IF(ISERROR(Calculate!J206),0,Calculate!J206))))))","v":0},{"$f":"IF(F206=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I206),$C$2,Calculate!I206),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O206),$C$2,Calculate!O206),IF(ISERROR(Calculate!K206),$C$2,Calculate!K206))))","v":5.5},{"$f":"AF206 & IF(OR($AH206,RIGHT($AF206,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P206","v":"S"},{"$f":"Calculate!Q206","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F206=\"X\",$F206=\"H\",$F206=\"Z-ERROR\"),$F206,IF($V206>=RULES!$F$149,\"1\",IF($W206>=RULES!$F$149,\"2\",IF($X206>=RULES!$F$149,\"3\",IF($Y206>=RULES!$F$149,\"4\",IF($Z206>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA206<>\"*\",\"~\",IF($V206>=RULES!$G$149,\"1?\",IF($W206>=RULES!$G$149,\"2?\",IF($X206>=RULES!$G$149,\"3?\",IF($Y206>=RULES!$G$149,\"4?\",IF($Z206>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB206<>\"*\",\"~\",IF((V206+W206>=RULES!$F$149),\"12\",IF((W206+X206>=RULES!$F$149),\"23\",IF((X206+Y206>=RULES!$F$149),\"34\",IF((Y206+Z206>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC206<>\"*\",\"~\",IF(Y206+Z206<(1-RULES!$F$149),\"13\",IF(V206+Z206<(1-RULES!$F$149),\"24\",IF(V206+W206<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F206=\"X\",$F206=\"H\",$F206=\"Z-ERROR\",AND($AA206=\"H\",$AH206)),$AE206,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P206,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L206,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M206,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N206,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E206&\"1\",IF(NOT($AH206),$E206&\"U\",$AE206)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN206","v":""},{"$f":"'Calculator Table'!BR206","v":0},{"$f":"Calculate!AV206","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A207","v":0},{"$f":"IF(F207=\"X\",\"X\",(IF(F207<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H207),0,Calculate!H207),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N207),0,Calculate!N207),IF(ISERROR(Calculate!J207),0,Calculate!J207))))))","v":0},{"$f":"IF(F207=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I207),$C$2,Calculate!I207),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O207),$C$2,Calculate!O207),IF(ISERROR(Calculate!K207),$C$2,Calculate!K207))))","v":5.5},{"$f":"AF207 & IF(OR($AH207,RIGHT($AF207,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P207","v":"S"},{"$f":"Calculate!Q207","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F207=\"X\",$F207=\"H\",$F207=\"Z-ERROR\"),$F207,IF($V207>=RULES!$F$149,\"1\",IF($W207>=RULES!$F$149,\"2\",IF($X207>=RULES!$F$149,\"3\",IF($Y207>=RULES!$F$149,\"4\",IF($Z207>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA207<>\"*\",\"~\",IF($V207>=RULES!$G$149,\"1?\",IF($W207>=RULES!$G$149,\"2?\",IF($X207>=RULES!$G$149,\"3?\",IF($Y207>=RULES!$G$149,\"4?\",IF($Z207>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB207<>\"*\",\"~\",IF((V207+W207>=RULES!$F$149),\"12\",IF((W207+X207>=RULES!$F$149),\"23\",IF((X207+Y207>=RULES!$F$149),\"34\",IF((Y207+Z207>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC207<>\"*\",\"~\",IF(Y207+Z207<(1-RULES!$F$149),\"13\",IF(V207+Z207<(1-RULES!$F$149),\"24\",IF(V207+W207<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F207=\"X\",$F207=\"H\",$F207=\"Z-ERROR\",AND($AA207=\"H\",$AH207)),$AE207,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P207,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L207,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M207,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N207,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E207&\"1\",IF(NOT($AH207),$E207&\"U\",$AE207)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN207","v":""},{"$f":"'Calculator Table'!BR207","v":0},{"$f":"Calculate!AV207","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A208","v":0},{"$f":"IF(F208=\"X\",\"X\",(IF(F208<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H208),0,Calculate!H208),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N208),0,Calculate!N208),IF(ISERROR(Calculate!J208),0,Calculate!J208))))))","v":0},{"$f":"IF(F208=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I208),$C$2,Calculate!I208),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O208),$C$2,Calculate!O208),IF(ISERROR(Calculate!K208),$C$2,Calculate!K208))))","v":5.5},{"$f":"AF208 & IF(OR($AH208,RIGHT($AF208,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P208","v":"S"},{"$f":"Calculate!Q208","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F208=\"X\",$F208=\"H\",$F208=\"Z-ERROR\"),$F208,IF($V208>=RULES!$F$149,\"1\",IF($W208>=RULES!$F$149,\"2\",IF($X208>=RULES!$F$149,\"3\",IF($Y208>=RULES!$F$149,\"4\",IF($Z208>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA208<>\"*\",\"~\",IF($V208>=RULES!$G$149,\"1?\",IF($W208>=RULES!$G$149,\"2?\",IF($X208>=RULES!$G$149,\"3?\",IF($Y208>=RULES!$G$149,\"4?\",IF($Z208>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB208<>\"*\",\"~\",IF((V208+W208>=RULES!$F$149),\"12\",IF((W208+X208>=RULES!$F$149),\"23\",IF((X208+Y208>=RULES!$F$149),\"34\",IF((Y208+Z208>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC208<>\"*\",\"~\",IF(Y208+Z208<(1-RULES!$F$149),\"13\",IF(V208+Z208<(1-RULES!$F$149),\"24\",IF(V208+W208<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F208=\"X\",$F208=\"H\",$F208=\"Z-ERROR\",AND($AA208=\"H\",$AH208)),$AE208,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P208,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L208,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M208,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N208,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E208&\"1\",IF(NOT($AH208),$E208&\"U\",$AE208)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN208","v":""},{"$f":"'Calculator Table'!BR208","v":0},{"$f":"Calculate!AV208","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A209","v":0},{"$f":"IF(F209=\"X\",\"X\",(IF(F209<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H209),0,Calculate!H209),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N209),0,Calculate!N209),IF(ISERROR(Calculate!J209),0,Calculate!J209))))))","v":0},{"$f":"IF(F209=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I209),$C$2,Calculate!I209),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O209),$C$2,Calculate!O209),IF(ISERROR(Calculate!K209),$C$2,Calculate!K209))))","v":5.5},{"$f":"AF209 & IF(OR($AH209,RIGHT($AF209,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P209","v":"S"},{"$f":"Calculate!Q209","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F209=\"X\",$F209=\"H\",$F209=\"Z-ERROR\"),$F209,IF($V209>=RULES!$F$149,\"1\",IF($W209>=RULES!$F$149,\"2\",IF($X209>=RULES!$F$149,\"3\",IF($Y209>=RULES!$F$149,\"4\",IF($Z209>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA209<>\"*\",\"~\",IF($V209>=RULES!$G$149,\"1?\",IF($W209>=RULES!$G$149,\"2?\",IF($X209>=RULES!$G$149,\"3?\",IF($Y209>=RULES!$G$149,\"4?\",IF($Z209>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB209<>\"*\",\"~\",IF((V209+W209>=RULES!$F$149),\"12\",IF((W209+X209>=RULES!$F$149),\"23\",IF((X209+Y209>=RULES!$F$149),\"34\",IF((Y209+Z209>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC209<>\"*\",\"~\",IF(Y209+Z209<(1-RULES!$F$149),\"13\",IF(V209+Z209<(1-RULES!$F$149),\"24\",IF(V209+W209<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F209=\"X\",$F209=\"H\",$F209=\"Z-ERROR\",AND($AA209=\"H\",$AH209)),$AE209,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P209,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L209,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M209,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N209,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E209&\"1\",IF(NOT($AH209),$E209&\"U\",$AE209)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN209","v":""},{"$f":"'Calculator Table'!BR209","v":0},{"$f":"Calculate!AV209","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A210","v":0},{"$f":"IF(F210=\"X\",\"X\",(IF(F210<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H210),0,Calculate!H210),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N210),0,Calculate!N210),IF(ISERROR(Calculate!J210),0,Calculate!J210))))))","v":0},{"$f":"IF(F210=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I210),$C$2,Calculate!I210),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O210),$C$2,Calculate!O210),IF(ISERROR(Calculate!K210),$C$2,Calculate!K210))))","v":5.5},{"$f":"AF210 & IF(OR($AH210,RIGHT($AF210,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P210","v":"S"},{"$f":"Calculate!Q210","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F210=\"X\",$F210=\"H\",$F210=\"Z-ERROR\"),$F210,IF($V210>=RULES!$F$149,\"1\",IF($W210>=RULES!$F$149,\"2\",IF($X210>=RULES!$F$149,\"3\",IF($Y210>=RULES!$F$149,\"4\",IF($Z210>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA210<>\"*\",\"~\",IF($V210>=RULES!$G$149,\"1?\",IF($W210>=RULES!$G$149,\"2?\",IF($X210>=RULES!$G$149,\"3?\",IF($Y210>=RULES!$G$149,\"4?\",IF($Z210>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB210<>\"*\",\"~\",IF((V210+W210>=RULES!$F$149),\"12\",IF((W210+X210>=RULES!$F$149),\"23\",IF((X210+Y210>=RULES!$F$149),\"34\",IF((Y210+Z210>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC210<>\"*\",\"~\",IF(Y210+Z210<(1-RULES!$F$149),\"13\",IF(V210+Z210<(1-RULES!$F$149),\"24\",IF(V210+W210<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F210=\"X\",$F210=\"H\",$F210=\"Z-ERROR\",AND($AA210=\"H\",$AH210)),$AE210,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P210,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L210,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M210,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N210,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E210&\"1\",IF(NOT($AH210),$E210&\"U\",$AE210)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN210","v":""},{"$f":"'Calculator Table'!BR210","v":0},{"$f":"Calculate!AV210","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A211","v":0},{"$f":"IF(F211=\"X\",\"X\",(IF(F211<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H211),0,Calculate!H211),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N211),0,Calculate!N211),IF(ISERROR(Calculate!J211),0,Calculate!J211))))))","v":0},{"$f":"IF(F211=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I211),$C$2,Calculate!I211),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O211),$C$2,Calculate!O211),IF(ISERROR(Calculate!K211),$C$2,Calculate!K211))))","v":5.5},{"$f":"AF211 & IF(OR($AH211,RIGHT($AF211,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P211","v":"S"},{"$f":"Calculate!Q211","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F211=\"X\",$F211=\"H\",$F211=\"Z-ERROR\"),$F211,IF($V211>=RULES!$F$149,\"1\",IF($W211>=RULES!$F$149,\"2\",IF($X211>=RULES!$F$149,\"3\",IF($Y211>=RULES!$F$149,\"4\",IF($Z211>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA211<>\"*\",\"~\",IF($V211>=RULES!$G$149,\"1?\",IF($W211>=RULES!$G$149,\"2?\",IF($X211>=RULES!$G$149,\"3?\",IF($Y211>=RULES!$G$149,\"4?\",IF($Z211>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB211<>\"*\",\"~\",IF((V211+W211>=RULES!$F$149),\"12\",IF((W211+X211>=RULES!$F$149),\"23\",IF((X211+Y211>=RULES!$F$149),\"34\",IF((Y211+Z211>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC211<>\"*\",\"~\",IF(Y211+Z211<(1-RULES!$F$149),\"13\",IF(V211+Z211<(1-RULES!$F$149),\"24\",IF(V211+W211<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F211=\"X\",$F211=\"H\",$F211=\"Z-ERROR\",AND($AA211=\"H\",$AH211)),$AE211,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P211,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L211,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M211,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N211,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E211&\"1\",IF(NOT($AH211),$E211&\"U\",$AE211)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN211","v":""},{"$f":"'Calculator Table'!BR211","v":0},{"$f":"Calculate!AV211","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A212","v":0},{"$f":"IF(F212=\"X\",\"X\",(IF(F212<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H212),0,Calculate!H212),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N212),0,Calculate!N212),IF(ISERROR(Calculate!J212),0,Calculate!J212))))))","v":0},{"$f":"IF(F212=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I212),$C$2,Calculate!I212),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O212),$C$2,Calculate!O212),IF(ISERROR(Calculate!K212),$C$2,Calculate!K212))))","v":5.5},{"$f":"AF212 & IF(OR($AH212,RIGHT($AF212,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P212","v":"S"},{"$f":"Calculate!Q212","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F212=\"X\",$F212=\"H\",$F212=\"Z-ERROR\"),$F212,IF($V212>=RULES!$F$149,\"1\",IF($W212>=RULES!$F$149,\"2\",IF($X212>=RULES!$F$149,\"3\",IF($Y212>=RULES!$F$149,\"4\",IF($Z212>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA212<>\"*\",\"~\",IF($V212>=RULES!$G$149,\"1?\",IF($W212>=RULES!$G$149,\"2?\",IF($X212>=RULES!$G$149,\"3?\",IF($Y212>=RULES!$G$149,\"4?\",IF($Z212>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB212<>\"*\",\"~\",IF((V212+W212>=RULES!$F$149),\"12\",IF((W212+X212>=RULES!$F$149),\"23\",IF((X212+Y212>=RULES!$F$149),\"34\",IF((Y212+Z212>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC212<>\"*\",\"~\",IF(Y212+Z212<(1-RULES!$F$149),\"13\",IF(V212+Z212<(1-RULES!$F$149),\"24\",IF(V212+W212<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F212=\"X\",$F212=\"H\",$F212=\"Z-ERROR\",AND($AA212=\"H\",$AH212)),$AE212,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P212,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L212,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M212,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N212,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E212&\"1\",IF(NOT($AH212),$E212&\"U\",$AE212)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN212","v":""},{"$f":"'Calculator Table'!BR212","v":0},{"$f":"Calculate!AV212","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A213","v":0},{"$f":"IF(F213=\"X\",\"X\",(IF(F213<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H213),0,Calculate!H213),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N213),0,Calculate!N213),IF(ISERROR(Calculate!J213),0,Calculate!J213))))))","v":0},{"$f":"IF(F213=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I213),$C$2,Calculate!I213),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O213),$C$2,Calculate!O213),IF(ISERROR(Calculate!K213),$C$2,Calculate!K213))))","v":5.5},{"$f":"AF213 & IF(OR($AH213,RIGHT($AF213,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P213","v":"S"},{"$f":"Calculate!Q213","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F213=\"X\",$F213=\"H\",$F213=\"Z-ERROR\"),$F213,IF($V213>=RULES!$F$149,\"1\",IF($W213>=RULES!$F$149,\"2\",IF($X213>=RULES!$F$149,\"3\",IF($Y213>=RULES!$F$149,\"4\",IF($Z213>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA213<>\"*\",\"~\",IF($V213>=RULES!$G$149,\"1?\",IF($W213>=RULES!$G$149,\"2?\",IF($X213>=RULES!$G$149,\"3?\",IF($Y213>=RULES!$G$149,\"4?\",IF($Z213>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB213<>\"*\",\"~\",IF((V213+W213>=RULES!$F$149),\"12\",IF((W213+X213>=RULES!$F$149),\"23\",IF((X213+Y213>=RULES!$F$149),\"34\",IF((Y213+Z213>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC213<>\"*\",\"~\",IF(Y213+Z213<(1-RULES!$F$149),\"13\",IF(V213+Z213<(1-RULES!$F$149),\"24\",IF(V213+W213<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F213=\"X\",$F213=\"H\",$F213=\"Z-ERROR\",AND($AA213=\"H\",$AH213)),$AE213,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P213,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L213,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M213,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N213,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E213&\"1\",IF(NOT($AH213),$E213&\"U\",$AE213)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN213","v":""},{"$f":"'Calculator Table'!BR213","v":0},{"$f":"Calculate!AV213","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A214","v":0},{"$f":"IF(F214=\"X\",\"X\",(IF(F214<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H214),0,Calculate!H214),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N214),0,Calculate!N214),IF(ISERROR(Calculate!J214),0,Calculate!J214))))))","v":0},{"$f":"IF(F214=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I214),$C$2,Calculate!I214),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O214),$C$2,Calculate!O214),IF(ISERROR(Calculate!K214),$C$2,Calculate!K214))))","v":5.5},{"$f":"AF214 & IF(OR($AH214,RIGHT($AF214,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P214","v":"S"},{"$f":"Calculate!Q214","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F214=\"X\",$F214=\"H\",$F214=\"Z-ERROR\"),$F214,IF($V214>=RULES!$F$149,\"1\",IF($W214>=RULES!$F$149,\"2\",IF($X214>=RULES!$F$149,\"3\",IF($Y214>=RULES!$F$149,\"4\",IF($Z214>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA214<>\"*\",\"~\",IF($V214>=RULES!$G$149,\"1?\",IF($W214>=RULES!$G$149,\"2?\",IF($X214>=RULES!$G$149,\"3?\",IF($Y214>=RULES!$G$149,\"4?\",IF($Z214>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB214<>\"*\",\"~\",IF((V214+W214>=RULES!$F$149),\"12\",IF((W214+X214>=RULES!$F$149),\"23\",IF((X214+Y214>=RULES!$F$149),\"34\",IF((Y214+Z214>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC214<>\"*\",\"~\",IF(Y214+Z214<(1-RULES!$F$149),\"13\",IF(V214+Z214<(1-RULES!$F$149),\"24\",IF(V214+W214<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F214=\"X\",$F214=\"H\",$F214=\"Z-ERROR\",AND($AA214=\"H\",$AH214)),$AE214,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P214,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L214,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M214,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N214,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E214&\"1\",IF(NOT($AH214),$E214&\"U\",$AE214)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN214","v":""},{"$f":"'Calculator Table'!BR214","v":0},{"$f":"Calculate!AV214","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A215","v":0},{"$f":"IF(F215=\"X\",\"X\",(IF(F215<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H215),0,Calculate!H215),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N215),0,Calculate!N215),IF(ISERROR(Calculate!J215),0,Calculate!J215))))))","v":0},{"$f":"IF(F215=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I215),$C$2,Calculate!I215),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O215),$C$2,Calculate!O215),IF(ISERROR(Calculate!K215),$C$2,Calculate!K215))))","v":5.5},{"$f":"AF215 & IF(OR($AH215,RIGHT($AF215,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P215","v":"S"},{"$f":"Calculate!Q215","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F215=\"X\",$F215=\"H\",$F215=\"Z-ERROR\"),$F215,IF($V215>=RULES!$F$149,\"1\",IF($W215>=RULES!$F$149,\"2\",IF($X215>=RULES!$F$149,\"3\",IF($Y215>=RULES!$F$149,\"4\",IF($Z215>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA215<>\"*\",\"~\",IF($V215>=RULES!$G$149,\"1?\",IF($W215>=RULES!$G$149,\"2?\",IF($X215>=RULES!$G$149,\"3?\",IF($Y215>=RULES!$G$149,\"4?\",IF($Z215>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB215<>\"*\",\"~\",IF((V215+W215>=RULES!$F$149),\"12\",IF((W215+X215>=RULES!$F$149),\"23\",IF((X215+Y215>=RULES!$F$149),\"34\",IF((Y215+Z215>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC215<>\"*\",\"~\",IF(Y215+Z215<(1-RULES!$F$149),\"13\",IF(V215+Z215<(1-RULES!$F$149),\"24\",IF(V215+W215<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F215=\"X\",$F215=\"H\",$F215=\"Z-ERROR\",AND($AA215=\"H\",$AH215)),$AE215,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P215,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L215,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M215,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N215,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E215&\"1\",IF(NOT($AH215),$E215&\"U\",$AE215)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN215","v":""},{"$f":"'Calculator Table'!BR215","v":0},{"$f":"Calculate!AV215","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A216","v":0},{"$f":"IF(F216=\"X\",\"X\",(IF(F216<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H216),0,Calculate!H216),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N216),0,Calculate!N216),IF(ISERROR(Calculate!J216),0,Calculate!J216))))))","v":0},{"$f":"IF(F216=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I216),$C$2,Calculate!I216),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O216),$C$2,Calculate!O216),IF(ISERROR(Calculate!K216),$C$2,Calculate!K216))))","v":5.5},{"$f":"AF216 & IF(OR($AH216,RIGHT($AF216,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P216","v":"S"},{"$f":"Calculate!Q216","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F216=\"X\",$F216=\"H\",$F216=\"Z-ERROR\"),$F216,IF($V216>=RULES!$F$149,\"1\",IF($W216>=RULES!$F$149,\"2\",IF($X216>=RULES!$F$149,\"3\",IF($Y216>=RULES!$F$149,\"4\",IF($Z216>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA216<>\"*\",\"~\",IF($V216>=RULES!$G$149,\"1?\",IF($W216>=RULES!$G$149,\"2?\",IF($X216>=RULES!$G$149,\"3?\",IF($Y216>=RULES!$G$149,\"4?\",IF($Z216>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB216<>\"*\",\"~\",IF((V216+W216>=RULES!$F$149),\"12\",IF((W216+X216>=RULES!$F$149),\"23\",IF((X216+Y216>=RULES!$F$149),\"34\",IF((Y216+Z216>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC216<>\"*\",\"~\",IF(Y216+Z216<(1-RULES!$F$149),\"13\",IF(V216+Z216<(1-RULES!$F$149),\"24\",IF(V216+W216<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F216=\"X\",$F216=\"H\",$F216=\"Z-ERROR\",AND($AA216=\"H\",$AH216)),$AE216,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P216,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L216,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M216,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N216,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E216&\"1\",IF(NOT($AH216),$E216&\"U\",$AE216)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN216","v":""},{"$f":"'Calculator Table'!BR216","v":0},{"$f":"Calculate!AV216","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A217","v":0},{"$f":"IF(F217=\"X\",\"X\",(IF(F217<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H217),0,Calculate!H217),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N217),0,Calculate!N217),IF(ISERROR(Calculate!J217),0,Calculate!J217))))))","v":0},{"$f":"IF(F217=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I217),$C$2,Calculate!I217),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O217),$C$2,Calculate!O217),IF(ISERROR(Calculate!K217),$C$2,Calculate!K217))))","v":5.5},{"$f":"AF217 & IF(OR($AH217,RIGHT($AF217,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P217","v":"S"},{"$f":"Calculate!Q217","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F217=\"X\",$F217=\"H\",$F217=\"Z-ERROR\"),$F217,IF($V217>=RULES!$F$149,\"1\",IF($W217>=RULES!$F$149,\"2\",IF($X217>=RULES!$F$149,\"3\",IF($Y217>=RULES!$F$149,\"4\",IF($Z217>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA217<>\"*\",\"~\",IF($V217>=RULES!$G$149,\"1?\",IF($W217>=RULES!$G$149,\"2?\",IF($X217>=RULES!$G$149,\"3?\",IF($Y217>=RULES!$G$149,\"4?\",IF($Z217>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB217<>\"*\",\"~\",IF((V217+W217>=RULES!$F$149),\"12\",IF((W217+X217>=RULES!$F$149),\"23\",IF((X217+Y217>=RULES!$F$149),\"34\",IF((Y217+Z217>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC217<>\"*\",\"~\",IF(Y217+Z217<(1-RULES!$F$149),\"13\",IF(V217+Z217<(1-RULES!$F$149),\"24\",IF(V217+W217<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F217=\"X\",$F217=\"H\",$F217=\"Z-ERROR\",AND($AA217=\"H\",$AH217)),$AE217,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P217,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L217,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M217,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N217,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E217&\"1\",IF(NOT($AH217),$E217&\"U\",$AE217)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN217","v":""},{"$f":"'Calculator Table'!BR217","v":0},{"$f":"Calculate!AV217","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A218","v":0},{"$f":"IF(F218=\"X\",\"X\",(IF(F218<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H218),0,Calculate!H218),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N218),0,Calculate!N218),IF(ISERROR(Calculate!J218),0,Calculate!J218))))))","v":0},{"$f":"IF(F218=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I218),$C$2,Calculate!I218),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O218),$C$2,Calculate!O218),IF(ISERROR(Calculate!K218),$C$2,Calculate!K218))))","v":5.5},{"$f":"AF218 & IF(OR($AH218,RIGHT($AF218,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P218","v":"S"},{"$f":"Calculate!Q218","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F218=\"X\",$F218=\"H\",$F218=\"Z-ERROR\"),$F218,IF($V218>=RULES!$F$149,\"1\",IF($W218>=RULES!$F$149,\"2\",IF($X218>=RULES!$F$149,\"3\",IF($Y218>=RULES!$F$149,\"4\",IF($Z218>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA218<>\"*\",\"~\",IF($V218>=RULES!$G$149,\"1?\",IF($W218>=RULES!$G$149,\"2?\",IF($X218>=RULES!$G$149,\"3?\",IF($Y218>=RULES!$G$149,\"4?\",IF($Z218>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB218<>\"*\",\"~\",IF((V218+W218>=RULES!$F$149),\"12\",IF((W218+X218>=RULES!$F$149),\"23\",IF((X218+Y218>=RULES!$F$149),\"34\",IF((Y218+Z218>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC218<>\"*\",\"~\",IF(Y218+Z218<(1-RULES!$F$149),\"13\",IF(V218+Z218<(1-RULES!$F$149),\"24\",IF(V218+W218<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F218=\"X\",$F218=\"H\",$F218=\"Z-ERROR\",AND($AA218=\"H\",$AH218)),$AE218,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P218,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L218,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M218,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N218,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E218&\"1\",IF(NOT($AH218),$E218&\"U\",$AE218)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN218","v":""},{"$f":"'Calculator Table'!BR218","v":0},{"$f":"Calculate!AV218","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A219","v":0},{"$f":"IF(F219=\"X\",\"X\",(IF(F219<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H219),0,Calculate!H219),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N219),0,Calculate!N219),IF(ISERROR(Calculate!J219),0,Calculate!J219))))))","v":0},{"$f":"IF(F219=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I219),$C$2,Calculate!I219),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O219),$C$2,Calculate!O219),IF(ISERROR(Calculate!K219),$C$2,Calculate!K219))))","v":5.5},{"$f":"AF219 & IF(OR($AH219,RIGHT($AF219,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P219","v":"S"},{"$f":"Calculate!Q219","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F219=\"X\",$F219=\"H\",$F219=\"Z-ERROR\"),$F219,IF($V219>=RULES!$F$149,\"1\",IF($W219>=RULES!$F$149,\"2\",IF($X219>=RULES!$F$149,\"3\",IF($Y219>=RULES!$F$149,\"4\",IF($Z219>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA219<>\"*\",\"~\",IF($V219>=RULES!$G$149,\"1?\",IF($W219>=RULES!$G$149,\"2?\",IF($X219>=RULES!$G$149,\"3?\",IF($Y219>=RULES!$G$149,\"4?\",IF($Z219>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB219<>\"*\",\"~\",IF((V219+W219>=RULES!$F$149),\"12\",IF((W219+X219>=RULES!$F$149),\"23\",IF((X219+Y219>=RULES!$F$149),\"34\",IF((Y219+Z219>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC219<>\"*\",\"~\",IF(Y219+Z219<(1-RULES!$F$149),\"13\",IF(V219+Z219<(1-RULES!$F$149),\"24\",IF(V219+W219<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F219=\"X\",$F219=\"H\",$F219=\"Z-ERROR\",AND($AA219=\"H\",$AH219)),$AE219,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P219,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L219,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M219,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N219,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E219&\"1\",IF(NOT($AH219),$E219&\"U\",$AE219)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN219","v":""},{"$f":"'Calculator Table'!BR219","v":0},{"$f":"Calculate!AV219","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A220","v":0},{"$f":"IF(F220=\"X\",\"X\",(IF(F220<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H220),0,Calculate!H220),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N220),0,Calculate!N220),IF(ISERROR(Calculate!J220),0,Calculate!J220))))))","v":0},{"$f":"IF(F220=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I220),$C$2,Calculate!I220),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O220),$C$2,Calculate!O220),IF(ISERROR(Calculate!K220),$C$2,Calculate!K220))))","v":5.5},{"$f":"AF220 & IF(OR($AH220,RIGHT($AF220,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P220","v":"S"},{"$f":"Calculate!Q220","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F220=\"X\",$F220=\"H\",$F220=\"Z-ERROR\"),$F220,IF($V220>=RULES!$F$149,\"1\",IF($W220>=RULES!$F$149,\"2\",IF($X220>=RULES!$F$149,\"3\",IF($Y220>=RULES!$F$149,\"4\",IF($Z220>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA220<>\"*\",\"~\",IF($V220>=RULES!$G$149,\"1?\",IF($W220>=RULES!$G$149,\"2?\",IF($X220>=RULES!$G$149,\"3?\",IF($Y220>=RULES!$G$149,\"4?\",IF($Z220>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB220<>\"*\",\"~\",IF((V220+W220>=RULES!$F$149),\"12\",IF((W220+X220>=RULES!$F$149),\"23\",IF((X220+Y220>=RULES!$F$149),\"34\",IF((Y220+Z220>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC220<>\"*\",\"~\",IF(Y220+Z220<(1-RULES!$F$149),\"13\",IF(V220+Z220<(1-RULES!$F$149),\"24\",IF(V220+W220<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F220=\"X\",$F220=\"H\",$F220=\"Z-ERROR\",AND($AA220=\"H\",$AH220)),$AE220,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P220,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L220,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M220,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N220,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E220&\"1\",IF(NOT($AH220),$E220&\"U\",$AE220)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN220","v":""},{"$f":"'Calculator Table'!BR220","v":0},{"$f":"Calculate!AV220","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A221","v":0},{"$f":"IF(F221=\"X\",\"X\",(IF(F221<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H221),0,Calculate!H221),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N221),0,Calculate!N221),IF(ISERROR(Calculate!J221),0,Calculate!J221))))))","v":0},{"$f":"IF(F221=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I221),$C$2,Calculate!I221),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O221),$C$2,Calculate!O221),IF(ISERROR(Calculate!K221),$C$2,Calculate!K221))))","v":5.5},{"$f":"AF221 & IF(OR($AH221,RIGHT($AF221,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P221","v":"S"},{"$f":"Calculate!Q221","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F221=\"X\",$F221=\"H\",$F221=\"Z-ERROR\"),$F221,IF($V221>=RULES!$F$149,\"1\",IF($W221>=RULES!$F$149,\"2\",IF($X221>=RULES!$F$149,\"3\",IF($Y221>=RULES!$F$149,\"4\",IF($Z221>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA221<>\"*\",\"~\",IF($V221>=RULES!$G$149,\"1?\",IF($W221>=RULES!$G$149,\"2?\",IF($X221>=RULES!$G$149,\"3?\",IF($Y221>=RULES!$G$149,\"4?\",IF($Z221>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB221<>\"*\",\"~\",IF((V221+W221>=RULES!$F$149),\"12\",IF((W221+X221>=RULES!$F$149),\"23\",IF((X221+Y221>=RULES!$F$149),\"34\",IF((Y221+Z221>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC221<>\"*\",\"~\",IF(Y221+Z221<(1-RULES!$F$149),\"13\",IF(V221+Z221<(1-RULES!$F$149),\"24\",IF(V221+W221<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F221=\"X\",$F221=\"H\",$F221=\"Z-ERROR\",AND($AA221=\"H\",$AH221)),$AE221,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P221,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L221,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M221,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N221,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E221&\"1\",IF(NOT($AH221),$E221&\"U\",$AE221)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN221","v":""},{"$f":"'Calculator Table'!BR221","v":0},{"$f":"Calculate!AV221","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A222","v":0},{"$f":"IF(F222=\"X\",\"X\",(IF(F222<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H222),0,Calculate!H222),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N222),0,Calculate!N222),IF(ISERROR(Calculate!J222),0,Calculate!J222))))))","v":0},{"$f":"IF(F222=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I222),$C$2,Calculate!I222),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O222),$C$2,Calculate!O222),IF(ISERROR(Calculate!K222),$C$2,Calculate!K222))))","v":5.5},{"$f":"AF222 & IF(OR($AH222,RIGHT($AF222,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P222","v":"S"},{"$f":"Calculate!Q222","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F222=\"X\",$F222=\"H\",$F222=\"Z-ERROR\"),$F222,IF($V222>=RULES!$F$149,\"1\",IF($W222>=RULES!$F$149,\"2\",IF($X222>=RULES!$F$149,\"3\",IF($Y222>=RULES!$F$149,\"4\",IF($Z222>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA222<>\"*\",\"~\",IF($V222>=RULES!$G$149,\"1?\",IF($W222>=RULES!$G$149,\"2?\",IF($X222>=RULES!$G$149,\"3?\",IF($Y222>=RULES!$G$149,\"4?\",IF($Z222>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB222<>\"*\",\"~\",IF((V222+W222>=RULES!$F$149),\"12\",IF((W222+X222>=RULES!$F$149),\"23\",IF((X222+Y222>=RULES!$F$149),\"34\",IF((Y222+Z222>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC222<>\"*\",\"~\",IF(Y222+Z222<(1-RULES!$F$149),\"13\",IF(V222+Z222<(1-RULES!$F$149),\"24\",IF(V222+W222<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F222=\"X\",$F222=\"H\",$F222=\"Z-ERROR\",AND($AA222=\"H\",$AH222)),$AE222,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P222,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L222,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M222,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N222,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E222&\"1\",IF(NOT($AH222),$E222&\"U\",$AE222)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN222","v":""},{"$f":"'Calculator Table'!BR222","v":0},{"$f":"Calculate!AV222","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A223","v":0},{"$f":"IF(F223=\"X\",\"X\",(IF(F223<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H223),0,Calculate!H223),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N223),0,Calculate!N223),IF(ISERROR(Calculate!J223),0,Calculate!J223))))))","v":0},{"$f":"IF(F223=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I223),$C$2,Calculate!I223),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O223),$C$2,Calculate!O223),IF(ISERROR(Calculate!K223),$C$2,Calculate!K223))))","v":5.5},{"$f":"AF223 & IF(OR($AH223,RIGHT($AF223,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P223","v":"S"},{"$f":"Calculate!Q223","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F223=\"X\",$F223=\"H\",$F223=\"Z-ERROR\"),$F223,IF($V223>=RULES!$F$149,\"1\",IF($W223>=RULES!$F$149,\"2\",IF($X223>=RULES!$F$149,\"3\",IF($Y223>=RULES!$F$149,\"4\",IF($Z223>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA223<>\"*\",\"~\",IF($V223>=RULES!$G$149,\"1?\",IF($W223>=RULES!$G$149,\"2?\",IF($X223>=RULES!$G$149,\"3?\",IF($Y223>=RULES!$G$149,\"4?\",IF($Z223>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB223<>\"*\",\"~\",IF((V223+W223>=RULES!$F$149),\"12\",IF((W223+X223>=RULES!$F$149),\"23\",IF((X223+Y223>=RULES!$F$149),\"34\",IF((Y223+Z223>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC223<>\"*\",\"~\",IF(Y223+Z223<(1-RULES!$F$149),\"13\",IF(V223+Z223<(1-RULES!$F$149),\"24\",IF(V223+W223<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F223=\"X\",$F223=\"H\",$F223=\"Z-ERROR\",AND($AA223=\"H\",$AH223)),$AE223,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P223,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L223,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M223,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N223,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E223&\"1\",IF(NOT($AH223),$E223&\"U\",$AE223)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN223","v":""},{"$f":"'Calculator Table'!BR223","v":0},{"$f":"Calculate!AV223","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A224","v":0},{"$f":"IF(F224=\"X\",\"X\",(IF(F224<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H224),0,Calculate!H224),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N224),0,Calculate!N224),IF(ISERROR(Calculate!J224),0,Calculate!J224))))))","v":0},{"$f":"IF(F224=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I224),$C$2,Calculate!I224),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O224),$C$2,Calculate!O224),IF(ISERROR(Calculate!K224),$C$2,Calculate!K224))))","v":5.5},{"$f":"AF224 & IF(OR($AH224,RIGHT($AF224,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P224","v":"S"},{"$f":"Calculate!Q224","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F224=\"X\",$F224=\"H\",$F224=\"Z-ERROR\"),$F224,IF($V224>=RULES!$F$149,\"1\",IF($W224>=RULES!$F$149,\"2\",IF($X224>=RULES!$F$149,\"3\",IF($Y224>=RULES!$F$149,\"4\",IF($Z224>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA224<>\"*\",\"~\",IF($V224>=RULES!$G$149,\"1?\",IF($W224>=RULES!$G$149,\"2?\",IF($X224>=RULES!$G$149,\"3?\",IF($Y224>=RULES!$G$149,\"4?\",IF($Z224>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB224<>\"*\",\"~\",IF((V224+W224>=RULES!$F$149),\"12\",IF((W224+X224>=RULES!$F$149),\"23\",IF((X224+Y224>=RULES!$F$149),\"34\",IF((Y224+Z224>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC224<>\"*\",\"~\",IF(Y224+Z224<(1-RULES!$F$149),\"13\",IF(V224+Z224<(1-RULES!$F$149),\"24\",IF(V224+W224<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F224=\"X\",$F224=\"H\",$F224=\"Z-ERROR\",AND($AA224=\"H\",$AH224)),$AE224,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P224,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L224,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M224,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N224,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E224&\"1\",IF(NOT($AH224),$E224&\"U\",$AE224)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN224","v":""},{"$f":"'Calculator Table'!BR224","v":0},{"$f":"Calculate!AV224","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A225","v":0},{"$f":"IF(F225=\"X\",\"X\",(IF(F225<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H225),0,Calculate!H225),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N225),0,Calculate!N225),IF(ISERROR(Calculate!J225),0,Calculate!J225))))))","v":0},{"$f":"IF(F225=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I225),$C$2,Calculate!I225),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O225),$C$2,Calculate!O225),IF(ISERROR(Calculate!K225),$C$2,Calculate!K225))))","v":5.5},{"$f":"AF225 & IF(OR($AH225,RIGHT($AF225,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P225","v":"S"},{"$f":"Calculate!Q225","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F225=\"X\",$F225=\"H\",$F225=\"Z-ERROR\"),$F225,IF($V225>=RULES!$F$149,\"1\",IF($W225>=RULES!$F$149,\"2\",IF($X225>=RULES!$F$149,\"3\",IF($Y225>=RULES!$F$149,\"4\",IF($Z225>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA225<>\"*\",\"~\",IF($V225>=RULES!$G$149,\"1?\",IF($W225>=RULES!$G$149,\"2?\",IF($X225>=RULES!$G$149,\"3?\",IF($Y225>=RULES!$G$149,\"4?\",IF($Z225>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB225<>\"*\",\"~\",IF((V225+W225>=RULES!$F$149),\"12\",IF((W225+X225>=RULES!$F$149),\"23\",IF((X225+Y225>=RULES!$F$149),\"34\",IF((Y225+Z225>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC225<>\"*\",\"~\",IF(Y225+Z225<(1-RULES!$F$149),\"13\",IF(V225+Z225<(1-RULES!$F$149),\"24\",IF(V225+W225<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F225=\"X\",$F225=\"H\",$F225=\"Z-ERROR\",AND($AA225=\"H\",$AH225)),$AE225,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P225,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L225,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M225,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N225,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E225&\"1\",IF(NOT($AH225),$E225&\"U\",$AE225)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN225","v":""},{"$f":"'Calculator Table'!BR225","v":0},{"$f":"Calculate!AV225","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A226","v":0},{"$f":"IF(F226=\"X\",\"X\",(IF(F226<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H226),0,Calculate!H226),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N226),0,Calculate!N226),IF(ISERROR(Calculate!J226),0,Calculate!J226))))))","v":0},{"$f":"IF(F226=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I226),$C$2,Calculate!I226),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O226),$C$2,Calculate!O226),IF(ISERROR(Calculate!K226),$C$2,Calculate!K226))))","v":5.5},{"$f":"AF226 & IF(OR($AH226,RIGHT($AF226,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P226","v":"S"},{"$f":"Calculate!Q226","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F226=\"X\",$F226=\"H\",$F226=\"Z-ERROR\"),$F226,IF($V226>=RULES!$F$149,\"1\",IF($W226>=RULES!$F$149,\"2\",IF($X226>=RULES!$F$149,\"3\",IF($Y226>=RULES!$F$149,\"4\",IF($Z226>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA226<>\"*\",\"~\",IF($V226>=RULES!$G$149,\"1?\",IF($W226>=RULES!$G$149,\"2?\",IF($X226>=RULES!$G$149,\"3?\",IF($Y226>=RULES!$G$149,\"4?\",IF($Z226>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB226<>\"*\",\"~\",IF((V226+W226>=RULES!$F$149),\"12\",IF((W226+X226>=RULES!$F$149),\"23\",IF((X226+Y226>=RULES!$F$149),\"34\",IF((Y226+Z226>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC226<>\"*\",\"~\",IF(Y226+Z226<(1-RULES!$F$149),\"13\",IF(V226+Z226<(1-RULES!$F$149),\"24\",IF(V226+W226<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F226=\"X\",$F226=\"H\",$F226=\"Z-ERROR\",AND($AA226=\"H\",$AH226)),$AE226,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P226,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L226,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M226,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N226,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E226&\"1\",IF(NOT($AH226),$E226&\"U\",$AE226)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN226","v":""},{"$f":"'Calculator Table'!BR226","v":0},{"$f":"Calculate!AV226","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A227","v":0},{"$f":"IF(F227=\"X\",\"X\",(IF(F227<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H227),0,Calculate!H227),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N227),0,Calculate!N227),IF(ISERROR(Calculate!J227),0,Calculate!J227))))))","v":0},{"$f":"IF(F227=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I227),$C$2,Calculate!I227),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O227),$C$2,Calculate!O227),IF(ISERROR(Calculate!K227),$C$2,Calculate!K227))))","v":5.5},{"$f":"AF227 & IF(OR($AH227,RIGHT($AF227,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P227","v":"S"},{"$f":"Calculate!Q227","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F227=\"X\",$F227=\"H\",$F227=\"Z-ERROR\"),$F227,IF($V227>=RULES!$F$149,\"1\",IF($W227>=RULES!$F$149,\"2\",IF($X227>=RULES!$F$149,\"3\",IF($Y227>=RULES!$F$149,\"4\",IF($Z227>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA227<>\"*\",\"~\",IF($V227>=RULES!$G$149,\"1?\",IF($W227>=RULES!$G$149,\"2?\",IF($X227>=RULES!$G$149,\"3?\",IF($Y227>=RULES!$G$149,\"4?\",IF($Z227>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB227<>\"*\",\"~\",IF((V227+W227>=RULES!$F$149),\"12\",IF((W227+X227>=RULES!$F$149),\"23\",IF((X227+Y227>=RULES!$F$149),\"34\",IF((Y227+Z227>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC227<>\"*\",\"~\",IF(Y227+Z227<(1-RULES!$F$149),\"13\",IF(V227+Z227<(1-RULES!$F$149),\"24\",IF(V227+W227<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F227=\"X\",$F227=\"H\",$F227=\"Z-ERROR\",AND($AA227=\"H\",$AH227)),$AE227,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P227,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L227,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M227,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N227,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E227&\"1\",IF(NOT($AH227),$E227&\"U\",$AE227)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN227","v":""},{"$f":"'Calculator Table'!BR227","v":0},{"$f":"Calculate!AV227","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A228","v":0},{"$f":"IF(F228=\"X\",\"X\",(IF(F228<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H228),0,Calculate!H228),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N228),0,Calculate!N228),IF(ISERROR(Calculate!J228),0,Calculate!J228))))))","v":0},{"$f":"IF(F228=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I228),$C$2,Calculate!I228),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O228),$C$2,Calculate!O228),IF(ISERROR(Calculate!K228),$C$2,Calculate!K228))))","v":5.5},{"$f":"AF228 & IF(OR($AH228,RIGHT($AF228,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P228","v":"S"},{"$f":"Calculate!Q228","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F228=\"X\",$F228=\"H\",$F228=\"Z-ERROR\"),$F228,IF($V228>=RULES!$F$149,\"1\",IF($W228>=RULES!$F$149,\"2\",IF($X228>=RULES!$F$149,\"3\",IF($Y228>=RULES!$F$149,\"4\",IF($Z228>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA228<>\"*\",\"~\",IF($V228>=RULES!$G$149,\"1?\",IF($W228>=RULES!$G$149,\"2?\",IF($X228>=RULES!$G$149,\"3?\",IF($Y228>=RULES!$G$149,\"4?\",IF($Z228>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB228<>\"*\",\"~\",IF((V228+W228>=RULES!$F$149),\"12\",IF((W228+X228>=RULES!$F$149),\"23\",IF((X228+Y228>=RULES!$F$149),\"34\",IF((Y228+Z228>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC228<>\"*\",\"~\",IF(Y228+Z228<(1-RULES!$F$149),\"13\",IF(V228+Z228<(1-RULES!$F$149),\"24\",IF(V228+W228<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F228=\"X\",$F228=\"H\",$F228=\"Z-ERROR\",AND($AA228=\"H\",$AH228)),$AE228,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P228,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L228,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M228,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N228,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E228&\"1\",IF(NOT($AH228),$E228&\"U\",$AE228)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN228","v":""},{"$f":"'Calculator Table'!BR228","v":0},{"$f":"Calculate!AV228","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A229","v":0},{"$f":"IF(F229=\"X\",\"X\",(IF(F229<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H229),0,Calculate!H229),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N229),0,Calculate!N229),IF(ISERROR(Calculate!J229),0,Calculate!J229))))))","v":0},{"$f":"IF(F229=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I229),$C$2,Calculate!I229),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O229),$C$2,Calculate!O229),IF(ISERROR(Calculate!K229),$C$2,Calculate!K229))))","v":5.5},{"$f":"AF229 & IF(OR($AH229,RIGHT($AF229,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P229","v":"S"},{"$f":"Calculate!Q229","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F229=\"X\",$F229=\"H\",$F229=\"Z-ERROR\"),$F229,IF($V229>=RULES!$F$149,\"1\",IF($W229>=RULES!$F$149,\"2\",IF($X229>=RULES!$F$149,\"3\",IF($Y229>=RULES!$F$149,\"4\",IF($Z229>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA229<>\"*\",\"~\",IF($V229>=RULES!$G$149,\"1?\",IF($W229>=RULES!$G$149,\"2?\",IF($X229>=RULES!$G$149,\"3?\",IF($Y229>=RULES!$G$149,\"4?\",IF($Z229>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB229<>\"*\",\"~\",IF((V229+W229>=RULES!$F$149),\"12\",IF((W229+X229>=RULES!$F$149),\"23\",IF((X229+Y229>=RULES!$F$149),\"34\",IF((Y229+Z229>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC229<>\"*\",\"~\",IF(Y229+Z229<(1-RULES!$F$149),\"13\",IF(V229+Z229<(1-RULES!$F$149),\"24\",IF(V229+W229<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F229=\"X\",$F229=\"H\",$F229=\"Z-ERROR\",AND($AA229=\"H\",$AH229)),$AE229,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P229,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L229,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M229,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N229,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E229&\"1\",IF(NOT($AH229),$E229&\"U\",$AE229)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN229","v":""},{"$f":"'Calculator Table'!BR229","v":0},{"$f":"Calculate!AV229","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A230","v":0},{"$f":"IF(F230=\"X\",\"X\",(IF(F230<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H230),0,Calculate!H230),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N230),0,Calculate!N230),IF(ISERROR(Calculate!J230),0,Calculate!J230))))))","v":0},{"$f":"IF(F230=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I230),$C$2,Calculate!I230),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O230),$C$2,Calculate!O230),IF(ISERROR(Calculate!K230),$C$2,Calculate!K230))))","v":5.5},{"$f":"AF230 & IF(OR($AH230,RIGHT($AF230,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P230","v":"S"},{"$f":"Calculate!Q230","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F230=\"X\",$F230=\"H\",$F230=\"Z-ERROR\"),$F230,IF($V230>=RULES!$F$149,\"1\",IF($W230>=RULES!$F$149,\"2\",IF($X230>=RULES!$F$149,\"3\",IF($Y230>=RULES!$F$149,\"4\",IF($Z230>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA230<>\"*\",\"~\",IF($V230>=RULES!$G$149,\"1?\",IF($W230>=RULES!$G$149,\"2?\",IF($X230>=RULES!$G$149,\"3?\",IF($Y230>=RULES!$G$149,\"4?\",IF($Z230>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB230<>\"*\",\"~\",IF((V230+W230>=RULES!$F$149),\"12\",IF((W230+X230>=RULES!$F$149),\"23\",IF((X230+Y230>=RULES!$F$149),\"34\",IF((Y230+Z230>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC230<>\"*\",\"~\",IF(Y230+Z230<(1-RULES!$F$149),\"13\",IF(V230+Z230<(1-RULES!$F$149),\"24\",IF(V230+W230<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F230=\"X\",$F230=\"H\",$F230=\"Z-ERROR\",AND($AA230=\"H\",$AH230)),$AE230,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P230,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L230,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M230,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N230,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E230&\"1\",IF(NOT($AH230),$E230&\"U\",$AE230)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN230","v":""},{"$f":"'Calculator Table'!BR230","v":0},{"$f":"Calculate!AV230","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A231","v":0},{"$f":"IF(F231=\"X\",\"X\",(IF(F231<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H231),0,Calculate!H231),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N231),0,Calculate!N231),IF(ISERROR(Calculate!J231),0,Calculate!J231))))))","v":0},{"$f":"IF(F231=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I231),$C$2,Calculate!I231),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O231),$C$2,Calculate!O231),IF(ISERROR(Calculate!K231),$C$2,Calculate!K231))))","v":5.5},{"$f":"AF231 & IF(OR($AH231,RIGHT($AF231,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P231","v":"S"},{"$f":"Calculate!Q231","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F231=\"X\",$F231=\"H\",$F231=\"Z-ERROR\"),$F231,IF($V231>=RULES!$F$149,\"1\",IF($W231>=RULES!$F$149,\"2\",IF($X231>=RULES!$F$149,\"3\",IF($Y231>=RULES!$F$149,\"4\",IF($Z231>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA231<>\"*\",\"~\",IF($V231>=RULES!$G$149,\"1?\",IF($W231>=RULES!$G$149,\"2?\",IF($X231>=RULES!$G$149,\"3?\",IF($Y231>=RULES!$G$149,\"4?\",IF($Z231>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB231<>\"*\",\"~\",IF((V231+W231>=RULES!$F$149),\"12\",IF((W231+X231>=RULES!$F$149),\"23\",IF((X231+Y231>=RULES!$F$149),\"34\",IF((Y231+Z231>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC231<>\"*\",\"~\",IF(Y231+Z231<(1-RULES!$F$149),\"13\",IF(V231+Z231<(1-RULES!$F$149),\"24\",IF(V231+W231<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F231=\"X\",$F231=\"H\",$F231=\"Z-ERROR\",AND($AA231=\"H\",$AH231)),$AE231,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P231,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L231,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M231,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N231,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E231&\"1\",IF(NOT($AH231),$E231&\"U\",$AE231)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN231","v":""},{"$f":"'Calculator Table'!BR231","v":0},{"$f":"Calculate!AV231","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A232","v":0},{"$f":"IF(F232=\"X\",\"X\",(IF(F232<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H232),0,Calculate!H232),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N232),0,Calculate!N232),IF(ISERROR(Calculate!J232),0,Calculate!J232))))))","v":0},{"$f":"IF(F232=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I232),$C$2,Calculate!I232),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O232),$C$2,Calculate!O232),IF(ISERROR(Calculate!K232),$C$2,Calculate!K232))))","v":5.5},{"$f":"AF232 & IF(OR($AH232,RIGHT($AF232,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P232","v":"S"},{"$f":"Calculate!Q232","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F232=\"X\",$F232=\"H\",$F232=\"Z-ERROR\"),$F232,IF($V232>=RULES!$F$149,\"1\",IF($W232>=RULES!$F$149,\"2\",IF($X232>=RULES!$F$149,\"3\",IF($Y232>=RULES!$F$149,\"4\",IF($Z232>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA232<>\"*\",\"~\",IF($V232>=RULES!$G$149,\"1?\",IF($W232>=RULES!$G$149,\"2?\",IF($X232>=RULES!$G$149,\"3?\",IF($Y232>=RULES!$G$149,\"4?\",IF($Z232>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB232<>\"*\",\"~\",IF((V232+W232>=RULES!$F$149),\"12\",IF((W232+X232>=RULES!$F$149),\"23\",IF((X232+Y232>=RULES!$F$149),\"34\",IF((Y232+Z232>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC232<>\"*\",\"~\",IF(Y232+Z232<(1-RULES!$F$149),\"13\",IF(V232+Z232<(1-RULES!$F$149),\"24\",IF(V232+W232<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F232=\"X\",$F232=\"H\",$F232=\"Z-ERROR\",AND($AA232=\"H\",$AH232)),$AE232,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P232,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L232,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M232,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N232,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E232&\"1\",IF(NOT($AH232),$E232&\"U\",$AE232)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN232","v":""},{"$f":"'Calculator Table'!BR232","v":0},{"$f":"Calculate!AV232","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A233","v":0},{"$f":"IF(F233=\"X\",\"X\",(IF(F233<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H233),0,Calculate!H233),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N233),0,Calculate!N233),IF(ISERROR(Calculate!J233),0,Calculate!J233))))))","v":0},{"$f":"IF(F233=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I233),$C$2,Calculate!I233),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O233),$C$2,Calculate!O233),IF(ISERROR(Calculate!K233),$C$2,Calculate!K233))))","v":5.5},{"$f":"AF233 & IF(OR($AH233,RIGHT($AF233,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P233","v":"S"},{"$f":"Calculate!Q233","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F233=\"X\",$F233=\"H\",$F233=\"Z-ERROR\"),$F233,IF($V233>=RULES!$F$149,\"1\",IF($W233>=RULES!$F$149,\"2\",IF($X233>=RULES!$F$149,\"3\",IF($Y233>=RULES!$F$149,\"4\",IF($Z233>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA233<>\"*\",\"~\",IF($V233>=RULES!$G$149,\"1?\",IF($W233>=RULES!$G$149,\"2?\",IF($X233>=RULES!$G$149,\"3?\",IF($Y233>=RULES!$G$149,\"4?\",IF($Z233>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB233<>\"*\",\"~\",IF((V233+W233>=RULES!$F$149),\"12\",IF((W233+X233>=RULES!$F$149),\"23\",IF((X233+Y233>=RULES!$F$149),\"34\",IF((Y233+Z233>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC233<>\"*\",\"~\",IF(Y233+Z233<(1-RULES!$F$149),\"13\",IF(V233+Z233<(1-RULES!$F$149),\"24\",IF(V233+W233<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F233=\"X\",$F233=\"H\",$F233=\"Z-ERROR\",AND($AA233=\"H\",$AH233)),$AE233,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P233,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L233,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M233,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N233,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E233&\"1\",IF(NOT($AH233),$E233&\"U\",$AE233)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN233","v":""},{"$f":"'Calculator Table'!BR233","v":0},{"$f":"Calculate!AV233","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A234","v":0},{"$f":"IF(F234=\"X\",\"X\",(IF(F234<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H234),0,Calculate!H234),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N234),0,Calculate!N234),IF(ISERROR(Calculate!J234),0,Calculate!J234))))))","v":0},{"$f":"IF(F234=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I234),$C$2,Calculate!I234),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O234),$C$2,Calculate!O234),IF(ISERROR(Calculate!K234),$C$2,Calculate!K234))))","v":5.5},{"$f":"AF234 & IF(OR($AH234,RIGHT($AF234,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P234","v":"S"},{"$f":"Calculate!Q234","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F234=\"X\",$F234=\"H\",$F234=\"Z-ERROR\"),$F234,IF($V234>=RULES!$F$149,\"1\",IF($W234>=RULES!$F$149,\"2\",IF($X234>=RULES!$F$149,\"3\",IF($Y234>=RULES!$F$149,\"4\",IF($Z234>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA234<>\"*\",\"~\",IF($V234>=RULES!$G$149,\"1?\",IF($W234>=RULES!$G$149,\"2?\",IF($X234>=RULES!$G$149,\"3?\",IF($Y234>=RULES!$G$149,\"4?\",IF($Z234>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB234<>\"*\",\"~\",IF((V234+W234>=RULES!$F$149),\"12\",IF((W234+X234>=RULES!$F$149),\"23\",IF((X234+Y234>=RULES!$F$149),\"34\",IF((Y234+Z234>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC234<>\"*\",\"~\",IF(Y234+Z234<(1-RULES!$F$149),\"13\",IF(V234+Z234<(1-RULES!$F$149),\"24\",IF(V234+W234<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F234=\"X\",$F234=\"H\",$F234=\"Z-ERROR\",AND($AA234=\"H\",$AH234)),$AE234,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P234,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L234,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M234,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N234,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E234&\"1\",IF(NOT($AH234),$E234&\"U\",$AE234)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN234","v":""},{"$f":"'Calculator Table'!BR234","v":0},{"$f":"Calculate!AV234","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A235","v":0},{"$f":"IF(F235=\"X\",\"X\",(IF(F235<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H235),0,Calculate!H235),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N235),0,Calculate!N235),IF(ISERROR(Calculate!J235),0,Calculate!J235))))))","v":0},{"$f":"IF(F235=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I235),$C$2,Calculate!I235),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O235),$C$2,Calculate!O235),IF(ISERROR(Calculate!K235),$C$2,Calculate!K235))))","v":5.5},{"$f":"AF235 & IF(OR($AH235,RIGHT($AF235,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P235","v":"S"},{"$f":"Calculate!Q235","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F235=\"X\",$F235=\"H\",$F235=\"Z-ERROR\"),$F235,IF($V235>=RULES!$F$149,\"1\",IF($W235>=RULES!$F$149,\"2\",IF($X235>=RULES!$F$149,\"3\",IF($Y235>=RULES!$F$149,\"4\",IF($Z235>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA235<>\"*\",\"~\",IF($V235>=RULES!$G$149,\"1?\",IF($W235>=RULES!$G$149,\"2?\",IF($X235>=RULES!$G$149,\"3?\",IF($Y235>=RULES!$G$149,\"4?\",IF($Z235>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB235<>\"*\",\"~\",IF((V235+W235>=RULES!$F$149),\"12\",IF((W235+X235>=RULES!$F$149),\"23\",IF((X235+Y235>=RULES!$F$149),\"34\",IF((Y235+Z235>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC235<>\"*\",\"~\",IF(Y235+Z235<(1-RULES!$F$149),\"13\",IF(V235+Z235<(1-RULES!$F$149),\"24\",IF(V235+W235<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F235=\"X\",$F235=\"H\",$F235=\"Z-ERROR\",AND($AA235=\"H\",$AH235)),$AE235,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P235,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L235,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M235,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N235,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E235&\"1\",IF(NOT($AH235),$E235&\"U\",$AE235)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN235","v":""},{"$f":"'Calculator Table'!BR235","v":0},{"$f":"Calculate!AV235","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A236","v":0},{"$f":"IF(F236=\"X\",\"X\",(IF(F236<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H236),0,Calculate!H236),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N236),0,Calculate!N236),IF(ISERROR(Calculate!J236),0,Calculate!J236))))))","v":0},{"$f":"IF(F236=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I236),$C$2,Calculate!I236),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O236),$C$2,Calculate!O236),IF(ISERROR(Calculate!K236),$C$2,Calculate!K236))))","v":5.5},{"$f":"AF236 & IF(OR($AH236,RIGHT($AF236,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P236","v":"S"},{"$f":"Calculate!Q236","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F236=\"X\",$F236=\"H\",$F236=\"Z-ERROR\"),$F236,IF($V236>=RULES!$F$149,\"1\",IF($W236>=RULES!$F$149,\"2\",IF($X236>=RULES!$F$149,\"3\",IF($Y236>=RULES!$F$149,\"4\",IF($Z236>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA236<>\"*\",\"~\",IF($V236>=RULES!$G$149,\"1?\",IF($W236>=RULES!$G$149,\"2?\",IF($X236>=RULES!$G$149,\"3?\",IF($Y236>=RULES!$G$149,\"4?\",IF($Z236>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB236<>\"*\",\"~\",IF((V236+W236>=RULES!$F$149),\"12\",IF((W236+X236>=RULES!$F$149),\"23\",IF((X236+Y236>=RULES!$F$149),\"34\",IF((Y236+Z236>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC236<>\"*\",\"~\",IF(Y236+Z236<(1-RULES!$F$149),\"13\",IF(V236+Z236<(1-RULES!$F$149),\"24\",IF(V236+W236<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F236=\"X\",$F236=\"H\",$F236=\"Z-ERROR\",AND($AA236=\"H\",$AH236)),$AE236,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P236,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L236,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M236,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N236,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E236&\"1\",IF(NOT($AH236),$E236&\"U\",$AE236)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN236","v":""},{"$f":"'Calculator Table'!BR236","v":0},{"$f":"Calculate!AV236","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A237","v":0},{"$f":"IF(F237=\"X\",\"X\",(IF(F237<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H237),0,Calculate!H237),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N237),0,Calculate!N237),IF(ISERROR(Calculate!J237),0,Calculate!J237))))))","v":0},{"$f":"IF(F237=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I237),$C$2,Calculate!I237),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O237),$C$2,Calculate!O237),IF(ISERROR(Calculate!K237),$C$2,Calculate!K237))))","v":5.5},{"$f":"AF237 & IF(OR($AH237,RIGHT($AF237,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P237","v":"S"},{"$f":"Calculate!Q237","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F237=\"X\",$F237=\"H\",$F237=\"Z-ERROR\"),$F237,IF($V237>=RULES!$F$149,\"1\",IF($W237>=RULES!$F$149,\"2\",IF($X237>=RULES!$F$149,\"3\",IF($Y237>=RULES!$F$149,\"4\",IF($Z237>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA237<>\"*\",\"~\",IF($V237>=RULES!$G$149,\"1?\",IF($W237>=RULES!$G$149,\"2?\",IF($X237>=RULES!$G$149,\"3?\",IF($Y237>=RULES!$G$149,\"4?\",IF($Z237>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB237<>\"*\",\"~\",IF((V237+W237>=RULES!$F$149),\"12\",IF((W237+X237>=RULES!$F$149),\"23\",IF((X237+Y237>=RULES!$F$149),\"34\",IF((Y237+Z237>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC237<>\"*\",\"~\",IF(Y237+Z237<(1-RULES!$F$149),\"13\",IF(V237+Z237<(1-RULES!$F$149),\"24\",IF(V237+W237<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F237=\"X\",$F237=\"H\",$F237=\"Z-ERROR\",AND($AA237=\"H\",$AH237)),$AE237,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P237,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L237,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M237,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N237,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E237&\"1\",IF(NOT($AH237),$E237&\"U\",$AE237)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN237","v":""},{"$f":"'Calculator Table'!BR237","v":0},{"$f":"Calculate!AV237","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A238","v":0},{"$f":"IF(F238=\"X\",\"X\",(IF(F238<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H238),0,Calculate!H238),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N238),0,Calculate!N238),IF(ISERROR(Calculate!J238),0,Calculate!J238))))))","v":0},{"$f":"IF(F238=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I238),$C$2,Calculate!I238),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O238),$C$2,Calculate!O238),IF(ISERROR(Calculate!K238),$C$2,Calculate!K238))))","v":5.5},{"$f":"AF238 & IF(OR($AH238,RIGHT($AF238,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P238","v":"S"},{"$f":"Calculate!Q238","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F238=\"X\",$F238=\"H\",$F238=\"Z-ERROR\"),$F238,IF($V238>=RULES!$F$149,\"1\",IF($W238>=RULES!$F$149,\"2\",IF($X238>=RULES!$F$149,\"3\",IF($Y238>=RULES!$F$149,\"4\",IF($Z238>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA238<>\"*\",\"~\",IF($V238>=RULES!$G$149,\"1?\",IF($W238>=RULES!$G$149,\"2?\",IF($X238>=RULES!$G$149,\"3?\",IF($Y238>=RULES!$G$149,\"4?\",IF($Z238>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB238<>\"*\",\"~\",IF((V238+W238>=RULES!$F$149),\"12\",IF((W238+X238>=RULES!$F$149),\"23\",IF((X238+Y238>=RULES!$F$149),\"34\",IF((Y238+Z238>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC238<>\"*\",\"~\",IF(Y238+Z238<(1-RULES!$F$149),\"13\",IF(V238+Z238<(1-RULES!$F$149),\"24\",IF(V238+W238<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F238=\"X\",$F238=\"H\",$F238=\"Z-ERROR\",AND($AA238=\"H\",$AH238)),$AE238,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P238,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L238,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M238,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N238,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E238&\"1\",IF(NOT($AH238),$E238&\"U\",$AE238)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN238","v":""},{"$f":"'Calculator Table'!BR238","v":0},{"$f":"Calculate!AV238","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A239","v":0},{"$f":"IF(F239=\"X\",\"X\",(IF(F239<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H239),0,Calculate!H239),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N239),0,Calculate!N239),IF(ISERROR(Calculate!J239),0,Calculate!J239))))))","v":0},{"$f":"IF(F239=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I239),$C$2,Calculate!I239),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O239),$C$2,Calculate!O239),IF(ISERROR(Calculate!K239),$C$2,Calculate!K239))))","v":5.5},{"$f":"AF239 & IF(OR($AH239,RIGHT($AF239,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P239","v":"S"},{"$f":"Calculate!Q239","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F239=\"X\",$F239=\"H\",$F239=\"Z-ERROR\"),$F239,IF($V239>=RULES!$F$149,\"1\",IF($W239>=RULES!$F$149,\"2\",IF($X239>=RULES!$F$149,\"3\",IF($Y239>=RULES!$F$149,\"4\",IF($Z239>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA239<>\"*\",\"~\",IF($V239>=RULES!$G$149,\"1?\",IF($W239>=RULES!$G$149,\"2?\",IF($X239>=RULES!$G$149,\"3?\",IF($Y239>=RULES!$G$149,\"4?\",IF($Z239>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB239<>\"*\",\"~\",IF((V239+W239>=RULES!$F$149),\"12\",IF((W239+X239>=RULES!$F$149),\"23\",IF((X239+Y239>=RULES!$F$149),\"34\",IF((Y239+Z239>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC239<>\"*\",\"~\",IF(Y239+Z239<(1-RULES!$F$149),\"13\",IF(V239+Z239<(1-RULES!$F$149),\"24\",IF(V239+W239<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F239=\"X\",$F239=\"H\",$F239=\"Z-ERROR\",AND($AA239=\"H\",$AH239)),$AE239,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P239,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L239,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M239,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N239,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E239&\"1\",IF(NOT($AH239),$E239&\"U\",$AE239)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN239","v":""},{"$f":"'Calculator Table'!BR239","v":0},{"$f":"Calculate!AV239","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A240","v":0},{"$f":"IF(F240=\"X\",\"X\",(IF(F240<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H240),0,Calculate!H240),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N240),0,Calculate!N240),IF(ISERROR(Calculate!J240),0,Calculate!J240))))))","v":0},{"$f":"IF(F240=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I240),$C$2,Calculate!I240),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O240),$C$2,Calculate!O240),IF(ISERROR(Calculate!K240),$C$2,Calculate!K240))))","v":5.5},{"$f":"AF240 & IF(OR($AH240,RIGHT($AF240,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P240","v":"S"},{"$f":"Calculate!Q240","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F240=\"X\",$F240=\"H\",$F240=\"Z-ERROR\"),$F240,IF($V240>=RULES!$F$149,\"1\",IF($W240>=RULES!$F$149,\"2\",IF($X240>=RULES!$F$149,\"3\",IF($Y240>=RULES!$F$149,\"4\",IF($Z240>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA240<>\"*\",\"~\",IF($V240>=RULES!$G$149,\"1?\",IF($W240>=RULES!$G$149,\"2?\",IF($X240>=RULES!$G$149,\"3?\",IF($Y240>=RULES!$G$149,\"4?\",IF($Z240>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB240<>\"*\",\"~\",IF((V240+W240>=RULES!$F$149),\"12\",IF((W240+X240>=RULES!$F$149),\"23\",IF((X240+Y240>=RULES!$F$149),\"34\",IF((Y240+Z240>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC240<>\"*\",\"~\",IF(Y240+Z240<(1-RULES!$F$149),\"13\",IF(V240+Z240<(1-RULES!$F$149),\"24\",IF(V240+W240<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F240=\"X\",$F240=\"H\",$F240=\"Z-ERROR\",AND($AA240=\"H\",$AH240)),$AE240,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P240,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L240,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M240,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N240,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E240&\"1\",IF(NOT($AH240),$E240&\"U\",$AE240)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN240","v":""},{"$f":"'Calculator Table'!BR240","v":0},{"$f":"Calculate!AV240","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A241","v":0},{"$f":"IF(F241=\"X\",\"X\",(IF(F241<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H241),0,Calculate!H241),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N241),0,Calculate!N241),IF(ISERROR(Calculate!J241),0,Calculate!J241))))))","v":0},{"$f":"IF(F241=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I241),$C$2,Calculate!I241),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O241),$C$2,Calculate!O241),IF(ISERROR(Calculate!K241),$C$2,Calculate!K241))))","v":5.5},{"$f":"AF241 & IF(OR($AH241,RIGHT($AF241,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P241","v":"S"},{"$f":"Calculate!Q241","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F241=\"X\",$F241=\"H\",$F241=\"Z-ERROR\"),$F241,IF($V241>=RULES!$F$149,\"1\",IF($W241>=RULES!$F$149,\"2\",IF($X241>=RULES!$F$149,\"3\",IF($Y241>=RULES!$F$149,\"4\",IF($Z241>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA241<>\"*\",\"~\",IF($V241>=RULES!$G$149,\"1?\",IF($W241>=RULES!$G$149,\"2?\",IF($X241>=RULES!$G$149,\"3?\",IF($Y241>=RULES!$G$149,\"4?\",IF($Z241>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB241<>\"*\",\"~\",IF((V241+W241>=RULES!$F$149),\"12\",IF((W241+X241>=RULES!$F$149),\"23\",IF((X241+Y241>=RULES!$F$149),\"34\",IF((Y241+Z241>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC241<>\"*\",\"~\",IF(Y241+Z241<(1-RULES!$F$149),\"13\",IF(V241+Z241<(1-RULES!$F$149),\"24\",IF(V241+W241<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F241=\"X\",$F241=\"H\",$F241=\"Z-ERROR\",AND($AA241=\"H\",$AH241)),$AE241,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P241,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L241,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M241,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N241,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E241&\"1\",IF(NOT($AH241),$E241&\"U\",$AE241)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN241","v":""},{"$f":"'Calculator Table'!BR241","v":0},{"$f":"Calculate!AV241","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A242","v":0},{"$f":"IF(F242=\"X\",\"X\",(IF(F242<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H242),0,Calculate!H242),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N242),0,Calculate!N242),IF(ISERROR(Calculate!J242),0,Calculate!J242))))))","v":0},{"$f":"IF(F242=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I242),$C$2,Calculate!I242),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O242),$C$2,Calculate!O242),IF(ISERROR(Calculate!K242),$C$2,Calculate!K242))))","v":5.5},{"$f":"AF242 & IF(OR($AH242,RIGHT($AF242,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P242","v":"S"},{"$f":"Calculate!Q242","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F242=\"X\",$F242=\"H\",$F242=\"Z-ERROR\"),$F242,IF($V242>=RULES!$F$149,\"1\",IF($W242>=RULES!$F$149,\"2\",IF($X242>=RULES!$F$149,\"3\",IF($Y242>=RULES!$F$149,\"4\",IF($Z242>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA242<>\"*\",\"~\",IF($V242>=RULES!$G$149,\"1?\",IF($W242>=RULES!$G$149,\"2?\",IF($X242>=RULES!$G$149,\"3?\",IF($Y242>=RULES!$G$149,\"4?\",IF($Z242>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB242<>\"*\",\"~\",IF((V242+W242>=RULES!$F$149),\"12\",IF((W242+X242>=RULES!$F$149),\"23\",IF((X242+Y242>=RULES!$F$149),\"34\",IF((Y242+Z242>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC242<>\"*\",\"~\",IF(Y242+Z242<(1-RULES!$F$149),\"13\",IF(V242+Z242<(1-RULES!$F$149),\"24\",IF(V242+W242<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F242=\"X\",$F242=\"H\",$F242=\"Z-ERROR\",AND($AA242=\"H\",$AH242)),$AE242,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P242,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L242,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M242,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N242,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E242&\"1\",IF(NOT($AH242),$E242&\"U\",$AE242)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN242","v":""},{"$f":"'Calculator Table'!BR242","v":0},{"$f":"Calculate!AV242","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A243","v":0},{"$f":"IF(F243=\"X\",\"X\",(IF(F243<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H243),0,Calculate!H243),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N243),0,Calculate!N243),IF(ISERROR(Calculate!J243),0,Calculate!J243))))))","v":0},{"$f":"IF(F243=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I243),$C$2,Calculate!I243),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O243),$C$2,Calculate!O243),IF(ISERROR(Calculate!K243),$C$2,Calculate!K243))))","v":5.5},{"$f":"AF243 & IF(OR($AH243,RIGHT($AF243,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P243","v":"S"},{"$f":"Calculate!Q243","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F243=\"X\",$F243=\"H\",$F243=\"Z-ERROR\"),$F243,IF($V243>=RULES!$F$149,\"1\",IF($W243>=RULES!$F$149,\"2\",IF($X243>=RULES!$F$149,\"3\",IF($Y243>=RULES!$F$149,\"4\",IF($Z243>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA243<>\"*\",\"~\",IF($V243>=RULES!$G$149,\"1?\",IF($W243>=RULES!$G$149,\"2?\",IF($X243>=RULES!$G$149,\"3?\",IF($Y243>=RULES!$G$149,\"4?\",IF($Z243>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB243<>\"*\",\"~\",IF((V243+W243>=RULES!$F$149),\"12\",IF((W243+X243>=RULES!$F$149),\"23\",IF((X243+Y243>=RULES!$F$149),\"34\",IF((Y243+Z243>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC243<>\"*\",\"~\",IF(Y243+Z243<(1-RULES!$F$149),\"13\",IF(V243+Z243<(1-RULES!$F$149),\"24\",IF(V243+W243<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F243=\"X\",$F243=\"H\",$F243=\"Z-ERROR\",AND($AA243=\"H\",$AH243)),$AE243,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P243,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L243,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M243,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N243,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E243&\"1\",IF(NOT($AH243),$E243&\"U\",$AE243)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN243","v":""},{"$f":"'Calculator Table'!BR243","v":0},{"$f":"Calculate!AV243","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A244","v":0},{"$f":"IF(F244=\"X\",\"X\",(IF(F244<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H244),0,Calculate!H244),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N244),0,Calculate!N244),IF(ISERROR(Calculate!J244),0,Calculate!J244))))))","v":0},{"$f":"IF(F244=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I244),$C$2,Calculate!I244),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O244),$C$2,Calculate!O244),IF(ISERROR(Calculate!K244),$C$2,Calculate!K244))))","v":5.5},{"$f":"AF244 & IF(OR($AH244,RIGHT($AF244,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P244","v":"S"},{"$f":"Calculate!Q244","v":"*"},{"$f":"B244","v":0},{"$f":"C244","v":5.5},{"$f":"AF244","v":{"$error":"#VALUE!"}},0,5.5,{"$f":"K244-J244","v":5.5},0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F244=\"X\",$F244=\"H\",$F244=\"Z-ERROR\"),$F244,IF($V244>=RULES!$F$149,\"1\",IF($W244>=RULES!$F$149,\"2\",IF($X244>=RULES!$F$149,\"3\",IF($Y244>=RULES!$F$149,\"4\",IF($Z244>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA244<>\"*\",\"~\",IF($V244>=RULES!$G$149,\"1?\",IF($W244>=RULES!$G$149,\"2?\",IF($X244>=RULES!$G$149,\"3?\",IF($Y244>=RULES!$G$149,\"4?\",IF($Z244>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB244<>\"*\",\"~\",IF((V244+W244>=RULES!$F$149),\"12\",IF((W244+X244>=RULES!$F$149),\"23\",IF((X244+Y244>=RULES!$F$149),\"34\",IF((Y244+Z244>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC244<>\"*\",\"~\",IF(Y244+Z244<(1-RULES!$F$149),\"13\",IF(V244+Z244<(1-RULES!$F$149),\"24\",IF(V244+W244<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F244=\"X\",$F244=\"H\",$F244=\"Z-ERROR\",AND($AA244=\"H\",$AH244)),$AE244,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P244,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L244,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M244,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N244,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E244&\"1\",IF(NOT($AH244),$E244&\"U\",$AE244)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN244","v":""},{"$f":"'Calculator Table'!BR244","v":0},{"$f":"Calculate!AV244","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A245","v":0},{"$f":"IF(F245=\"X\",\"X\",(IF(F245<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H245),0,Calculate!H245),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N245),0,Calculate!N245),IF(ISERROR(Calculate!J245),0,Calculate!J245))))))","v":0},{"$f":"IF(F245=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I245),$C$2,Calculate!I245),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O245),$C$2,Calculate!O245),IF(ISERROR(Calculate!K245),$C$2,Calculate!K245))))","v":5.5},{"$f":"AF245 & IF(OR($AH245,RIGHT($AF245,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P245","v":"S"},{"$f":"Calculate!Q245","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F245=\"X\",$F245=\"H\",$F245=\"Z-ERROR\"),$F245,IF($V245>=RULES!$F$149,\"1\",IF($W245>=RULES!$F$149,\"2\",IF($X245>=RULES!$F$149,\"3\",IF($Y245>=RULES!$F$149,\"4\",IF($Z245>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA245<>\"*\",\"~\",IF($V245>=RULES!$G$149,\"1?\",IF($W245>=RULES!$G$149,\"2?\",IF($X245>=RULES!$G$149,\"3?\",IF($Y245>=RULES!$G$149,\"4?\",IF($Z245>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB245<>\"*\",\"~\",IF((V245+W245>=RULES!$F$149),\"12\",IF((W245+X245>=RULES!$F$149),\"23\",IF((X245+Y245>=RULES!$F$149),\"34\",IF((Y245+Z245>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC245<>\"*\",\"~\",IF(Y245+Z245<(1-RULES!$F$149),\"13\",IF(V245+Z245<(1-RULES!$F$149),\"24\",IF(V245+W245<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F245=\"X\",$F245=\"H\",$F245=\"Z-ERROR\",AND($AA245=\"H\",$AH245)),$AE245,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P245,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L245,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M245,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N245,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E245&\"1\",IF(NOT($AH245),$E245&\"U\",$AE245)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN245","v":""},{"$f":"'Calculator Table'!BR245","v":0},{"$f":"Calculate!AV245","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A246","v":0},{"$f":"IF(F246=\"X\",\"X\",(IF(F246<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H246),0,Calculate!H246),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N246),0,Calculate!N246),IF(ISERROR(Calculate!J246),0,Calculate!J246))))))","v":0},{"$f":"IF(F246=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I246),$C$2,Calculate!I246),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O246),$C$2,Calculate!O246),IF(ISERROR(Calculate!K246),$C$2,Calculate!K246))))","v":5.5},{"$f":"AF246 & IF(OR($AH246,RIGHT($AF246,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P246","v":"S"},{"$f":"Calculate!Q246","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F246=\"X\",$F246=\"H\",$F246=\"Z-ERROR\"),$F246,IF($V246>=RULES!$F$149,\"1\",IF($W246>=RULES!$F$149,\"2\",IF($X246>=RULES!$F$149,\"3\",IF($Y246>=RULES!$F$149,\"4\",IF($Z246>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA246<>\"*\",\"~\",IF($V246>=RULES!$G$149,\"1?\",IF($W246>=RULES!$G$149,\"2?\",IF($X246>=RULES!$G$149,\"3?\",IF($Y246>=RULES!$G$149,\"4?\",IF($Z246>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB246<>\"*\",\"~\",IF((V246+W246>=RULES!$F$149),\"12\",IF((W246+X246>=RULES!$F$149),\"23\",IF((X246+Y246>=RULES!$F$149),\"34\",IF((Y246+Z246>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC246<>\"*\",\"~\",IF(Y246+Z246<(1-RULES!$F$149),\"13\",IF(V246+Z246<(1-RULES!$F$149),\"24\",IF(V246+W246<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F246=\"X\",$F246=\"H\",$F246=\"Z-ERROR\",AND($AA246=\"H\",$AH246)),$AE246,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P246,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L246,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M246,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N246,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E246&\"1\",IF(NOT($AH246),$E246&\"U\",$AE246)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN246","v":""},{"$f":"'Calculator Table'!BR246","v":0},{"$f":"Calculate!AV246","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A247","v":0},{"$f":"IF(F247=\"X\",\"X\",(IF(F247<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H247),0,Calculate!H247),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N247),0,Calculate!N247),IF(ISERROR(Calculate!J247),0,Calculate!J247))))))","v":0},{"$f":"IF(F247=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I247),$C$2,Calculate!I247),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O247),$C$2,Calculate!O247),IF(ISERROR(Calculate!K247),$C$2,Calculate!K247))))","v":5.5},{"$f":"AF247 & IF(OR($AH247,RIGHT($AF247,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P247","v":"S"},{"$f":"Calculate!Q247","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F247=\"X\",$F247=\"H\",$F247=\"Z-ERROR\"),$F247,IF($V247>=RULES!$F$149,\"1\",IF($W247>=RULES!$F$149,\"2\",IF($X247>=RULES!$F$149,\"3\",IF($Y247>=RULES!$F$149,\"4\",IF($Z247>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA247<>\"*\",\"~\",IF($V247>=RULES!$G$149,\"1?\",IF($W247>=RULES!$G$149,\"2?\",IF($X247>=RULES!$G$149,\"3?\",IF($Y247>=RULES!$G$149,\"4?\",IF($Z247>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB247<>\"*\",\"~\",IF((V247+W247>=RULES!$F$149),\"12\",IF((W247+X247>=RULES!$F$149),\"23\",IF((X247+Y247>=RULES!$F$149),\"34\",IF((Y247+Z247>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC247<>\"*\",\"~\",IF(Y247+Z247<(1-RULES!$F$149),\"13\",IF(V247+Z247<(1-RULES!$F$149),\"24\",IF(V247+W247<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F247=\"X\",$F247=\"H\",$F247=\"Z-ERROR\",AND($AA247=\"H\",$AH247)),$AE247,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P247,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L247,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M247,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N247,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E247&\"1\",IF(NOT($AH247),$E247&\"U\",$AE247)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN247","v":""},{"$f":"'Calculator Table'!BR247","v":0},{"$f":"Calculate!AV247","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A248","v":0},{"$f":"IF(F248=\"X\",\"X\",(IF(F248<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H248),0,Calculate!H248),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N248),0,Calculate!N248),IF(ISERROR(Calculate!J248),0,Calculate!J248))))))","v":0},{"$f":"IF(F248=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I248),$C$2,Calculate!I248),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O248),$C$2,Calculate!O248),IF(ISERROR(Calculate!K248),$C$2,Calculate!K248))))","v":5.5},{"$f":"AF248 & IF(OR($AH248,RIGHT($AF248,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P248","v":"S"},{"$f":"Calculate!Q248","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F248=\"X\",$F248=\"H\",$F248=\"Z-ERROR\"),$F248,IF($V248>=RULES!$F$149,\"1\",IF($W248>=RULES!$F$149,\"2\",IF($X248>=RULES!$F$149,\"3\",IF($Y248>=RULES!$F$149,\"4\",IF($Z248>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA248<>\"*\",\"~\",IF($V248>=RULES!$G$149,\"1?\",IF($W248>=RULES!$G$149,\"2?\",IF($X248>=RULES!$G$149,\"3?\",IF($Y248>=RULES!$G$149,\"4?\",IF($Z248>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB248<>\"*\",\"~\",IF((V248+W248>=RULES!$F$149),\"12\",IF((W248+X248>=RULES!$F$149),\"23\",IF((X248+Y248>=RULES!$F$149),\"34\",IF((Y248+Z248>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC248<>\"*\",\"~\",IF(Y248+Z248<(1-RULES!$F$149),\"13\",IF(V248+Z248<(1-RULES!$F$149),\"24\",IF(V248+W248<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F248=\"X\",$F248=\"H\",$F248=\"Z-ERROR\",AND($AA248=\"H\",$AH248)),$AE248,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P248,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L248,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M248,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N248,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E248&\"1\",IF(NOT($AH248),$E248&\"U\",$AE248)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN248","v":""},{"$f":"'Calculator Table'!BR248","v":0},{"$f":"Calculate!AV248","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A249","v":0},{"$f":"IF(F249=\"X\",\"X\",(IF(F249<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H249),0,Calculate!H249),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N249),0,Calculate!N249),IF(ISERROR(Calculate!J249),0,Calculate!J249))))))","v":0},{"$f":"IF(F249=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I249),$C$2,Calculate!I249),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O249),$C$2,Calculate!O249),IF(ISERROR(Calculate!K249),$C$2,Calculate!K249))))","v":5.5},{"$f":"AF249 & IF(OR($AH249,RIGHT($AF249,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P249","v":"S"},{"$f":"Calculate!Q249","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F249=\"X\",$F249=\"H\",$F249=\"Z-ERROR\"),$F249,IF($V249>=RULES!$F$149,\"1\",IF($W249>=RULES!$F$149,\"2\",IF($X249>=RULES!$F$149,\"3\",IF($Y249>=RULES!$F$149,\"4\",IF($Z249>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA249<>\"*\",\"~\",IF($V249>=RULES!$G$149,\"1?\",IF($W249>=RULES!$G$149,\"2?\",IF($X249>=RULES!$G$149,\"3?\",IF($Y249>=RULES!$G$149,\"4?\",IF($Z249>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB249<>\"*\",\"~\",IF((V249+W249>=RULES!$F$149),\"12\",IF((W249+X249>=RULES!$F$149),\"23\",IF((X249+Y249>=RULES!$F$149),\"34\",IF((Y249+Z249>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC249<>\"*\",\"~\",IF(Y249+Z249<(1-RULES!$F$149),\"13\",IF(V249+Z249<(1-RULES!$F$149),\"24\",IF(V249+W249<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F249=\"X\",$F249=\"H\",$F249=\"Z-ERROR\",AND($AA249=\"H\",$AH249)),$AE249,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P249,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L249,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M249,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N249,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E249&\"1\",IF(NOT($AH249),$E249&\"U\",$AE249)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN249","v":""},{"$f":"'Calculator Table'!BR249","v":0},{"$f":"Calculate!AV249","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A250","v":0},{"$f":"IF(F250=\"X\",\"X\",(IF(F250<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H250),0,Calculate!H250),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N250),0,Calculate!N250),IF(ISERROR(Calculate!J250),0,Calculate!J250))))))","v":0},{"$f":"IF(F250=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I250),$C$2,Calculate!I250),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O250),$C$2,Calculate!O250),IF(ISERROR(Calculate!K250),$C$2,Calculate!K250))))","v":5.5},{"$f":"AF250 & IF(OR($AH250,RIGHT($AF250,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P250","v":"S"},{"$f":"Calculate!Q250","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F250=\"X\",$F250=\"H\",$F250=\"Z-ERROR\"),$F250,IF($V250>=RULES!$F$149,\"1\",IF($W250>=RULES!$F$149,\"2\",IF($X250>=RULES!$F$149,\"3\",IF($Y250>=RULES!$F$149,\"4\",IF($Z250>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA250<>\"*\",\"~\",IF($V250>=RULES!$G$149,\"1?\",IF($W250>=RULES!$G$149,\"2?\",IF($X250>=RULES!$G$149,\"3?\",IF($Y250>=RULES!$G$149,\"4?\",IF($Z250>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB250<>\"*\",\"~\",IF((V250+W250>=RULES!$F$149),\"12\",IF((W250+X250>=RULES!$F$149),\"23\",IF((X250+Y250>=RULES!$F$149),\"34\",IF((Y250+Z250>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC250<>\"*\",\"~\",IF(Y250+Z250<(1-RULES!$F$149),\"13\",IF(V250+Z250<(1-RULES!$F$149),\"24\",IF(V250+W250<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F250=\"X\",$F250=\"H\",$F250=\"Z-ERROR\",AND($AA250=\"H\",$AH250)),$AE250,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P250,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L250,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M250,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N250,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E250&\"1\",IF(NOT($AH250),$E250&\"U\",$AE250)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN250","v":""},{"$f":"'Calculator Table'!BR250","v":0},{"$f":"Calculate!AV250","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A255","v":0},{"$f":"IF(F255=\"X\",\"X\",(IF(F255<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H255),0,Calculate!H255),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N255),0,Calculate!N255),IF(ISERROR(Calculate!J255),0,Calculate!J255))))))","v":0},{"$f":"IF(F255=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I255),$C$2,Calculate!I255),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O255),$C$2,Calculate!O255),IF(ISERROR(Calculate!K255),$C$2,Calculate!K255))))","v":5.5},{"$f":"AF255 & IF(OR($AH255,RIGHT($AF255,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P255","v":"S"},{"$f":"Calculate!Q255","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F255=\"X\",$F255=\"H\",$F255=\"Z-ERROR\"),$F255,IF($V255>=RULES!$F$149,\"1\",IF($W255>=RULES!$F$149,\"2\",IF($X255>=RULES!$F$149,\"3\",IF($Y255>=RULES!$F$149,\"4\",IF($Z255>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA255<>\"*\",\"~\",IF($V255>=RULES!$G$149,\"1?\",IF($W255>=RULES!$G$149,\"2?\",IF($X255>=RULES!$G$149,\"3?\",IF($Y255>=RULES!$G$149,\"4?\",IF($Z255>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB255<>\"*\",\"~\",IF((V255+W255>=RULES!$F$149),\"12\",IF((W255+X255>=RULES!$F$149),\"23\",IF((X255+Y255>=RULES!$F$149),\"34\",IF((Y255+Z255>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC255<>\"*\",\"~\",IF(Y255+Z255<(1-RULES!$F$149),\"13\",IF(V255+Z255<(1-RULES!$F$149),\"24\",IF(V255+W255<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F255=\"X\",$F255=\"H\",$F255=\"Z-ERROR\",AND($AA255=\"H\",$AH255)),$AE255,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P255,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L255,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M255,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N255,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E255&\"1\",IF(NOT($AH255),$E255&\"U\",$AE255)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN255","v":""},{"$f":"'Calculator Table'!BR255","v":0},{"$f":"Calculate!AV255","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A260","v":0},{"$f":"IF(F260=\"X\",\"X\",(IF(F260<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H260),0,Calculate!H260),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N260),0,Calculate!N260),IF(ISERROR(Calculate!J260),0,Calculate!J260))))))","v":0},{"$f":"IF(F260=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I260),$C$2,Calculate!I260),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O260),$C$2,Calculate!O260),IF(ISERROR(Calculate!K260),$C$2,Calculate!K260))))","v":5.5},{"$f":"AF260 & IF(OR($AH260,RIGHT($AF260,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P260","v":"S"},{"$f":"Calculate!Q260","v":"*"},{"$f":"B260","v":0},5.5,{"$f":"AF260","v":{"$error":"#VALUE!"}},0,5.5,{"$f":"K260-J260","v":5.5},0,1.5,2.5,3.5,4.5,4,3,2,1,{"$f":"IF($L260=0,IF($M260=1,1,0),$N260/$L260)","v":0.27272727272727271},{"$f":"IF($L260=0,IF($M260=2,1,0),($O260-$N260)/$L260)","v":0.18181818181818182},{"$f":"IF($L260=0,IF($M260=3,1,0),($P260-$O260)/$L260)","v":0.18181818181818182},{"$f":"IF($L260=0,IF($M260=4,1,0),($Q260-$P260)/$L260)","v":0.18181818181818182},{"$f":"IF($L260=0,IF($M260=5,1,0),$U260/$L260)","v":0.18181818181818182},{"$f":"IF(OR($F260=\"X\",$F260=\"H\",$F260=\"Z-ERROR\"),$F260,IF($V260>=RULES!$F$149,\"1\",IF($W260>=RULES!$F$149,\"2\",IF($X260>=RULES!$F$149,\"3\",IF($Y260>=RULES!$F$149,\"4\",IF($Z260>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA260<>\"*\",\"~\",IF($V260>=RULES!$G$149,\"1?\",IF($W260>=RULES!$G$149,\"2?\",IF($X260>=RULES!$G$149,\"3?\",IF($Y260>=RULES!$G$149,\"4?\",IF($Z260>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB260<>\"*\",\"~\",IF((V260+W260>=RULES!$F$149),\"12\",IF((W260+X260>=RULES!$F$149),\"23\",IF((X260+Y260>=RULES!$F$149),\"34\",IF((Y260+Z260>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC260<>\"*\",\"~\",IF(Y260+Z260<(1-RULES!$F$149),\"13\",IF(V260+Z260<(1-RULES!$F$149),\"24\",IF(V260+W260<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},{"$f":"IF(AA260<>\"*\",CONCATENATE(E260,AA260),IF(AB260<>\"*\",CONCATENATE(E260,AB260),IF(AC260<>\"*\",CONCATENATE(E260,LEFT(AC260,1),E260,RIGHT(AC260,1)),IF(AD260=\"NR\",CONCATENATE(E260,\"NR\"),IF(AD260=\"U\",CONCATENATE(E260,\"U\"),CONCATENATE(E260,LEFT(AD260,1),E260,RIGHT(AD260,1)))))))","v":"SU"},{"$f":"IF(OR($F260=\"X\",$F260=\"H\",$F260=\"Z-ERROR\",AND($AA260=\"H\",$AH260)),$AE260,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P260,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L260,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M260,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N260,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E260&\"1\",IF(NOT($AH260),$E260&\"U\",$AE260)))","v":{"$error":"#VALUE!"}},{"$f":"IF(AE260=AF260,\"\",\"changed\")","v":{"$error":"#VALUE!"}},{"$f":"'Calculator Table'!BN260","v":""},{"$f":"'Calculator Table'!BR260","v":0},{"$f":"Calculate!AV260","v":2},null,null,null,null,null,{"$f":"AND(AF260=AM260)","v":{"$error":"#VALUE!"}}]
[{"$f":"Calculate!A269","v":0},{"$f":"IF(F269=\"X\",\"X\",(IF(F269<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H269),0,Calculate!H269),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N269),0,Calculate!N269),IF(ISERROR(Calculate!J269),0,Calculate!J269))))))","v":0},{"$f":"IF(F269=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I269),$C$2,Calculate!I269),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O269),$C$2,Calculate!O269),IF(ISERROR(Calculate!K269),$C$2,Calculate!K269))))","v":5.5},{"$f":"AF269 & IF(OR($AH269,RIGHT($AF269,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P269","v":"S"},{"$f":"Calculate!Q269","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F269=\"X\",$F269=\"H\",$F269=\"Z-ERROR\"),$F269,IF($V269>=RULES!$F$149,\"1\",IF($W269>=RULES!$F$149,\"2\",IF($X269>=RULES!$F$149,\"3\",IF($Y269>=RULES!$F$149,\"4\",IF($Z269>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA269<>\"*\",\"~\",IF($V269>=RULES!$G$149,\"1?\",IF($W269>=RULES!$G$149,\"2?\",IF($X269>=RULES!$G$149,\"3?\",IF($Y269>=RULES!$G$149,\"4?\",IF($Z269>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB269<>\"*\",\"~\",IF((V269+W269>=RULES!$F$149),\"12\",IF((W269+X269>=RULES!$F$149),\"23\",IF((X269+Y269>=RULES!$F$149),\"34\",IF((Y269+Z269>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC269<>\"*\",\"~\",IF(Y269+Z269<(1-RULES!$F$149),\"13\",IF(V269+Z269<(1-RULES!$F$149),\"24\",IF(V269+W269<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F269=\"X\",$F269=\"H\",$F269=\"Z-ERROR\",AND($AA269=\"H\",$AH269)),$AE269,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P269,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L269,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M269,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N269,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E269&\"1\",IF(NOT($AH269),$E269&\"U\",$AE269)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN269","v":""},{"$f":"'Calculator Table'!BR269","v":0},{"$f":"Calculate!AV269","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A277","v":0},{"$f":"IF(F277=\"X\",\"X\",(IF(F277<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H277),0,Calculate!H277),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N277),0,Calculate!N277),IF(ISERROR(Calculate!J277),0,Calculate!J277))))))","v":0},{"$f":"IF(F277=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I277),$C$2,Calculate!I277),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O277),$C$2,Calculate!O277),IF(ISERROR(Calculate!K277),$C$2,Calculate!K277))))","v":5.5},{"$f":"AF277 & IF(OR($AH277,RIGHT($AF277,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P277","v":"S"},{"$f":"Calculate!Q277","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F277=\"X\",$F277=\"H\",$F277=\"Z-ERROR\"),$F277,IF($V277>=RULES!$F$149,\"1\",IF($W277>=RULES!$F$149,\"2\",IF($X277>=RULES!$F$149,\"3\",IF($Y277>=RULES!$F$149,\"4\",IF($Z277>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA277<>\"*\",\"~\",IF($V277>=RULES!$G$149,\"1?\",IF($W277>=RULES!$G$149,\"2?\",IF($X277>=RULES!$G$149,\"3?\",IF($Y277>=RULES!$G$149,\"4?\",IF($Z277>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB277<>\"*\",\"~\",IF((V277+W277>=RULES!$F$149),\"12\",IF((W277+X277>=RULES!$F$149),\"23\",IF((X277+Y277>=RULES!$F$149),\"34\",IF((Y277+Z277>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC277<>\"*\",\"~\",IF(Y277+Z277<(1-RULES!$F$149),\"13\",IF(V277+Z277<(1-RULES!$F$149),\"24\",IF(V277+W277<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F277=\"X\",$F277=\"H\",$F277=\"Z-ERROR\",AND($AA277=\"H\",$AH277)),$AE277,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P277,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L277,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M277,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N277,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E277&\"1\",IF(NOT($AH277),$E277&\"U\",$AE277)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN277","v":""},{"$f":"'Calculator Table'!BR277","v":0},{"$f":"Calculate!AV277","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A283","v":0},{"$f":"IF(F283=\"X\",\"X\",(IF(F283<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H283),0,Calculate!H283),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N283),0,Calculate!N283),IF(ISERROR(Calculate!J283),0,Calculate!J283))))))","v":0},{"$f":"IF(F283=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I283),$C$2,Calculate!I283),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O283),$C$2,Calculate!O283),IF(ISERROR(Calculate!K283),$C$2,Calculate!K283))))","v":5.5},{"$f":"AF283 & IF(OR($AH283,RIGHT($AF283,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P283","v":"S"},{"$f":"Calculate!Q283","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F283=\"X\",$F283=\"H\",$F283=\"Z-ERROR\"),$F283,IF($V283>=RULES!$F$149,\"1\",IF($W283>=RULES!$F$149,\"2\",IF($X283>=RULES!$F$149,\"3\",IF($Y283>=RULES!$F$149,\"4\",IF($Z283>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA283<>\"*\",\"~\",IF($V283>=RULES!$G$149,\"1?\",IF($W283>=RULES!$G$149,\"2?\",IF($X283>=RULES!$G$149,\"3?\",IF($Y283>=RULES!$G$149,\"4?\",IF($Z283>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB283<>\"*\",\"~\",IF((V283+W283>=RULES!$F$149),\"12\",IF((W283+X283>=RULES!$F$149),\"23\",IF((X283+Y283>=RULES!$F$149),\"34\",IF((Y283+Z283>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC283<>\"*\",\"~\",IF(Y283+Z283<(1-RULES!$F$149),\"13\",IF(V283+Z283<(1-RULES!$F$149),\"24\",IF(V283+W283<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F283=\"X\",$F283=\"H\",$F283=\"Z-ERROR\",AND($AA283=\"H\",$AH283)),$AE283,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P283,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L283,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M283,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N283,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E283&\"1\",IF(NOT($AH283),$E283&\"U\",$AE283)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN283","v":""},{"$f":"'Calculator Table'!BR283","v":0},{"$f":"Calculate!AV283","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A294","v":0},{"$f":"IF(F294=\"X\",\"X\",(IF(F294<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H294),0,Calculate!H294),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N294),0,Calculate!N294),IF(ISERROR(Calculate!J294),0,Calculate!J294))))))","v":0},{"$f":"IF(F294=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I294),$C$2,Calculate!I294),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O294),$C$2,Calculate!O294),IF(ISERROR(Calculate!K294),$C$2,Calculate!K294))))","v":5.5},{"$f":"AF294 & IF(OR($AH294,RIGHT($AF294,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P294","v":"S"},{"$f":"Calculate!Q294","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F294=\"X\",$F294=\"H\",$F294=\"Z-ERROR\"),$F294,IF($V294>=RULES!$F$149,\"1\",IF($W294>=RULES!$F$149,\"2\",IF($X294>=RULES!$F$149,\"3\",IF($Y294>=RULES!$F$149,\"4\",IF($Z294>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA294<>\"*\",\"~\",IF($V294>=RULES!$G$149,\"1?\",IF($W294>=RULES!$G$149,\"2?\",IF($X294>=RULES!$G$149,\"3?\",IF($Y294>=RULES!$G$149,\"4?\",IF($Z294>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB294<>\"*\",\"~\",IF((V294+W294>=RULES!$F$149),\"12\",IF((W294+X294>=RULES!$F$149),\"23\",IF((X294+Y294>=RULES!$F$149),\"34\",IF((Y294+Z294>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC294<>\"*\",\"~\",IF(Y294+Z294<(1-RULES!$F$149),\"13\",IF(V294+Z294<(1-RULES!$F$149),\"24\",IF(V294+W294<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F294=\"X\",$F294=\"H\",$F294=\"Z-ERROR\",AND($AA294=\"H\",$AH294)),$AE294,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P294,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L294,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M294,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N294,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E294&\"1\",IF(NOT($AH294),$E294&\"U\",$AE294)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN294","v":""},{"$f":"'Calculator Table'!BR294","v":0},{"$f":"Calculate!AV294","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A297","v":0},{"$f":"IF(F297=\"X\",\"X\",(IF(F297<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H297),0,Calculate!H297),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N297),0,Calculate!N297),IF(ISERROR(Calculate!J297),0,Calculate!J297))))))","v":0},{"$f":"IF(F297=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I297),$C$2,Calculate!I297),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O297),$C$2,Calculate!O297),IF(ISERROR(Calculate!K297),$C$2,Calculate!K297))))","v":5.5},{"$f":"AF297 & IF(OR($AH297,RIGHT($AF297,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P297","v":"S"},{"$f":"Calculate!Q297","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F297=\"X\",$F297=\"H\",$F297=\"Z-ERROR\"),$F297,IF($V297>=RULES!$F$149,\"1\",IF($W297>=RULES!$F$149,\"2\",IF($X297>=RULES!$F$149,\"3\",IF($Y297>=RULES!$F$149,\"4\",IF($Z297>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA297<>\"*\",\"~\",IF($V297>=RULES!$G$149,\"1?\",IF($W297>=RULES!$G$149,\"2?\",IF($X297>=RULES!$G$149,\"3?\",IF($Y297>=RULES!$G$149,\"4?\",IF($Z297>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB297<>\"*\",\"~\",IF((V297+W297>=RULES!$F$149),\"12\",IF((W297+X297>=RULES!$F$149),\"23\",IF((X297+Y297>=RULES!$F$149),\"34\",IF((Y297+Z297>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC297<>\"*\",\"~\",IF(Y297+Z297<(1-RULES!$F$149),\"13\",IF(V297+Z297<(1-RULES!$F$149),\"24\",IF(V297+W297<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F297=\"X\",$F297=\"H\",$F297=\"Z-ERROR\",AND($AA297=\"H\",$AH297)),$AE297,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P297,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L297,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M297,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N297,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E297&\"1\",IF(NOT($AH297),$E297&\"U\",$AE297)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN297","v":""},{"$f":"'Calculator Table'!BR297","v":0},{"$f":"Calculate!AV297","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A303","v":0},{"$f":"IF(F303=\"X\",\"X\",(IF(F303<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H303),0,Calculate!H303),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N303),0,Calculate!N303),IF(ISERROR(Calculate!J303),0,Calculate!J303))))))","v":0},{"$f":"IF(F303=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I303),$C$2,Calculate!I303),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O303),$C$2,Calculate!O303),IF(ISERROR(Calculate!K303),$C$2,Calculate!K303))))","v":5.5},{"$f":"AF303 & IF(OR($AH303,RIGHT($AF303,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P303","v":"S"},{"$f":"Calculate!Q303","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F303=\"X\",$F303=\"H\",$F303=\"Z-ERROR\"),$F303,IF($V303>=RULES!$F$149,\"1\",IF($W303>=RULES!$F$149,\"2\",IF($X303>=RULES!$F$149,\"3\",IF($Y303>=RULES!$F$149,\"4\",IF($Z303>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA303<>\"*\",\"~\",IF($V303>=RULES!$G$149,\"1?\",IF($W303>=RULES!$G$149,\"2?\",IF($X303>=RULES!$G$149,\"3?\",IF($Y303>=RULES!$G$149,\"4?\",IF($Z303>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB303<>\"*\",\"~\",IF((V303+W303>=RULES!$F$149),\"12\",IF((W303+X303>=RULES!$F$149),\"23\",IF((X303+Y303>=RULES!$F$149),\"34\",IF((Y303+Z303>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC303<>\"*\",\"~\",IF(Y303+Z303<(1-RULES!$F$149),\"13\",IF(V303+Z303<(1-RULES!$F$149),\"24\",IF(V303+W303<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F303=\"X\",$F303=\"H\",$F303=\"Z-ERROR\",AND($AA303=\"H\",$AH303)),$AE303,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P303,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L303,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M303,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N303,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E303&\"1\",IF(NOT($AH303),$E303&\"U\",$AE303)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN303","v":""},{"$f":"'Calculator Table'!BR303","v":0},{"$f":"Calculate!AV303","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A312","v":0},{"$f":"IF(F312=\"X\",\"X\",(IF(F312<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H312),0,Calculate!H312),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N312),0,Calculate!N312),IF(ISERROR(Calculate!J312),0,Calculate!J312))))))","v":0},{"$f":"IF(F312=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I312),$C$2,Calculate!I312),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O312),$C$2,Calculate!O312),IF(ISERROR(Calculate!K312),$C$2,Calculate!K312))))","v":5.5},{"$f":"AF312 & IF(OR($AH312,RIGHT($AF312,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P312","v":"S"},{"$f":"Calculate!Q312","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F312=\"X\",$F312=\"H\",$F312=\"Z-ERROR\"),$F312,IF($V312>=RULES!$F$149,\"1\",IF($W312>=RULES!$F$149,\"2\",IF($X312>=RULES!$F$149,\"3\",IF($Y312>=RULES!$F$149,\"4\",IF($Z312>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA312<>\"*\",\"~\",IF($V312>=RULES!$G$149,\"1?\",IF($W312>=RULES!$G$149,\"2?\",IF($X312>=RULES!$G$149,\"3?\",IF($Y312>=RULES!$G$149,\"4?\",IF($Z312>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB312<>\"*\",\"~\",IF((V312+W312>=RULES!$F$149),\"12\",IF((W312+X312>=RULES!$F$149),\"23\",IF((X312+Y312>=RULES!$F$149),\"34\",IF((Y312+Z312>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC312<>\"*\",\"~\",IF(Y312+Z312<(1-RULES!$F$149),\"13\",IF(V312+Z312<(1-RULES!$F$149),\"24\",IF(V312+W312<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F312=\"X\",$F312=\"H\",$F312=\"Z-ERROR\",AND($AA312=\"H\",$AH312)),$AE312,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P312,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L312,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M312,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N312,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E312&\"1\",IF(NOT($AH312),$E312&\"U\",$AE312)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN312","v":""},{"$f":"'Calculator Table'!BR312","v":0},{"$f":"Calculate!AV312","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A320","v":0},{"$f":"IF(F320=\"X\",\"X\",(IF(F320<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H320),0,Calculate!H320),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N320),0,Calculate!N320),IF(ISERROR(Calculate!J320),0,Calculate!J320))))))","v":0},{"$f":"IF(F320=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I320),$C$2,Calculate!I320),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O320),$C$2,Calculate!O320),IF(ISERROR(Calculate!K320),$C$2,Calculate!K320))))","v":5.5},{"$f":"AF320 & IF(OR($AH320,RIGHT($AF320,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P320","v":"S"},{"$f":"Calculate!Q320","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F320=\"X\",$F320=\"H\",$F320=\"Z-ERROR\"),$F320,IF($V320>=RULES!$F$149,\"1\",IF($W320>=RULES!$F$149,\"2\",IF($X320>=RULES!$F$149,\"3\",IF($Y320>=RULES!$F$149,\"4\",IF($Z320>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA320<>\"*\",\"~\",IF($V320>=RULES!$G$149,\"1?\",IF($W320>=RULES!$G$149,\"2?\",IF($X320>=RULES!$G$149,\"3?\",IF($Y320>=RULES!$G$149,\"4?\",IF($Z320>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB320<>\"*\",\"~\",IF((V320+W320>=RULES!$F$149),\"12\",IF((W320+X320>=RULES!$F$149),\"23\",IF((X320+Y320>=RULES!$F$149),\"34\",IF((Y320+Z320>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC320<>\"*\",\"~\",IF(Y320+Z320<(1-RULES!$F$149),\"13\",IF(V320+Z320<(1-RULES!$F$149),\"24\",IF(V320+W320<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F320=\"X\",$F320=\"H\",$F320=\"Z-ERROR\",AND($AA320=\"H\",$AH320)),$AE320,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P320,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L320,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M320,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N320,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E320&\"1\",IF(NOT($AH320),$E320&\"U\",$AE320)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN320","v":""},{"$f":"'Calculator Table'!BR320","v":0},{"$f":"Calculate!AV320","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A329","v":0},{"$f":"IF(F329=\"X\",\"X\",(IF(F329<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H329),0,Calculate!H329),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N329),0,Calculate!N329),IF(ISERROR(Calculate!J329),0,Calculate!J329))))))","v":0},{"$f":"IF(F329=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I329),$C$2,Calculate!I329),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O329),$C$2,Calculate!O329),IF(ISERROR(Calculate!K329),$C$2,Calculate!K329))))","v":5.5},{"$f":"AF329 & IF(OR($AH329,RIGHT($AF329,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P329","v":"S"},{"$f":"Calculate!Q329","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F329=\"X\",$F329=\"H\",$F329=\"Z-ERROR\"),$F329,IF($V329>=RULES!$F$149,\"1\",IF($W329>=RULES!$F$149,\"2\",IF($X329>=RULES!$F$149,\"3\",IF($Y329>=RULES!$F$149,\"4\",IF($Z329>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA329<>\"*\",\"~\",IF($V329>=RULES!$G$149,\"1?\",IF($W329>=RULES!$G$149,\"2?\",IF($X329>=RULES!$G$149,\"3?\",IF($Y329>=RULES!$G$149,\"4?\",IF($Z329>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB329<>\"*\",\"~\",IF((V329+W329>=RULES!$F$149),\"12\",IF((W329+X329>=RULES!$F$149),\"23\",IF((X329+Y329>=RULES!$F$149),\"34\",IF((Y329+Z329>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC329<>\"*\",\"~\",IF(Y329+Z329<(1-RULES!$F$149),\"13\",IF(V329+Z329<(1-RULES!$F$149),\"24\",IF(V329+W329<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F329=\"X\",$F329=\"H\",$F329=\"Z-ERROR\",AND($AA329=\"H\",$AH329)),$AE329,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P329,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L329,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M329,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N329,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E329&\"1\",IF(NOT($AH329),$E329&\"U\",$AE329)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN329","v":""},{"$f":"'Calculator Table'!BR329","v":0},{"$f":"Calculate!AV329","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A334","v":0},{"$f":"IF(F334=\"X\",\"X\",(IF(F334<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H334),0,Calculate!H334),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N334),0,Calculate!N334),IF(ISERROR(Calculate!J334),0,Calculate!J334))))))","v":0},{"$f":"IF(F334=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I334),$C$2,Calculate!I334),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O334),$C$2,Calculate!O334),IF(ISERROR(Calculate!K334),$C$2,Calculate!K334))))","v":5.5},{"$f":"AF334 & IF(OR($AH334,RIGHT($AF334,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P334","v":"S"},{"$f":"Calculate!Q334","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F334=\"X\",$F334=\"H\",$F334=\"Z-ERROR\"),$F334,IF($V334>=RULES!$F$149,\"1\",IF($W334>=RULES!$F$149,\"2\",IF($X334>=RULES!$F$149,\"3\",IF($Y334>=RULES!$F$149,\"4\",IF($Z334>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA334<>\"*\",\"~\",IF($V334>=RULES!$G$149,\"1?\",IF($W334>=RULES!$G$149,\"2?\",IF($X334>=RULES!$G$149,\"3?\",IF($Y334>=RULES!$G$149,\"4?\",IF($Z334>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB334<>\"*\",\"~\",IF((V334+W334>=RULES!$F$149),\"12\",IF((W334+X334>=RULES!$F$149),\"23\",IF((X334+Y334>=RULES!$F$149),\"34\",IF((Y334+Z334>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC334<>\"*\",\"~\",IF(Y334+Z334<(1-RULES!$F$149),\"13\",IF(V334+Z334<(1-RULES!$F$149),\"24\",IF(V334+W334<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F334=\"X\",$F334=\"H\",$F334=\"Z-ERROR\",AND($AA334=\"H\",$AH334)),$AE334,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P334,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L334,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M334,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N334,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E334&\"1\",IF(NOT($AH334),$E334&\"U\",$AE334)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN334","v":""},{"$f":"'Calculator Table'!BR334","v":0},{"$f":"Calculate!AV334","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A346","v":0},{"$f":"IF(F346=\"X\",\"X\",(IF(F346<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H346),0,Calculate!H346),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N346),0,Calculate!N346),IF(ISERROR(Calculate!J346),0,Calculate!J346))))))","v":0},{"$f":"IF(F346=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I346),$C$2,Calculate!I346),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O346),$C$2,Calculate!O346),IF(ISERROR(Calculate!K346),$C$2,Calculate!K346))))","v":5.5},{"$f":"AF346 & IF(OR($AH346,RIGHT($AF346,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P346","v":"S"},{"$f":"Calculate!Q346","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F346=\"X\",$F346=\"H\",$F346=\"Z-ERROR\"),$F346,IF($V346>=RULES!$F$149,\"1\",IF($W346>=RULES!$F$149,\"2\",IF($X346>=RULES!$F$149,\"3\",IF($Y346>=RULES!$F$149,\"4\",IF($Z346>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA346<>\"*\",\"~\",IF($V346>=RULES!$G$149,\"1?\",IF($W346>=RULES!$G$149,\"2?\",IF($X346>=RULES!$G$149,\"3?\",IF($Y346>=RULES!$G$149,\"4?\",IF($Z346>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB346<>\"*\",\"~\",IF((V346+W346>=RULES!$F$149),\"12\",IF((W346+X346>=RULES!$F$149),\"23\",IF((X346+Y346>=RULES!$F$149),\"34\",IF((Y346+Z346>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC346<>\"*\",\"~\",IF(Y346+Z346<(1-RULES!$F$149),\"13\",IF(V346+Z346<(1-RULES!$F$149),\"24\",IF(V346+W346<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F346=\"X\",$F346=\"H\",$F346=\"Z-ERROR\",AND($AA346=\"H\",$AH346)),$AE346,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P346,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L346,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M346,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N346,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E346&\"1\",IF(NOT($AH346),$E346&\"U\",$AE346)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN346","v":""},{"$f":"'Calculator Table'!BR346","v":0},{"$f":"Calculate!AV346","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A351","v":0},{"$f":"IF(F351=\"X\",\"X\",(IF(F351<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H351),0,Calculate!H351),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N351),0,Calculate!N351),IF(ISERROR(Calculate!J351),0,Calculate!J351))))))","v":0},{"$f":"IF(F351=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I351),$C$2,Calculate!I351),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O351),$C$2,Calculate!O351),IF(ISERROR(Calculate!K351),$C$2,Calculate!K351))))","v":5.5},{"$f":"AF351 & IF(OR($AH351,RIGHT($AF351,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P351","v":"S"},{"$f":"Calculate!Q351","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F351=\"X\",$F351=\"H\",$F351=\"Z-ERROR\"),$F351,IF($V351>=RULES!$F$149,\"1\",IF($W351>=RULES!$F$149,\"2\",IF($X351>=RULES!$F$149,\"3\",IF($Y351>=RULES!$F$149,\"4\",IF($Z351>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA351<>\"*\",\"~\",IF($V351>=RULES!$G$149,\"1?\",IF($W351>=RULES!$G$149,\"2?\",IF($X351>=RULES!$G$149,\"3?\",IF($Y351>=RULES!$G$149,\"4?\",IF($Z351>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB351<>\"*\",\"~\",IF((V351+W351>=RULES!$F$149),\"12\",IF((W351+X351>=RULES!$F$149),\"23\",IF((X351+Y351>=RULES!$F$149),\"34\",IF((Y351+Z351>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC351<>\"*\",\"~\",IF(Y351+Z351<(1-RULES!$F$149),\"13\",IF(V351+Z351<(1-RULES!$F$149),\"24\",IF(V351+W351<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F351=\"X\",$F351=\"H\",$F351=\"Z-ERROR\",AND($AA351=\"H\",$AH351)),$AE351,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P351,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L351,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M351,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N351,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E351&\"1\",IF(NOT($AH351),$E351&\"U\",$AE351)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN351","v":""},{"$f":"'Calculator Table'!BR351","v":0},{"$f":"Calculate!AV351","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A363","v":0},{"$f":"IF(F363=\"X\",\"X\",(IF(F363<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H363),0,Calculate!H363),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N363),0,Calculate!N363),IF(ISERROR(Calculate!J363),0,Calculate!J363))))))","v":0},{"$f":"IF(F363=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I363),$C$2,Calculate!I363),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O363),$C$2,Calculate!O363),IF(ISERROR(Calculate!K363),$C$2,Calculate!K363))))","v":5.5},{"$f":"AF363 & IF(OR($AH363,RIGHT($AF363,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P363","v":"S"},{"$f":"Calculate!Q363","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F363=\"X\",$F363=\"H\",$F363=\"Z-ERROR\"),$F363,IF($V363>=RULES!$F$149,\"1\",IF($W363>=RULES!$F$149,\"2\",IF($X363>=RULES!$F$149,\"3\",IF($Y363>=RULES!$F$149,\"4\",IF($Z363>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA363<>\"*\",\"~\",IF($V363>=RULES!$G$149,\"1?\",IF($W363>=RULES!$G$149,\"2?\",IF($X363>=RULES!$G$149,\"3?\",IF($Y363>=RULES!$G$149,\"4?\",IF($Z363>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB363<>\"*\",\"~\",IF((V363+W363>=RULES!$F$149),\"12\",IF((W363+X363>=RULES!$F$149),\"23\",IF((X363+Y363>=RULES!$F$149),\"34\",IF((Y363+Z363>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC363<>\"*\",\"~\",IF(Y363+Z363<(1-RULES!$F$149),\"13\",IF(V363+Z363<(1-RULES!$F$149),\"24\",IF(V363+W363<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F363=\"X\",$F363=\"H\",$F363=\"Z-ERROR\",AND($AA363=\"H\",$AH363)),$AE363,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P363,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L363,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M363,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N363,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E363&\"1\",IF(NOT($AH363),$E363&\"U\",$AE363)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN363","v":""},{"$f":"'Calculator Table'!BR363","v":0},{"$f":"Calculate!AV363","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A365","v":0},{"$f":"IF(F365=\"X\",\"X\",(IF(F365<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H365),0,Calculate!H365),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N365),0,Calculate!N365),IF(ISERROR(Calculate!J365),0,Calculate!J365))))))","v":0},{"$f":"IF(F365=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I365),$C$2,Calculate!I365),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O365),$C$2,Calculate!O365),IF(ISERROR(Calculate!K365),$C$2,Calculate!K365))))","v":5.5},{"$f":"AF365 & IF(OR($AH365,RIGHT($AF365,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P365","v":"S"},{"$f":"Calculate!Q365","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F365=\"X\",$F365=\"H\",$F365=\"Z-ERROR\"),$F365,IF($V365>=RULES!$F$149,\"1\",IF($W365>=RULES!$F$149,\"2\",IF($X365>=RULES!$F$149,\"3\",IF($Y365>=RULES!$F$149,\"4\",IF($Z365>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA365<>\"*\",\"~\",IF($V365>=RULES!$G$149,\"1?\",IF($W365>=RULES!$G$149,\"2?\",IF($X365>=RULES!$G$149,\"3?\",IF($Y365>=RULES!$G$149,\"4?\",IF($Z365>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB365<>\"*\",\"~\",IF((V365+W365>=RULES!$F$149),\"12\",IF((W365+X365>=RULES!$F$149),\"23\",IF((X365+Y365>=RULES!$F$149),\"34\",IF((Y365+Z365>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC365<>\"*\",\"~\",IF(Y365+Z365<(1-RULES!$F$149),\"13\",IF(V365+Z365<(1-RULES!$F$149),\"24\",IF(V365+W365<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F365=\"X\",$F365=\"H\",$F365=\"Z-ERROR\",AND($AA365=\"H\",$AH365)),$AE365,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P365,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L365,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M365,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N365,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E365&\"1\",IF(NOT($AH365),$E365&\"U\",$AE365)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN365","v":""},{"$f":"'Calculator Table'!BR365","v":0},{"$f":"Calculate!AV365","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A372","v":0},{"$f":"IF(F372=\"X\",\"X\",(IF(F372<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H372),0,Calculate!H372),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N372),0,Calculate!N372),IF(ISERROR(Calculate!J372),0,Calculate!J372))))))","v":0},{"$f":"IF(F372=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I372),$C$2,Calculate!I372),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O372),$C$2,Calculate!O372),IF(ISERROR(Calculate!K372),$C$2,Calculate!K372))))","v":5.5},{"$f":"AF372 & IF(OR($AH372,RIGHT($AF372,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P372","v":"S"},{"$f":"Calculate!Q372","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F372=\"X\",$F372=\"H\",$F372=\"Z-ERROR\"),$F372,IF($V372>=RULES!$F$149,\"1\",IF($W372>=RULES!$F$149,\"2\",IF($X372>=RULES!$F$149,\"3\",IF($Y372>=RULES!$F$149,\"4\",IF($Z372>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA372<>\"*\",\"~\",IF($V372>=RULES!$G$149,\"1?\",IF($W372>=RULES!$G$149,\"2?\",IF($X372>=RULES!$G$149,\"3?\",IF($Y372>=RULES!$G$149,\"4?\",IF($Z372>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB372<>\"*\",\"~\",IF((V372+W372>=RULES!$F$149),\"12\",IF((W372+X372>=RULES!$F$149),\"23\",IF((X372+Y372>=RULES!$F$149),\"34\",IF((Y372+Z372>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC372<>\"*\",\"~\",IF(Y372+Z372<(1-RULES!$F$149),\"13\",IF(V372+Z372<(1-RULES!$F$149),\"24\",IF(V372+W372<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F372=\"X\",$F372=\"H\",$F372=\"Z-ERROR\",AND($AA372=\"H\",$AH372)),$AE372,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P372,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L372,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M372,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N372,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E372&\"1\",IF(NOT($AH372),$E372&\"U\",$AE372)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN372","v":""},{"$f":"'Calculator Table'!BR372","v":0},{"$f":"Calculate!AV372","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A381","v":0},{"$f":"IF(F381=\"X\",\"X\",(IF(F381<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H381),0,Calculate!H381),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N381),0,Calculate!N381),IF(ISERROR(Calculate!J381),0,Calculate!J381))))))","v":0},{"$f":"IF(F381=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I381),$C$2,Calculate!I381),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O381),$C$2,Calculate!O381),IF(ISERROR(Calculate!K381),$C$2,Calculate!K381))))","v":5.5},{"$f":"AF381 & IF(OR($AH381,RIGHT($AF381,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P381","v":"S"},{"$f":"Calculate!Q381","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F381=\"X\",$F381=\"H\",$F381=\"Z-ERROR\"),$F381,IF($V381>=RULES!$F$149,\"1\",IF($W381>=RULES!$F$149,\"2\",IF($X381>=RULES!$F$149,\"3\",IF($Y381>=RULES!$F$149,\"4\",IF($Z381>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA381<>\"*\",\"~\",IF($V381>=RULES!$G$149,\"1?\",IF($W381>=RULES!$G$149,\"2?\",IF($X381>=RULES!$G$149,\"3?\",IF($Y381>=RULES!$G$149,\"4?\",IF($Z381>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB381<>\"*\",\"~\",IF((V381+W381>=RULES!$F$149),\"12\",IF((W381+X381>=RULES!$F$149),\"23\",IF((X381+Y381>=RULES!$F$149),\"34\",IF((Y381+Z381>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC381<>\"*\",\"~\",IF(Y381+Z381<(1-RULES!$F$149),\"13\",IF(V381+Z381<(1-RULES!$F$149),\"24\",IF(V381+W381<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F381=\"X\",$F381=\"H\",$F381=\"Z-ERROR\",AND($AA381=\"H\",$AH381)),$AE381,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P381,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L381,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M381,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N381,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E381&\"1\",IF(NOT($AH381),$E381&\"U\",$AE381)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN381","v":""},{"$f":"'Calculator Table'!BR381","v":0},{"$f":"Calculate!AV381","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A388","v":0},{"$f":"IF(F388=\"X\",\"X\",(IF(F388<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H388),0,Calculate!H388),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N388),0,Calculate!N388),IF(ISERROR(Calculate!J388),0,Calculate!J388))))))","v":0},{"$f":"IF(F388=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I388),$C$2,Calculate!I388),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O388),$C$2,Calculate!O388),IF(ISERROR(Calculate!K388),$C$2,Calculate!K388))))","v":5.5},{"$f":"AF388 & IF(OR($AH388,RIGHT($AF388,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P388","v":"S"},{"$f":"Calculate!Q388","v":"*"},{"$f":"B388","v":0},5.5,{"$f":"AF388","v":{"$error":"#VALUE!"}},0,5.5,{"$f":"K388-J388","v":5.5},0,1.5,2.5,3.5,4.5,4,3,2,1,{"$f":"IF($L388=0,IF($M388=1,1,0),$N388/$L388)","v":0.27272727272727271},{"$f":"IF($L388=0,IF($M388=2,1,0),($O388-$N388)/$L388)","v":0.18181818181818182},{"$f":"IF($L388=0,IF($M388=3,1,0),($P388-$O388)/$L388)","v":0.18181818181818182},{"$f":"IF($L388=0,IF($M388=4,1,0),($Q388-$P388)/$L388)","v":0.18181818181818182},{"$f":"IF($L388=0,IF($M388=5,1,0),$U388/$L388)","v":0.18181818181818182},{"$f":"IF(OR($F388=\"X\",$F388=\"H\",$F388=\"Z-ERROR\"),$F388,IF($V388>=RULES!$F$149,\"1\",IF($W388>=RULES!$F$149,\"2\",IF($X388>=RULES!$F$149,\"3\",IF($Y388>=RULES!$F$149,\"4\",IF($Z388>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA388<>\"*\",\"~\",IF($V388>=RULES!$G$149,\"1?\",IF($W388>=RULES!$G$149,\"2?\",IF($X388>=RULES!$G$149,\"3?\",IF($Y388>=RULES!$G$149,\"4?\",IF($Z388>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB388<>\"*\",\"~\",IF((V388+W388>=RULES!$F$149),\"12\",IF((W388+X388>=RULES!$F$149),\"23\",IF((X388+Y388>=RULES!$F$149),\"34\",IF((Y388+Z388>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC388<>\"*\",\"~\",IF(Y388+Z388<(1-RULES!$F$149),\"13\",IF(V388+Z388<(1-RULES!$F$149),\"24\",IF(V388+W388<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},{"$f":"IF(AA388<>\"*\",CONCATENATE(E388,AA388),IF(AB388<>\"*\",CONCATENATE(E388,AB388),IF(AC388<>\"*\",CONCATENATE(E388,LEFT(AC388,1),E388,RIGHT(AC388,1)),IF(AD388=\"NR\",CONCATENATE(E388,\"NR\"),IF(AD388=\"U\",CONCATENATE(E388,\"U\"),CONCATENATE(E388,LEFT(AD388,1),E388,RIGHT(AD388,1)))))))","v":"SU"},{"$f":"IF(OR($F388=\"X\",$F388=\"H\",$F388=\"Z-ERROR\",AND($AA388=\"H\",$AH388)),$AE388,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P388,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L388,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M388,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N388,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E388&\"1\",IF(NOT($AH388),$E388&\"U\",$AE388)))","v":{"$error":"#VALUE!"}},{"$f":"IF(AE388=AF388,\"\",\"changed\")","v":{"$error":"#VALUE!"}},{"$f":"'Calculator Table'!BN388","v":""},{"$f":"'Calculator Table'!BR388","v":0},{"$f":"Calculate!AV388","v":2},null,null,null,null,null,{"$f":"AND(AF388=AM388)","v":{"$error":"#VALUE!"}}]
[{"$f":"Calculate!A398","v":0},{"$f":"IF(F398=\"X\",\"X\",(IF(F398<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H398),0,Calculate!H398),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N398),0,Calculate!N398),IF(ISERROR(Calculate!J398),0,Calculate!J398))))))","v":0},{"$f":"IF(F398=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I398),$C$2,Calculate!I398),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O398),$C$2,Calculate!O398),IF(ISERROR(Calculate!K398),$C$2,Calculate!K398))))","v":5.5},{"$f":"AF398 & IF(OR($AH398,RIGHT($AF398,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P398","v":"S"},{"$f":"Calculate!Q398","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F398=\"X\",$F398=\"H\",$F398=\"Z-ERROR\"),$F398,IF($V398>=RULES!$F$149,\"1\",IF($W398>=RULES!$F$149,\"2\",IF($X398>=RULES!$F$149,\"3\",IF($Y398>=RULES!$F$149,\"4\",IF($Z398>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA398<>\"*\",\"~\",IF($V398>=RULES!$G$149,\"1?\",IF($W398>=RULES!$G$149,\"2?\",IF($X398>=RULES!$G$149,\"3?\",IF($Y398>=RULES!$G$149,\"4?\",IF($Z398>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB398<>\"*\",\"~\",IF((V398+W398>=RULES!$F$149),\"12\",IF((W398+X398>=RULES!$F$149),\"23\",IF((X398+Y398>=RULES!$F$149),\"34\",IF((Y398+Z398>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC398<>\"*\",\"~\",IF(Y398+Z398<(1-RULES!$F$149),\"13\",IF(V398+Z398<(1-RULES!$F$149),\"24\",IF(V398+W398<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F398=\"X\",$F398=\"H\",$F398=\"Z-ERROR\",AND($AA398=\"H\",$AH398)),$AE398,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P398,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L398,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M398,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N398,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E398&\"1\",IF(NOT($AH398),$E398&\"U\",$AE398)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN398","v":""},{"$f":"'Calculator Table'!BR398","v":0},{"$f":"Calculate!AV398","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A402","v":0},{"$f":"IF(F402=\"X\",\"X\",(IF(F402<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H402),0,Calculate!H402),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N402),0,Calculate!N402),IF(ISERROR(Calculate!J402),0,Calculate!J402))))))","v":0},{"$f":"IF(F402=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I402),$C$2,Calculate!I402),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O402),$C$2,Calculate!O402),IF(ISERROR(Calculate!K402),$C$2,Calculate!K402))))","v":5.5},{"$f":"AF402 & IF(OR($AH402,RIGHT($AF402,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P402","v":"S"},{"$f":"Calculate!Q402","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F402=\"X\",$F402=\"H\",$F402=\"Z-ERROR\"),$F402,IF($V402>=RULES!$F$149,\"1\",IF($W402>=RULES!$F$149,\"2\",IF($X402>=RULES!$F$149,\"3\",IF($Y402>=RULES!$F$149,\"4\",IF($Z402>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA402<>\"*\",\"~\",IF($V402>=RULES!$G$149,\"1?\",IF($W402>=RULES!$G$149,\"2?\",IF($X402>=RULES!$G$149,\"3?\",IF($Y402>=RULES!$G$149,\"4?\",IF($Z402>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB402<>\"*\",\"~\",IF((V402+W402>=RULES!$F$149),\"12\",IF((W402+X402>=RULES!$F$149),\"23\",IF((X402+Y402>=RULES!$F$149),\"34\",IF((Y402+Z402>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC402<>\"*\",\"~\",IF(Y402+Z402<(1-RULES!$F$149),\"13\",IF(V402+Z402<(1-RULES!$F$149),\"24\",IF(V402+W402<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F402=\"X\",$F402=\"H\",$F402=\"Z-ERROR\",AND($AA402=\"H\",$AH402)),$AE402,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P402,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L402,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M402,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N402,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E402&\"1\",IF(NOT($AH402),$E402&\"U\",$AE402)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN402","v":""},{"$f":"'Calculator Table'!BR402","v":0},{"$f":"Calculate!AV402","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A415","v":0},{"$f":"IF(F415=\"X\",\"X\",(IF(F415<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H415),0,Calculate!H415),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N415),0,Calculate!N415),IF(ISERROR(Calculate!J415),0,Calculate!J415))))))","v":0},{"$f":"IF(F415=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I415),$C$2,Calculate!I415),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O415),$C$2,Calculate!O415),IF(ISERROR(Calculate!K415),$C$2,Calculate!K415))))","v":5.5},{"$f":"AF415 & IF(OR($AH415,RIGHT($AF415,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P415","v":"S"},{"$f":"Calculate!Q415","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F415=\"X\",$F415=\"H\",$F415=\"Z-ERROR\"),$F415,IF($V415>=RULES!$F$149,\"1\",IF($W415>=RULES!$F$149,\"2\",IF($X415>=RULES!$F$149,\"3\",IF($Y415>=RULES!$F$149,\"4\",IF($Z415>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA415<>\"*\",\"~\",IF($V415>=RULES!$G$149,\"1?\",IF($W415>=RULES!$G$149,\"2?\",IF($X415>=RULES!$G$149,\"3?\",IF($Y415>=RULES!$G$149,\"4?\",IF($Z415>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB415<>\"*\",\"~\",IF((V415+W415>=RULES!$F$149),\"12\",IF((W415+X415>=RULES!$F$149),\"23\",IF((X415+Y415>=RULES!$F$149),\"34\",IF((Y415+Z415>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC415<>\"*\",\"~\",IF(Y415+Z415<(1-RULES!$F$149),\"13\",IF(V415+Z415<(1-RULES!$F$149),\"24\",IF(V415+W415<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F415=\"X\",$F415=\"H\",$F415=\"Z-ERROR\",AND($AA415=\"H\",$AH415)),$AE415,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P415,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L415,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M415,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N415,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E415&\"1\",IF(NOT($AH415),$E415&\"U\",$AE415)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN415","v":""},{"$f":"'Calculator Table'!BR415","v":0},{"$f":"Calculate!AV415","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A423","v":0},{"$f":"IF(F423=\"X\",\"X\",(IF(F423<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H423),0,Calculate!H423),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N423),0,Calculate!N423),IF(ISERROR(Calculate!J423),0,Calculate!J423))))))","v":0},{"$f":"IF(F423=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I423),$C$2,Calculate!I423),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O423),$C$2,Calculate!O423),IF(ISERROR(Calculate!K423),$C$2,Calculate!K423))))","v":5.5},{"$f":"AF423 & IF(OR($AH423,RIGHT($AF423,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P423","v":"S"},{"$f":"Calculate!Q423","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F423=\"X\",$F423=\"H\",$F423=\"Z-ERROR\"),$F423,IF($V423>=RULES!$F$149,\"1\",IF($W423>=RULES!$F$149,\"2\",IF($X423>=RULES!$F$149,\"3\",IF($Y423>=RULES!$F$149,\"4\",IF($Z423>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA423<>\"*\",\"~\",IF($V423>=RULES!$G$149,\"1?\",IF($W423>=RULES!$G$149,\"2?\",IF($X423>=RULES!$G$149,\"3?\",IF($Y423>=RULES!$G$149,\"4?\",IF($Z423>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB423<>\"*\",\"~\",IF((V423+W423>=RULES!$F$149),\"12\",IF((W423+X423>=RULES!$F$149),\"23\",IF((X423+Y423>=RULES!$F$149),\"34\",IF((Y423+Z423>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC423<>\"*\",\"~\",IF(Y423+Z423<(1-RULES!$F$149),\"13\",IF(V423+Z423<(1-RULES!$F$149),\"24\",IF(V423+W423<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F423=\"X\",$F423=\"H\",$F423=\"Z-ERROR\",AND($AA423=\"H\",$AH423)),$AE423,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P423,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L423,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M423,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N423,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E423&\"1\",IF(NOT($AH423),$E423&\"U\",$AE423)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN423","v":""},{"$f":"'Calculator Table'!BR423","v":0},{"$f":"Calculate!AV423","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A424","v":0},{"$f":"IF(F424=\"X\",\"X\",(IF(F424<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H424),0,Calculate!H424),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N424),0,Calculate!N424),IF(ISERROR(Calculate!J424),0,Calculate!J424))))))","v":0},{"$f":"IF(F424=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I424),$C$2,Calculate!I424),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O424),$C$2,Calculate!O424),IF(ISERROR(Calculate!K424),$C$2,Calculate!K424))))","v":5.5},{"$f":"AF424 & IF(OR($AH424,RIGHT($AF424,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P424","v":"S"},{"$f":"Calculate!Q424","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F424=\"X\",$F424=\"H\",$F424=\"Z-ERROR\"),$F424,IF($V424>=RULES!$F$149,\"1\",IF($W424>=RULES!$F$149,\"2\",IF($X424>=RULES!$F$149,\"3\",IF($Y424>=RULES!$F$149,\"4\",IF($Z424>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA424<>\"*\",\"~\",IF($V424>=RULES!$G$149,\"1?\",IF($W424>=RULES!$G$149,\"2?\",IF($X424>=RULES!$G$149,\"3?\",IF($Y424>=RULES!$G$149,\"4?\",IF($Z424>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB424<>\"*\",\"~\",IF((V424+W424>=RULES!$F$149),\"12\",IF((W424+X424>=RULES!$F$149),\"23\",IF((X424+Y424>=RULES!$F$149),\"34\",IF((Y424+Z424>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC424<>\"*\",\"~\",IF(Y424+Z424<(1-RULES!$F$149),\"13\",IF(V424+Z424<(1-RULES!$F$149),\"24\",IF(V424+W424<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F424=\"X\",$F424=\"H\",$F424=\"Z-ERROR\",AND($AA424=\"H\",$AH424)),$AE424,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P424,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L424,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M424,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N424,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E424&\"1\",IF(NOT($AH424),$E424&\"U\",$AE424)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN424","v":""},{"$f":"'Calculator Table'!BR424","v":0},{"$f":"Calculate!AV424","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A437","v":0},{"$f":"IF(F437=\"X\",\"X\",(IF(F437<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H437),0,Calculate!H437),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N437),0,Calculate!N437),IF(ISERROR(Calculate!J437),0,Calculate!J437))))))","v":0},{"$f":"IF(F437=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I437),$C$2,Calculate!I437),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O437),$C$2,Calculate!O437),IF(ISERROR(Calculate!K437),$C$2,Calculate!K437))))","v":5.5},{"$f":"AF437 & IF(OR($AH437,RIGHT($AF437,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P437","v":"S"},{"$f":"Calculate!Q437","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F437=\"X\",$F437=\"H\",$F437=\"Z-ERROR\"),$F437,IF($V437>=RULES!$F$149,\"1\",IF($W437>=RULES!$F$149,\"2\",IF($X437>=RULES!$F$149,\"3\",IF($Y437>=RULES!$F$149,\"4\",IF($Z437>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA437<>\"*\",\"~\",IF($V437>=RULES!$G$149,\"1?\",IF($W437>=RULES!$G$149,\"2?\",IF($X437>=RULES!$G$149,\"3?\",IF($Y437>=RULES!$G$149,\"4?\",IF($Z437>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB437<>\"*\",\"~\",IF((V437+W437>=RULES!$F$149),\"12\",IF((W437+X437>=RULES!$F$149),\"23\",IF((X437+Y437>=RULES!$F$149),\"34\",IF((Y437+Z437>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC437<>\"*\",\"~\",IF(Y437+Z437<(1-RULES!$F$149),\"13\",IF(V437+Z437<(1-RULES!$F$149),\"24\",IF(V437+W437<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F437=\"X\",$F437=\"H\",$F437=\"Z-ERROR\",AND($AA437=\"H\",$AH437)),$AE437,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P437,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L437,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M437,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N437,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E437&\"1\",IF(NOT($AH437),$E437&\"U\",$AE437)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN437","v":""},{"$f":"'Calculator Table'!BR437","v":0},{"$f":"Calculate!AV437","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A441","v":0},{"$f":"IF(F441=\"X\",\"X\",(IF(F441<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H441),0,Calculate!H441),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N441),0,Calculate!N441),IF(ISERROR(Calculate!J441),0,Calculate!J441))))))","v":0},{"$f":"IF(F441=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I441),$C$2,Calculate!I441),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O441),$C$2,Calculate!O441),IF(ISERROR(Calculate!K441),$C$2,Calculate!K441))))","v":5.5},{"$f":"AF441 & IF(OR($AH441,RIGHT($AF441,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P441","v":"S"},{"$f":"Calculate!Q441","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F441=\"X\",$F441=\"H\",$F441=\"Z-ERROR\"),$F441,IF($V441>=RULES!$F$149,\"1\",IF($W441>=RULES!$F$149,\"2\",IF($X441>=RULES!$F$149,\"3\",IF($Y441>=RULES!$F$149,\"4\",IF($Z441>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA441<>\"*\",\"~\",IF($V441>=RULES!$G$149,\"1?\",IF($W441>=RULES!$G$149,\"2?\",IF($X441>=RULES!$G$149,\"3?\",IF($Y441>=RULES!$G$149,\"4?\",IF($Z441>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB441<>\"*\",\"~\",IF((V441+W441>=RULES!$F$149),\"12\",IF((W441+X441>=RULES!$F$149),\"23\",IF((X441+Y441>=RULES!$F$149),\"34\",IF((Y441+Z441>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC441<>\"*\",\"~\",IF(Y441+Z441<(1-RULES!$F$149),\"13\",IF(V441+Z441<(1-RULES!$F$149),\"24\",IF(V441+W441<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F441=\"X\",$F441=\"H\",$F441=\"Z-ERROR\",AND($AA441=\"H\",$AH441)),$AE441,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P441,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L441,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M441,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N441,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E441&\"1\",IF(NOT($AH441),$E441&\"U\",$AE441)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN441","v":""},{"$f":"'Calculator Table'!BR441","v":0},{"$f":"Calculate!AV441","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A450","v":0},{"$f":"IF(F450=\"X\",\"X\",(IF(F450<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H450),0,Calculate!H450),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N450),0,Calculate!N450),IF(ISERROR(Calculate!J450),0,Calculate!J450))))))","v":0},{"$f":"IF(F450=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I450),$C$2,Calculate!I450),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O450),$C$2,Calculate!O450),IF(ISERROR(Calculate!K450),$C$2,Calculate!K450))))","v":5.5},{"$f":"AF450 & IF(OR($AH450,RIGHT($AF450,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P450","v":"S"},{"$f":"Calculate!Q450","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F450=\"X\",$F450=\"H\",$F450=\"Z-ERROR\"),$F450,IF($V450>=RULES!$F$149,\"1\",IF($W450>=RULES!$F$149,\"2\",IF($X450>=RULES!$F$149,\"3\",IF($Y450>=RULES!$F$149,\"4\",IF($Z450>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA450<>\"*\",\"~\",IF($V450>=RULES!$G$149,\"1?\",IF($W450>=RULES!$G$149,\"2?\",IF($X450>=RULES!$G$149,\"3?\",IF($Y450>=RULES!$G$149,\"4?\",IF($Z450>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB450<>\"*\",\"~\",IF((V450+W450>=RULES!$F$149),\"12\",IF((W450+X450>=RULES!$F$149),\"23\",IF((X450+Y450>=RULES!$F$149),\"34\",IF((Y450+Z450>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC450<>\"*\",\"~\",IF(Y450+Z450<(1-RULES!$F$149),\"13\",IF(V450+Z450<(1-RULES!$F$149),\"24\",IF(V450+W450<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F450=\"X\",$F450=\"H\",$F450=\"Z-ERROR\",AND($AA450=\"H\",$AH450)),$AE450,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P450,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L450,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M450,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N450,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E450&\"1\",IF(NOT($AH450),$E450&\"U\",$AE450)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN450","v":""},{"$f":"'Calculator Table'!BR450","v":0},{"$f":"Calculate!AV450","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A460","v":0},{"$f":"IF(F460=\"X\",\"X\",(IF(F460<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H460),0,Calculate!H460),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N460),0,Calculate!N460),IF(ISERROR(Calculate!J460),0,Calculate!J460))))))","v":0},{"$f":"IF(F460=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I460),$C$2,Calculate!I460),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O460),$C$2,Calculate!O460),IF(ISERROR(Calculate!K460),$C$2,Calculate!K460))))","v":5.5},{"$f":"AF460 & IF(OR($AH460,RIGHT($AF460,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P460","v":"S"},{"$f":"Calculate!Q460","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F460=\"X\",$F460=\"H\",$F460=\"Z-ERROR\"),$F460,IF($V460>=RULES!$F$149,\"1\",IF($W460>=RULES!$F$149,\"2\",IF($X460>=RULES!$F$149,\"3\",IF($Y460>=RULES!$F$149,\"4\",IF($Z460>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA460<>\"*\",\"~\",IF($V460>=RULES!$G$149,\"1?\",IF($W460>=RULES!$G$149,\"2?\",IF($X460>=RULES!$G$149,\"3?\",IF($Y460>=RULES!$G$149,\"4?\",IF($Z460>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB460<>\"*\",\"~\",IF((V460+W460>=RULES!$F$149),\"12\",IF((W460+X460>=RULES!$F$149),\"23\",IF((X460+Y460>=RULES!$F$149),\"34\",IF((Y460+Z460>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC460<>\"*\",\"~\",IF(Y460+Z460<(1-RULES!$F$149),\"13\",IF(V460+Z460<(1-RULES!$F$149),\"24\",IF(V460+W460<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F460=\"X\",$F460=\"H\",$F460=\"Z-ERROR\",AND($AA460=\"H\",$AH460)),$AE460,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P460,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L460,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M460,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N460,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E460&\"1\",IF(NOT($AH460),$E460&\"U\",$AE460)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN460","v":""},{"$f":"'Calculator Table'!BR460","v":0},{"$f":"Calculate!AV460","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A467","v":0},{"$f":"IF(F467=\"X\",\"X\",(IF(F467<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H467),0,Calculate!H467),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N467),0,Calculate!N467),IF(ISERROR(Calculate!J467),0,Calculate!J467))))))","v":0},{"$f":"IF(F467=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I467),$C$2,Calculate!I467),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O467),$C$2,Calculate!O467),IF(ISERROR(Calculate!K467),$C$2,Calculate!K467))))","v":5.5},{"$f":"AF467 & IF(OR($AH467,RIGHT($AF467,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P467","v":"S"},{"$f":"Calculate!Q467","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F467=\"X\",$F467=\"H\",$F467=\"Z-ERROR\"),$F467,IF($V467>=RULES!$F$149,\"1\",IF($W467>=RULES!$F$149,\"2\",IF($X467>=RULES!$F$149,\"3\",IF($Y467>=RULES!$F$149,\"4\",IF($Z467>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA467<>\"*\",\"~\",IF($V467>=RULES!$G$149,\"1?\",IF($W467>=RULES!$G$149,\"2?\",IF($X467>=RULES!$G$149,\"3?\",IF($Y467>=RULES!$G$149,\"4?\",IF($Z467>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB467<>\"*\",\"~\",IF((V467+W467>=RULES!$F$149),\"12\",IF((W467+X467>=RULES!$F$149),\"23\",IF((X467+Y467>=RULES!$F$149),\"34\",IF((Y467+Z467>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC467<>\"*\",\"~\",IF(Y467+Z467<(1-RULES!$F$149),\"13\",IF(V467+Z467<(1-RULES!$F$149),\"24\",IF(V467+W467<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F467=\"X\",$F467=\"H\",$F467=\"Z-ERROR\",AND($AA467=\"H\",$AH467)),$AE467,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P467,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L467,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M467,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N467,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E467&\"1\",IF(NOT($AH467),$E467&\"U\",$AE467)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN467","v":""},{"$f":"'Calculator Table'!BR467","v":0},{"$f":"Calculate!AV467","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A474","v":0},{"$f":"IF(F474=\"X\",\"X\",(IF(F474<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H474),0,Calculate!H474),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N474),0,Calculate!N474),IF(ISERROR(Calculate!J474),0,Calculate!J474))))))","v":0},{"$f":"IF(F474=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I474),$C$2,Calculate!I474),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O474),$C$2,Calculate!O474),IF(ISERROR(Calculate!K474),$C$2,Calculate!K474))))","v":5.5},{"$f":"AF474 & IF(OR($AH474,RIGHT($AF474,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P474","v":"S"},{"$f":"Calculate!Q474","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F474=\"X\",$F474=\"H\",$F474=\"Z-ERROR\"),$F474,IF($V474>=RULES!$F$149,\"1\",IF($W474>=RULES!$F$149,\"2\",IF($X474>=RULES!$F$149,\"3\",IF($Y474>=RULES!$F$149,\"4\",IF($Z474>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA474<>\"*\",\"~\",IF($V474>=RULES!$G$149,\"1?\",IF($W474>=RULES!$G$149,\"2?\",IF($X474>=RULES!$G$149,\"3?\",IF($Y474>=RULES!$G$149,\"4?\",IF($Z474>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB474<>\"*\",\"~\",IF((V474+W474>=RULES!$F$149),\"12\",IF((W474+X474>=RULES!$F$149),\"23\",IF((X474+Y474>=RULES!$F$149),\"34\",IF((Y474+Z474>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC474<>\"*\",\"~\",IF(Y474+Z474<(1-RULES!$F$149),\"13\",IF(V474+Z474<(1-RULES!$F$149),\"24\",IF(V474+W474<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F474=\"X\",$F474=\"H\",$F474=\"Z-ERROR\",AND($AA474=\"H\",$AH474)),$AE474,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P474,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L474,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M474,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N474,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E474&\"1\",IF(NOT($AH474),$E474&\"U\",$AE474)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN474","v":""},{"$f":"'Calculator Table'!BR474","v":0},{"$f":"Calculate!AV474","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A484","v":0},{"$f":"IF(F484=\"X\",\"X\",(IF(F484<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H484),0,Calculate!H484),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N484),0,Calculate!N484),IF(ISERROR(Calculate!J484),0,Calculate!J484))))))","v":0},{"$f":"IF(F484=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I484),$C$2,Calculate!I484),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O484),$C$2,Calculate!O484),IF(ISERROR(Calculate!K484),$C$2,Calculate!K484))))","v":5.5},{"$f":"AF484 & IF(OR($AH484,RIGHT($AF484,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P484","v":"S"},{"$f":"Calculate!Q484","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F484=\"X\",$F484=\"H\",$F484=\"Z-ERROR\"),$F484,IF($V484>=RULES!$F$149,\"1\",IF($W484>=RULES!$F$149,\"2\",IF($X484>=RULES!$F$149,\"3\",IF($Y484>=RULES!$F$149,\"4\",IF($Z484>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA484<>\"*\",\"~\",IF($V484>=RULES!$G$149,\"1?\",IF($W484>=RULES!$G$149,\"2?\",IF($X484>=RULES!$G$149,\"3?\",IF($Y484>=RULES!$G$149,\"4?\",IF($Z484>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB484<>\"*\",\"~\",IF((V484+W484>=RULES!$F$149),\"12\",IF((W484+X484>=RULES!$F$149),\"23\",IF((X484+Y484>=RULES!$F$149),\"34\",IF((Y484+Z484>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC484<>\"*\",\"~\",IF(Y484+Z484<(1-RULES!$F$149),\"13\",IF(V484+Z484<(1-RULES!$F$149),\"24\",IF(V484+W484<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F484=\"X\",$F484=\"H\",$F484=\"Z-ERROR\",AND($AA484=\"H\",$AH484)),$AE484,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P484,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L484,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M484,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N484,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E484&\"1\",IF(NOT($AH484),$E484&\"U\",$AE484)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN484","v":""},{"$f":"'Calculator Table'!BR484","v":0},{"$f":"Calculate!AV484","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A491","v":0},{"$f":"IF(F491=\"X\",\"X\",(IF(F491<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H491),0,Calculate!H491),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N491),0,Calculate!N491),IF(ISERROR(Calculate!J491),0,Calculate!J491))))))","v":0},{"$f":"IF(F491=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I491),$C$2,Calculate!I491),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O491),$C$2,Calculate!O491),IF(ISERROR(Calculate!K491),$C$2,Calculate!K491))))","v":5.5},{"$f":"AF491 & IF(OR($AH491,RIGHT($AF491,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P491","v":"S"},{"$f":"Calculate!Q491","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F491=\"X\",$F491=\"H\",$F491=\"Z-ERROR\"),$F491,IF($V491>=RULES!$F$149,\"1\",IF($W491>=RULES!$F$149,\"2\",IF($X491>=RULES!$F$149,\"3\",IF($Y491>=RULES!$F$149,\"4\",IF($Z491>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA491<>\"*\",\"~\",IF($V491>=RULES!$G$149,\"1?\",IF($W491>=RULES!$G$149,\"2?\",IF($X491>=RULES!$G$149,\"3?\",IF($Y491>=RULES!$G$149,\"4?\",IF($Z491>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB491<>\"*\",\"~\",IF((V491+W491>=RULES!$F$149),\"12\",IF((W491+X491>=RULES!$F$149),\"23\",IF((X491+Y491>=RULES!$F$149),\"34\",IF((Y491+Z491>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC491<>\"*\",\"~\",IF(Y491+Z491<(1-RULES!$F$149),\"13\",IF(V491+Z491<(1-RULES!$F$149),\"24\",IF(V491+W491<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F491=\"X\",$F491=\"H\",$F491=\"Z-ERROR\",AND($AA491=\"H\",$AH491)),$AE491,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P491,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L491,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M491,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N491,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E491&\"1\",IF(NOT($AH491),$E491&\"U\",$AE491)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN491","v":""},{"$f":"'Calculator Table'!BR491","v":0},{"$f":"Calculate!AV491","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A493","v":0},{"$f":"IF(F493=\"X\",\"X\",(IF(F493<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H493),0,Calculate!H493),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N493),0,Calculate!N493),IF(ISERROR(Calculate!J493),0,Calculate!J493))))))","v":0},{"$f":"IF(F493=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I493),$C$2,Calculate!I493),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O493),$C$2,Calculate!O493),IF(ISERROR(Calculate!K493),$C$2,Calculate!K493))))","v":5.5},{"$f":"AF493 & IF(OR($AH493,RIGHT($AF493,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P493","v":"S"},{"$f":"Calculate!Q493","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F493=\"X\",$F493=\"H\",$F493=\"Z-ERROR\"),$F493,IF($V493>=RULES!$F$149,\"1\",IF($W493>=RULES!$F$149,\"2\",IF($X493>=RULES!$F$149,\"3\",IF($Y493>=RULES!$F$149,\"4\",IF($Z493>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA493<>\"*\",\"~\",IF($V493>=RULES!$G$149,\"1?\",IF($W493>=RULES!$G$149,\"2?\",IF($X493>=RULES!$G$149,\"3?\",IF($Y493>=RULES!$G$149,\"4?\",IF($Z493>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB493<>\"*\",\"~\",IF((V493+W493>=RULES!$F$149),\"12\",IF((W493+X493>=RULES!$F$149),\"23\",IF((X493+Y493>=RULES!$F$149),\"34\",IF((Y493+Z493>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC493<>\"*\",\"~\",IF(Y493+Z493<(1-RULES!$F$149),\"13\",IF(V493+Z493<(1-RULES!$F$149),\"24\",IF(V493+W493<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F493=\"X\",$F493=\"H\",$F493=\"Z-ERROR\",AND($AA493=\"H\",$AH493)),$AE493,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P493,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L493,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M493,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N493,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E493&\"1\",IF(NOT($AH493),$E493&\"U\",$AE493)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN493","v":""},{"$f":"'Calculator Table'!BR493","v":0},{"$f":"Calculate!AV493","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A505","v":0},{"$f":"IF(F505=\"X\",\"X\",(IF(F505<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H505),0,Calculate!H505),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N505),0,Calculate!N505),IF(ISERROR(Calculate!J505),0,Calculate!J505))))))","v":0},{"$f":"IF(F505=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I505),$C$2,Calculate!I505),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O505),$C$2,Calculate!O505),IF(ISERROR(Calculate!K505),$C$2,Calculate!K505))))","v":5.5},{"$f":"AF505 & IF(OR($AH505,RIGHT($AF505,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P505","v":"S"},{"$f":"Calculate!Q505","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F505=\"X\",$F505=\"H\",$F505=\"Z-ERROR\"),$F505,IF($V505>=RULES!$F$149,\"1\",IF($W505>=RULES!$F$149,\"2\",IF($X505>=RULES!$F$149,\"3\",IF($Y505>=RULES!$F$149,\"4\",IF($Z505>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA505<>\"*\",\"~\",IF($V505>=RULES!$G$149,\"1?\",IF($W505>=RULES!$G$149,\"2?\",IF($X505>=RULES!$G$149,\"3?\",IF($Y505>=RULES!$G$149,\"4?\",IF($Z505>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB505<>\"*\",\"~\",IF((V505+W505>=RULES!$F$149),\"12\",IF((W505+X505>=RULES!$F$149),\"23\",IF((X505+Y505>=RULES!$F$149),\"34\",IF((Y505+Z505>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC505<>\"*\",\"~\",IF(Y505+Z505<(1-RULES!$F$149),\"13\",IF(V505+Z505<(1-RULES!$F$149),\"24\",IF(V505+W505<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F505=\"X\",$F505=\"H\",$F505=\"Z-ERROR\",AND($AA505=\"H\",$AH505)),$AE505,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P505,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L505,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M505,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N505,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E505&\"1\",IF(NOT($AH505),$E505&\"U\",$AE505)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN505","v":""},{"$f":"'Calculator Table'!BR505","v":0},{"$f":"Calculate!AV505","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A510","v":0},{"$f":"IF(F510=\"X\",\"X\",(IF(F510<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H510),0,Calculate!H510),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N510),0,Calculate!N510),IF(ISERROR(Calculate!J510),0,Calculate!J510))))))","v":0},{"$f":"IF(F510=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I510),$C$2,Calculate!I510),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O510),$C$2,Calculate!O510),IF(ISERROR(Calculate!K510),$C$2,Calculate!K510))))","v":5.5},{"$f":"AF510 & IF(OR($AH510,RIGHT($AF510,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P510","v":"S"},{"$f":"Calculate!Q510","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F510=\"X\",$F510=\"H\",$F510=\"Z-ERROR\"),$F510,IF($V510>=RULES!$F$149,\"1\",IF($W510>=RULES!$F$149,\"2\",IF($X510>=RULES!$F$149,\"3\",IF($Y510>=RULES!$F$149,\"4\",IF($Z510>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA510<>\"*\",\"~\",IF($V510>=RULES!$G$149,\"1?\",IF($W510>=RULES!$G$149,\"2?\",IF($X510>=RULES!$G$149,\"3?\",IF($Y510>=RULES!$G$149,\"4?\",IF($Z510>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB510<>\"*\",\"~\",IF((V510+W510>=RULES!$F$149),\"12\",IF((W510+X510>=RULES!$F$149),\"23\",IF((X510+Y510>=RULES!$F$149),\"34\",IF((Y510+Z510>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC510<>\"*\",\"~\",IF(Y510+Z510<(1-RULES!$F$149),\"13\",IF(V510+Z510<(1-RULES!$F$149),\"24\",IF(V510+W510<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F510=\"X\",$F510=\"H\",$F510=\"Z-ERROR\",AND($AA510=\"H\",$AH510)),$AE510,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P510,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L510,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M510,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N510,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E510&\"1\",IF(NOT($AH510),$E510&\"U\",$AE510)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN510","v":""},{"$f":"'Calculator Table'!BR510","v":0},{"$f":"Calculate!AV510","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A519","v":0},{"$f":"IF(F519=\"X\",\"X\",(IF(F519<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H519),0,Calculate!H519),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N519),0,Calculate!N519),IF(ISERROR(Calculate!J519),0,Calculate!J519))))))","v":0},{"$f":"IF(F519=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I519),$C$2,Calculate!I519),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O519),$C$2,Calculate!O519),IF(ISERROR(Calculate!K519),$C$2,Calculate!K519))))","v":5.5},{"$f":"AF519 & IF(OR($AH519,RIGHT($AF519,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P519","v":"S"},{"$f":"Calculate!Q519","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F519=\"X\",$F519=\"H\",$F519=\"Z-ERROR\"),$F519,IF($V519>=RULES!$F$149,\"1\",IF($W519>=RULES!$F$149,\"2\",IF($X519>=RULES!$F$149,\"3\",IF($Y519>=RULES!$F$149,\"4\",IF($Z519>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA519<>\"*\",\"~\",IF($V519>=RULES!$G$149,\"1?\",IF($W519>=RULES!$G$149,\"2?\",IF($X519>=RULES!$G$149,\"3?\",IF($Y519>=RULES!$G$149,\"4?\",IF($Z519>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB519<>\"*\",\"~\",IF((V519+W519>=RULES!$F$149),\"12\",IF((W519+X519>=RULES!$F$149),\"23\",IF((X519+Y519>=RULES!$F$149),\"34\",IF((Y519+Z519>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC519<>\"*\",\"~\",IF(Y519+Z519<(1-RULES!$F$149),\"13\",IF(V519+Z519<(1-RULES!$F$149),\"24\",IF(V519+W519<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F519=\"X\",$F519=\"H\",$F519=\"Z-ERROR\",AND($AA519=\"H\",$AH519)),$AE519,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P519,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L519,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M519,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N519,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E519&\"1\",IF(NOT($AH519),$E519&\"U\",$AE519)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN519","v":""},{"$f":"'Calculator Table'!BR519","v":0},{"$f":"Calculate!AV519","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A528","v":0},{"$f":"IF(F528=\"X\",\"X\",(IF(F528<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H528),0,Calculate!H528),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N528),0,Calculate!N528),IF(ISERROR(Calculate!J528),0,Calculate!J528))))))","v":0},{"$f":"IF(F528=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I528),$C$2,Calculate!I528),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O528),$C$2,Calculate!O528),IF(ISERROR(Calculate!K528),$C$2,Calculate!K528))))","v":5.5},{"$f":"AF528 & IF(OR($AH528,RIGHT($AF528,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P528","v":"S"},{"$f":"Calculate!Q528","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F528=\"X\",$F528=\"H\",$F528=\"Z-ERROR\"),$F528,IF($V528>=RULES!$F$149,\"1\",IF($W528>=RULES!$F$149,\"2\",IF($X528>=RULES!$F$149,\"3\",IF($Y528>=RULES!$F$149,\"4\",IF($Z528>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA528<>\"*\",\"~\",IF($V528>=RULES!$G$149,\"1?\",IF($W528>=RULES!$G$149,\"2?\",IF($X528>=RULES!$G$149,\"3?\",IF($Y528>=RULES!$G$149,\"4?\",IF($Z528>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB528<>\"*\",\"~\",IF((V528+W528>=RULES!$F$149),\"12\",IF((W528+X528>=RULES!$F$149),\"23\",IF((X528+Y528>=RULES!$F$149),\"34\",IF((Y528+Z528>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC528<>\"*\",\"~\",IF(Y528+Z528<(1-RULES!$F$149),\"13\",IF(V528+Z528<(1-RULES!$F$149),\"24\",IF(V528+W528<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F528=\"X\",$F528=\"H\",$F528=\"Z-ERROR\",AND($AA528=\"H\",$AH528)),$AE528,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P528,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L528,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M528,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N528,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E528&\"1\",IF(NOT($AH528),$E528&\"U\",$AE528)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN528","v":""},{"$f":"'Calculator Table'!BR528","v":0},{"$f":"Calculate!AV528","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A536","v":0},{"$f":"IF(F536=\"X\",\"X\",(IF(F536<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H536),0,Calculate!H536),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N536),0,Calculate!N536),IF(ISERROR(Calculate!J536),0,Calculate!J536))))))","v":0},{"$f":"IF(F536=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I536),$C$2,Calculate!I536),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O536),$C$2,Calculate!O536),IF(ISERROR(Calculate!K536),$C$2,Calculate!K536))))","v":5.5},{"$f":"AF536 & IF(OR($AH536,RIGHT($AF536,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P536","v":"S"},{"$f":"Calculate!Q536","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F536=\"X\",$F536=\"H\",$F536=\"Z-ERROR\"),$F536,IF($V536>=RULES!$F$149,\"1\",IF($W536>=RULES!$F$149,\"2\",IF($X536>=RULES!$F$149,\"3\",IF($Y536>=RULES!$F$149,\"4\",IF($Z536>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA536<>\"*\",\"~\",IF($V536>=RULES!$G$149,\"1?\",IF($W536>=RULES!$G$149,\"2?\",IF($X536>=RULES!$G$149,\"3?\",IF($Y536>=RULES!$G$149,\"4?\",IF($Z536>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB536<>\"*\",\"~\",IF((V536+W536>=RULES!$F$149),\"12\",IF((W536+X536>=RULES!$F$149),\"23\",IF((X536+Y536>=RULES!$F$149),\"34\",IF((Y536+Z536>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC536<>\"*\",\"~\",IF(Y536+Z536<(1-RULES!$F$149),\"13\",IF(V536+Z536<(1-RULES!$F$149),\"24\",IF(V536+W536<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F536=\"X\",$F536=\"H\",$F536=\"Z-ERROR\",AND($AA536=\"H\",$AH536)),$AE536,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P536,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L536,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M536,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N536,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E536&\"1\",IF(NOT($AH536),$E536&\"U\",$AE536)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN536","v":""},{"$f":"'Calculator Table'!BR536","v":0},{"$f":"Calculate!AV536","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A542","v":0},{"$f":"IF(F542=\"X\",\"X\",(IF(F542<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H542),0,Calculate!H542),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N542),0,Calculate!N542),IF(ISERROR(Calculate!J542),0,Calculate!J542))))))","v":0},{"$f":"IF(F542=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I542),$C$2,Calculate!I542),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O542),$C$2,Calculate!O542),IF(ISERROR(Calculate!K542),$C$2,Calculate!K542))))","v":5.5},{"$f":"AF542 & IF(OR($AH542,RIGHT($AF542,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P542","v":"S"},{"$f":"Calculate!Q542","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F542=\"X\",$F542=\"H\",$F542=\"Z-ERROR\"),$F542,IF($V542>=RULES!$F$149,\"1\",IF($W542>=RULES!$F$149,\"2\",IF($X542>=RULES!$F$149,\"3\",IF($Y542>=RULES!$F$149,\"4\",IF($Z542>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA542<>\"*\",\"~\",IF($V542>=RULES!$G$149,\"1?\",IF($W542>=RULES!$G$149,\"2?\",IF($X542>=RULES!$G$149,\"3?\",IF($Y542>=RULES!$G$149,\"4?\",IF($Z542>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB542<>\"*\",\"~\",IF((V542+W542>=RULES!$F$149),\"12\",IF((W542+X542>=RULES!$F$149),\"23\",IF((X542+Y542>=RULES!$F$149),\"34\",IF((Y542+Z542>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC542<>\"*\",\"~\",IF(Y542+Z542<(1-RULES!$F$149),\"13\",IF(V542+Z542<(1-RULES!$F$149),\"24\",IF(V542+W542<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F542=\"X\",$F542=\"H\",$F542=\"Z-ERROR\",AND($AA542=\"H\",$AH542)),$AE542,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P542,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L542,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M542,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N542,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E542&\"1\",IF(NOT($AH542),$E542&\"U\",$AE542)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN542","v":""},{"$f":"'Calculator Table'!BR542","v":0},{"$f":"Calculate!AV542","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A545","v":0},{"$f":"IF(F545=\"X\",\"X\",(IF(F545<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H545),0,Calculate!H545),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N545),0,Calculate!N545),IF(ISERROR(Calculate!J545),0,Calculate!J545))))))","v":0},{"$f":"IF(F545=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I545),$C$2,Calculate!I545),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O545),$C$2,Calculate!O545),IF(ISERROR(Calculate!K545),$C$2,Calculate!K545))))","v":5.5},{"$f":"AF545 & IF(OR($AH545,RIGHT($AF545,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P545","v":"S"},{"$f":"Calculate!Q545","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F545=\"X\",$F545=\"H\",$F545=\"Z-ERROR\"),$F545,IF($V545>=RULES!$F$149,\"1\",IF($W545>=RULES!$F$149,\"2\",IF($X545>=RULES!$F$149,\"3\",IF($Y545>=RULES!$F$149,\"4\",IF($Z545>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA545<>\"*\",\"~\",IF($V545>=RULES!$G$149,\"1?\",IF($W545>=RULES!$G$149,\"2?\",IF($X545>=RULES!$G$149,\"3?\",IF($Y545>=RULES!$G$149,\"4?\",IF($Z545>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB545<>\"*\",\"~\",IF((V545+W545>=RULES!$F$149),\"12\",IF((W545+X545>=RULES!$F$149),\"23\",IF((X545+Y545>=RULES!$F$149),\"34\",IF((Y545+Z545>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC545<>\"*\",\"~\",IF(Y545+Z545<(1-RULES!$F$149),\"13\",IF(V545+Z545<(1-RULES!$F$149),\"24\",IF(V545+W545<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F545=\"X\",$F545=\"H\",$F545=\"Z-ERROR\",AND($AA545=\"H\",$AH545)),$AE545,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P545,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L545,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M545,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N545,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E545&\"1\",IF(NOT($AH545),$E545&\"U\",$AE545)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN545","v":""},{"$f":"'Calculator Table'!BR545","v":0},{"$f":"Calculate!AV545","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A556","v":0},{"$f":"IF(F556=\"X\",\"X\",(IF(F556<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H556),0,Calculate!H556),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N556),0,Calculate!N556),IF(ISERROR(Calculate!J556),0,Calculate!J556))))))","v":0},{"$f":"IF(F556=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I556),$C$2,Calculate!I556),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O556),$C$2,Calculate!O556),IF(ISERROR(Calculate!K556),$C$2,Calculate!K556))))","v":5.5},{"$f":"AF556 & IF(OR($AH556,RIGHT($AF556,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P556","v":"S"},{"$f":"Calculate!Q556","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F556=\"X\",$F556=\"H\",$F556=\"Z-ERROR\"),$F556,IF($V556>=RULES!$F$149,\"1\",IF($W556>=RULES!$F$149,\"2\",IF($X556>=RULES!$F$149,\"3\",IF($Y556>=RULES!$F$149,\"4\",IF($Z556>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA556<>\"*\",\"~\",IF($V556>=RULES!$G$149,\"1?\",IF($W556>=RULES!$G$149,\"2?\",IF($X556>=RULES!$G$149,\"3?\",IF($Y556>=RULES!$G$149,\"4?\",IF($Z556>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB556<>\"*\",\"~\",IF((V556+W556>=RULES!$F$149),\"12\",IF((W556+X556>=RULES!$F$149),\"23\",IF((X556+Y556>=RULES!$F$149),\"34\",IF((Y556+Z556>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC556<>\"*\",\"~\",IF(Y556+Z556<(1-RULES!$F$149),\"13\",IF(V556+Z556<(1-RULES!$F$149),\"24\",IF(V556+W556<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F556=\"X\",$F556=\"H\",$F556=\"Z-ERROR\",AND($AA556=\"H\",$AH556)),$AE556,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P556,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L556,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M556,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N556,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E556&\"1\",IF(NOT($AH556),$E556&\"U\",$AE556)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN556","v":""},{"$f":"'Calculator Table'!BR556","v":0},{"$f":"Calculate!AV556","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A562","v":0},{"$f":"IF(F562=\"X\",\"X\",(IF(F562<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H562),0,Calculate!H562),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N562),0,Calculate!N562),IF(ISERROR(Calculate!J562),0,Calculate!J562))))))","v":0},{"$f":"IF(F562=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I562),$C$2,Calculate!I562),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O562),$C$2,Calculate!O562),IF(ISERROR(Calculate!K562),$C$2,Calculate!K562))))","v":5.5},{"$f":"AF562 & IF(OR($AH562,RIGHT($AF562,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P562","v":"S"},{"$f":"Calculate!Q562","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F562=\"X\",$F562=\"H\",$F562=\"Z-ERROR\"),$F562,IF($V562>=RULES!$F$149,\"1\",IF($W562>=RULES!$F$149,\"2\",IF($X562>=RULES!$F$149,\"3\",IF($Y562>=RULES!$F$149,\"4\",IF($Z562>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA562<>\"*\",\"~\",IF($V562>=RULES!$G$149,\"1?\",IF($W562>=RULES!$G$149,\"2?\",IF($X562>=RULES!$G$149,\"3?\",IF($Y562>=RULES!$G$149,\"4?\",IF($Z562>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB562<>\"*\",\"~\",IF((V562+W562>=RULES!$F$149),\"12\",IF((W562+X562>=RULES!$F$149),\"23\",IF((X562+Y562>=RULES!$F$149),\"34\",IF((Y562+Z562>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC562<>\"*\",\"~\",IF(Y562+Z562<(1-RULES!$F$149),\"13\",IF(V562+Z562<(1-RULES!$F$149),\"24\",IF(V562+W562<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F562=\"X\",$F562=\"H\",$F562=\"Z-ERROR\",AND($AA562=\"H\",$AH562)),$AE562,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P562,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L562,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M562,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N562,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E562&\"1\",IF(NOT($AH562),$E562&\"U\",$AE562)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN562","v":""},{"$f":"'Calculator Table'!BR562","v":0},{"$f":"Calculate!AV562","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A570","v":0},{"$f":"IF(F570=\"X\",\"X\",(IF(F570<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H570),0,Calculate!H570),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N570),0,Calculate!N570),IF(ISERROR(Calculate!J570),0,Calculate!J570))))))","v":0},{"$f":"IF(F570=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I570),$C$2,Calculate!I570),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O570),$C$2,Calculate!O570),IF(ISERROR(Calculate!K570),$C$2,Calculate!K570))))","v":5.5},{"$f":"AF570 & IF(OR($AH570,RIGHT($AF570,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P570","v":"S"},{"$f":"Calculate!Q570","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F570=\"X\",$F570=\"H\",$F570=\"Z-ERROR\"),$F570,IF($V570>=RULES!$F$149,\"1\",IF($W570>=RULES!$F$149,\"2\",IF($X570>=RULES!$F$149,\"3\",IF($Y570>=RULES!$F$149,\"4\",IF($Z570>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA570<>\"*\",\"~\",IF($V570>=RULES!$G$149,\"1?\",IF($W570>=RULES!$G$149,\"2?\",IF($X570>=RULES!$G$149,\"3?\",IF($Y570>=RULES!$G$149,\"4?\",IF($Z570>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB570<>\"*\",\"~\",IF((V570+W570>=RULES!$F$149),\"12\",IF((W570+X570>=RULES!$F$149),\"23\",IF((X570+Y570>=RULES!$F$149),\"34\",IF((Y570+Z570>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC570<>\"*\",\"~\",IF(Y570+Z570<(1-RULES!$F$149),\"13\",IF(V570+Z570<(1-RULES!$F$149),\"24\",IF(V570+W570<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F570=\"X\",$F570=\"H\",$F570=\"Z-ERROR\",AND($AA570=\"H\",$AH570)),$AE570,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P570,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L570,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M570,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N570,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E570&\"1\",IF(NOT($AH570),$E570&\"U\",$AE570)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN570","v":""},{"$f":"'Calculator Table'!BR570","v":0},{"$f":"Calculate!AV570","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A579","v":0},{"$f":"IF(F579=\"X\",\"X\",(IF(F579<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H579),0,Calculate!H579),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N579),0,Calculate!N579),IF(ISERROR(Calculate!J579),0,Calculate!J579))))))","v":0},{"$f":"IF(F579=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I579),$C$2,Calculate!I579),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O579),$C$2,Calculate!O579),IF(ISERROR(Calculate!K579),$C$2,Calculate!K579))))","v":5.5},{"$f":"AF579 & IF(OR($AH579,RIGHT($AF579,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P579","v":"S"},{"$f":"Calculate!Q579","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F579=\"X\",$F579=\"H\",$F579=\"Z-ERROR\"),$F579,IF($V579>=RULES!$F$149,\"1\",IF($W579>=RULES!$F$149,\"2\",IF($X579>=RULES!$F$149,\"3\",IF($Y579>=RULES!$F$149,\"4\",IF($Z579>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA579<>\"*\",\"~\",IF($V579>=RULES!$G$149,\"1?\",IF($W579>=RULES!$G$149,\"2?\",IF($X579>=RULES!$G$149,\"3?\",IF($Y579>=RULES!$G$149,\"4?\",IF($Z579>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB579<>\"*\",\"~\",IF((V579+W579>=RULES!$F$149),\"12\",IF((W579+X579>=RULES!$F$149),\"23\",IF((X579+Y579>=RULES!$F$149),\"34\",IF((Y579+Z579>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC579<>\"*\",\"~\",IF(Y579+Z579<(1-RULES!$F$149),\"13\",IF(V579+Z579<(1-RULES!$F$149),\"24\",IF(V579+W579<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F579=\"X\",$F579=\"H\",$F579=\"Z-ERROR\",AND($AA579=\"H\",$AH579)),$AE579,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P579,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L579,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M579,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N579,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E579&\"1\",IF(NOT($AH579),$E579&\"U\",$AE579)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN579","v":""},{"$f":"'Calculator Table'!BR579","v":0},{"$f":"Calculate!AV579","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A588","v":0},{"$f":"IF(F588=\"X\",\"X\",(IF(F588<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H588),0,Calculate!H588),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N588),0,Calculate!N588),IF(ISERROR(Calculate!J588),0,Calculate!J588))))))","v":0},{"$f":"IF(F588=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I588),$C$2,Calculate!I588),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O588),$C$2,Calculate!O588),IF(ISERROR(Calculate!K588),$C$2,Calculate!K588))))","v":5.5},{"$f":"AF588 & IF(OR($AH588,RIGHT($AF588,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P588","v":"S"},{"$f":"Calculate!Q588","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F588=\"X\",$F588=\"H\",$F588=\"Z-ERROR\"),$F588,IF($V588>=RULES!$F$149,\"1\",IF($W588>=RULES!$F$149,\"2\",IF($X588>=RULES!$F$149,\"3\",IF($Y588>=RULES!$F$149,\"4\",IF($Z588>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA588<>\"*\",\"~\",IF($V588>=RULES!$G$149,\"1?\",IF($W588>=RULES!$G$149,\"2?\",IF($X588>=RULES!$G$149,\"3?\",IF($Y588>=RULES!$G$149,\"4?\",IF($Z588>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB588<>\"*\",\"~\",IF((V588+W588>=RULES!$F$149),\"12\",IF((W588+X588>=RULES!$F$149),\"23\",IF((X588+Y588>=RULES!$F$149),\"34\",IF((Y588+Z588>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC588<>\"*\",\"~\",IF(Y588+Z588<(1-RULES!$F$149),\"13\",IF(V588+Z588<(1-RULES!$F$149),\"24\",IF(V588+W588<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F588=\"X\",$F588=\"H\",$F588=\"Z-ERROR\",AND($AA588=\"H\",$AH588)),$AE588,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P588,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L588,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M588,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N588,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E588&\"1\",IF(NOT($AH588),$E588&\"U\",$AE588)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN588","v":""},{"$f":"'Calculator Table'!BR588","v":0},{"$f":"Calculate!AV588","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A593","v":0},{"$f":"IF(F593=\"X\",\"X\",(IF(F593<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H593),0,Calculate!H593),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N593),0,Calculate!N593),IF(ISERROR(Calculate!J593),0,Calculate!J593))))))","v":0},{"$f":"IF(F593=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I593),$C$2,Calculate!I593),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O593),$C$2,Calculate!O593),IF(ISERROR(Calculate!K593),$C$2,Calculate!K593))))","v":5.5},{"$f":"AF593 & IF(OR($AH593,RIGHT($AF593,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P593","v":"S"},{"$f":"Calculate!Q593","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F593=\"X\",$F593=\"H\",$F593=\"Z-ERROR\"),$F593,IF($V593>=RULES!$F$149,\"1\",IF($W593>=RULES!$F$149,\"2\",IF($X593>=RULES!$F$149,\"3\",IF($Y593>=RULES!$F$149,\"4\",IF($Z593>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA593<>\"*\",\"~\",IF($V593>=RULES!$G$149,\"1?\",IF($W593>=RULES!$G$149,\"2?\",IF($X593>=RULES!$G$149,\"3?\",IF($Y593>=RULES!$G$149,\"4?\",IF($Z593>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB593<>\"*\",\"~\",IF((V593+W593>=RULES!$F$149),\"12\",IF((W593+X593>=RULES!$F$149),\"23\",IF((X593+Y593>=RULES!$F$149),\"34\",IF((Y593+Z593>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC593<>\"*\",\"~\",IF(Y593+Z593<(1-RULES!$F$149),\"13\",IF(V593+Z593<(1-RULES!$F$149),\"24\",IF(V593+W593<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F593=\"X\",$F593=\"H\",$F593=\"Z-ERROR\",AND($AA593=\"H\",$AH593)),$AE593,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P593,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L593,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M593,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N593,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E593&\"1\",IF(NOT($AH593),$E593&\"U\",$AE593)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN593","v":""},{"$f":"'Calculator Table'!BR593","v":0},{"$f":"Calculate!AV593","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A605","v":0},{"$f":"IF(F605=\"X\",\"X\",(IF(F605<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H605),0,Calculate!H605),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N605),0,Calculate!N605),IF(ISERROR(Calculate!J605),0,Calculate!J605))))))","v":0},{"$f":"IF(F605=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I605),$C$2,Calculate!I605),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O605),$C$2,Calculate!O605),IF(ISERROR(Calculate!K605),$C$2,Calculate!K605))))","v":5.5},{"$f":"AF605 & IF(OR($AH605,RIGHT($AF605,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P605","v":"S"},{"$f":"Calculate!Q605","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F605=\"X\",$F605=\"H\",$F605=\"Z-ERROR\"),$F605,IF($V605>=RULES!$F$149,\"1\",IF($W605>=RULES!$F$149,\"2\",IF($X605>=RULES!$F$149,\"3\",IF($Y605>=RULES!$F$149,\"4\",IF($Z605>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA605<>\"*\",\"~\",IF($V605>=RULES!$G$149,\"1?\",IF($W605>=RULES!$G$149,\"2?\",IF($X605>=RULES!$G$149,\"3?\",IF($Y605>=RULES!$G$149,\"4?\",IF($Z605>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB605<>\"*\",\"~\",IF((V605+W605>=RULES!$F$149),\"12\",IF((W605+X605>=RULES!$F$149),\"23\",IF((X605+Y605>=RULES!$F$149),\"34\",IF((Y605+Z605>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC605<>\"*\",\"~\",IF(Y605+Z605<(1-RULES!$F$149),\"13\",IF(V605+Z605<(1-RULES!$F$149),\"24\",IF(V605+W605<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F605=\"X\",$F605=\"H\",$F605=\"Z-ERROR\",AND($AA605=\"H\",$AH605)),$AE605,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P605,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L605,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M605,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N605,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E605&\"1\",IF(NOT($AH605),$E605&\"U\",$AE605)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN605","v":""},{"$f":"'Calculator Table'!BR605","v":0},{"$f":"Calculate!AV605","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A610","v":0},{"$f":"IF(F610=\"X\",\"X\",(IF(F610<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H610),0,Calculate!H610),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N610),0,Calculate!N610),IF(ISERROR(Calculate!J610),0,Calculate!J610))))))","v":0},{"$f":"IF(F610=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I610),$C$2,Calculate!I610),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O610),$C$2,Calculate!O610),IF(ISERROR(Calculate!K610),$C$2,Calculate!K610))))","v":5.5},{"$f":"AF610 & IF(OR($AH610,RIGHT($AF610,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P610","v":"S"},{"$f":"Calculate!Q610","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F610=\"X\",$F610=\"H\",$F610=\"Z-ERROR\"),$F610,IF($V610>=RULES!$F$149,\"1\",IF($W610>=RULES!$F$149,\"2\",IF($X610>=RULES!$F$149,\"3\",IF($Y610>=RULES!$F$149,\"4\",IF($Z610>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA610<>\"*\",\"~\",IF($V610>=RULES!$G$149,\"1?\",IF($W610>=RULES!$G$149,\"2?\",IF($X610>=RULES!$G$149,\"3?\",IF($Y610>=RULES!$G$149,\"4?\",IF($Z610>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB610<>\"*\",\"~\",IF((V610+W610>=RULES!$F$149),\"12\",IF((W610+X610>=RULES!$F$149),\"23\",IF((X610+Y610>=RULES!$F$149),\"34\",IF((Y610+Z610>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC610<>\"*\",\"~\",IF(Y610+Z610<(1-RULES!$F$149),\"13\",IF(V610+Z610<(1-RULES!$F$149),\"24\",IF(V610+W610<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F610=\"X\",$F610=\"H\",$F610=\"Z-ERROR\",AND($AA610=\"H\",$AH610)),$AE610,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P610,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L610,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M610,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N610,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E610&\"1\",IF(NOT($AH610),$E610&\"U\",$AE610)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN610","v":""},{"$f":"'Calculator Table'!BR610","v":0},{"$f":"Calculate!AV610","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A614","v":0},{"$f":"IF(F614=\"X\",\"X\",(IF(F614<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H614),0,Calculate!H614),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N614),0,Calculate!N614),IF(ISERROR(Calculate!J614),0,Calculate!J614))))))","v":0},{"$f":"IF(F614=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I614),$C$2,Calculate!I614),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O614),$C$2,Calculate!O614),IF(ISERROR(Calculate!K614),$C$2,Calculate!K614))))","v":5.5},{"$f":"AF614 & IF(OR($AH614,RIGHT($AF614,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P614","v":"S"},{"$f":"Calculate!Q614","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F614=\"X\",$F614=\"H\",$F614=\"Z-ERROR\"),$F614,IF($V614>=RULES!$F$149,\"1\",IF($W614>=RULES!$F$149,\"2\",IF($X614>=RULES!$F$149,\"3\",IF($Y614>=RULES!$F$149,\"4\",IF($Z614>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA614<>\"*\",\"~\",IF($V614>=RULES!$G$149,\"1?\",IF($W614>=RULES!$G$149,\"2?\",IF($X614>=RULES!$G$149,\"3?\",IF($Y614>=RULES!$G$149,\"4?\",IF($Z614>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB614<>\"*\",\"~\",IF((V614+W614>=RULES!$F$149),\"12\",IF((W614+X614>=RULES!$F$149),\"23\",IF((X614+Y614>=RULES!$F$149),\"34\",IF((Y614+Z614>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC614<>\"*\",\"~\",IF(Y614+Z614<(1-RULES!$F$149),\"13\",IF(V614+Z614<(1-RULES!$F$149),\"24\",IF(V614+W614<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F614=\"X\",$F614=\"H\",$F614=\"Z-ERROR\",AND($AA614=\"H\",$AH614)),$AE614,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P614,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L614,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M614,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N614,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E614&\"1\",IF(NOT($AH614),$E614&\"U\",$AE614)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN614","v":""},{"$f":"'Calculator Table'!BR614","v":0},{"$f":"Calculate!AV614","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A624","v":0},{"$f":"IF(F624=\"X\",\"X\",(IF(F624<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H624),0,Calculate!H624),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N624),0,Calculate!N624),IF(ISERROR(Calculate!J624),0,Calculate!J624))))))","v":0},{"$f":"IF(F624=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I624),$C$2,Calculate!I624),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O624),$C$2,Calculate!O624),IF(ISERROR(Calculate!K624),$C$2,Calculate!K624))))","v":5.5},{"$f":"AF624 & IF(OR($AH624,RIGHT($AF624,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P624","v":"S"},{"$f":"Calculate!Q624","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F624=\"X\",$F624=\"H\",$F624=\"Z-ERROR\"),$F624,IF($V624>=RULES!$F$149,\"1\",IF($W624>=RULES!$F$149,\"2\",IF($X624>=RULES!$F$149,\"3\",IF($Y624>=RULES!$F$149,\"4\",IF($Z624>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA624<>\"*\",\"~\",IF($V624>=RULES!$G$149,\"1?\",IF($W624>=RULES!$G$149,\"2?\",IF($X624>=RULES!$G$149,\"3?\",IF($Y624>=RULES!$G$149,\"4?\",IF($Z624>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB624<>\"*\",\"~\",IF((V624+W624>=RULES!$F$149),\"12\",IF((W624+X624>=RULES!$F$149),\"23\",IF((X624+Y624>=RULES!$F$149),\"34\",IF((Y624+Z624>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC624<>\"*\",\"~\",IF(Y624+Z624<(1-RULES!$F$149),\"13\",IF(V624+Z624<(1-RULES!$F$149),\"24\",IF(V624+W624<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F624=\"X\",$F624=\"H\",$F624=\"Z-ERROR\",AND($AA624=\"H\",$AH624)),$AE624,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P624,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L624,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M624,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N624,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E624&\"1\",IF(NOT($AH624),$E624&\"U\",$AE624)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN624","v":""},{"$f":"'Calculator Table'!BR624","v":0},{"$f":"Calculate!AV624","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A631","v":0},{"$f":"IF(F631=\"X\",\"X\",(IF(F631<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H631),0,Calculate!H631),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N631),0,Calculate!N631),IF(ISERROR(Calculate!J631),0,Calculate!J631))))))","v":0},{"$f":"IF(F631=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I631),$C$2,Calculate!I631),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O631),$C$2,Calculate!O631),IF(ISERROR(Calculate!K631),$C$2,Calculate!K631))))","v":5.5},{"$f":"AF631 & IF(OR($AH631,RIGHT($AF631,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P631","v":"S"},{"$f":"Calculate!Q631","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F631=\"X\",$F631=\"H\",$F631=\"Z-ERROR\"),$F631,IF($V631>=RULES!$F$149,\"1\",IF($W631>=RULES!$F$149,\"2\",IF($X631>=RULES!$F$149,\"3\",IF($Y631>=RULES!$F$149,\"4\",IF($Z631>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA631<>\"*\",\"~\",IF($V631>=RULES!$G$149,\"1?\",IF($W631>=RULES!$G$149,\"2?\",IF($X631>=RULES!$G$149,\"3?\",IF($Y631>=RULES!$G$149,\"4?\",IF($Z631>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB631<>\"*\",\"~\",IF((V631+W631>=RULES!$F$149),\"12\",IF((W631+X631>=RULES!$F$149),\"23\",IF((X631+Y631>=RULES!$F$149),\"34\",IF((Y631+Z631>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC631<>\"*\",\"~\",IF(Y631+Z631<(1-RULES!$F$149),\"13\",IF(V631+Z631<(1-RULES!$F$149),\"24\",IF(V631+W631<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F631=\"X\",$F631=\"H\",$F631=\"Z-ERROR\",AND($AA631=\"H\",$AH631)),$AE631,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P631,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L631,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M631,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N631,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E631&\"1\",IF(NOT($AH631),$E631&\"U\",$AE631)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN631","v":""},{"$f":"'Calculator Table'!BR631","v":0},{"$f":"Calculate!AV631","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A638","v":0},{"$f":"IF(F638=\"X\",\"X\",(IF(F638<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H638),0,Calculate!H638),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N638),0,Calculate!N638),IF(ISERROR(Calculate!J638),0,Calculate!J638))))))","v":0},{"$f":"IF(F638=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I638),$C$2,Calculate!I638),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O638),$C$2,Calculate!O638),IF(ISERROR(Calculate!K638),$C$2,Calculate!K638))))","v":5.5},{"$f":"AF638 & IF(OR($AH638,RIGHT($AF638,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P638","v":"S"},{"$f":"Calculate!Q638","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F638=\"X\",$F638=\"H\",$F638=\"Z-ERROR\"),$F638,IF($V638>=RULES!$F$149,\"1\",IF($W638>=RULES!$F$149,\"2\",IF($X638>=RULES!$F$149,\"3\",IF($Y638>=RULES!$F$149,\"4\",IF($Z638>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA638<>\"*\",\"~\",IF($V638>=RULES!$G$149,\"1?\",IF($W638>=RULES!$G$149,\"2?\",IF($X638>=RULES!$G$149,\"3?\",IF($Y638>=RULES!$G$149,\"4?\",IF($Z638>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB638<>\"*\",\"~\",IF((V638+W638>=RULES!$F$149),\"12\",IF((W638+X638>=RULES!$F$149),\"23\",IF((X638+Y638>=RULES!$F$149),\"34\",IF((Y638+Z638>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC638<>\"*\",\"~\",IF(Y638+Z638<(1-RULES!$F$149),\"13\",IF(V638+Z638<(1-RULES!$F$149),\"24\",IF(V638+W638<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F638=\"X\",$F638=\"H\",$F638=\"Z-ERROR\",AND($AA638=\"H\",$AH638)),$AE638,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P638,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L638,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M638,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N638,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E638&\"1\",IF(NOT($AH638),$E638&\"U\",$AE638)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN638","v":""},{"$f":"'Calculator Table'!BR638","v":0},{"$f":"Calculate!AV638","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A648","v":0},{"$f":"IF(F648=\"X\",\"X\",(IF(F648<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H648),0,Calculate!H648),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N648),0,Calculate!N648),IF(ISERROR(Calculate!J648),0,Calculate!J648))))))","v":0},{"$f":"IF(F648=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I648),$C$2,Calculate!I648),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O648),$C$2,Calculate!O648),IF(ISERROR(Calculate!K648),$C$2,Calculate!K648))))","v":5.5},{"$f":"AF648 & IF(OR($AH648,RIGHT($AF648,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P648","v":"S"},{"$f":"Calculate!Q648","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F648=\"X\",$F648=\"H\",$F648=\"Z-ERROR\"),$F648,IF($V648>=RULES!$F$149,\"1\",IF($W648>=RULES!$F$149,\"2\",IF($X648>=RULES!$F$149,\"3\",IF($Y648>=RULES!$F$149,\"4\",IF($Z648>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA648<>\"*\",\"~\",IF($V648>=RULES!$G$149,\"1?\",IF($W648>=RULES!$G$149,\"2?\",IF($X648>=RULES!$G$149,\"3?\",IF($Y648>=RULES!$G$149,\"4?\",IF($Z648>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB648<>\"*\",\"~\",IF((V648+W648>=RULES!$F$149),\"12\",IF((W648+X648>=RULES!$F$149),\"23\",IF((X648+Y648>=RULES!$F$149),\"34\",IF((Y648+Z648>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC648<>\"*\",\"~\",IF(Y648+Z648<(1-RULES!$F$149),\"13\",IF(V648+Z648<(1-RULES!$F$149),\"24\",IF(V648+W648<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F648=\"X\",$F648=\"H\",$F648=\"Z-ERROR\",AND($AA648=\"H\",$AH648)),$AE648,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P648,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L648,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M648,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N648,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E648&\"1\",IF(NOT($AH648),$E648&\"U\",$AE648)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN648","v":""},{"$f":"'Calculator Table'!BR648","v":0},{"$f":"Calculate!AV648","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A657","v":0},{"$f":"IF(F657=\"X\",\"X\",(IF(F657<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H657),0,Calculate!H657),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N657),0,Calculate!N657),IF(ISERROR(Calculate!J657),0,Calculate!J657))))))","v":0},{"$f":"IF(F657=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I657),$C$2,Calculate!I657),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O657),$C$2,Calculate!O657),IF(ISERROR(Calculate!K657),$C$2,Calculate!K657))))","v":5.5},{"$f":"AF657 & IF(OR($AH657,RIGHT($AF657,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P657","v":"S"},{"$f":"Calculate!Q657","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F657=\"X\",$F657=\"H\",$F657=\"Z-ERROR\"),$F657,IF($V657>=RULES!$F$149,\"1\",IF($W657>=RULES!$F$149,\"2\",IF($X657>=RULES!$F$149,\"3\",IF($Y657>=RULES!$F$149,\"4\",IF($Z657>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA657<>\"*\",\"~\",IF($V657>=RULES!$G$149,\"1?\",IF($W657>=RULES!$G$149,\"2?\",IF($X657>=RULES!$G$149,\"3?\",IF($Y657>=RULES!$G$149,\"4?\",IF($Z657>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB657<>\"*\",\"~\",IF((V657+W657>=RULES!$F$149),\"12\",IF((W657+X657>=RULES!$F$149),\"23\",IF((X657+Y657>=RULES!$F$149),\"34\",IF((Y657+Z657>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC657<>\"*\",\"~\",IF(Y657+Z657<(1-RULES!$F$149),\"13\",IF(V657+Z657<(1-RULES!$F$149),\"24\",IF(V657+W657<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F657=\"X\",$F657=\"H\",$F657=\"Z-ERROR\",AND($AA657=\"H\",$AH657)),$AE657,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P657,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L657,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M657,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N657,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E657&\"1\",IF(NOT($AH657),$E657&\"U\",$AE657)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN657","v":""},{"$f":"'Calculator Table'!BR657","v":0},{"$f":"Calculate!AV657","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A661","v":0},{"$f":"IF(F661=\"X\",\"X\",(IF(F661<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H661),0,Calculate!H661),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N661),0,Calculate!N661),IF(ISERROR(Calculate!J661),0,Calculate!J661))))))","v":0},{"$f":"IF(F661=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I661),$C$2,Calculate!I661),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O661),$C$2,Calculate!O661),IF(ISERROR(Calculate!K661),$C$2,Calculate!K661))))","v":5.5},{"$f":"AF661 & IF(OR($AH661,RIGHT($AF661,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P661","v":"S"},{"$f":"Calculate!Q661","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F661=\"X\",$F661=\"H\",$F661=\"Z-ERROR\"),$F661,IF($V661>=RULES!$F$149,\"1\",IF($W661>=RULES!$F$149,\"2\",IF($X661>=RULES!$F$149,\"3\",IF($Y661>=RULES!$F$149,\"4\",IF($Z661>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA661<>\"*\",\"~\",IF($V661>=RULES!$G$149,\"1?\",IF($W661>=RULES!$G$149,\"2?\",IF($X661>=RULES!$G$149,\"3?\",IF($Y661>=RULES!$G$149,\"4?\",IF($Z661>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB661<>\"*\",\"~\",IF((V661+W661>=RULES!$F$149),\"12\",IF((W661+X661>=RULES!$F$149),\"23\",IF((X661+Y661>=RULES!$F$149),\"34\",IF((Y661+Z661>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC661<>\"*\",\"~\",IF(Y661+Z661<(1-RULES!$F$149),\"13\",IF(V661+Z661<(1-RULES!$F$149),\"24\",IF(V661+W661<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F661=\"X\",$F661=\"H\",$F661=\"Z-ERROR\",AND($AA661=\"H\",$AH661)),$AE661,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P661,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L661,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M661,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N661,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E661&\"1\",IF(NOT($AH661),$E661&\"U\",$AE661)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN661","v":""},{"$f":"'Calculator Table'!BR661","v":0},{"$f":"Calculate!AV661","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A666","v":0},{"$f":"IF(F666=\"X\",\"X\",(IF(F666<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H666),0,Calculate!H666),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N666),0,Calculate!N666),IF(ISERROR(Calculate!J666),0,Calculate!J666))))))","v":0},{"$f":"IF(F666=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I666),$C$2,Calculate!I666),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O666),$C$2,Calculate!O666),IF(ISERROR(Calculate!K666),$C$2,Calculate!K666))))","v":5.5},{"$f":"AF666 & IF(OR($AH666,RIGHT($AF666,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P666","v":"S"},{"$f":"Calculate!Q666","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F666=\"X\",$F666=\"H\",$F666=\"Z-ERROR\"),$F666,IF($V666>=RULES!$F$149,\"1\",IF($W666>=RULES!$F$149,\"2\",IF($X666>=RULES!$F$149,\"3\",IF($Y666>=RULES!$F$149,\"4\",IF($Z666>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA666<>\"*\",\"~\",IF($V666>=RULES!$G$149,\"1?\",IF($W666>=RULES!$G$149,\"2?\",IF($X666>=RULES!$G$149,\"3?\",IF($Y666>=RULES!$G$149,\"4?\",IF($Z666>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB666<>\"*\",\"~\",IF((V666+W666>=RULES!$F$149),\"12\",IF((W666+X666>=RULES!$F$149),\"23\",IF((X666+Y666>=RULES!$F$149),\"34\",IF((Y666+Z666>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC666<>\"*\",\"~\",IF(Y666+Z666<(1-RULES!$F$149),\"13\",IF(V666+Z666<(1-RULES!$F$149),\"24\",IF(V666+W666<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F666=\"X\",$F666=\"H\",$F666=\"Z-ERROR\",AND($AA666=\"H\",$AH666)),$AE666,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P666,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L666,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M666,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N666,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E666&\"1\",IF(NOT($AH666),$E666&\"U\",$AE666)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN666","v":""},{"$f":"'Calculator Table'!BR666","v":0},{"$f":"Calculate!AV666","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A675","v":0},{"$f":"IF(F675=\"X\",\"X\",(IF(F675<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H675),0,Calculate!H675),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N675),0,Calculate!N675),IF(ISERROR(Calculate!J675),0,Calculate!J675))))))","v":0},{"$f":"IF(F675=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I675),$C$2,Calculate!I675),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O675),$C$2,Calculate!O675),IF(ISERROR(Calculate!K675),$C$2,Calculate!K675))))","v":5.5},{"$f":"AF675 & IF(OR($AH675,RIGHT($AF675,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P675","v":"S"},{"$f":"Calculate!Q675","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F675=\"X\",$F675=\"H\",$F675=\"Z-ERROR\"),$F675,IF($V675>=RULES!$F$149,\"1\",IF($W675>=RULES!$F$149,\"2\",IF($X675>=RULES!$F$149,\"3\",IF($Y675>=RULES!$F$149,\"4\",IF($Z675>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA675<>\"*\",\"~\",IF($V675>=RULES!$G$149,\"1?\",IF($W675>=RULES!$G$149,\"2?\",IF($X675>=RULES!$G$149,\"3?\",IF($Y675>=RULES!$G$149,\"4?\",IF($Z675>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB675<>\"*\",\"~\",IF((V675+W675>=RULES!$F$149),\"12\",IF((W675+X675>=RULES!$F$149),\"23\",IF((X675+Y675>=RULES!$F$149),\"34\",IF((Y675+Z675>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC675<>\"*\",\"~\",IF(Y675+Z675<(1-RULES!$F$149),\"13\",IF(V675+Z675<(1-RULES!$F$149),\"24\",IF(V675+W675<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F675=\"X\",$F675=\"H\",$F675=\"Z-ERROR\",AND($AA675=\"H\",$AH675)),$AE675,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P675,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L675,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M675,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N675,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E675&\"1\",IF(NOT($AH675),$E675&\"U\",$AE675)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN675","v":""},{"$f":"'Calculator Table'!BR675","v":0},{"$f":"Calculate!AV675","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A683","v":0},{"$f":"IF(F683=\"X\",\"X\",(IF(F683<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H683),0,Calculate!H683),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N683),0,Calculate!N683),IF(ISERROR(Calculate!J683),0,Calculate!J683))))))","v":0},{"$f":"IF(F683=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I683),$C$2,Calculate!I683),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O683),$C$2,Calculate!O683),IF(ISERROR(Calculate!K683),$C$2,Calculate!K683))))","v":5.5},{"$f":"AF683 & IF(OR($AH683,RIGHT($AF683,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P683","v":"S"},{"$f":"Calculate!Q683","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F683=\"X\",$F683=\"H\",$F683=\"Z-ERROR\"),$F683,IF($V683>=RULES!$F$149,\"1\",IF($W683>=RULES!$F$149,\"2\",IF($X683>=RULES!$F$149,\"3\",IF($Y683>=RULES!$F$149,\"4\",IF($Z683>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA683<>\"*\",\"~\",IF($V683>=RULES!$G$149,\"1?\",IF($W683>=RULES!$G$149,\"2?\",IF($X683>=RULES!$G$149,\"3?\",IF($Y683>=RULES!$G$149,\"4?\",IF($Z683>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB683<>\"*\",\"~\",IF((V683+W683>=RULES!$F$149),\"12\",IF((W683+X683>=RULES!$F$149),\"23\",IF((X683+Y683>=RULES!$F$149),\"34\",IF((Y683+Z683>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC683<>\"*\",\"~\",IF(Y683+Z683<(1-RULES!$F$149),\"13\",IF(V683+Z683<(1-RULES!$F$149),\"24\",IF(V683+W683<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F683=\"X\",$F683=\"H\",$F683=\"Z-ERROR\",AND($AA683=\"H\",$AH683)),$AE683,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P683,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L683,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M683,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N683,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E683&\"1\",IF(NOT($AH683),$E683&\"U\",$AE683)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN683","v":""},{"$f":"'Calculator Table'!BR683","v":0},{"$f":"Calculate!AV683","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A689","v":0},{"$f":"IF(F689=\"X\",\"X\",(IF(F689<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H689),0,Calculate!H689),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N689),0,Calculate!N689),IF(ISERROR(Calculate!J689),0,Calculate!J689))))))","v":0},{"$f":"IF(F689=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I689),$C$2,Calculate!I689),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O689),$C$2,Calculate!O689),IF(ISERROR(Calculate!K689),$C$2,Calculate!K689))))","v":5.5},{"$f":"AF689 & IF(OR($AH689,RIGHT($AF689,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P689","v":"S"},{"$f":"Calculate!Q689","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F689=\"X\",$F689=\"H\",$F689=\"Z-ERROR\"),$F689,IF($V689>=RULES!$F$149,\"1\",IF($W689>=RULES!$F$149,\"2\",IF($X689>=RULES!$F$149,\"3\",IF($Y689>=RULES!$F$149,\"4\",IF($Z689>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA689<>\"*\",\"~\",IF($V689>=RULES!$G$149,\"1?\",IF($W689>=RULES!$G$149,\"2?\",IF($X689>=RULES!$G$149,\"3?\",IF($Y689>=RULES!$G$149,\"4?\",IF($Z689>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB689<>\"*\",\"~\",IF((V689+W689>=RULES!$F$149),\"12\",IF((W689+X689>=RULES!$F$149),\"23\",IF((X689+Y689>=RULES!$F$149),\"34\",IF((Y689+Z689>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC689<>\"*\",\"~\",IF(Y689+Z689<(1-RULES!$F$149),\"13\",IF(V689+Z689<(1-RULES!$F$149),\"24\",IF(V689+W689<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F689=\"X\",$F689=\"H\",$F689=\"Z-ERROR\",AND($AA689=\"H\",$AH689)),$AE689,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P689,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L689,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M689,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N689,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E689&\"1\",IF(NOT($AH689),$E689&\"U\",$AE689)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN689","v":""},{"$f":"'Calculator Table'!BR689","v":0},{"$f":"Calculate!AV689","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A700","v":0},{"$f":"IF(F700=\"X\",\"X\",(IF(F700<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H700),0,Calculate!H700),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N700),0,Calculate!N700),IF(ISERROR(Calculate!J700),0,Calculate!J700))))))","v":0},{"$f":"IF(F700=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I700),$C$2,Calculate!I700),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O700),$C$2,Calculate!O700),IF(ISERROR(Calculate!K700),$C$2,Calculate!K700))))","v":5.5},{"$f":"AF700 & IF(OR($AH700,RIGHT($AF700,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P700","v":"S"},{"$f":"Calculate!Q700","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F700=\"X\",$F700=\"H\",$F700=\"Z-ERROR\"),$F700,IF($V700>=RULES!$F$149,\"1\",IF($W700>=RULES!$F$149,\"2\",IF($X700>=RULES!$F$149,\"3\",IF($Y700>=RULES!$F$149,\"4\",IF($Z700>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA700<>\"*\",\"~\",IF($V700>=RULES!$G$149,\"1?\",IF($W700>=RULES!$G$149,\"2?\",IF($X700>=RULES!$G$149,\"3?\",IF($Y700>=RULES!$G$149,\"4?\",IF($Z700>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB700<>\"*\",\"~\",IF((V700+W700>=RULES!$F$149),\"12\",IF((W700+X700>=RULES!$F$149),\"23\",IF((X700+Y700>=RULES!$F$149),\"34\",IF((Y700+Z700>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC700<>\"*\",\"~\",IF(Y700+Z700<(1-RULES!$F$149),\"13\",IF(V700+Z700<(1-RULES!$F$149),\"24\",IF(V700+W700<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F700=\"X\",$F700=\"H\",$F700=\"Z-ERROR\",AND($AA700=\"H\",$AH700)),$AE700,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P700,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L700,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M700,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N700,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E700&\"1\",IF(NOT($AH700),$E700&\"U\",$AE700)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN700","v":""},{"$f":"'Calculator Table'!BR700","v":0},{"$f":"Calculate!AV700","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A706","v":0},{"$f":"IF(F706=\"X\",\"X\",(IF(F706<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H706),0,Calculate!H706),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N706),0,Calculate!N706),IF(ISERROR(Calculate!J706),0,Calculate!J706))))))","v":0},{"$f":"IF(F706=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I706),$C$2,Calculate!I706),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O706),$C$2,Calculate!O706),IF(ISERROR(Calculate!K706),$C$2,Calculate!K706))))","v":5.5},{"$f":"AF706 & IF(OR($AH706,RIGHT($AF706,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P706","v":"S"},{"$f":"Calculate!Q706","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F706=\"X\",$F706=\"H\",$F706=\"Z-ERROR\"),$F706,IF($V706>=RULES!$F$149,\"1\",IF($W706>=RULES!$F$149,\"2\",IF($X706>=RULES!$F$149,\"3\",IF($Y706>=RULES!$F$149,\"4\",IF($Z706>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA706<>\"*\",\"~\",IF($V706>=RULES!$G$149,\"1?\",IF($W706>=RULES!$G$149,\"2?\",IF($X706>=RULES!$G$149,\"3?\",IF($Y706>=RULES!$G$149,\"4?\",IF($Z706>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB706<>\"*\",\"~\",IF((V706+W706>=RULES!$F$149),\"12\",IF((W706+X706>=RULES!$F$149),\"23\",IF((X706+Y706>=RULES!$F$149),\"34\",IF((Y706+Z706>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC706<>\"*\",\"~\",IF(Y706+Z706<(1-RULES!$F$149),\"13\",IF(V706+Z706<(1-RULES!$F$149),\"24\",IF(V706+W706<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F706=\"X\",$F706=\"H\",$F706=\"Z-ERROR\",AND($AA706=\"H\",$AH706)),$AE706,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P706,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L706,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M706,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N706,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E706&\"1\",IF(NOT($AH706),$E706&\"U\",$AE706)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN706","v":""},{"$f":"'Calculator Table'!BR706","v":0},{"$f":"Calculate!AV706","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A717","v":0},{"$f":"IF(F717=\"X\",\"X\",(IF(F717<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H717),0,Calculate!H717),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N717),0,Calculate!N717),IF(ISERROR(Calculate!J717),0,Calculate!J717))))))","v":0},{"$f":"IF(F717=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I717),$C$2,Calculate!I717),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O717),$C$2,Calculate!O717),IF(ISERROR(Calculate!K717),$C$2,Calculate!K717))))","v":5.5},{"$f":"AF717 & IF(OR($AH717,RIGHT($AF717,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P717","v":"S"},{"$f":"Calculate!Q717","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F717=\"X\",$F717=\"H\",$F717=\"Z-ERROR\"),$F717,IF($V717>=RULES!$F$149,\"1\",IF($W717>=RULES!$F$149,\"2\",IF($X717>=RULES!$F$149,\"3\",IF($Y717>=RULES!$F$149,\"4\",IF($Z717>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA717<>\"*\",\"~\",IF($V717>=RULES!$G$149,\"1?\",IF($W717>=RULES!$G$149,\"2?\",IF($X717>=RULES!$G$149,\"3?\",IF($Y717>=RULES!$G$149,\"4?\",IF($Z717>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB717<>\"*\",\"~\",IF((V717+W717>=RULES!$F$149),\"12\",IF((W717+X717>=RULES!$F$149),\"23\",IF((X717+Y717>=RULES!$F$149),\"34\",IF((Y717+Z717>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC717<>\"*\",\"~\",IF(Y717+Z717<(1-RULES!$F$149),\"13\",IF(V717+Z717<(1-RULES!$F$149),\"24\",IF(V717+W717<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F717=\"X\",$F717=\"H\",$F717=\"Z-ERROR\",AND($AA717=\"H\",$AH717)),$AE717,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P717,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L717,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M717,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N717,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E717&\"1\",IF(NOT($AH717),$E717&\"U\",$AE717)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN717","v":""},{"$f":"'Calculator Table'!BR717","v":0},{"$f":"Calculate!AV717","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A726","v":0},{"$f":"IF(F726=\"X\",\"X\",(IF(F726<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H726),0,Calculate!H726),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N726),0,Calculate!N726),IF(ISERROR(Calculate!J726),0,Calculate!J726))))))","v":0},{"$f":"IF(F726=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I726),$C$2,Calculate!I726),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O726),$C$2,Calculate!O726),IF(ISERROR(Calculate!K726),$C$2,Calculate!K726))))","v":5.5},{"$f":"AF726 & IF(OR($AH726,RIGHT($AF726,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P726","v":"S"},{"$f":"Calculate!Q726","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F726=\"X\",$F726=\"H\",$F726=\"Z-ERROR\"),$F726,IF($V726>=RULES!$F$149,\"1\",IF($W726>=RULES!$F$149,\"2\",IF($X726>=RULES!$F$149,\"3\",IF($Y726>=RULES!$F$149,\"4\",IF($Z726>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA726<>\"*\",\"~\",IF($V726>=RULES!$G$149,\"1?\",IF($W726>=RULES!$G$149,\"2?\",IF($X726>=RULES!$G$149,\"3?\",IF($Y726>=RULES!$G$149,\"4?\",IF($Z726>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB726<>\"*\",\"~\",IF((V726+W726>=RULES!$F$149),\"12\",IF((W726+X726>=RULES!$F$149),\"23\",IF((X726+Y726>=RULES!$F$149),\"34\",IF((Y726+Z726>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC726<>\"*\",\"~\",IF(Y726+Z726<(1-RULES!$F$149),\"13\",IF(V726+Z726<(1-RULES!$F$149),\"24\",IF(V726+W726<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F726=\"X\",$F726=\"H\",$F726=\"Z-ERROR\",AND($AA726=\"H\",$AH726)),$AE726,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P726,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L726,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M726,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N726,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E726&\"1\",IF(NOT($AH726),$E726&\"U\",$AE726)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN726","v":""},{"$f":"'Calculator Table'!BR726","v":0},{"$f":"Calculate!AV726","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A733","v":0},{"$f":"IF(F733=\"X\",\"X\",(IF(F733<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H733),0,Calculate!H733),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N733),0,Calculate!N733),IF(ISERROR(Calculate!J733),0,Calculate!J733))))))","v":0},{"$f":"IF(F733=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I733),$C$2,Calculate!I733),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O733),$C$2,Calculate!O733),IF(ISERROR(Calculate!K733),$C$2,Calculate!K733))))","v":5.5},{"$f":"AF733 & IF(OR($AH733,RIGHT($AF733,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P733","v":"S"},{"$f":"Calculate!Q733","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F733=\"X\",$F733=\"H\",$F733=\"Z-ERROR\"),$F733,IF($V733>=RULES!$F$149,\"1\",IF($W733>=RULES!$F$149,\"2\",IF($X733>=RULES!$F$149,\"3\",IF($Y733>=RULES!$F$149,\"4\",IF($Z733>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA733<>\"*\",\"~\",IF($V733>=RULES!$G$149,\"1?\",IF($W733>=RULES!$G$149,\"2?\",IF($X733>=RULES!$G$149,\"3?\",IF($Y733>=RULES!$G$149,\"4?\",IF($Z733>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB733<>\"*\",\"~\",IF((V733+W733>=RULES!$F$149),\"12\",IF((W733+X733>=RULES!$F$149),\"23\",IF((X733+Y733>=RULES!$F$149),\"34\",IF((Y733+Z733>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC733<>\"*\",\"~\",IF(Y733+Z733<(1-RULES!$F$149),\"13\",IF(V733+Z733<(1-RULES!$F$149),\"24\",IF(V733+W733<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F733=\"X\",$F733=\"H\",$F733=\"Z-ERROR\",AND($AA733=\"H\",$AH733)),$AE733,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P733,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L733,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M733,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N733,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E733&\"1\",IF(NOT($AH733),$E733&\"U\",$AE733)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN733","v":""},{"$f":"'Calculator Table'!BR733","v":0},{"$f":"Calculate!AV733","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A735","v":0},{"$f":"IF(F735=\"X\",\"X\",(IF(F735<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H735),0,Calculate!H735),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N735),0,Calculate!N735),IF(ISERROR(Calculate!J735),0,Calculate!J735))))))","v":0},{"$f":"IF(F735=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I735),$C$2,Calculate!I735),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O735),$C$2,Calculate!O735),IF(ISERROR(Calculate!K735),$C$2,Calculate!K735))))","v":5.5},{"$f":"AF735 & IF(OR($AH735,RIGHT($AF735,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P735","v":"S"},{"$f":"Calculate!Q735","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F735=\"X\",$F735=\"H\",$F735=\"Z-ERROR\"),$F735,IF($V735>=RULES!$F$149,\"1\",IF($W735>=RULES!$F$149,\"2\",IF($X735>=RULES!$F$149,\"3\",IF($Y735>=RULES!$F$149,\"4\",IF($Z735>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA735<>\"*\",\"~\",IF($V735>=RULES!$G$149,\"1?\",IF($W735>=RULES!$G$149,\"2?\",IF($X735>=RULES!$G$149,\"3?\",IF($Y735>=RULES!$G$149,\"4?\",IF($Z735>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB735<>\"*\",\"~\",IF((V735+W735>=RULES!$F$149),\"12\",IF((W735+X735>=RULES!$F$149),\"23\",IF((X735+Y735>=RULES!$F$149),\"34\",IF((Y735+Z735>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC735<>\"*\",\"~\",IF(Y735+Z735<(1-RULES!$F$149),\"13\",IF(V735+Z735<(1-RULES!$F$149),\"24\",IF(V735+W735<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F735=\"X\",$F735=\"H\",$F735=\"Z-ERROR\",AND($AA735=\"H\",$AH735)),$AE735,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P735,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L735,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M735,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N735,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E735&\"1\",IF(NOT($AH735),$E735&\"U\",$AE735)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN735","v":""},{"$f":"'Calculator Table'!BR735","v":0},{"$f":"Calculate!AV735","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A743","v":0},{"$f":"IF(F743=\"X\",\"X\",(IF(F743<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H743),0,Calculate!H743),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N743),0,Calculate!N743),IF(ISERROR(Calculate!J743),0,Calculate!J743))))))","v":0},{"$f":"IF(F743=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I743),$C$2,Calculate!I743),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O743),$C$2,Calculate!O743),IF(ISERROR(Calculate!K743),$C$2,Calculate!K743))))","v":5.5},{"$f":"AF743 & IF(OR($AH743,RIGHT($AF743,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P743","v":"S"},{"$f":"Calculate!Q743","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F743=\"X\",$F743=\"H\",$F743=\"Z-ERROR\"),$F743,IF($V743>=RULES!$F$149,\"1\",IF($W743>=RULES!$F$149,\"2\",IF($X743>=RULES!$F$149,\"3\",IF($Y743>=RULES!$F$149,\"4\",IF($Z743>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA743<>\"*\",\"~\",IF($V743>=RULES!$G$149,\"1?\",IF($W743>=RULES!$G$149,\"2?\",IF($X743>=RULES!$G$149,\"3?\",IF($Y743>=RULES!$G$149,\"4?\",IF($Z743>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB743<>\"*\",\"~\",IF((V743+W743>=RULES!$F$149),\"12\",IF((W743+X743>=RULES!$F$149),\"23\",IF((X743+Y743>=RULES!$F$149),\"34\",IF((Y743+Z743>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC743<>\"*\",\"~\",IF(Y743+Z743<(1-RULES!$F$149),\"13\",IF(V743+Z743<(1-RULES!$F$149),\"24\",IF(V743+W743<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F743=\"X\",$F743=\"H\",$F743=\"Z-ERROR\",AND($AA743=\"H\",$AH743)),$AE743,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P743,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L743,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M743,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N743,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E743&\"1\",IF(NOT($AH743),$E743&\"U\",$AE743)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN743","v":""},{"$f":"'Calculator Table'!BR743","v":0},{"$f":"Calculate!AV743","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A752","v":0},{"$f":"IF(F752=\"X\",\"X\",(IF(F752<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H752),0,Calculate!H752),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N752),0,Calculate!N752),IF(ISERROR(Calculate!J752),0,Calculate!J752))))))","v":0},{"$f":"IF(F752=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I752),$C$2,Calculate!I752),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O752),$C$2,Calculate!O752),IF(ISERROR(Calculate!K752),$C$2,Calculate!K752))))","v":5.5},{"$f":"AF752 & IF(OR($AH752,RIGHT($AF752,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P752","v":"S"},{"$f":"Calculate!Q752","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F752=\"X\",$F752=\"H\",$F752=\"Z-ERROR\"),$F752,IF($V752>=RULES!$F$149,\"1\",IF($W752>=RULES!$F$149,\"2\",IF($X752>=RULES!$F$149,\"3\",IF($Y752>=RULES!$F$149,\"4\",IF($Z752>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA752<>\"*\",\"~\",IF($V752>=RULES!$G$149,\"1?\",IF($W752>=RULES!$G$149,\"2?\",IF($X752>=RULES!$G$149,\"3?\",IF($Y752>=RULES!$G$149,\"4?\",IF($Z752>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB752<>\"*\",\"~\",IF((V752+W752>=RULES!$F$149),\"12\",IF((W752+X752>=RULES!$F$149),\"23\",IF((X752+Y752>=RULES!$F$149),\"34\",IF((Y752+Z752>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC752<>\"*\",\"~\",IF(Y752+Z752<(1-RULES!$F$149),\"13\",IF(V752+Z752<(1-RULES!$F$149),\"24\",IF(V752+W752<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F752=\"X\",$F752=\"H\",$F752=\"Z-ERROR\",AND($AA752=\"H\",$AH752)),$AE752,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P752,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L752,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M752,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N752,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E752&\"1\",IF(NOT($AH752),$E752&\"U\",$AE752)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN752","v":""},{"$f":"'Calculator Table'!BR752","v":0},{"$f":"Calculate!AV752","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A757","v":0},{"$f":"IF(F757=\"X\",\"X\",(IF(F757<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H757),0,Calculate!H757),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N757),0,Calculate!N757),IF(ISERROR(Calculate!J757),0,Calculate!J757))))))","v":0},{"$f":"IF(F757=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I757),$C$2,Calculate!I757),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O757),$C$2,Calculate!O757),IF(ISERROR(Calculate!K757),$C$2,Calculate!K757))))","v":5.5},{"$f":"AF757 & IF(OR($AH757,RIGHT($AF757,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P757","v":"S"},{"$f":"Calculate!Q757","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F757=\"X\",$F757=\"H\",$F757=\"Z-ERROR\"),$F757,IF($V757>=RULES!$F$149,\"1\",IF($W757>=RULES!$F$149,\"2\",IF($X757>=RULES!$F$149,\"3\",IF($Y757>=RULES!$F$149,\"4\",IF($Z757>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA757<>\"*\",\"~\",IF($V757>=RULES!$G$149,\"1?\",IF($W757>=RULES!$G$149,\"2?\",IF($X757>=RULES!$G$149,\"3?\",IF($Y757>=RULES!$G$149,\"4?\",IF($Z757>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB757<>\"*\",\"~\",IF((V757+W757>=RULES!$F$149),\"12\",IF((W757+X757>=RULES!$F$149),\"23\",IF((X757+Y757>=RULES!$F$149),\"34\",IF((Y757+Z757>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC757<>\"*\",\"~\",IF(Y757+Z757<(1-RULES!$F$149),\"13\",IF(V757+Z757<(1-RULES!$F$149),\"24\",IF(V757+W757<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F757=\"X\",$F757=\"H\",$F757=\"Z-ERROR\",AND($AA757=\"H\",$AH757)),$AE757,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P757,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L757,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M757,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N757,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E757&\"1\",IF(NOT($AH757),$E757&\"U\",$AE757)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN757","v":""},{"$f":"'Calculator Table'!BR757","v":0},{"$f":"Calculate!AV757","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A769","v":0},{"$f":"IF(F769=\"X\",\"X\",(IF(F769<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H769),0,Calculate!H769),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N769),0,Calculate!N769),IF(ISERROR(Calculate!J769),0,Calculate!J769))))))","v":0},{"$f":"IF(F769=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I769),$C$2,Calculate!I769),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O769),$C$2,Calculate!O769),IF(ISERROR(Calculate!K769),$C$2,Calculate!K769))))","v":5.5},{"$f":"AF769 & IF(OR($AH769,RIGHT($AF769,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P769","v":"S"},{"$f":"Calculate!Q769","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F769=\"X\",$F769=\"H\",$F769=\"Z-ERROR\"),$F769,IF($V769>=RULES!$F$149,\"1\",IF($W769>=RULES!$F$149,\"2\",IF($X769>=RULES!$F$149,\"3\",IF($Y769>=RULES!$F$149,\"4\",IF($Z769>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA769<>\"*\",\"~\",IF($V769>=RULES!$G$149,\"1?\",IF($W769>=RULES!$G$149,\"2?\",IF($X769>=RULES!$G$149,\"3?\",IF($Y769>=RULES!$G$149,\"4?\",IF($Z769>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB769<>\"*\",\"~\",IF((V769+W769>=RULES!$F$149),\"12\",IF((W769+X769>=RULES!$F$149),\"23\",IF((X769+Y769>=RULES!$F$149),\"34\",IF((Y769+Z769>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC769<>\"*\",\"~\",IF(Y769+Z769<(1-RULES!$F$149),\"13\",IF(V769+Z769<(1-RULES!$F$149),\"24\",IF(V769+W769<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F769=\"X\",$F769=\"H\",$F769=\"Z-ERROR\",AND($AA769=\"H\",$AH769)),$AE769,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P769,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L769,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M769,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N769,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E769&\"1\",IF(NOT($AH769),$E769&\"U\",$AE769)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN769","v":""},{"$f":"'Calculator Table'!BR769","v":0},{"$f":"Calculate!AV769","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A778","v":0},{"$f":"IF(F778=\"X\",\"X\",(IF(F778<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H778),0,Calculate!H778),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N778),0,Calculate!N778),IF(ISERROR(Calculate!J778),0,Calculate!J778))))))","v":0},{"$f":"IF(F778=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I778),$C$2,Calculate!I778),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O778),$C$2,Calculate!O778),IF(ISERROR(Calculate!K778),$C$2,Calculate!K778))))","v":5.5},{"$f":"AF778 & IF(OR($AH778,RIGHT($AF778,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P778","v":"S"},{"$f":"Calculate!Q778","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F778=\"X\",$F778=\"H\",$F778=\"Z-ERROR\"),$F778,IF($V778>=RULES!$F$149,\"1\",IF($W778>=RULES!$F$149,\"2\",IF($X778>=RULES!$F$149,\"3\",IF($Y778>=RULES!$F$149,\"4\",IF($Z778>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA778<>\"*\",\"~\",IF($V778>=RULES!$G$149,\"1?\",IF($W778>=RULES!$G$149,\"2?\",IF($X778>=RULES!$G$149,\"3?\",IF($Y778>=RULES!$G$149,\"4?\",IF($Z778>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB778<>\"*\",\"~\",IF((V778+W778>=RULES!$F$149),\"12\",IF((W778+X778>=RULES!$F$149),\"23\",IF((X778+Y778>=RULES!$F$149),\"34\",IF((Y778+Z778>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC778<>\"*\",\"~\",IF(Y778+Z778<(1-RULES!$F$149),\"13\",IF(V778+Z778<(1-RULES!$F$149),\"24\",IF(V778+W778<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F778=\"X\",$F778=\"H\",$F778=\"Z-ERROR\",AND($AA778=\"H\",$AH778)),$AE778,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P778,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L778,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M778,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N778,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E778&\"1\",IF(NOT($AH778),$E778&\"U\",$AE778)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN778","v":""},{"$f":"'Calculator Table'!BR778","v":0},{"$f":"Calculate!AV778","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A786","v":0},{"$f":"IF(F786=\"X\",\"X\",(IF(F786<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H786),0,Calculate!H786),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N786),0,Calculate!N786),IF(ISERROR(Calculate!J786),0,Calculate!J786))))))","v":0},{"$f":"IF(F786=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I786),$C$2,Calculate!I786),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O786),$C$2,Calculate!O786),IF(ISERROR(Calculate!K786),$C$2,Calculate!K786))))","v":5.5},{"$f":"AF786 & IF(OR($AH786,RIGHT($AF786,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P786","v":"S"},{"$f":"Calculate!Q786","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F786=\"X\",$F786=\"H\",$F786=\"Z-ERROR\"),$F786,IF($V786>=RULES!$F$149,\"1\",IF($W786>=RULES!$F$149,\"2\",IF($X786>=RULES!$F$149,\"3\",IF($Y786>=RULES!$F$149,\"4\",IF($Z786>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA786<>\"*\",\"~\",IF($V786>=RULES!$G$149,\"1?\",IF($W786>=RULES!$G$149,\"2?\",IF($X786>=RULES!$G$149,\"3?\",IF($Y786>=RULES!$G$149,\"4?\",IF($Z786>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB786<>\"*\",\"~\",IF((V786+W786>=RULES!$F$149),\"12\",IF((W786+X786>=RULES!$F$149),\"23\",IF((X786+Y786>=RULES!$F$149),\"34\",IF((Y786+Z786>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC786<>\"*\",\"~\",IF(Y786+Z786<(1-RULES!$F$149),\"13\",IF(V786+Z786<(1-RULES!$F$149),\"24\",IF(V786+W786<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F786=\"X\",$F786=\"H\",$F786=\"Z-ERROR\",AND($AA786=\"H\",$AH786)),$AE786,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P786,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L786,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M786,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N786,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E786&\"1\",IF(NOT($AH786),$E786&\"U\",$AE786)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN786","v":""},{"$f":"'Calculator Table'!BR786","v":0},{"$f":"Calculate!AV786","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A787","v":0},{"$f":"IF(F787=\"X\",\"X\",(IF(F787<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H787),0,Calculate!H787),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N787),0,Calculate!N787),IF(ISERROR(Calculate!J787),0,Calculate!J787))))))","v":0},{"$f":"IF(F787=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I787),$C$2,Calculate!I787),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O787),$C$2,Calculate!O787),IF(ISERROR(Calculate!K787),$C$2,Calculate!K787))))","v":5.5},{"$f":"AF787 & IF(OR($AH787,RIGHT($AF787,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P787","v":"S"},{"$f":"Calculate!Q787","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F787=\"X\",$F787=\"H\",$F787=\"Z-ERROR\"),$F787,IF($V787>=RULES!$F$149,\"1\",IF($W787>=RULES!$F$149,\"2\",IF($X787>=RULES!$F$149,\"3\",IF($Y787>=RULES!$F$149,\"4\",IF($Z787>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA787<>\"*\",\"~\",IF($V787>=RULES!$G$149,\"1?\",IF($W787>=RULES!$G$149,\"2?\",IF($X787>=RULES!$G$149,\"3?\",IF($Y787>=RULES!$G$149,\"4?\",IF($Z787>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB787<>\"*\",\"~\",IF((V787+W787>=RULES!$F$149),\"12\",IF((W787+X787>=RULES!$F$149),\"23\",IF((X787+Y787>=RULES!$F$149),\"34\",IF((Y787+Z787>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC787<>\"*\",\"~\",IF(Y787+Z787<(1-RULES!$F$149),\"13\",IF(V787+Z787<(1-RULES!$F$149),\"24\",IF(V787+W787<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F787=\"X\",$F787=\"H\",$F787=\"Z-ERROR\",AND($AA787=\"H\",$AH787)),$AE787,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P787,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L787,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M787,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N787,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E787&\"1\",IF(NOT($AH787),$E787&\"U\",$AE787)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN787","v":""},{"$f":"'Calculator Table'!BR787","v":0},{"$f":"Calculate!AV787","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A801","v":0},{"$f":"IF(F801=\"X\",\"X\",(IF(F801<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H801),0,Calculate!H801),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N801),0,Calculate!N801),IF(ISERROR(Calculate!J801),0,Calculate!J801))))))","v":0},{"$f":"IF(F801=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I801),$C$2,Calculate!I801),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O801),$C$2,Calculate!O801),IF(ISERROR(Calculate!K801),$C$2,Calculate!K801))))","v":5.5},{"$f":"AF801 & IF(OR($AH801,RIGHT($AF801,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P801","v":"S"},{"$f":"Calculate!Q801","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F801=\"X\",$F801=\"H\",$F801=\"Z-ERROR\"),$F801,IF($V801>=RULES!$F$149,\"1\",IF($W801>=RULES!$F$149,\"2\",IF($X801>=RULES!$F$149,\"3\",IF($Y801>=RULES!$F$149,\"4\",IF($Z801>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA801<>\"*\",\"~\",IF($V801>=RULES!$G$149,\"1?\",IF($W801>=RULES!$G$149,\"2?\",IF($X801>=RULES!$G$149,\"3?\",IF($Y801>=RULES!$G$149,\"4?\",IF($Z801>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB801<>\"*\",\"~\",IF((V801+W801>=RULES!$F$149),\"12\",IF((W801+X801>=RULES!$F$149),\"23\",IF((X801+Y801>=RULES!$F$149),\"34\",IF((Y801+Z801>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC801<>\"*\",\"~\",IF(Y801+Z801<(1-RULES!$F$149),\"13\",IF(V801+Z801<(1-RULES!$F$149),\"24\",IF(V801+W801<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F801=\"X\",$F801=\"H\",$F801=\"Z-ERROR\",AND($AA801=\"H\",$AH801)),$AE801,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P801,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L801,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M801,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N801,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E801&\"1\",IF(NOT($AH801),$E801&\"U\",$AE801)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN801","v":""},{"$f":"'Calculator Table'!BR801","v":0},{"$f":"Calculate!AV801","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A804","v":0},{"$f":"IF(F804=\"X\",\"X\",(IF(F804<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H804),0,Calculate!H804),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N804),0,Calculate!N804),IF(ISERROR(Calculate!J804),0,Calculate!J804))))))","v":0},{"$f":"IF(F804=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I804),$C$2,Calculate!I804),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O804),$C$2,Calculate!O804),IF(ISERROR(Calculate!K804),$C$2,Calculate!K804))))","v":5.5},{"$f":"AF804 & IF(OR($AH804,RIGHT($AF804,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P804","v":"S"},{"$f":"Calculate!Q804","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F804=\"X\",$F804=\"H\",$F804=\"Z-ERROR\"),$F804,IF($V804>=RULES!$F$149,\"1\",IF($W804>=RULES!$F$149,\"2\",IF($X804>=RULES!$F$149,\"3\",IF($Y804>=RULES!$F$149,\"4\",IF($Z804>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA804<>\"*\",\"~\",IF($V804>=RULES!$G$149,\"1?\",IF($W804>=RULES!$G$149,\"2?\",IF($X804>=RULES!$G$149,\"3?\",IF($Y804>=RULES!$G$149,\"4?\",IF($Z804>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB804<>\"*\",\"~\",IF((V804+W804>=RULES!$F$149),\"12\",IF((W804+X804>=RULES!$F$149),\"23\",IF((X804+Y804>=RULES!$F$149),\"34\",IF((Y804+Z804>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC804<>\"*\",\"~\",IF(Y804+Z804<(1-RULES!$F$149),\"13\",IF(V804+Z804<(1-RULES!$F$149),\"24\",IF(V804+W804<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F804=\"X\",$F804=\"H\",$F804=\"Z-ERROR\",AND($AA804=\"H\",$AH804)),$AE804,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P804,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L804,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M804,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N804,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E804&\"1\",IF(NOT($AH804),$E804&\"U\",$AE804)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN804","v":""},{"$f":"'Calculator Table'!BR804","v":0},{"$f":"Calculate!AV804","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A815","v":0},{"$f":"IF(F815=\"X\",\"X\",(IF(F815<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H815),0,Calculate!H815),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N815),0,Calculate!N815),IF(ISERROR(Calculate!J815),0,Calculate!J815))))))","v":0},{"$f":"IF(F815=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I815),$C$2,Calculate!I815),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O815),$C$2,Calculate!O815),IF(ISERROR(Calculate!K815),$C$2,Calculate!K815))))","v":5.5},{"$f":"AF815 & IF(OR($AH815,RIGHT($AF815,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P815","v":"S"},{"$f":"Calculate!Q815","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F815=\"X\",$F815=\"H\",$F815=\"Z-ERROR\"),$F815,IF($V815>=RULES!$F$149,\"1\",IF($W815>=RULES!$F$149,\"2\",IF($X815>=RULES!$F$149,\"3\",IF($Y815>=RULES!$F$149,\"4\",IF($Z815>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA815<>\"*\",\"~\",IF($V815>=RULES!$G$149,\"1?\",IF($W815>=RULES!$G$149,\"2?\",IF($X815>=RULES!$G$149,\"3?\",IF($Y815>=RULES!$G$149,\"4?\",IF($Z815>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB815<>\"*\",\"~\",IF((V815+W815>=RULES!$F$149),\"12\",IF((W815+X815>=RULES!$F$149),\"23\",IF((X815+Y815>=RULES!$F$149),\"34\",IF((Y815+Z815>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC815<>\"*\",\"~\",IF(Y815+Z815<(1-RULES!$F$149),\"13\",IF(V815+Z815<(1-RULES!$F$149),\"24\",IF(V815+W815<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F815=\"X\",$F815=\"H\",$F815=\"Z-ERROR\",AND($AA815=\"H\",$AH815)),$AE815,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P815,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L815,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M815,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N815,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E815&\"1\",IF(NOT($AH815),$E815&\"U\",$AE815)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN815","v":""},{"$f":"'Calculator Table'!BR815","v":0},{"$f":"Calculate!AV815","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A821","v":0},{"$f":"IF(F821=\"X\",\"X\",(IF(F821<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H821),0,Calculate!H821),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N821),0,Calculate!N821),IF(ISERROR(Calculate!J821),0,Calculate!J821))))))","v":0},{"$f":"IF(F821=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I821),$C$2,Calculate!I821),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O821),$C$2,Calculate!O821),IF(ISERROR(Calculate!K821),$C$2,Calculate!K821))))","v":5.5},{"$f":"AF821 & IF(OR($AH821,RIGHT($AF821,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P821","v":"S"},{"$f":"Calculate!Q821","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F821=\"X\",$F821=\"H\",$F821=\"Z-ERROR\"),$F821,IF($V821>=RULES!$F$149,\"1\",IF($W821>=RULES!$F$149,\"2\",IF($X821>=RULES!$F$149,\"3\",IF($Y821>=RULES!$F$149,\"4\",IF($Z821>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA821<>\"*\",\"~\",IF($V821>=RULES!$G$149,\"1?\",IF($W821>=RULES!$G$149,\"2?\",IF($X821>=RULES!$G$149,\"3?\",IF($Y821>=RULES!$G$149,\"4?\",IF($Z821>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB821<>\"*\",\"~\",IF((V821+W821>=RULES!$F$149),\"12\",IF((W821+X821>=RULES!$F$149),\"23\",IF((X821+Y821>=RULES!$F$149),\"34\",IF((Y821+Z821>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC821<>\"*\",\"~\",IF(Y821+Z821<(1-RULES!$F$149),\"13\",IF(V821+Z821<(1-RULES!$F$149),\"24\",IF(V821+W821<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F821=\"X\",$F821=\"H\",$F821=\"Z-ERROR\",AND($AA821=\"H\",$AH821)),$AE821,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P821,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L821,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M821,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N821,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E821&\"1\",IF(NOT($AH821),$E821&\"U\",$AE821)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN821","v":""},{"$f":"'Calculator Table'!BR821","v":0},{"$f":"Calculate!AV821","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A829","v":0},{"$f":"IF(F829=\"X\",\"X\",(IF(F829<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H829),0,Calculate!H829),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N829),0,Calculate!N829),IF(ISERROR(Calculate!J829),0,Calculate!J829))))))","v":0},{"$f":"IF(F829=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I829),$C$2,Calculate!I829),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O829),$C$2,Calculate!O829),IF(ISERROR(Calculate!K829),$C$2,Calculate!K829))))","v":5.5},{"$f":"AF829 & IF(OR($AH829,RIGHT($AF829,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P829","v":"S"},{"$f":"Calculate!Q829","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F829=\"X\",$F829=\"H\",$F829=\"Z-ERROR\"),$F829,IF($V829>=RULES!$F$149,\"1\",IF($W829>=RULES!$F$149,\"2\",IF($X829>=RULES!$F$149,\"3\",IF($Y829>=RULES!$F$149,\"4\",IF($Z829>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA829<>\"*\",\"~\",IF($V829>=RULES!$G$149,\"1?\",IF($W829>=RULES!$G$149,\"2?\",IF($X829>=RULES!$G$149,\"3?\",IF($Y829>=RULES!$G$149,\"4?\",IF($Z829>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB829<>\"*\",\"~\",IF((V829+W829>=RULES!$F$149),\"12\",IF((W829+X829>=RULES!$F$149),\"23\",IF((X829+Y829>=RULES!$F$149),\"34\",IF((Y829+Z829>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC829<>\"*\",\"~\",IF(Y829+Z829<(1-RULES!$F$149),\"13\",IF(V829+Z829<(1-RULES!$F$149),\"24\",IF(V829+W829<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F829=\"X\",$F829=\"H\",$F829=\"Z-ERROR\",AND($AA829=\"H\",$AH829)),$AE829,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P829,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L829,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M829,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N829,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E829&\"1\",IF(NOT($AH829),$E829&\"U\",$AE829)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN829","v":""},{"$f":"'Calculator Table'!BR829","v":0},{"$f":"Calculate!AV829","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A838","v":0},{"$f":"IF(F838=\"X\",\"X\",(IF(F838<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H838),0,Calculate!H838),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N838),0,Calculate!N838),IF(ISERROR(Calculate!J838),0,Calculate!J838))))))","v":0},{"$f":"IF(F838=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I838),$C$2,Calculate!I838),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O838),$C$2,Calculate!O838),IF(ISERROR(Calculate!K838),$C$2,Calculate!K838))))","v":5.5},{"$f":"AF838 & IF(OR($AH838,RIGHT($AF838,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P838","v":"S"},{"$f":"Calculate!Q838","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F838=\"X\",$F838=\"H\",$F838=\"Z-ERROR\"),$F838,IF($V838>=RULES!$F$149,\"1\",IF($W838>=RULES!$F$149,\"2\",IF($X838>=RULES!$F$149,\"3\",IF($Y838>=RULES!$F$149,\"4\",IF($Z838>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA838<>\"*\",\"~\",IF($V838>=RULES!$G$149,\"1?\",IF($W838>=RULES!$G$149,\"2?\",IF($X838>=RULES!$G$149,\"3?\",IF($Y838>=RULES!$G$149,\"4?\",IF($Z838>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB838<>\"*\",\"~\",IF((V838+W838>=RULES!$F$149),\"12\",IF((W838+X838>=RULES!$F$149),\"23\",IF((X838+Y838>=RULES!$F$149),\"34\",IF((Y838+Z838>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC838<>\"*\",\"~\",IF(Y838+Z838<(1-RULES!$F$149),\"13\",IF(V838+Z838<(1-RULES!$F$149),\"24\",IF(V838+W838<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F838=\"X\",$F838=\"H\",$F838=\"Z-ERROR\",AND($AA838=\"H\",$AH838)),$AE838,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P838,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L838,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M838,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N838,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E838&\"1\",IF(NOT($AH838),$E838&\"U\",$AE838)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN838","v":""},{"$f":"'Calculator Table'!BR838","v":0},{"$f":"Calculate!AV838","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A846","v":0},{"$f":"IF(F846=\"X\",\"X\",(IF(F846<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H846),0,Calculate!H846),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N846),0,Calculate!N846),IF(ISERROR(Calculate!J846),0,Calculate!J846))))))","v":0},{"$f":"IF(F846=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I846),$C$2,Calculate!I846),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O846),$C$2,Calculate!O846),IF(ISERROR(Calculate!K846),$C$2,Calculate!K846))))","v":5.5},{"$f":"AF846 & IF(OR($AH846,RIGHT($AF846,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P846","v":"S"},{"$f":"Calculate!Q846","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F846=\"X\",$F846=\"H\",$F846=\"Z-ERROR\"),$F846,IF($V846>=RULES!$F$149,\"1\",IF($W846>=RULES!$F$149,\"2\",IF($X846>=RULES!$F$149,\"3\",IF($Y846>=RULES!$F$149,\"4\",IF($Z846>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA846<>\"*\",\"~\",IF($V846>=RULES!$G$149,\"1?\",IF($W846>=RULES!$G$149,\"2?\",IF($X846>=RULES!$G$149,\"3?\",IF($Y846>=RULES!$G$149,\"4?\",IF($Z846>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB846<>\"*\",\"~\",IF((V846+W846>=RULES!$F$149),\"12\",IF((W846+X846>=RULES!$F$149),\"23\",IF((X846+Y846>=RULES!$F$149),\"34\",IF((Y846+Z846>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC846<>\"*\",\"~\",IF(Y846+Z846<(1-RULES!$F$149),\"13\",IF(V846+Z846<(1-RULES!$F$149),\"24\",IF(V846+W846<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F846=\"X\",$F846=\"H\",$F846=\"Z-ERROR\",AND($AA846=\"H\",$AH846)),$AE846,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P846,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L846,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M846,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N846,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E846&\"1\",IF(NOT($AH846),$E846&\"U\",$AE846)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN846","v":""},{"$f":"'Calculator Table'!BR846","v":0},{"$f":"Calculate!AV846","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A847","v":0},{"$f":"IF(F847=\"X\",\"X\",(IF(F847<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H847),0,Calculate!H847),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N847),0,Calculate!N847),IF(ISERROR(Calculate!J847),0,Calculate!J847))))))","v":0},{"$f":"IF(F847=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I847),$C$2,Calculate!I847),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O847),$C$2,Calculate!O847),IF(ISERROR(Calculate!K847),$C$2,Calculate!K847))))","v":5.5},{"$f":"AF847 & IF(OR($AH847,RIGHT($AF847,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P847","v":"S"},{"$f":"Calculate!Q847","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F847=\"X\",$F847=\"H\",$F847=\"Z-ERROR\"),$F847,IF($V847>=RULES!$F$149,\"1\",IF($W847>=RULES!$F$149,\"2\",IF($X847>=RULES!$F$149,\"3\",IF($Y847>=RULES!$F$149,\"4\",IF($Z847>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA847<>\"*\",\"~\",IF($V847>=RULES!$G$149,\"1?\",IF($W847>=RULES!$G$149,\"2?\",IF($X847>=RULES!$G$149,\"3?\",IF($Y847>=RULES!$G$149,\"4?\",IF($Z847>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB847<>\"*\",\"~\",IF((V847+W847>=RULES!$F$149),\"12\",IF((W847+X847>=RULES!$F$149),\"23\",IF((X847+Y847>=RULES!$F$149),\"34\",IF((Y847+Z847>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC847<>\"*\",\"~\",IF(Y847+Z847<(1-RULES!$F$149),\"13\",IF(V847+Z847<(1-RULES!$F$149),\"24\",IF(V847+W847<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F847=\"X\",$F847=\"H\",$F847=\"Z-ERROR\",AND($AA847=\"H\",$AH847)),$AE847,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P847,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L847,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M847,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N847,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E847&\"1\",IF(NOT($AH847),$E847&\"U\",$AE847)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN847","v":""},{"$f":"'Calculator Table'!BR847","v":0},{"$f":"Calculate!AV847","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A856","v":0},{"$f":"IF(F856=\"X\",\"X\",(IF(F856<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H856),0,Calculate!H856),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N856),0,Calculate!N856),IF(ISERROR(Calculate!J856),0,Calculate!J856))))))","v":0},{"$f":"IF(F856=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I856),$C$2,Calculate!I856),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O856),$C$2,Calculate!O856),IF(ISERROR(Calculate!K856),$C$2,Calculate!K856))))","v":5.5},{"$f":"AF856 & IF(OR($AH856,RIGHT($AF856,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P856","v":"S"},{"$f":"Calculate!Q856","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F856=\"X\",$F856=\"H\",$F856=\"Z-ERROR\"),$F856,IF($V856>=RULES!$F$149,\"1\",IF($W856>=RULES!$F$149,\"2\",IF($X856>=RULES!$F$149,\"3\",IF($Y856>=RULES!$F$149,\"4\",IF($Z856>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA856<>\"*\",\"~\",IF($V856>=RULES!$G$149,\"1?\",IF($W856>=RULES!$G$149,\"2?\",IF($X856>=RULES!$G$149,\"3?\",IF($Y856>=RULES!$G$149,\"4?\",IF($Z856>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB856<>\"*\",\"~\",IF((V856+W856>=RULES!$F$149),\"12\",IF((W856+X856>=RULES!$F$149),\"23\",IF((X856+Y856>=RULES!$F$149),\"34\",IF((Y856+Z856>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC856<>\"*\",\"~\",IF(Y856+Z856<(1-RULES!$F$149),\"13\",IF(V856+Z856<(1-RULES!$F$149),\"24\",IF(V856+W856<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F856=\"X\",$F856=\"H\",$F856=\"Z-ERROR\",AND($AA856=\"H\",$AH856)),$AE856,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P856,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L856,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M856,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N856,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E856&\"1\",IF(NOT($AH856),$E856&\"U\",$AE856)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN856","v":""},{"$f":"'Calculator Table'!BR856","v":0},{"$f":"Calculate!AV856","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A869","v":0},{"$f":"IF(F869=\"X\",\"X\",(IF(F869<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H869),0,Calculate!H869),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N869),0,Calculate!N869),IF(ISERROR(Calculate!J869),0,Calculate!J869))))))","v":0},{"$f":"IF(F869=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I869),$C$2,Calculate!I869),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O869),$C$2,Calculate!O869),IF(ISERROR(Calculate!K869),$C$2,Calculate!K869))))","v":5.5},{"$f":"AF869 & IF(OR($AH869,RIGHT($AF869,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P869","v":"S"},{"$f":"Calculate!Q869","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F869=\"X\",$F869=\"H\",$F869=\"Z-ERROR\"),$F869,IF($V869>=RULES!$F$149,\"1\",IF($W869>=RULES!$F$149,\"2\",IF($X869>=RULES!$F$149,\"3\",IF($Y869>=RULES!$F$149,\"4\",IF($Z869>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA869<>\"*\",\"~\",IF($V869>=RULES!$G$149,\"1?\",IF($W869>=RULES!$G$149,\"2?\",IF($X869>=RULES!$G$149,\"3?\",IF($Y869>=RULES!$G$149,\"4?\",IF($Z869>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB869<>\"*\",\"~\",IF((V869+W869>=RULES!$F$149),\"12\",IF((W869+X869>=RULES!$F$149),\"23\",IF((X869+Y869>=RULES!$F$149),\"34\",IF((Y869+Z869>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC869<>\"*\",\"~\",IF(Y869+Z869<(1-RULES!$F$149),\"13\",IF(V869+Z869<(1-RULES!$F$149),\"24\",IF(V869+W869<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F869=\"X\",$F869=\"H\",$F869=\"Z-ERROR\",AND($AA869=\"H\",$AH869)),$AE869,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P869,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L869,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M869,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N869,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E869&\"1\",IF(NOT($AH869),$E869&\"U\",$AE869)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN869","v":""},{"$f":"'Calculator Table'!BR869","v":0},{"$f":"Calculate!AV869","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A873","v":0},{"$f":"IF(F873=\"X\",\"X\",(IF(F873<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H873),0,Calculate!H873),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N873),0,Calculate!N873),IF(ISERROR(Calculate!J873),0,Calculate!J873))))))","v":0},{"$f":"IF(F873=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I873),$C$2,Calculate!I873),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O873),$C$2,Calculate!O873),IF(ISERROR(Calculate!K873),$C$2,Calculate!K873))))","v":5.5},{"$f":"AF873 & IF(OR($AH873,RIGHT($AF873,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P873","v":"S"},{"$f":"Calculate!Q873","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F873=\"X\",$F873=\"H\",$F873=\"Z-ERROR\"),$F873,IF($V873>=RULES!$F$149,\"1\",IF($W873>=RULES!$F$149,\"2\",IF($X873>=RULES!$F$149,\"3\",IF($Y873>=RULES!$F$149,\"4\",IF($Z873>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA873<>\"*\",\"~\",IF($V873>=RULES!$G$149,\"1?\",IF($W873>=RULES!$G$149,\"2?\",IF($X873>=RULES!$G$149,\"3?\",IF($Y873>=RULES!$G$149,\"4?\",IF($Z873>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB873<>\"*\",\"~\",IF((V873+W873>=RULES!$F$149),\"12\",IF((W873+X873>=RULES!$F$149),\"23\",IF((X873+Y873>=RULES!$F$149),\"34\",IF((Y873+Z873>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC873<>\"*\",\"~\",IF(Y873+Z873<(1-RULES!$F$149),\"13\",IF(V873+Z873<(1-RULES!$F$149),\"24\",IF(V873+W873<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F873=\"X\",$F873=\"H\",$F873=\"Z-ERROR\",AND($AA873=\"H\",$AH873)),$AE873,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P873,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L873,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M873,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N873,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E873&\"1\",IF(NOT($AH873),$E873&\"U\",$AE873)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN873","v":""},{"$f":"'Calculator Table'!BR873","v":0},{"$f":"Calculate!AV873","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A883","v":0},{"$f":"IF(F883=\"X\",\"X\",(IF(F883<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H883),0,Calculate!H883),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N883),0,Calculate!N883),IF(ISERROR(Calculate!J883),0,Calculate!J883))))))","v":0},{"$f":"IF(F883=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I883),$C$2,Calculate!I883),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O883),$C$2,Calculate!O883),IF(ISERROR(Calculate!K883),$C$2,Calculate!K883))))","v":5.5},{"$f":"AF883 & IF(OR($AH883,RIGHT($AF883,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P883","v":"S"},{"$f":"Calculate!Q883","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F883=\"X\",$F883=\"H\",$F883=\"Z-ERROR\"),$F883,IF($V883>=RULES!$F$149,\"1\",IF($W883>=RULES!$F$149,\"2\",IF($X883>=RULES!$F$149,\"3\",IF($Y883>=RULES!$F$149,\"4\",IF($Z883>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA883<>\"*\",\"~\",IF($V883>=RULES!$G$149,\"1?\",IF($W883>=RULES!$G$149,\"2?\",IF($X883>=RULES!$G$149,\"3?\",IF($Y883>=RULES!$G$149,\"4?\",IF($Z883>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB883<>\"*\",\"~\",IF((V883+W883>=RULES!$F$149),\"12\",IF((W883+X883>=RULES!$F$149),\"23\",IF((X883+Y883>=RULES!$F$149),\"34\",IF((Y883+Z883>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC883<>\"*\",\"~\",IF(Y883+Z883<(1-RULES!$F$149),\"13\",IF(V883+Z883<(1-RULES!$F$149),\"24\",IF(V883+W883<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F883=\"X\",$F883=\"H\",$F883=\"Z-ERROR\",AND($AA883=\"H\",$AH883)),$AE883,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P883,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L883,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M883,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N883,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E883&\"1\",IF(NOT($AH883),$E883&\"U\",$AE883)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN883","v":""},{"$f":"'Calculator Table'!BR883","v":0},{"$f":"Calculate!AV883","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A890","v":0},{"$f":"IF(F890=\"X\",\"X\",(IF(F890<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H890),0,Calculate!H890),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N890),0,Calculate!N890),IF(ISERROR(Calculate!J890),0,Calculate!J890))))))","v":0},{"$f":"IF(F890=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I890),$C$2,Calculate!I890),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O890),$C$2,Calculate!O890),IF(ISERROR(Calculate!K890),$C$2,Calculate!K890))))","v":5.5},{"$f":"AF890 & IF(OR($AH890,RIGHT($AF890,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P890","v":"S"},{"$f":"Calculate!Q890","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F890=\"X\",$F890=\"H\",$F890=\"Z-ERROR\"),$F890,IF($V890>=RULES!$F$149,\"1\",IF($W890>=RULES!$F$149,\"2\",IF($X890>=RULES!$F$149,\"3\",IF($Y890>=RULES!$F$149,\"4\",IF($Z890>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA890<>\"*\",\"~\",IF($V890>=RULES!$G$149,\"1?\",IF($W890>=RULES!$G$149,\"2?\",IF($X890>=RULES!$G$149,\"3?\",IF($Y890>=RULES!$G$149,\"4?\",IF($Z890>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB890<>\"*\",\"~\",IF((V890+W890>=RULES!$F$149),\"12\",IF((W890+X890>=RULES!$F$149),\"23\",IF((X890+Y890>=RULES!$F$149),\"34\",IF((Y890+Z890>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC890<>\"*\",\"~\",IF(Y890+Z890<(1-RULES!$F$149),\"13\",IF(V890+Z890<(1-RULES!$F$149),\"24\",IF(V890+W890<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F890=\"X\",$F890=\"H\",$F890=\"Z-ERROR\",AND($AA890=\"H\",$AH890)),$AE890,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P890,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L890,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M890,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N890,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E890&\"1\",IF(NOT($AH890),$E890&\"U\",$AE890)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN890","v":""},{"$f":"'Calculator Table'!BR890","v":0},{"$f":"Calculate!AV890","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A897","v":0},{"$f":"IF(F897=\"X\",\"X\",(IF(F897<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H897),0,Calculate!H897),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N897),0,Calculate!N897),IF(ISERROR(Calculate!J897),0,Calculate!J897))))))","v":0},{"$f":"IF(F897=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I897),$C$2,Calculate!I897),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O897),$C$2,Calculate!O897),IF(ISERROR(Calculate!K897),$C$2,Calculate!K897))))","v":5.5},{"$f":"AF897 & IF(OR($AH897,RIGHT($AF897,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P897","v":"S"},{"$f":"Calculate!Q897","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F897=\"X\",$F897=\"H\",$F897=\"Z-ERROR\"),$F897,IF($V897>=RULES!$F$149,\"1\",IF($W897>=RULES!$F$149,\"2\",IF($X897>=RULES!$F$149,\"3\",IF($Y897>=RULES!$F$149,\"4\",IF($Z897>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA897<>\"*\",\"~\",IF($V897>=RULES!$G$149,\"1?\",IF($W897>=RULES!$G$149,\"2?\",IF($X897>=RULES!$G$149,\"3?\",IF($Y897>=RULES!$G$149,\"4?\",IF($Z897>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB897<>\"*\",\"~\",IF((V897+W897>=RULES!$F$149),\"12\",IF((W897+X897>=RULES!$F$149),\"23\",IF((X897+Y897>=RULES!$F$149),\"34\",IF((Y897+Z897>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC897<>\"*\",\"~\",IF(Y897+Z897<(1-RULES!$F$149),\"13\",IF(V897+Z897<(1-RULES!$F$149),\"24\",IF(V897+W897<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F897=\"X\",$F897=\"H\",$F897=\"Z-ERROR\",AND($AA897=\"H\",$AH897)),$AE897,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P897,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L897,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M897,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N897,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E897&\"1\",IF(NOT($AH897),$E897&\"U\",$AE897)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN897","v":""},{"$f":"'Calculator Table'!BR897","v":0},{"$f":"Calculate!AV897","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A907","v":0},{"$f":"IF(F907=\"X\",\"X\",(IF(F907<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H907),0,Calculate!H907),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N907),0,Calculate!N907),IF(ISERROR(Calculate!J907),0,Calculate!J907))))))","v":0},{"$f":"IF(F907=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I907),$C$2,Calculate!I907),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O907),$C$2,Calculate!O907),IF(ISERROR(Calculate!K907),$C$2,Calculate!K907))))","v":5.5},{"$f":"AF907 & IF(OR($AH907,RIGHT($AF907,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P907","v":"S"},{"$f":"Calculate!Q907","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F907=\"X\",$F907=\"H\",$F907=\"Z-ERROR\"),$F907,IF($V907>=RULES!$F$149,\"1\",IF($W907>=RULES!$F$149,\"2\",IF($X907>=RULES!$F$149,\"3\",IF($Y907>=RULES!$F$149,\"4\",IF($Z907>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA907<>\"*\",\"~\",IF($V907>=RULES!$G$149,\"1?\",IF($W907>=RULES!$G$149,\"2?\",IF($X907>=RULES!$G$149,\"3?\",IF($Y907>=RULES!$G$149,\"4?\",IF($Z907>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB907<>\"*\",\"~\",IF((V907+W907>=RULES!$F$149),\"12\",IF((W907+X907>=RULES!$F$149),\"23\",IF((X907+Y907>=RULES!$F$149),\"34\",IF((Y907+Z907>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC907<>\"*\",\"~\",IF(Y907+Z907<(1-RULES!$F$149),\"13\",IF(V907+Z907<(1-RULES!$F$149),\"24\",IF(V907+W907<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F907=\"X\",$F907=\"H\",$F907=\"Z-ERROR\",AND($AA907=\"H\",$AH907)),$AE907,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P907,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L907,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M907,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N907,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E907&\"1\",IF(NOT($AH907),$E907&\"U\",$AE907)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN907","v":""},{"$f":"'Calculator Table'!BR907","v":0},{"$f":"Calculate!AV907","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A911","v":0},{"$f":"IF(F911=\"X\",\"X\",(IF(F911<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H911),0,Calculate!H911),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N911),0,Calculate!N911),IF(ISERROR(Calculate!J911),0,Calculate!J911))))))","v":0},{"$f":"IF(F911=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I911),$C$2,Calculate!I911),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O911),$C$2,Calculate!O911),IF(ISERROR(Calculate!K911),$C$2,Calculate!K911))))","v":5.5},{"$f":"AF911 & IF(OR($AH911,RIGHT($AF911,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P911","v":"S"},{"$f":"Calculate!Q911","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F911=\"X\",$F911=\"H\",$F911=\"Z-ERROR\"),$F911,IF($V911>=RULES!$F$149,\"1\",IF($W911>=RULES!$F$149,\"2\",IF($X911>=RULES!$F$149,\"3\",IF($Y911>=RULES!$F$149,\"4\",IF($Z911>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA911<>\"*\",\"~\",IF($V911>=RULES!$G$149,\"1?\",IF($W911>=RULES!$G$149,\"2?\",IF($X911>=RULES!$G$149,\"3?\",IF($Y911>=RULES!$G$149,\"4?\",IF($Z911>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB911<>\"*\",\"~\",IF((V911+W911>=RULES!$F$149),\"12\",IF((W911+X911>=RULES!$F$149),\"23\",IF((X911+Y911>=RULES!$F$149),\"34\",IF((Y911+Z911>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC911<>\"*\",\"~\",IF(Y911+Z911<(1-RULES!$F$149),\"13\",IF(V911+Z911<(1-RULES!$F$149),\"24\",IF(V911+W911<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F911=\"X\",$F911=\"H\",$F911=\"Z-ERROR\",AND($AA911=\"H\",$AH911)),$AE911,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P911,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L911,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M911,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N911,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E911&\"1\",IF(NOT($AH911),$E911&\"U\",$AE911)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN911","v":""},{"$f":"'Calculator Table'!BR911","v":0},{"$f":"Calculate!AV911","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A916","v":0},{"$f":"IF(F916=\"X\",\"X\",(IF(F916<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H916),0,Calculate!H916),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N916),0,Calculate!N916),IF(ISERROR(Calculate!J916),0,Calculate!J916))))))","v":0},{"$f":"IF(F916=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I916),$C$2,Calculate!I916),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O916),$C$2,Calculate!O916),IF(ISERROR(Calculate!K916),$C$2,Calculate!K916))))","v":5.5},{"$f":"AF916 & IF(OR($AH916,RIGHT($AF916,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P916","v":"S"},{"$f":"Calculate!Q916","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F916=\"X\",$F916=\"H\",$F916=\"Z-ERROR\"),$F916,IF($V916>=RULES!$F$149,\"1\",IF($W916>=RULES!$F$149,\"2\",IF($X916>=RULES!$F$149,\"3\",IF($Y916>=RULES!$F$149,\"4\",IF($Z916>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA916<>\"*\",\"~\",IF($V916>=RULES!$G$149,\"1?\",IF($W916>=RULES!$G$149,\"2?\",IF($X916>=RULES!$G$149,\"3?\",IF($Y916>=RULES!$G$149,\"4?\",IF($Z916>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB916<>\"*\",\"~\",IF((V916+W916>=RULES!$F$149),\"12\",IF((W916+X916>=RULES!$F$149),\"23\",IF((X916+Y916>=RULES!$F$149),\"34\",IF((Y916+Z916>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC916<>\"*\",\"~\",IF(Y916+Z916<(1-RULES!$F$149),\"13\",IF(V916+Z916<(1-RULES!$F$149),\"24\",IF(V916+W916<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F916=\"X\",$F916=\"H\",$F916=\"Z-ERROR\",AND($AA916=\"H\",$AH916)),$AE916,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P916,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L916,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M916,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N916,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E916&\"1\",IF(NOT($AH916),$E916&\"U\",$AE916)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN916","v":""},{"$f":"'Calculator Table'!BR916","v":0},{"$f":"Calculate!AV916","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A925","v":0},{"$f":"IF(F925=\"X\",\"X\",(IF(F925<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H925),0,Calculate!H925),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N925),0,Calculate!N925),IF(ISERROR(Calculate!J925),0,Calculate!J925))))))","v":0},{"$f":"IF(F925=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I925),$C$2,Calculate!I925),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O925),$C$2,Calculate!O925),IF(ISERROR(Calculate!K925),$C$2,Calculate!K925))))","v":5.5},{"$f":"AF925 & IF(OR($AH925,RIGHT($AF925,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P925","v":"S"},{"$f":"Calculate!Q925","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F925=\"X\",$F925=\"H\",$F925=\"Z-ERROR\"),$F925,IF($V925>=RULES!$F$149,\"1\",IF($W925>=RULES!$F$149,\"2\",IF($X925>=RULES!$F$149,\"3\",IF($Y925>=RULES!$F$149,\"4\",IF($Z925>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA925<>\"*\",\"~\",IF($V925>=RULES!$G$149,\"1?\",IF($W925>=RULES!$G$149,\"2?\",IF($X925>=RULES!$G$149,\"3?\",IF($Y925>=RULES!$G$149,\"4?\",IF($Z925>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB925<>\"*\",\"~\",IF((V925+W925>=RULES!$F$149),\"12\",IF((W925+X925>=RULES!$F$149),\"23\",IF((X925+Y925>=RULES!$F$149),\"34\",IF((Y925+Z925>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC925<>\"*\",\"~\",IF(Y925+Z925<(1-RULES!$F$149),\"13\",IF(V925+Z925<(1-RULES!$F$149),\"24\",IF(V925+W925<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F925=\"X\",$F925=\"H\",$F925=\"Z-ERROR\",AND($AA925=\"H\",$AH925)),$AE925,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P925,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L925,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M925,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N925,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E925&\"1\",IF(NOT($AH925),$E925&\"U\",$AE925)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN925","v":""},{"$f":"'Calculator Table'!BR925","v":0},{"$f":"Calculate!AV925","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A934","v":0},{"$f":"IF(F934=\"X\",\"X\",(IF(F934<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H934),0,Calculate!H934),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N934),0,Calculate!N934),IF(ISERROR(Calculate!J934),0,Calculate!J934))))))","v":0},{"$f":"IF(F934=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I934),$C$2,Calculate!I934),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O934),$C$2,Calculate!O934),IF(ISERROR(Calculate!K934),$C$2,Calculate!K934))))","v":5.5},{"$f":"AF934 & IF(OR($AH934,RIGHT($AF934,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P934","v":"S"},{"$f":"Calculate!Q934","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F934=\"X\",$F934=\"H\",$F934=\"Z-ERROR\"),$F934,IF($V934>=RULES!$F$149,\"1\",IF($W934>=RULES!$F$149,\"2\",IF($X934>=RULES!$F$149,\"3\",IF($Y934>=RULES!$F$149,\"4\",IF($Z934>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA934<>\"*\",\"~\",IF($V934>=RULES!$G$149,\"1?\",IF($W934>=RULES!$G$149,\"2?\",IF($X934>=RULES!$G$149,\"3?\",IF($Y934>=RULES!$G$149,\"4?\",IF($Z934>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB934<>\"*\",\"~\",IF((V934+W934>=RULES!$F$149),\"12\",IF((W934+X934>=RULES!$F$149),\"23\",IF((X934+Y934>=RULES!$F$149),\"34\",IF((Y934+Z934>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC934<>\"*\",\"~\",IF(Y934+Z934<(1-RULES!$F$149),\"13\",IF(V934+Z934<(1-RULES!$F$149),\"24\",IF(V934+W934<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F934=\"X\",$F934=\"H\",$F934=\"Z-ERROR\",AND($AA934=\"H\",$AH934)),$AE934,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P934,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L934,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M934,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N934,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E934&\"1\",IF(NOT($AH934),$E934&\"U\",$AE934)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN934","v":""},{"$f":"'Calculator Table'!BR934","v":0},{"$f":"Calculate!AV934","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A942","v":0},{"$f":"IF(F942=\"X\",\"X\",(IF(F942<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H942),0,Calculate!H942),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N942),0,Calculate!N942),IF(ISERROR(Calculate!J942),0,Calculate!J942))))))","v":0},{"$f":"IF(F942=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I942),$C$2,Calculate!I942),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O942),$C$2,Calculate!O942),IF(ISERROR(Calculate!K942),$C$2,Calculate!K942))))","v":5.5},{"$f":"AF942 & IF(OR($AH942,RIGHT($AF942,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P942","v":"S"},{"$f":"Calculate!Q942","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F942=\"X\",$F942=\"H\",$F942=\"Z-ERROR\"),$F942,IF($V942>=RULES!$F$149,\"1\",IF($W942>=RULES!$F$149,\"2\",IF($X942>=RULES!$F$149,\"3\",IF($Y942>=RULES!$F$149,\"4\",IF($Z942>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA942<>\"*\",\"~\",IF($V942>=RULES!$G$149,\"1?\",IF($W942>=RULES!$G$149,\"2?\",IF($X942>=RULES!$G$149,\"3?\",IF($Y942>=RULES!$G$149,\"4?\",IF($Z942>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB942<>\"*\",\"~\",IF((V942+W942>=RULES!$F$149),\"12\",IF((W942+X942>=RULES!$F$149),\"23\",IF((X942+Y942>=RULES!$F$149),\"34\",IF((Y942+Z942>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC942<>\"*\",\"~\",IF(Y942+Z942<(1-RULES!$F$149),\"13\",IF(V942+Z942<(1-RULES!$F$149),\"24\",IF(V942+W942<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F942=\"X\",$F942=\"H\",$F942=\"Z-ERROR\",AND($AA942=\"H\",$AH942)),$AE942,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P942,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L942,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M942,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N942,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E942&\"1\",IF(NOT($AH942),$E942&\"U\",$AE942)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN942","v":""},{"$f":"'Calculator Table'!BR942","v":0},{"$f":"Calculate!AV942","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A948","v":0},{"$f":"IF(F948=\"X\",\"X\",(IF(F948<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H948),0,Calculate!H948),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N948),0,Calculate!N948),IF(ISERROR(Calculate!J948),0,Calculate!J948))))))","v":0},{"$f":"IF(F948=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I948),$C$2,Calculate!I948),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O948),$C$2,Calculate!O948),IF(ISERROR(Calculate!K948),$C$2,Calculate!K948))))","v":5.5},{"$f":"AF948 & IF(OR($AH948,RIGHT($AF948,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P948","v":"S"},{"$f":"Calculate!Q948","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F948=\"X\",$F948=\"H\",$F948=\"Z-ERROR\"),$F948,IF($V948>=RULES!$F$149,\"1\",IF($W948>=RULES!$F$149,\"2\",IF($X948>=RULES!$F$149,\"3\",IF($Y948>=RULES!$F$149,\"4\",IF($Z948>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA948<>\"*\",\"~\",IF($V948>=RULES!$G$149,\"1?\",IF($W948>=RULES!$G$149,\"2?\",IF($X948>=RULES!$G$149,\"3?\",IF($Y948>=RULES!$G$149,\"4?\",IF($Z948>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB948<>\"*\",\"~\",IF((V948+W948>=RULES!$F$149),\"12\",IF((W948+X948>=RULES!$F$149),\"23\",IF((X948+Y948>=RULES!$F$149),\"34\",IF((Y948+Z948>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC948<>\"*\",\"~\",IF(Y948+Z948<(1-RULES!$F$149),\"13\",IF(V948+Z948<(1-RULES!$F$149),\"24\",IF(V948+W948<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F948=\"X\",$F948=\"H\",$F948=\"Z-ERROR\",AND($AA948=\"H\",$AH948)),$AE948,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P948,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L948,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M948,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N948,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E948&\"1\",IF(NOT($AH948),$E948&\"U\",$AE948)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN948","v":""},{"$f":"'Calculator Table'!BR948","v":0},{"$f":"Calculate!AV948","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A959","v":0},{"$f":"IF(F959=\"X\",\"X\",(IF(F959<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H959),0,Calculate!H959),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N959),0,Calculate!N959),IF(ISERROR(Calculate!J959),0,Calculate!J959))))))","v":0},{"$f":"IF(F959=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I959),$C$2,Calculate!I959),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O959),$C$2,Calculate!O959),IF(ISERROR(Calculate!K959),$C$2,Calculate!K959))))","v":5.5},{"$f":"AF959 & IF(OR($AH959,RIGHT($AF959,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P959","v":"S"},{"$f":"Calculate!Q959","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F959=\"X\",$F959=\"H\",$F959=\"Z-ERROR\"),$F959,IF($V959>=RULES!$F$149,\"1\",IF($W959>=RULES!$F$149,\"2\",IF($X959>=RULES!$F$149,\"3\",IF($Y959>=RULES!$F$149,\"4\",IF($Z959>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA959<>\"*\",\"~\",IF($V959>=RULES!$G$149,\"1?\",IF($W959>=RULES!$G$149,\"2?\",IF($X959>=RULES!$G$149,\"3?\",IF($Y959>=RULES!$G$149,\"4?\",IF($Z959>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB959<>\"*\",\"~\",IF((V959+W959>=RULES!$F$149),\"12\",IF((W959+X959>=RULES!$F$149),\"23\",IF((X959+Y959>=RULES!$F$149),\"34\",IF((Y959+Z959>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC959<>\"*\",\"~\",IF(Y959+Z959<(1-RULES!$F$149),\"13\",IF(V959+Z959<(1-RULES!$F$149),\"24\",IF(V959+W959<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F959=\"X\",$F959=\"H\",$F959=\"Z-ERROR\",AND($AA959=\"H\",$AH959)),$AE959,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P959,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L959,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M959,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N959,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E959&\"1\",IF(NOT($AH959),$E959&\"U\",$AE959)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN959","v":""},{"$f":"'Calculator Table'!BR959","v":0},{"$f":"Calculate!AV959","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A965","v":0},{"$f":"IF(F965=\"X\",\"X\",(IF(F965<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H965),0,Calculate!H965),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N965),0,Calculate!N965),IF(ISERROR(Calculate!J965),0,Calculate!J965))))))","v":0},{"$f":"IF(F965=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I965),$C$2,Calculate!I965),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O965),$C$2,Calculate!O965),IF(ISERROR(Calculate!K965),$C$2,Calculate!K965))))","v":5.5},{"$f":"AF965 & IF(OR($AH965,RIGHT($AF965,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P965","v":"S"},{"$f":"Calculate!Q965","v":"*"},{"$f":"B965","v":0},{"$f":"C965","v":5.5},{"$f":"AF965","v":{"$error":"#VALUE!"}},{"$f":"IF(G965=\"H\",0,MIN(MAX(G965,0),$C$2))","v":0},{"$f":"IF(H965=\"H\",0,MIN(MAX(H965,0),$C$2))","v":5.5},{"$f":"K965-J965","v":5.5},{"$f":"IF(L965=0,IF(J965<=1.5,1,IF(J965<=2.5,2,IF(J965<=3.5,3,IF(J965<=4.5,4,5)))),0)","v":0},{"$f":"IF($J965<=1.5,IF($K965<=1.5,$L965,1.5-$J965),0)","v":1.5},{"$f":"IF($J965<=2.5,IF($K965<=2.5,$L965,2.5-$J965),0)","v":2.5},{"$f":"IF($J965<=3.5,IF($K965<=3.5,$L965,3.5-$J965),0)","v":3.5},{"$f":"IF($J965<=4.5,IF($K965<=4.5,$L965,4.5-$J965),0)","v":4.5},{"$f":"IF($K965<=1.5,0,IF($J965>1.5,$L965,$K965-1.5))","v":4},{"$f":"IF($K965<=2.5,0,IF($J965>2.5,$L965,$K965-2.5))","v":3},{"$f":"IF($K965<=3.5,0,IF($J965>3.5,$L965,$K965-3.5))","v":2},{"$f":"IF($K965<=4.5,0,IF($J965>4.5,$L965,$K965-4.5))","v":1},0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F965=\"X\",$F965=\"H\",$F965=\"Z-ERROR\"),$F965,IF($V965>=RULES!$F$149,\"1\",IF($W965>=RULES!$F$149,\"2\",IF($X965>=RULES!$F$149,\"3\",IF($Y965>=RULES!$F$149,\"4\",IF($Z965>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA965<>\"*\",\"~\",IF($V965>=RULES!$G$149,\"1?\",IF($W965>=RULES!$G$149,\"2?\",IF($X965>=RULES!$G$149,\"3?\",IF($Y965>=RULES!$G$149,\"4?\",IF($Z965>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB965<>\"*\",\"~\",IF((V965+W965>=RULES!$F$149),\"12\",IF((W965+X965>=RULES!$F$149),\"23\",IF((X965+Y965>=RULES!$F$149),\"34\",IF((Y965+Z965>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC965<>\"*\",\"~\",IF(Y965+Z965<(1-RULES!$F$149),\"13\",IF(V965+Z965<(1-RULES!$F$149),\"24\",IF(V965+W965<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F965=\"X\",$F965=\"H\",$F965=\"Z-ERROR\",AND($AA965=\"H\",$AH965)),$AE965,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P965,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L965,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M965,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N965,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E965&\"1\",IF(NOT($AH965),$E965&\"U\",$AE965)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN965","v":""},{"$f":"'Calculator Table'!BR965","v":0},{"$f":"Calculate!AV965","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A968","v":0},{"$f":"IF(F968=\"X\",\"X\",(IF(F968<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H968),0,Calculate!H968),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N968),0,Calculate!N968),IF(ISERROR(Calculate!J968),0,Calculate!J968))))))","v":0},{"$f":"IF(F968=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I968),$C$2,Calculate!I968),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O968),$C$2,Calculate!O968),IF(ISERROR(Calculate!K968),$C$2,Calculate!K968))))","v":5.5},{"$f":"AF968 & IF(OR($AH968,RIGHT($AF968,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P968","v":"S"},{"$f":"Calculate!Q968","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F968=\"X\",$F968=\"H\",$F968=\"Z-ERROR\"),$F968,IF($V968>=RULES!$F$149,\"1\",IF($W968>=RULES!$F$149,\"2\",IF($X968>=RULES!$F$149,\"3\",IF($Y968>=RULES!$F$149,\"4\",IF($Z968>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA968<>\"*\",\"~\",IF($V968>=RULES!$G$149,\"1?\",IF($W968>=RULES!$G$149,\"2?\",IF($X968>=RULES!$G$149,\"3?\",IF($Y968>=RULES!$G$149,\"4?\",IF($Z968>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB968<>\"*\",\"~\",IF((V968+W968>=RULES!$F$149),\"12\",IF((W968+X968>=RULES!$F$149),\"23\",IF((X968+Y968>=RULES!$F$149),\"34\",IF((Y968+Z968>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC968<>\"*\",\"~\",IF(Y968+Z968<(1-RULES!$F$149),\"13\",IF(V968+Z968<(1-RULES!$F$149),\"24\",IF(V968+W968<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F968=\"X\",$F968=\"H\",$F968=\"Z-ERROR\",AND($AA968=\"H\",$AH968)),$AE968,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P968,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L968,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M968,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N968,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E968&\"1\",IF(NOT($AH968),$E968&\"U\",$AE968)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN968","v":""},{"$f":"'Calculator Table'!BR968","v":0},{"$f":"Calculate!AV968","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A979","v":0},{"$f":"IF(F979=\"X\",\"X\",(IF(F979<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H979),0,Calculate!H979),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N979),0,Calculate!N979),IF(ISERROR(Calculate!J979),0,Calculate!J979))))))","v":0},{"$f":"IF(F979=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I979),$C$2,Calculate!I979),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O979),$C$2,Calculate!O979),IF(ISERROR(Calculate!K979),$C$2,Calculate!K979))))","v":5.5},{"$f":"AF979 & IF(OR($AH979,RIGHT($AF979,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P979","v":"S"},{"$f":"Calculate!Q979","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F979=\"X\",$F979=\"H\",$F979=\"Z-ERROR\"),$F979,IF($V979>=RULES!$F$149,\"1\",IF($W979>=RULES!$F$149,\"2\",IF($X979>=RULES!$F$149,\"3\",IF($Y979>=RULES!$F$149,\"4\",IF($Z979>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA979<>\"*\",\"~\",IF($V979>=RULES!$G$149,\"1?\",IF($W979>=RULES!$G$149,\"2?\",IF($X979>=RULES!$G$149,\"3?\",IF($Y979>=RULES!$G$149,\"4?\",IF($Z979>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB979<>\"*\",\"~\",IF((V979+W979>=RULES!$F$149),\"12\",IF((W979+X979>=RULES!$F$149),\"23\",IF((X979+Y979>=RULES!$F$149),\"34\",IF((Y979+Z979>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC979<>\"*\",\"~\",IF(Y979+Z979<(1-RULES!$F$149),\"13\",IF(V979+Z979<(1-RULES!$F$149),\"24\",IF(V979+W979<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F979=\"X\",$F979=\"H\",$F979=\"Z-ERROR\",AND($AA979=\"H\",$AH979)),$AE979,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P979,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L979,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M979,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N979,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E979&\"1\",IF(NOT($AH979),$E979&\"U\",$AE979)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN979","v":""},{"$f":"'Calculator Table'!BR979","v":0},{"$f":"Calculate!AV979","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A985","v":0},{"$f":"IF(F985=\"X\",\"X\",(IF(F985<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H985),0,Calculate!H985),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N985),0,Calculate!N985),IF(ISERROR(Calculate!J985),0,Calculate!J985))))))","v":0},{"$f":"IF(F985=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I985),$C$2,Calculate!I985),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O985),$C$2,Calculate!O985),IF(ISERROR(Calculate!K985),$C$2,Calculate!K985))))","v":5.5},{"$f":"AF985 & IF(OR($AH985,RIGHT($AF985,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P985","v":"S"},{"$f":"Calculate!Q985","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F985=\"X\",$F985=\"H\",$F985=\"Z-ERROR\"),$F985,IF($V985>=RULES!$F$149,\"1\",IF($W985>=RULES!$F$149,\"2\",IF($X985>=RULES!$F$149,\"3\",IF($Y985>=RULES!$F$149,\"4\",IF($Z985>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA985<>\"*\",\"~\",IF($V985>=RULES!$G$149,\"1?\",IF($W985>=RULES!$G$149,\"2?\",IF($X985>=RULES!$G$149,\"3?\",IF($Y985>=RULES!$G$149,\"4?\",IF($Z985>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB985<>\"*\",\"~\",IF((V985+W985>=RULES!$F$149),\"12\",IF((W985+X985>=RULES!$F$149),\"23\",IF((X985+Y985>=RULES!$F$149),\"34\",IF((Y985+Z985>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC985<>\"*\",\"~\",IF(Y985+Z985<(1-RULES!$F$149),\"13\",IF(V985+Z985<(1-RULES!$F$149),\"24\",IF(V985+W985<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F985=\"X\",$F985=\"H\",$F985=\"Z-ERROR\",AND($AA985=\"H\",$AH985)),$AE985,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P985,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L985,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M985,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N985,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E985&\"1\",IF(NOT($AH985),$E985&\"U\",$AE985)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN985","v":""},{"$f":"'Calculator Table'!BR985","v":0},{"$f":"Calculate!AV985","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A994","v":0},{"$f":"IF(F994=\"X\",\"X\",(IF(F994<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H994),0,Calculate!H994),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N994),0,Calculate!N994),IF(ISERROR(Calculate!J994),0,Calculate!J994))))))","v":0},{"$f":"IF(F994=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I994),$C$2,Calculate!I994),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O994),$C$2,Calculate!O994),IF(ISERROR(Calculate!K994),$C$2,Calculate!K994))))","v":5.5},{"$f":"AF994 & IF(OR($AH994,RIGHT($AF994,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P994","v":"S"},{"$f":"Calculate!Q994","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F994=\"X\",$F994=\"H\",$F994=\"Z-ERROR\"),$F994,IF($V994>=RULES!$F$149,\"1\",IF($W994>=RULES!$F$149,\"2\",IF($X994>=RULES!$F$149,\"3\",IF($Y994>=RULES!$F$149,\"4\",IF($Z994>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA994<>\"*\",\"~\",IF($V994>=RULES!$G$149,\"1?\",IF($W994>=RULES!$G$149,\"2?\",IF($X994>=RULES!$G$149,\"3?\",IF($Y994>=RULES!$G$149,\"4?\",IF($Z994>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB994<>\"*\",\"~\",IF((V994+W994>=RULES!$F$149),\"12\",IF((W994+X994>=RULES!$F$149),\"23\",IF((X994+Y994>=RULES!$F$149),\"34\",IF((Y994+Z994>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC994<>\"*\",\"~\",IF(Y994+Z994<(1-RULES!$F$149),\"13\",IF(V994+Z994<(1-RULES!$F$149),\"24\",IF(V994+W994<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F994=\"X\",$F994=\"H\",$F994=\"Z-ERROR\",AND($AA994=\"H\",$AH994)),$AE994,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P994,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L994,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M994,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N994,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E994&\"1\",IF(NOT($AH994),$E994&\"U\",$AE994)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN994","v":""},{"$f":"'Calculator Table'!BR994","v":0},{"$f":"Calculate!AV994","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1002","v":0},{"$f":"IF(F1002=\"X\",\"X\",(IF(F1002<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1002),0,Calculate!H1002),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1002),0,Calculate!N1002),IF(ISERROR(Calculate!J1002),0,Calculate!J1002))))))","v":0},{"$f":"IF(F1002=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1002),$C$2,Calculate!I1002),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1002),$C$2,Calculate!O1002),IF(ISERROR(Calculate!K1002),$C$2,Calculate!K1002))))","v":5.5},{"$f":"AF1002 & IF(OR($AH1002,RIGHT($AF1002,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1002","v":"S"},{"$f":"Calculate!Q1002","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1002=\"X\",$F1002=\"H\",$F1002=\"Z-ERROR\"),$F1002,IF($V1002>=RULES!$F$149,\"1\",IF($W1002>=RULES!$F$149,\"2\",IF($X1002>=RULES!$F$149,\"3\",IF($Y1002>=RULES!$F$149,\"4\",IF($Z1002>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1002<>\"*\",\"~\",IF($V1002>=RULES!$G$149,\"1?\",IF($W1002>=RULES!$G$149,\"2?\",IF($X1002>=RULES!$G$149,\"3?\",IF($Y1002>=RULES!$G$149,\"4?\",IF($Z1002>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1002<>\"*\",\"~\",IF((V1002+W1002>=RULES!$F$149),\"12\",IF((W1002+X1002>=RULES!$F$149),\"23\",IF((X1002+Y1002>=RULES!$F$149),\"34\",IF((Y1002+Z1002>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1002<>\"*\",\"~\",IF(Y1002+Z1002<(1-RULES!$F$149),\"13\",IF(V1002+Z1002<(1-RULES!$F$149),\"24\",IF(V1002+W1002<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1002=\"X\",$F1002=\"H\",$F1002=\"Z-ERROR\",AND($AA1002=\"H\",$AH1002)),$AE1002,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1002,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1002,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1002,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1002,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1002&\"1\",IF(NOT($AH1002),$E1002&\"U\",$AE1002)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1002","v":""},{"$f":"'Calculator Table'!BR1002","v":0},{"$f":"Calculate!AV1002","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1011","v":0},{"$f":"IF(F1011=\"X\",\"X\",(IF(F1011<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1011),0,Calculate!H1011),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1011),0,Calculate!N1011),IF(ISERROR(Calculate!J1011),0,Calculate!J1011))))))","v":0},{"$f":"IF(F1011=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1011),$C$2,Calculate!I1011),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1011),$C$2,Calculate!O1011),IF(ISERROR(Calculate!K1011),$C$2,Calculate!K1011))))","v":5.5},{"$f":"AF1011 & IF(OR($AH1011,RIGHT($AF1011,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1011","v":"S"},{"$f":"Calculate!Q1011","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1011=\"X\",$F1011=\"H\",$F1011=\"Z-ERROR\"),$F1011,IF($V1011>=RULES!$F$149,\"1\",IF($W1011>=RULES!$F$149,\"2\",IF($X1011>=RULES!$F$149,\"3\",IF($Y1011>=RULES!$F$149,\"4\",IF($Z1011>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1011<>\"*\",\"~\",IF($V1011>=RULES!$G$149,\"1?\",IF($W1011>=RULES!$G$149,\"2?\",IF($X1011>=RULES!$G$149,\"3?\",IF($Y1011>=RULES!$G$149,\"4?\",IF($Z1011>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1011<>\"*\",\"~\",IF((V1011+W1011>=RULES!$F$149),\"12\",IF((W1011+X1011>=RULES!$F$149),\"23\",IF((X1011+Y1011>=RULES!$F$149),\"34\",IF((Y1011+Z1011>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1011<>\"*\",\"~\",IF(Y1011+Z1011<(1-RULES!$F$149),\"13\",IF(V1011+Z1011<(1-RULES!$F$149),\"24\",IF(V1011+W1011<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1011=\"X\",$F1011=\"H\",$F1011=\"Z-ERROR\",AND($AA1011=\"H\",$AH1011)),$AE1011,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1011,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1011,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1011,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1011,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1011&\"1\",IF(NOT($AH1011),$E1011&\"U\",$AE1011)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1011","v":""},{"$f":"'Calculator Table'!BR1011","v":0},{"$f":"Calculate!AV1011","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1016","v":0},{"$f":"IF(F1016=\"X\",\"X\",(IF(F1016<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1016),0,Calculate!H1016),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1016),0,Calculate!N1016),IF(ISERROR(Calculate!J1016),0,Calculate!J1016))))))","v":0},{"$f":"IF(F1016=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1016),$C$2,Calculate!I1016),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1016),$C$2,Calculate!O1016),IF(ISERROR(Calculate!K1016),$C$2,Calculate!K1016))))","v":5.5},{"$f":"AF1016 & IF(OR($AH1016,RIGHT($AF1016,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1016","v":"S"},{"$f":"Calculate!Q1016","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1016=\"X\",$F1016=\"H\",$F1016=\"Z-ERROR\"),$F1016,IF($V1016>=RULES!$F$149,\"1\",IF($W1016>=RULES!$F$149,\"2\",IF($X1016>=RULES!$F$149,\"3\",IF($Y1016>=RULES!$F$149,\"4\",IF($Z1016>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1016<>\"*\",\"~\",IF($V1016>=RULES!$G$149,\"1?\",IF($W1016>=RULES!$G$149,\"2?\",IF($X1016>=RULES!$G$149,\"3?\",IF($Y1016>=RULES!$G$149,\"4?\",IF($Z1016>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1016<>\"*\",\"~\",IF((V1016+W1016>=RULES!$F$149),\"12\",IF((W1016+X1016>=RULES!$F$149),\"23\",IF((X1016+Y1016>=RULES!$F$149),\"34\",IF((Y1016+Z1016>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1016<>\"*\",\"~\",IF(Y1016+Z1016<(1-RULES!$F$149),\"13\",IF(V1016+Z1016<(1-RULES!$F$149),\"24\",IF(V1016+W1016<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1016=\"X\",$F1016=\"H\",$F1016=\"Z-ERROR\",AND($AA1016=\"H\",$AH1016)),$AE1016,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1016,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1016,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1016,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1016,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1016&\"1\",IF(NOT($AH1016),$E1016&\"U\",$AE1016)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1016","v":""},{"$f":"'Calculator Table'!BR1016","v":0},{"$f":"Calculate!AV1016","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1028","v":0},{"$f":"IF(F1028=\"X\",\"X\",(IF(F1028<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1028),0,Calculate!H1028),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1028),0,Calculate!N1028),IF(ISERROR(Calculate!J1028),0,Calculate!J1028))))))","v":0},{"$f":"IF(F1028=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1028),$C$2,Calculate!I1028),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1028),$C$2,Calculate!O1028),IF(ISERROR(Calculate!K1028),$C$2,Calculate!K1028))))","v":5.5},{"$f":"AF1028 & IF(OR($AH1028,RIGHT($AF1028,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1028","v":"S"},{"$f":"Calculate!Q1028","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1028=\"X\",$F1028=\"H\",$F1028=\"Z-ERROR\"),$F1028,IF($V1028>=RULES!$F$149,\"1\",IF($W1028>=RULES!$F$149,\"2\",IF($X1028>=RULES!$F$149,\"3\",IF($Y1028>=RULES!$F$149,\"4\",IF($Z1028>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1028<>\"*\",\"~\",IF($V1028>=RULES!$G$149,\"1?\",IF($W1028>=RULES!$G$149,\"2?\",IF($X1028>=RULES!$G$149,\"3?\",IF($Y1028>=RULES!$G$149,\"4?\",IF($Z1028>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1028<>\"*\",\"~\",IF((V1028+W1028>=RULES!$F$149),\"12\",IF((W1028+X1028>=RULES!$F$149),\"23\",IF((X1028+Y1028>=RULES!$F$149),\"34\",IF((Y1028+Z1028>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1028<>\"*\",\"~\",IF(Y1028+Z1028<(1-RULES!$F$149),\"13\",IF(V1028+Z1028<(1-RULES!$F$149),\"24\",IF(V1028+W1028<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},{"$f":"IF(AA1028<>\"*\",CONCATENATE(E1028,AA1028),IF(AB1028<>\"*\",CONCATENATE(E1028,AB1028),IF(AC1028<>\"*\",CONCATENATE(E1028,LEFT(AC1028,1),E1028,RIGHT(AC1028,1)),IF(AD1028=\"NR\",CONCATENATE(E1028,\"NR\"),IF(AD1028=\"U\",CONCATENATE(E1028,\"U\"),CONCATENATE(E1028,LEFT(AD1028,1),E1028,RIGHT(AD1028,1)))))))","v":"SU"},{"$f":"IF(OR($F1028=\"X\",$F1028=\"H\",$F1028=\"Z-ERROR\",AND($AA1028=\"H\",$AH1028)),$AE1028,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1028,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1028,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1028,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1028,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1028&\"1\",IF(NOT($AH1028),$E1028&\"U\",$AE1028)))","v":{"$error":"#VALUE!"}},{"$f":"IF(AE1028=AF1028,\"\",\"changed\")","v":{"$error":"#VALUE!"}},{"$f":"'Calculator Table'!BN1028","v":""},{"$f":"'Calculator Table'!BR1028","v":0},{"$f":"Calculate!AV1028","v":2},null,null,null,null,null,{"$f":"AND(AF1028=AM1028)","v":{"$error":"#VALUE!"}}]
[{"$f":"Calculate!A1030","v":0},{"$f":"IF(F1030=\"X\",\"X\",(IF(F1030<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1030),0,Calculate!H1030),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1030),0,Calculate!N1030),IF(ISERROR(Calculate!J1030),0,Calculate!J1030))))))","v":0},{"$f":"IF(F1030=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1030),$C$2,Calculate!I1030),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1030),$C$2,Calculate!O1030),IF(ISERROR(Calculate!K1030),$C$2,Calculate!K1030))))","v":5.5},{"$f":"AF1030 & IF(OR($AH1030,RIGHT($AF1030,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1030","v":"S"},{"$f":"Calculate!Q1030","v":"*"},{"$f":"B1030","v":0},{"$f":"C1030","v":5.5},{"$f":"AF1030","v":{"$error":"#VALUE!"}},0,5.5,{"$f":"K1030-J1030","v":5.5},0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1030=\"X\",$F1030=\"H\",$F1030=\"Z-ERROR\"),$F1030,IF($V1030>=RULES!$F$149,\"1\",IF($W1030>=RULES!$F$149,\"2\",IF($X1030>=RULES!$F$149,\"3\",IF($Y1030>=RULES!$F$149,\"4\",IF($Z1030>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1030<>\"*\",\"~\",IF($V1030>=RULES!$G$149,\"1?\",IF($W1030>=RULES!$G$149,\"2?\",IF($X1030>=RULES!$G$149,\"3?\",IF($Y1030>=RULES!$G$149,\"4?\",IF($Z1030>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1030<>\"*\",\"~\",IF((V1030+W1030>=RULES!$F$149),\"12\",IF((W1030+X1030>=RULES!$F$149),\"23\",IF((X1030+Y1030>=RULES!$F$149),\"34\",IF((Y1030+Z1030>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1030<>\"*\",\"~\",IF(Y1030+Z1030<(1-RULES!$F$149),\"13\",IF(V1030+Z1030<(1-RULES!$F$149),\"24\",IF(V1030+W1030<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1030=\"X\",$F1030=\"H\",$F1030=\"Z-ERROR\",AND($AA1030=\"H\",$AH1030)),$AE1030,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1030,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1030,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1030,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1030,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1030&\"1\",IF(NOT($AH1030),$E1030&\"U\",$AE1030)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1030","v":""},{"$f":"'Calculator Table'!BR1030","v":0},{"$f":"Calculate!AV1030","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1037","v":0},{"$f":"IF(F1037=\"X\",\"X\",(IF(F1037<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1037),0,Calculate!H1037),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1037),0,Calculate!N1037),IF(ISERROR(Calculate!J1037),0,Calculate!J1037))))))","v":0},{"$f":"IF(F1037=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1037),$C$2,Calculate!I1037),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1037),$C$2,Calculate!O1037),IF(ISERROR(Calculate!K1037),$C$2,Calculate!K1037))))","v":5.5},{"$f":"AF1037 & IF(OR($AH1037,RIGHT($AF1037,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1037","v":"S"},{"$f":"Calculate!Q1037","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1037=\"X\",$F1037=\"H\",$F1037=\"Z-ERROR\"),$F1037,IF($V1037>=RULES!$F$149,\"1\",IF($W1037>=RULES!$F$149,\"2\",IF($X1037>=RULES!$F$149,\"3\",IF($Y1037>=RULES!$F$149,\"4\",IF($Z1037>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1037<>\"*\",\"~\",IF($V1037>=RULES!$G$149,\"1?\",IF($W1037>=RULES!$G$149,\"2?\",IF($X1037>=RULES!$G$149,\"3?\",IF($Y1037>=RULES!$G$149,\"4?\",IF($Z1037>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1037<>\"*\",\"~\",IF((V1037+W1037>=RULES!$F$149),\"12\",IF((W1037+X1037>=RULES!$F$149),\"23\",IF((X1037+Y1037>=RULES!$F$149),\"34\",IF((Y1037+Z1037>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1037<>\"*\",\"~\",IF(Y1037+Z1037<(1-RULES!$F$149),\"13\",IF(V1037+Z1037<(1-RULES!$F$149),\"24\",IF(V1037+W1037<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1037=\"X\",$F1037=\"H\",$F1037=\"Z-ERROR\",AND($AA1037=\"H\",$AH1037)),$AE1037,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1037,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1037,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1037,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1037,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1037&\"1\",IF(NOT($AH1037),$E1037&\"U\",$AE1037)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1037","v":""},{"$f":"'Calculator Table'!BR1037","v":0},{"$f":"Calculate!AV1037","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1044","v":0},{"$f":"IF(F1044=\"X\",\"X\",(IF(F1044<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1044),0,Calculate!H1044),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1044),0,Calculate!N1044),IF(ISERROR(Calculate!J1044),0,Calculate!J1044))))))","v":0},{"$f":"IF(F1044=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1044),$C$2,Calculate!I1044),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1044),$C$2,Calculate!O1044),IF(ISERROR(Calculate!K1044),$C$2,Calculate!K1044))))","v":5.5},{"$f":"AF1044 & IF(OR($AH1044,RIGHT($AF1044,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1044","v":"S"},{"$f":"Calculate!Q1044","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1044=\"X\",$F1044=\"H\",$F1044=\"Z-ERROR\"),$F1044,IF($V1044>=RULES!$F$149,\"1\",IF($W1044>=RULES!$F$149,\"2\",IF($X1044>=RULES!$F$149,\"3\",IF($Y1044>=RULES!$F$149,\"4\",IF($Z1044>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1044<>\"*\",\"~\",IF($V1044>=RULES!$G$149,\"1?\",IF($W1044>=RULES!$G$149,\"2?\",IF($X1044>=RULES!$G$149,\"3?\",IF($Y1044>=RULES!$G$149,\"4?\",IF($Z1044>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1044<>\"*\",\"~\",IF((V1044+W1044>=RULES!$F$149),\"12\",IF((W1044+X1044>=RULES!$F$149),\"23\",IF((X1044+Y1044>=RULES!$F$149),\"34\",IF((Y1044+Z1044>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1044<>\"*\",\"~\",IF(Y1044+Z1044<(1-RULES!$F$149),\"13\",IF(V1044+Z1044<(1-RULES!$F$149),\"24\",IF(V1044+W1044<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1044=\"X\",$F1044=\"H\",$F1044=\"Z-ERROR\",AND($AA1044=\"H\",$AH1044)),$AE1044,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1044,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1044,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1044,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1044,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1044&\"1\",IF(NOT($AH1044),$E1044&\"U\",$AE1044)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1044","v":""},{"$f":"'Calculator Table'!BR1044","v":0},{"$f":"Calculate!AV1044","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1054","v":0},{"$f":"IF(F1054=\"X\",\"X\",(IF(F1054<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1054),0,Calculate!H1054),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1054),0,Calculate!N1054),IF(ISERROR(Calculate!J1054),0,Calculate!J1054))))))","v":0},{"$f":"IF(F1054=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1054),$C$2,Calculate!I1054),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1054),$C$2,Calculate!O1054),IF(ISERROR(Calculate!K1054),$C$2,Calculate!K1054))))","v":5.5},{"$f":"AF1054 & IF(OR($AH1054,RIGHT($AF1054,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1054","v":"S"},{"$f":"Calculate!Q1054","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1054=\"X\",$F1054=\"H\",$F1054=\"Z-ERROR\"),$F1054,IF($V1054>=RULES!$F$149,\"1\",IF($W1054>=RULES!$F$149,\"2\",IF($X1054>=RULES!$F$149,\"3\",IF($Y1054>=RULES!$F$149,\"4\",IF($Z1054>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1054<>\"*\",\"~\",IF($V1054>=RULES!$G$149,\"1?\",IF($W1054>=RULES!$G$149,\"2?\",IF($X1054>=RULES!$G$149,\"3?\",IF($Y1054>=RULES!$G$149,\"4?\",IF($Z1054>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1054<>\"*\",\"~\",IF((V1054+W1054>=RULES!$F$149),\"12\",IF((W1054+X1054>=RULES!$F$149),\"23\",IF((X1054+Y1054>=RULES!$F$149),\"34\",IF((Y1054+Z1054>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1054<>\"*\",\"~\",IF(Y1054+Z1054<(1-RULES!$F$149),\"13\",IF(V1054+Z1054<(1-RULES!$F$149),\"24\",IF(V1054+W1054<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1054=\"X\",$F1054=\"H\",$F1054=\"Z-ERROR\",AND($AA1054=\"H\",$AH1054)),$AE1054,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1054,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1054,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1054,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1054,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1054&\"1\",IF(NOT($AH1054),$E1054&\"U\",$AE1054)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1054","v":""},{"$f":"'Calculator Table'!BR1054","v":0},{"$f":"Calculate!AV1054","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1063","v":0},{"$f":"IF(F1063=\"X\",\"X\",(IF(F1063<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1063),0,Calculate!H1063),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1063),0,Calculate!N1063),IF(ISERROR(Calculate!J1063),0,Calculate!J1063))))))","v":0},{"$f":"IF(F1063=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1063),$C$2,Calculate!I1063),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1063),$C$2,Calculate!O1063),IF(ISERROR(Calculate!K1063),$C$2,Calculate!K1063))))","v":5.5},{"$f":"AF1063 & IF(OR($AH1063,RIGHT($AF1063,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1063","v":"S"},{"$f":"Calculate!Q1063","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1063=\"X\",$F1063=\"H\",$F1063=\"Z-ERROR\"),$F1063,IF($V1063>=RULES!$F$149,\"1\",IF($W1063>=RULES!$F$149,\"2\",IF($X1063>=RULES!$F$149,\"3\",IF($Y1063>=RULES!$F$149,\"4\",IF($Z1063>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1063<>\"*\",\"~\",IF($V1063>=RULES!$G$149,\"1?\",IF($W1063>=RULES!$G$149,\"2?\",IF($X1063>=RULES!$G$149,\"3?\",IF($Y1063>=RULES!$G$149,\"4?\",IF($Z1063>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1063<>\"*\",\"~\",IF((V1063+W1063>=RULES!$F$149),\"12\",IF((W1063+X1063>=RULES!$F$149),\"23\",IF((X1063+Y1063>=RULES!$F$149),\"34\",IF((Y1063+Z1063>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1063<>\"*\",\"~\",IF(Y1063+Z1063<(1-RULES!$F$149),\"13\",IF(V1063+Z1063<(1-RULES!$F$149),\"24\",IF(V1063+W1063<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1063=\"X\",$F1063=\"H\",$F1063=\"Z-ERROR\",AND($AA1063=\"H\",$AH1063)),$AE1063,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1063,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1063,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1063,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1063,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1063&\"1\",IF(NOT($AH1063),$E1063&\"U\",$AE1063)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1063","v":""},{"$f":"'Calculator Table'!BR1063","v":0},{"$f":"Calculate!AV1063","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1067","v":0},{"$f":"IF(F1067=\"X\",\"X\",(IF(F1067<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1067),0,Calculate!H1067),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1067),0,Calculate!N1067),IF(ISERROR(Calculate!J1067),0,Calculate!J1067))))))","v":0},{"$f":"IF(F1067=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1067),$C$2,Calculate!I1067),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1067),$C$2,Calculate!O1067),IF(ISERROR(Calculate!K1067),$C$2,Calculate!K1067))))","v":5.5},{"$f":"AF1067 & IF(OR($AH1067,RIGHT($AF1067,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1067","v":"S"},{"$f":"Calculate!Q1067","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1067=\"X\",$F1067=\"H\",$F1067=\"Z-ERROR\"),$F1067,IF($V1067>=RULES!$F$149,\"1\",IF($W1067>=RULES!$F$149,\"2\",IF($X1067>=RULES!$F$149,\"3\",IF($Y1067>=RULES!$F$149,\"4\",IF($Z1067>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1067<>\"*\",\"~\",IF($V1067>=RULES!$G$149,\"1?\",IF($W1067>=RULES!$G$149,\"2?\",IF($X1067>=RULES!$G$149,\"3?\",IF($Y1067>=RULES!$G$149,\"4?\",IF($Z1067>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1067<>\"*\",\"~\",IF((V1067+W1067>=RULES!$F$149),\"12\",IF((W1067+X1067>=RULES!$F$149),\"23\",IF((X1067+Y1067>=RULES!$F$149),\"34\",IF((Y1067+Z1067>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1067<>\"*\",\"~\",IF(Y1067+Z1067<(1-RULES!$F$149),\"13\",IF(V1067+Z1067<(1-RULES!$F$149),\"24\",IF(V1067+W1067<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1067=\"X\",$F1067=\"H\",$F1067=\"Z-ERROR\",AND($AA1067=\"H\",$AH1067)),$AE1067,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1067,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1067,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1067,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1067,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1067&\"1\",IF(NOT($AH1067),$E1067&\"U\",$AE1067)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1067","v":""},{"$f":"'Calculator Table'!BR1067","v":0},{"$f":"Calculate!AV1067","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1080","v":0},{"$f":"IF(F1080=\"X\",\"X\",(IF(F1080<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1080),0,Calculate!H1080),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1080),0,Calculate!N1080),IF(ISERROR(Calculate!J1080),0,Calculate!J1080))))))","v":0},{"$f":"IF(F1080=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1080),$C$2,Calculate!I1080),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1080),$C$2,Calculate!O1080),IF(ISERROR(Calculate!K1080),$C$2,Calculate!K1080))))","v":5.5},{"$f":"AF1080 & IF(OR($AH1080,RIGHT($AF1080,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1080","v":"S"},{"$f":"Calculate!Q1080","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1080=\"X\",$F1080=\"H\",$F1080=\"Z-ERROR\"),$F1080,IF($V1080>=RULES!$F$149,\"1\",IF($W1080>=RULES!$F$149,\"2\",IF($X1080>=RULES!$F$149,\"3\",IF($Y1080>=RULES!$F$149,\"4\",IF($Z1080>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1080<>\"*\",\"~\",IF($V1080>=RULES!$G$149,\"1?\",IF($W1080>=RULES!$G$149,\"2?\",IF($X1080>=RULES!$G$149,\"3?\",IF($Y1080>=RULES!$G$149,\"4?\",IF($Z1080>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1080<>\"*\",\"~\",IF((V1080+W1080>=RULES!$F$149),\"12\",IF((W1080+X1080>=RULES!$F$149),\"23\",IF((X1080+Y1080>=RULES!$F$149),\"34\",IF((Y1080+Z1080>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1080<>\"*\",\"~\",IF(Y1080+Z1080<(1-RULES!$F$149),\"13\",IF(V1080+Z1080<(1-RULES!$F$149),\"24\",IF(V1080+W1080<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1080=\"X\",$F1080=\"H\",$F1080=\"Z-ERROR\",AND($AA1080=\"H\",$AH1080)),$AE1080,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1080,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1080,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1080,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1080,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1080&\"1\",IF(NOT($AH1080),$E1080&\"U\",$AE1080)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1080","v":""},{"$f":"'Calculator Table'!BR1080","v":0},{"$f":"Calculate!AV1080","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1088","v":0},{"$f":"IF(F1088=\"X\",\"X\",(IF(F1088<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1088),0,Calculate!H1088),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1088),0,Calculate!N1088),IF(ISERROR(Calculate!J1088),0,Calculate!J1088))))))","v":0},{"$f":"IF(F1088=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1088),$C$2,Calculate!I1088),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1088),$C$2,Calculate!O1088),IF(ISERROR(Calculate!K1088),$C$2,Calculate!K1088))))","v":5.5},{"$f":"AF1088 & IF(OR($AH1088,RIGHT($AF1088,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1088","v":"S"},{"$f":"Calculate!Q1088","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1088=\"X\",$F1088=\"H\",$F1088=\"Z-ERROR\"),$F1088,IF($V1088>=RULES!$F$149,\"1\",IF($W1088>=RULES!$F$149,\"2\",IF($X1088>=RULES!$F$149,\"3\",IF($Y1088>=RULES!$F$149,\"4\",IF($Z1088>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1088<>\"*\",\"~\",IF($V1088>=RULES!$G$149,\"1?\",IF($W1088>=RULES!$G$149,\"2?\",IF($X1088>=RULES!$G$149,\"3?\",IF($Y1088>=RULES!$G$149,\"4?\",IF($Z1088>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1088<>\"*\",\"~\",IF((V1088+W1088>=RULES!$F$149),\"12\",IF((W1088+X1088>=RULES!$F$149),\"23\",IF((X1088+Y1088>=RULES!$F$149),\"34\",IF((Y1088+Z1088>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1088<>\"*\",\"~\",IF(Y1088+Z1088<(1-RULES!$F$149),\"13\",IF(V1088+Z1088<(1-RULES!$F$149),\"24\",IF(V1088+W1088<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1088=\"X\",$F1088=\"H\",$F1088=\"Z-ERROR\",AND($AA1088=\"H\",$AH1088)),$AE1088,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1088,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1088,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1088,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1088,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1088&\"1\",IF(NOT($AH1088),$E1088&\"U\",$AE1088)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1088","v":""},{"$f":"'Calculator Table'!BR1088","v":0},{"$f":"Calculate!AV1088","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1089","v":0},{"$f":"IF(F1089=\"X\",\"X\",(IF(F1089<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1089),0,Calculate!H1089),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1089),0,Calculate!N1089),IF(ISERROR(Calculate!J1089),0,Calculate!J1089))))))","v":0},{"$f":"IF(F1089=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1089),$C$2,Calculate!I1089),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1089),$C$2,Calculate!O1089),IF(ISERROR(Calculate!K1089),$C$2,Calculate!K1089))))","v":5.5},{"$f":"AF1089 & IF(OR($AH1089,RIGHT($AF1089,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1089","v":"S"},{"$f":"Calculate!Q1089","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1089=\"X\",$F1089=\"H\",$F1089=\"Z-ERROR\"),$F1089,IF($V1089>=RULES!$F$149,\"1\",IF($W1089>=RULES!$F$149,\"2\",IF($X1089>=RULES!$F$149,\"3\",IF($Y1089>=RULES!$F$149,\"4\",IF($Z1089>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1089<>\"*\",\"~\",IF($V1089>=RULES!$G$149,\"1?\",IF($W1089>=RULES!$G$149,\"2?\",IF($X1089>=RULES!$G$149,\"3?\",IF($Y1089>=RULES!$G$149,\"4?\",IF($Z1089>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1089<>\"*\",\"~\",IF((V1089+W1089>=RULES!$F$149),\"12\",IF((W1089+X1089>=RULES!$F$149),\"23\",IF((X1089+Y1089>=RULES!$F$149),\"34\",IF((Y1089+Z1089>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1089<>\"*\",\"~\",IF(Y1089+Z1089<(1-RULES!$F$149),\"13\",IF(V1089+Z1089<(1-RULES!$F$149),\"24\",IF(V1089+W1089<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1089=\"X\",$F1089=\"H\",$F1089=\"Z-ERROR\",AND($AA1089=\"H\",$AH1089)),$AE1089,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1089,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1089,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1089,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1089,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1089&\"1\",IF(NOT($AH1089),$E1089&\"U\",$AE1089)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1089","v":""},{"$f":"'Calculator Table'!BR1089","v":0},{"$f":"Calculate!AV1089","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1098","v":0},{"$f":"IF(F1098=\"X\",\"X\",(IF(F1098<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1098),0,Calculate!H1098),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1098),0,Calculate!N1098),IF(ISERROR(Calculate!J1098),0,Calculate!J1098))))))","v":0},{"$f":"IF(F1098=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1098),$C$2,Calculate!I1098),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1098),$C$2,Calculate!O1098),IF(ISERROR(Calculate!K1098),$C$2,Calculate!K1098))))","v":5.5},{"$f":"AF1098 & IF(OR($AH1098,RIGHT($AF1098,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1098","v":"S"},{"$f":"Calculate!Q1098","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1098=\"X\",$F1098=\"H\",$F1098=\"Z-ERROR\"),$F1098,IF($V1098>=RULES!$F$149,\"1\",IF($W1098>=RULES!$F$149,\"2\",IF($X1098>=RULES!$F$149,\"3\",IF($Y1098>=RULES!$F$149,\"4\",IF($Z1098>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1098<>\"*\",\"~\",IF($V1098>=RULES!$G$149,\"1?\",IF($W1098>=RULES!$G$149,\"2?\",IF($X1098>=RULES!$G$149,\"3?\",IF($Y1098>=RULES!$G$149,\"4?\",IF($Z1098>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1098<>\"*\",\"~\",IF((V1098+W1098>=RULES!$F$149),\"12\",IF((W1098+X1098>=RULES!$F$149),\"23\",IF((X1098+Y1098>=RULES!$F$149),\"34\",IF((Y1098+Z1098>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1098<>\"*\",\"~\",IF(Y1098+Z1098<(1-RULES!$F$149),\"13\",IF(V1098+Z1098<(1-RULES!$F$149),\"24\",IF(V1098+W1098<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1098=\"X\",$F1098=\"H\",$F1098=\"Z-ERROR\",AND($AA1098=\"H\",$AH1098)),$AE1098,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1098,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1098,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1098,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1098,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1098&\"1\",IF(NOT($AH1098),$E1098&\"U\",$AE1098)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1098","v":""},{"$f":"'Calculator Table'!BR1098","v":0},{"$f":"Calculate!AV1098","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1106","v":0},{"$f":"IF(F1106=\"X\",\"X\",(IF(F1106<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1106),0,Calculate!H1106),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1106),0,Calculate!N1106),IF(ISERROR(Calculate!J1106),0,Calculate!J1106))))))","v":0},{"$f":"IF(F1106=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1106),$C$2,Calculate!I1106),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1106),$C$2,Calculate!O1106),IF(ISERROR(Calculate!K1106),$C$2,Calculate!K1106))))","v":5.5},{"$f":"AF1106 & IF(OR($AH1106,RIGHT($AF1106,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1106","v":"S"},{"$f":"Calculate!Q1106","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1106=\"X\",$F1106=\"H\",$F1106=\"Z-ERROR\"),$F1106,IF($V1106>=RULES!$F$149,\"1\",IF($W1106>=RULES!$F$149,\"2\",IF($X1106>=RULES!$F$149,\"3\",IF($Y1106>=RULES!$F$149,\"4\",IF($Z1106>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1106<>\"*\",\"~\",IF($V1106>=RULES!$G$149,\"1?\",IF($W1106>=RULES!$G$149,\"2?\",IF($X1106>=RULES!$G$149,\"3?\",IF($Y1106>=RULES!$G$149,\"4?\",IF($Z1106>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1106<>\"*\",\"~\",IF((V1106+W1106>=RULES!$F$149),\"12\",IF((W1106+X1106>=RULES!$F$149),\"23\",IF((X1106+Y1106>=RULES!$F$149),\"34\",IF((Y1106+Z1106>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1106<>\"*\",\"~\",IF(Y1106+Z1106<(1-RULES!$F$149),\"13\",IF(V1106+Z1106<(1-RULES!$F$149),\"24\",IF(V1106+W1106<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1106=\"X\",$F1106=\"H\",$F1106=\"Z-ERROR\",AND($AA1106=\"H\",$AH1106)),$AE1106,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1106,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1106,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1106,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1106,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1106&\"1\",IF(NOT($AH1106),$E1106&\"U\",$AE1106)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1106","v":""},{"$f":"'Calculator Table'!BR1106","v":0},{"$f":"Calculate!AV1106","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1112","v":0},{"$f":"IF(F1112=\"X\",\"X\",(IF(F1112<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1112),0,Calculate!H1112),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1112),0,Calculate!N1112),IF(ISERROR(Calculate!J1112),0,Calculate!J1112))))))","v":0},{"$f":"IF(F1112=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1112),$C$2,Calculate!I1112),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1112),$C$2,Calculate!O1112),IF(ISERROR(Calculate!K1112),$C$2,Calculate!K1112))))","v":5.5},{"$f":"AF1112 & IF(OR($AH1112,RIGHT($AF1112,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1112","v":"S"},{"$f":"Calculate!Q1112","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1112=\"X\",$F1112=\"H\",$F1112=\"Z-ERROR\"),$F1112,IF($V1112>=RULES!$F$149,\"1\",IF($W1112>=RULES!$F$149,\"2\",IF($X1112>=RULES!$F$149,\"3\",IF($Y1112>=RULES!$F$149,\"4\",IF($Z1112>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1112<>\"*\",\"~\",IF($V1112>=RULES!$G$149,\"1?\",IF($W1112>=RULES!$G$149,\"2?\",IF($X1112>=RULES!$G$149,\"3?\",IF($Y1112>=RULES!$G$149,\"4?\",IF($Z1112>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1112<>\"*\",\"~\",IF((V1112+W1112>=RULES!$F$149),\"12\",IF((W1112+X1112>=RULES!$F$149),\"23\",IF((X1112+Y1112>=RULES!$F$149),\"34\",IF((Y1112+Z1112>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1112<>\"*\",\"~\",IF(Y1112+Z1112<(1-RULES!$F$149),\"13\",IF(V1112+Z1112<(1-RULES!$F$149),\"24\",IF(V1112+W1112<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1112=\"X\",$F1112=\"H\",$F1112=\"Z-ERROR\",AND($AA1112=\"H\",$AH1112)),$AE1112,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1112,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1112,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1112,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1112,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1112&\"1\",IF(NOT($AH1112),$E1112&\"U\",$AE1112)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1112","v":""},{"$f":"'Calculator Table'!BR1112","v":0},{"$f":"Calculate!AV1112","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1123","v":0},{"$f":"IF(F1123=\"X\",\"X\",(IF(F1123<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1123),0,Calculate!H1123),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1123),0,Calculate!N1123),IF(ISERROR(Calculate!J1123),0,Calculate!J1123))))))","v":0},{"$f":"IF(F1123=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1123),$C$2,Calculate!I1123),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1123),$C$2,Calculate!O1123),IF(ISERROR(Calculate!K1123),$C$2,Calculate!K1123))))","v":5.5},{"$f":"AF1123 & IF(OR($AH1123,RIGHT($AF1123,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1123","v":"S"},{"$f":"Calculate!Q1123","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1123=\"X\",$F1123=\"H\",$F1123=\"Z-ERROR\"),$F1123,IF($V1123>=RULES!$F$149,\"1\",IF($W1123>=RULES!$F$149,\"2\",IF($X1123>=RULES!$F$149,\"3\",IF($Y1123>=RULES!$F$149,\"4\",IF($Z1123>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1123<>\"*\",\"~\",IF($V1123>=RULES!$G$149,\"1?\",IF($W1123>=RULES!$G$149,\"2?\",IF($X1123>=RULES!$G$149,\"3?\",IF($Y1123>=RULES!$G$149,\"4?\",IF($Z1123>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1123<>\"*\",\"~\",IF((V1123+W1123>=RULES!$F$149),\"12\",IF((W1123+X1123>=RULES!$F$149),\"23\",IF((X1123+Y1123>=RULES!$F$149),\"34\",IF((Y1123+Z1123>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1123<>\"*\",\"~\",IF(Y1123+Z1123<(1-RULES!$F$149),\"13\",IF(V1123+Z1123<(1-RULES!$F$149),\"24\",IF(V1123+W1123<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1123=\"X\",$F1123=\"H\",$F1123=\"Z-ERROR\",AND($AA1123=\"H\",$AH1123)),$AE1123,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1123,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1123,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1123,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1123,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1123&\"1\",IF(NOT($AH1123),$E1123&\"U\",$AE1123)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1123","v":""},{"$f":"'Calculator Table'!BR1123","v":0},{"$f":"Calculate!AV1123","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1132","v":0},{"$f":"IF(F1132=\"X\",\"X\",(IF(F1132<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1132),0,Calculate!H1132),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1132),0,Calculate!N1132),IF(ISERROR(Calculate!J1132),0,Calculate!J1132))))))","v":0},{"$f":"IF(F1132=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1132),$C$2,Calculate!I1132),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1132),$C$2,Calculate!O1132),IF(ISERROR(Calculate!K1132),$C$2,Calculate!K1132))))","v":5.5},{"$f":"AF1132 & IF(OR($AH1132,RIGHT($AF1132,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1132","v":"S"},{"$f":"Calculate!Q1132","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1132=\"X\",$F1132=\"H\",$F1132=\"Z-ERROR\"),$F1132,IF($V1132>=RULES!$F$149,\"1\",IF($W1132>=RULES!$F$149,\"2\",IF($X1132>=RULES!$F$149,\"3\",IF($Y1132>=RULES!$F$149,\"4\",IF($Z1132>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1132<>\"*\",\"~\",IF($V1132>=RULES!$G$149,\"1?\",IF($W1132>=RULES!$G$149,\"2?\",IF($X1132>=RULES!$G$149,\"3?\",IF($Y1132>=RULES!$G$149,\"4?\",IF($Z1132>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1132<>\"*\",\"~\",IF((V1132+W1132>=RULES!$F$149),\"12\",IF((W1132+X1132>=RULES!$F$149),\"23\",IF((X1132+Y1132>=RULES!$F$149),\"34\",IF((Y1132+Z1132>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1132<>\"*\",\"~\",IF(Y1132+Z1132<(1-RULES!$F$149),\"13\",IF(V1132+Z1132<(1-RULES!$F$149),\"24\",IF(V1132+W1132<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1132=\"X\",$F1132=\"H\",$F1132=\"Z-ERROR\",AND($AA1132=\"H\",$AH1132)),$AE1132,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1132,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1132,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1132,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1132,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1132&\"1\",IF(NOT($AH1132),$E1132&\"U\",$AE1132)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1132","v":""},{"$f":"'Calculator Table'!BR1132","v":0},{"$f":"Calculate!AV1132","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1135","v":0},{"$f":"IF(F1135=\"X\",\"X\",(IF(F1135<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1135),0,Calculate!H1135),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1135),0,Calculate!N1135),IF(ISERROR(Calculate!J1135),0,Calculate!J1135))))))","v":0},{"$f":"IF(F1135=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1135),$C$2,Calculate!I1135),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1135),$C$2,Calculate!O1135),IF(ISERROR(Calculate!K1135),$C$2,Calculate!K1135))))","v":5.5},{"$f":"AF1135 & IF(OR($AH1135,RIGHT($AF1135,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1135","v":"S"},{"$f":"Calculate!Q1135","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1135=\"X\",$F1135=\"H\",$F1135=\"Z-ERROR\"),$F1135,IF($V1135>=RULES!$F$149,\"1\",IF($W1135>=RULES!$F$149,\"2\",IF($X1135>=RULES!$F$149,\"3\",IF($Y1135>=RULES!$F$149,\"4\",IF($Z1135>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1135<>\"*\",\"~\",IF($V1135>=RULES!$G$149,\"1?\",IF($W1135>=RULES!$G$149,\"2?\",IF($X1135>=RULES!$G$149,\"3?\",IF($Y1135>=RULES!$G$149,\"4?\",IF($Z1135>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1135<>\"*\",\"~\",IF((V1135+W1135>=RULES!$F$149),\"12\",IF((W1135+X1135>=RULES!$F$149),\"23\",IF((X1135+Y1135>=RULES!$F$149),\"34\",IF((Y1135+Z1135>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1135<>\"*\",\"~\",IF(Y1135+Z1135<(1-RULES!$F$149),\"13\",IF(V1135+Z1135<(1-RULES!$F$149),\"24\",IF(V1135+W1135<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1135=\"X\",$F1135=\"H\",$F1135=\"Z-ERROR\",AND($AA1135=\"H\",$AH1135)),$AE1135,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1135,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1135,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1135,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1135,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1135&\"1\",IF(NOT($AH1135),$E1135&\"U\",$AE1135)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1135","v":""},{"$f":"'Calculator Table'!BR1135","v":0},{"$f":"Calculate!AV1135","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1149","v":0},{"$f":"IF(F1149=\"X\",\"X\",(IF(F1149<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1149),0,Calculate!H1149),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1149),0,Calculate!N1149),IF(ISERROR(Calculate!J1149),0,Calculate!J1149))))))","v":0},{"$f":"IF(F1149=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1149),$C$2,Calculate!I1149),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1149),$C$2,Calculate!O1149),IF(ISERROR(Calculate!K1149),$C$2,Calculate!K1149))))","v":5.5},{"$f":"AF1149 & IF(OR($AH1149,RIGHT($AF1149,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1149","v":"S"},{"$f":"Calculate!Q1149","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1149=\"X\",$F1149=\"H\",$F1149=\"Z-ERROR\"),$F1149,IF($V1149>=RULES!$F$149,\"1\",IF($W1149>=RULES!$F$149,\"2\",IF($X1149>=RULES!$F$149,\"3\",IF($Y1149>=RULES!$F$149,\"4\",IF($Z1149>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1149<>\"*\",\"~\",IF($V1149>=RULES!$G$149,\"1?\",IF($W1149>=RULES!$G$149,\"2?\",IF($X1149>=RULES!$G$149,\"3?\",IF($Y1149>=RULES!$G$149,\"4?\",IF($Z1149>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1149<>\"*\",\"~\",IF((V1149+W1149>=RULES!$F$149),\"12\",IF((W1149+X1149>=RULES!$F$149),\"23\",IF((X1149+Y1149>=RULES!$F$149),\"34\",IF((Y1149+Z1149>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1149<>\"*\",\"~\",IF(Y1149+Z1149<(1-RULES!$F$149),\"13\",IF(V1149+Z1149<(1-RULES!$F$149),\"24\",IF(V1149+W1149<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1149=\"X\",$F1149=\"H\",$F1149=\"Z-ERROR\",AND($AA1149=\"H\",$AH1149)),$AE1149,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1149,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1149,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1149,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1149,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1149&\"1\",IF(NOT($AH1149),$E1149&\"U\",$AE1149)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1149","v":""},{"$f":"'Calculator Table'!BR1149","v":0},{"$f":"Calculate!AV1149","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1156","v":0},{"$f":"IF(F1156=\"X\",\"X\",(IF(F1156<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1156),0,Calculate!H1156),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1156),0,Calculate!N1156),IF(ISERROR(Calculate!J1156),0,Calculate!J1156))))))","v":0},{"$f":"IF(F1156=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1156),$C$2,Calculate!I1156),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1156),$C$2,Calculate!O1156),IF(ISERROR(Calculate!K1156),$C$2,Calculate!K1156))))","v":5.5},{"$f":"AF1156 & IF(OR($AH1156,RIGHT($AF1156,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1156","v":"S"},{"$f":"Calculate!Q1156","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1156=\"X\",$F1156=\"H\",$F1156=\"Z-ERROR\"),$F1156,IF($V1156>=RULES!$F$149,\"1\",IF($W1156>=RULES!$F$149,\"2\",IF($X1156>=RULES!$F$149,\"3\",IF($Y1156>=RULES!$F$149,\"4\",IF($Z1156>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1156<>\"*\",\"~\",IF($V1156>=RULES!$G$149,\"1?\",IF($W1156>=RULES!$G$149,\"2?\",IF($X1156>=RULES!$G$149,\"3?\",IF($Y1156>=RULES!$G$149,\"4?\",IF($Z1156>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1156<>\"*\",\"~\",IF((V1156+W1156>=RULES!$F$149),\"12\",IF((W1156+X1156>=RULES!$F$149),\"23\",IF((X1156+Y1156>=RULES!$F$149),\"34\",IF((Y1156+Z1156>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1156<>\"*\",\"~\",IF(Y1156+Z1156<(1-RULES!$F$149),\"13\",IF(V1156+Z1156<(1-RULES!$F$149),\"24\",IF(V1156+W1156<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},{"$f":"IF(AA1156<>\"*\",CONCATENATE(E1156,AA1156),IF(AB1156<>\"*\",CONCATENATE(E1156,AB1156),IF(AC1156<>\"*\",CONCATENATE(E1156,LEFT(AC1156,1),E1156,RIGHT(AC1156,1)),IF(AD1156=\"NR\",CONCATENATE(E1156,\"NR\"),IF(AD1156=\"U\",CONCATENATE(E1156,\"U\"),CONCATENATE(E1156,LEFT(AD1156,1),E1156,RIGHT(AD1156,1)))))))","v":"SU"},{"$f":"IF(OR($F1156=\"X\",$F1156=\"H\",$F1156=\"Z-ERROR\",AND($AA1156=\"H\",$AH1156)),$AE1156,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1156,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1156,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1156,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1156,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1156&\"1\",IF(NOT($AH1156),$E1156&\"U\",$AE1156)))","v":{"$error":"#VALUE!"}},{"$f":"IF(AE1156=AF1156,\"\",\"changed\")","v":{"$error":"#VALUE!"}},{"$f":"'Calculator Table'!BN1156","v":""},{"$f":"'Calculator Table'!BR1156","v":0},{"$f":"Calculate!AV1156","v":2},null,null,null,null,null,{"$f":"AND(AF1156=AM1156)","v":{"$error":"#VALUE!"}}]
[{"$f":"Calculate!A1158","v":0},{"$f":"IF(F1158=\"X\",\"X\",(IF(F1158<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1158),0,Calculate!H1158),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1158),0,Calculate!N1158),IF(ISERROR(Calculate!J1158),0,Calculate!J1158))))))","v":0},{"$f":"IF(F1158=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1158),$C$2,Calculate!I1158),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1158),$C$2,Calculate!O1158),IF(ISERROR(Calculate!K1158),$C$2,Calculate!K1158))))","v":5.5},{"$f":"AF1158 & IF(OR($AH1158,RIGHT($AF1158,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1158","v":"S"},{"$f":"Calculate!Q1158","v":"*"},{"$f":"B1158","v":0},{"$f":"C1158","v":5.5},{"$f":"AF1158","v":{"$error":"#VALUE!"}},0,5.5,{"$f":"K1158-J1158","v":5.5},0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1158=\"X\",$F1158=\"H\",$F1158=\"Z-ERROR\"),$F1158,IF($V1158>=RULES!$F$149,\"1\",IF($W1158>=RULES!$F$149,\"2\",IF($X1158>=RULES!$F$149,\"3\",IF($Y1158>=RULES!$F$149,\"4\",IF($Z1158>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1158<>\"*\",\"~\",IF($V1158>=RULES!$G$149,\"1?\",IF($W1158>=RULES!$G$149,\"2?\",IF($X1158>=RULES!$G$149,\"3?\",IF($Y1158>=RULES!$G$149,\"4?\",IF($Z1158>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1158<>\"*\",\"~\",IF((V1158+W1158>=RULES!$F$149),\"12\",IF((W1158+X1158>=RULES!$F$149),\"23\",IF((X1158+Y1158>=RULES!$F$149),\"34\",IF((Y1158+Z1158>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1158<>\"*\",\"~\",IF(Y1158+Z1158<(1-RULES!$F$149),\"13\",IF(V1158+Z1158<(1-RULES!$F$149),\"24\",IF(V1158+W1158<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1158=\"X\",$F1158=\"H\",$F1158=\"Z-ERROR\",AND($AA1158=\"H\",$AH1158)),$AE1158,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1158,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1158,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1158,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1158,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1158&\"1\",IF(NOT($AH1158),$E1158&\"U\",$AE1158)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1158","v":""},{"$f":"'Calculator Table'!BR1158","v":0},{"$f":"Calculate!AV1158","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1170","v":0},{"$f":"IF(F1170=\"X\",\"X\",(IF(F1170<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1170),0,Calculate!H1170),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1170),0,Calculate!N1170),IF(ISERROR(Calculate!J1170),0,Calculate!J1170))))))","v":0},{"$f":"IF(F1170=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1170),$C$2,Calculate!I1170),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1170),$C$2,Calculate!O1170),IF(ISERROR(Calculate!K1170),$C$2,Calculate!K1170))))","v":5.5},{"$f":"AF1170 & IF(OR($AH1170,RIGHT($AF1170,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1170","v":"S"},{"$f":"Calculate!Q1170","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1170=\"X\",$F1170=\"H\",$F1170=\"Z-ERROR\"),$F1170,IF($V1170>=RULES!$F$149,\"1\",IF($W1170>=RULES!$F$149,\"2\",IF($X1170>=RULES!$F$149,\"3\",IF($Y1170>=RULES!$F$149,\"4\",IF($Z1170>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1170<>\"*\",\"~\",IF($V1170>=RULES!$G$149,\"1?\",IF($W1170>=RULES!$G$149,\"2?\",IF($X1170>=RULES!$G$149,\"3?\",IF($Y1170>=RULES!$G$149,\"4?\",IF($Z1170>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1170<>\"*\",\"~\",IF((V1170+W1170>=RULES!$F$149),\"12\",IF((W1170+X1170>=RULES!$F$149),\"23\",IF((X1170+Y1170>=RULES!$F$149),\"34\",IF((Y1170+Z1170>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1170<>\"*\",\"~\",IF(Y1170+Z1170<(1-RULES!$F$149),\"13\",IF(V1170+Z1170<(1-RULES!$F$149),\"24\",IF(V1170+W1170<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1170=\"X\",$F1170=\"H\",$F1170=\"Z-ERROR\",AND($AA1170=\"H\",$AH1170)),$AE1170,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1170,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1170,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1170,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1170,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1170&\"1\",IF(NOT($AH1170),$E1170&\"U\",$AE1170)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1170","v":""},{"$f":"'Calculator Table'!BR1170","v":0},{"$f":"Calculate!AV1170","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1175","v":0},{"$f":"IF(F1175=\"X\",\"X\",(IF(F1175<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1175),0,Calculate!H1175),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1175),0,Calculate!N1175),IF(ISERROR(Calculate!J1175),0,Calculate!J1175))))))","v":0},{"$f":"IF(F1175=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1175),$C$2,Calculate!I1175),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1175),$C$2,Calculate!O1175),IF(ISERROR(Calculate!K1175),$C$2,Calculate!K1175))))","v":5.5},{"$f":"AF1175 & IF(OR($AH1175,RIGHT($AF1175,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1175","v":"S"},{"$f":"Calculate!Q1175","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1175=\"X\",$F1175=\"H\",$F1175=\"Z-ERROR\"),$F1175,IF($V1175>=RULES!$F$149,\"1\",IF($W1175>=RULES!$F$149,\"2\",IF($X1175>=RULES!$F$149,\"3\",IF($Y1175>=RULES!$F$149,\"4\",IF($Z1175>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1175<>\"*\",\"~\",IF($V1175>=RULES!$G$149,\"1?\",IF($W1175>=RULES!$G$149,\"2?\",IF($X1175>=RULES!$G$149,\"3?\",IF($Y1175>=RULES!$G$149,\"4?\",IF($Z1175>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1175<>\"*\",\"~\",IF((V1175+W1175>=RULES!$F$149),\"12\",IF((W1175+X1175>=RULES!$F$149),\"23\",IF((X1175+Y1175>=RULES!$F$149),\"34\",IF((Y1175+Z1175>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1175<>\"*\",\"~\",IF(Y1175+Z1175<(1-RULES!$F$149),\"13\",IF(V1175+Z1175<(1-RULES!$F$149),\"24\",IF(V1175+W1175<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1175=\"X\",$F1175=\"H\",$F1175=\"Z-ERROR\",AND($AA1175=\"H\",$AH1175)),$AE1175,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1175,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1175,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1175,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1175,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1175&\"1\",IF(NOT($AH1175),$E1175&\"U\",$AE1175)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1175","v":""},{"$f":"'Calculator Table'!BR1175","v":0},{"$f":"Calculate!AV1175","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1180","v":0},{"$f":"IF(F1180=\"X\",\"X\",(IF(F1180<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1180),0,Calculate!H1180),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1180),0,Calculate!N1180),IF(ISERROR(Calculate!J1180),0,Calculate!J1180))))))","v":0},{"$f":"IF(F1180=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1180),$C$2,Calculate!I1180),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1180),$C$2,Calculate!O1180),IF(ISERROR(Calculate!K1180),$C$2,Calculate!K1180))))","v":5.5},{"$f":"AF1180 & IF(OR($AH1180,RIGHT($AF1180,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1180","v":"S"},{"$f":"Calculate!Q1180","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1180=\"X\",$F1180=\"H\",$F1180=\"Z-ERROR\"),$F1180,IF($V1180>=RULES!$F$149,\"1\",IF($W1180>=RULES!$F$149,\"2\",IF($X1180>=RULES!$F$149,\"3\",IF($Y1180>=RULES!$F$149,\"4\",IF($Z1180>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1180<>\"*\",\"~\",IF($V1180>=RULES!$G$149,\"1?\",IF($W1180>=RULES!$G$149,\"2?\",IF($X1180>=RULES!$G$149,\"3?\",IF($Y1180>=RULES!$G$149,\"4?\",IF($Z1180>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1180<>\"*\",\"~\",IF((V1180+W1180>=RULES!$F$149),\"12\",IF((W1180+X1180>=RULES!$F$149),\"23\",IF((X1180+Y1180>=RULES!$F$149),\"34\",IF((Y1180+Z1180>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1180<>\"*\",\"~\",IF(Y1180+Z1180<(1-RULES!$F$149),\"13\",IF(V1180+Z1180<(1-RULES!$F$149),\"24\",IF(V1180+W1180<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1180=\"X\",$F1180=\"H\",$F1180=\"Z-ERROR\",AND($AA1180=\"H\",$AH1180)),$AE1180,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1180,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1180,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1180,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1180,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1180&\"1\",IF(NOT($AH1180),$E1180&\"U\",$AE1180)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1180","v":""},{"$f":"'Calculator Table'!BR1180","v":0},{"$f":"Calculate!AV1180","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1192","v":0},{"$f":"IF(F1192=\"X\",\"X\",(IF(F1192<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1192),0,Calculate!H1192),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1192),0,Calculate!N1192),IF(ISERROR(Calculate!J1192),0,Calculate!J1192))))))","v":0},{"$f":"IF(F1192=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1192),$C$2,Calculate!I1192),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1192),$C$2,Calculate!O1192),IF(ISERROR(Calculate!K1192),$C$2,Calculate!K1192))))","v":5.5},{"$f":"AF1192 & IF(OR($AH1192,RIGHT($AF1192,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1192","v":"S"},{"$f":"Calculate!Q1192","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1192=\"X\",$F1192=\"H\",$F1192=\"Z-ERROR\"),$F1192,IF($V1192>=RULES!$F$149,\"1\",IF($W1192>=RULES!$F$149,\"2\",IF($X1192>=RULES!$F$149,\"3\",IF($Y1192>=RULES!$F$149,\"4\",IF($Z1192>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1192<>\"*\",\"~\",IF($V1192>=RULES!$G$149,\"1?\",IF($W1192>=RULES!$G$149,\"2?\",IF($X1192>=RULES!$G$149,\"3?\",IF($Y1192>=RULES!$G$149,\"4?\",IF($Z1192>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1192<>\"*\",\"~\",IF((V1192+W1192>=RULES!$F$149),\"12\",IF((W1192+X1192>=RULES!$F$149),\"23\",IF((X1192+Y1192>=RULES!$F$149),\"34\",IF((Y1192+Z1192>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1192<>\"*\",\"~\",IF(Y1192+Z1192<(1-RULES!$F$149),\"13\",IF(V1192+Z1192<(1-RULES!$F$149),\"24\",IF(V1192+W1192<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1192=\"X\",$F1192=\"H\",$F1192=\"Z-ERROR\",AND($AA1192=\"H\",$AH1192)),$AE1192,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1192,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1192,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1192,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1192,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1192&\"1\",IF(NOT($AH1192),$E1192&\"U\",$AE1192)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1192","v":""},{"$f":"'Calculator Table'!BR1192","v":0},{"$f":"Calculate!AV1192","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1201","v":0},{"$f":"IF(F1201=\"X\",\"X\",(IF(F1201<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1201),0,Calculate!H1201),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1201),0,Calculate!N1201),IF(ISERROR(Calculate!J1201),0,Calculate!J1201))))))","v":0},{"$f":"IF(F1201=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1201),$C$2,Calculate!I1201),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1201),$C$2,Calculate!O1201),IF(ISERROR(Calculate!K1201),$C$2,Calculate!K1201))))","v":5.5},{"$f":"AF1201 & IF(OR($AH1201,RIGHT($AF1201,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1201","v":"S"},{"$f":"Calculate!Q1201","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1201=\"X\",$F1201=\"H\",$F1201=\"Z-ERROR\"),$F1201,IF($V1201>=RULES!$F$149,\"1\",IF($W1201>=RULES!$F$149,\"2\",IF($X1201>=RULES!$F$149,\"3\",IF($Y1201>=RULES!$F$149,\"4\",IF($Z1201>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1201<>\"*\",\"~\",IF($V1201>=RULES!$G$149,\"1?\",IF($W1201>=RULES!$G$149,\"2?\",IF($X1201>=RULES!$G$149,\"3?\",IF($Y1201>=RULES!$G$149,\"4?\",IF($Z1201>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1201<>\"*\",\"~\",IF((V1201+W1201>=RULES!$F$149),\"12\",IF((W1201+X1201>=RULES!$F$149),\"23\",IF((X1201+Y1201>=RULES!$F$149),\"34\",IF((Y1201+Z1201>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1201<>\"*\",\"~\",IF(Y1201+Z1201<(1-RULES!$F$149),\"13\",IF(V1201+Z1201<(1-RULES!$F$149),\"24\",IF(V1201+W1201<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1201=\"X\",$F1201=\"H\",$F1201=\"Z-ERROR\",AND($AA1201=\"H\",$AH1201)),$AE1201,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1201,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1201,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1201,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1201,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1201&\"1\",IF(NOT($AH1201),$E1201&\"U\",$AE1201)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1201","v":""},{"$f":"'Calculator Table'!BR1201","v":0},{"$f":"Calculate!AV1201","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1207","v":0},{"$f":"IF(F1207=\"X\",\"X\",(IF(F1207<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1207),0,Calculate!H1207),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1207),0,Calculate!N1207),IF(ISERROR(Calculate!J1207),0,Calculate!J1207))))))","v":0},{"$f":"IF(F1207=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1207),$C$2,Calculate!I1207),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1207),$C$2,Calculate!O1207),IF(ISERROR(Calculate!K1207),$C$2,Calculate!K1207))))","v":5.5},{"$f":"AF1207 & IF(OR($AH1207,RIGHT($AF1207,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1207","v":"S"},{"$f":"Calculate!Q1207","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1207=\"X\",$F1207=\"H\",$F1207=\"Z-ERROR\"),$F1207,IF($V1207>=RULES!$F$149,\"1\",IF($W1207>=RULES!$F$149,\"2\",IF($X1207>=RULES!$F$149,\"3\",IF($Y1207>=RULES!$F$149,\"4\",IF($Z1207>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1207<>\"*\",\"~\",IF($V1207>=RULES!$G$149,\"1?\",IF($W1207>=RULES!$G$149,\"2?\",IF($X1207>=RULES!$G$149,\"3?\",IF($Y1207>=RULES!$G$149,\"4?\",IF($Z1207>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1207<>\"*\",\"~\",IF((V1207+W1207>=RULES!$F$149),\"12\",IF((W1207+X1207>=RULES!$F$149),\"23\",IF((X1207+Y1207>=RULES!$F$149),\"34\",IF((Y1207+Z1207>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1207<>\"*\",\"~\",IF(Y1207+Z1207<(1-RULES!$F$149),\"13\",IF(V1207+Z1207<(1-RULES!$F$149),\"24\",IF(V1207+W1207<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1207=\"X\",$F1207=\"H\",$F1207=\"Z-ERROR\",AND($AA1207=\"H\",$AH1207)),$AE1207,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1207,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1207,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1207,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1207,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1207&\"1\",IF(NOT($AH1207),$E1207&\"U\",$AE1207)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1207","v":""},{"$f":"'Calculator Table'!BR1207","v":0},{"$f":"Calculate!AV1207","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1210","v":0},{"$f":"IF(F1210=\"X\",\"X\",(IF(F1210<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1210),0,Calculate!H1210),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1210),0,Calculate!N1210),IF(ISERROR(Calculate!J1210),0,Calculate!J1210))))))","v":0},{"$f":"IF(F1210=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1210),$C$2,Calculate!I1210),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1210),$C$2,Calculate!O1210),IF(ISERROR(Calculate!K1210),$C$2,Calculate!K1210))))","v":5.5},{"$f":"AF1210 & IF(OR($AH1210,RIGHT($AF1210,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1210","v":"S"},{"$f":"Calculate!Q1210","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1210=\"X\",$F1210=\"H\",$F1210=\"Z-ERROR\"),$F1210,IF($V1210>=RULES!$F$149,\"1\",IF($W1210>=RULES!$F$149,\"2\",IF($X1210>=RULES!$F$149,\"3\",IF($Y1210>=RULES!$F$149,\"4\",IF($Z1210>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1210<>\"*\",\"~\",IF($V1210>=RULES!$G$149,\"1?\",IF($W1210>=RULES!$G$149,\"2?\",IF($X1210>=RULES!$G$149,\"3?\",IF($Y1210>=RULES!$G$149,\"4?\",IF($Z1210>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1210<>\"*\",\"~\",IF((V1210+W1210>=RULES!$F$149),\"12\",IF((W1210+X1210>=RULES!$F$149),\"23\",IF((X1210+Y1210>=RULES!$F$149),\"34\",IF((Y1210+Z1210>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1210<>\"*\",\"~\",IF(Y1210+Z1210<(1-RULES!$F$149),\"13\",IF(V1210+Z1210<(1-RULES!$F$149),\"24\",IF(V1210+W1210<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1210=\"X\",$F1210=\"H\",$F1210=\"Z-ERROR\",AND($AA1210=\"H\",$AH1210)),$AE1210,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1210,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1210,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1210,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1210,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1210&\"1\",IF(NOT($AH1210),$E1210&\"U\",$AE1210)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1210","v":""},{"$f":"'Calculator Table'!BR1210","v":0},{"$f":"Calculate!AV1210","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1224","v":0},{"$f":"IF(F1224=\"X\",\"X\",(IF(F1224<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1224),0,Calculate!H1224),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1224),0,Calculate!N1224),IF(ISERROR(Calculate!J1224),0,Calculate!J1224))))))","v":0},{"$f":"IF(F1224=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1224),$C$2,Calculate!I1224),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1224),$C$2,Calculate!O1224),IF(ISERROR(Calculate!K1224),$C$2,Calculate!K1224))))","v":5.5},{"$f":"AF1224 & IF(OR($AH1224,RIGHT($AF1224,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1224","v":"S"},{"$f":"Calculate!Q1224","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1224=\"X\",$F1224=\"H\",$F1224=\"Z-ERROR\"),$F1224,IF($V1224>=RULES!$F$149,\"1\",IF($W1224>=RULES!$F$149,\"2\",IF($X1224>=RULES!$F$149,\"3\",IF($Y1224>=RULES!$F$149,\"4\",IF($Z1224>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1224<>\"*\",\"~\",IF($V1224>=RULES!$G$149,\"1?\",IF($W1224>=RULES!$G$149,\"2?\",IF($X1224>=RULES!$G$149,\"3?\",IF($Y1224>=RULES!$G$149,\"4?\",IF($Z1224>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1224<>\"*\",\"~\",IF((V1224+W1224>=RULES!$F$149),\"12\",IF((W1224+X1224>=RULES!$F$149),\"23\",IF((X1224+Y1224>=RULES!$F$149),\"34\",IF((Y1224+Z1224>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1224<>\"*\",\"~\",IF(Y1224+Z1224<(1-RULES!$F$149),\"13\",IF(V1224+Z1224<(1-RULES!$F$149),\"24\",IF(V1224+W1224<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1224=\"X\",$F1224=\"H\",$F1224=\"Z-ERROR\",AND($AA1224=\"H\",$AH1224)),$AE1224,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1224,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1224,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1224,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1224,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1224&\"1\",IF(NOT($AH1224),$E1224&\"U\",$AE1224)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1224","v":""},{"$f":"'Calculator Table'!BR1224","v":0},{"$f":"Calculate!AV1224","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1227","v":0},{"$f":"IF(F1227=\"X\",\"X\",(IF(F1227<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1227),0,Calculate!H1227),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1227),0,Calculate!N1227),IF(ISERROR(Calculate!J1227),0,Calculate!J1227))))))","v":0},{"$f":"IF(F1227=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1227),$C$2,Calculate!I1227),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1227),$C$2,Calculate!O1227),IF(ISERROR(Calculate!K1227),$C$2,Calculate!K1227))))","v":5.5},{"$f":"AF1227 & IF(OR($AH1227,RIGHT($AF1227,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1227","v":"S"},{"$f":"Calculate!Q1227","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1227=\"X\",$F1227=\"H\",$F1227=\"Z-ERROR\"),$F1227,IF($V1227>=RULES!$F$149,\"1\",IF($W1227>=RULES!$F$149,\"2\",IF($X1227>=RULES!$F$149,\"3\",IF($Y1227>=RULES!$F$149,\"4\",IF($Z1227>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1227<>\"*\",\"~\",IF($V1227>=RULES!$G$149,\"1?\",IF($W1227>=RULES!$G$149,\"2?\",IF($X1227>=RULES!$G$149,\"3?\",IF($Y1227>=RULES!$G$149,\"4?\",IF($Z1227>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1227<>\"*\",\"~\",IF((V1227+W1227>=RULES!$F$149),\"12\",IF((W1227+X1227>=RULES!$F$149),\"23\",IF((X1227+Y1227>=RULES!$F$149),\"34\",IF((Y1227+Z1227>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1227<>\"*\",\"~\",IF(Y1227+Z1227<(1-RULES!$F$149),\"13\",IF(V1227+Z1227<(1-RULES!$F$149),\"24\",IF(V1227+W1227<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1227=\"X\",$F1227=\"H\",$F1227=\"Z-ERROR\",AND($AA1227=\"H\",$AH1227)),$AE1227,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1227,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1227,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1227,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1227,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1227&\"1\",IF(NOT($AH1227),$E1227&\"U\",$AE1227)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1227","v":""},{"$f":"'Calculator Table'!BR1227","v":0},{"$f":"Calculate!AV1227","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1238","v":0},{"$f":"IF(F1238=\"X\",\"X\",(IF(F1238<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1238),0,Calculate!H1238),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1238),0,Calculate!N1238),IF(ISERROR(Calculate!J1238),0,Calculate!J1238))))))","v":0},{"$f":"IF(F1238=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1238),$C$2,Calculate!I1238),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1238),$C$2,Calculate!O1238),IF(ISERROR(Calculate!K1238),$C$2,Calculate!K1238))))","v":5.5},{"$f":"AF1238 & IF(OR($AH1238,RIGHT($AF1238,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1238","v":"S"},{"$f":"Calculate!Q1238","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1238=\"X\",$F1238=\"H\",$F1238=\"Z-ERROR\"),$F1238,IF($V1238>=RULES!$F$149,\"1\",IF($W1238>=RULES!$F$149,\"2\",IF($X1238>=RULES!$F$149,\"3\",IF($Y1238>=RULES!$F$149,\"4\",IF($Z1238>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1238<>\"*\",\"~\",IF($V1238>=RULES!$G$149,\"1?\",IF($W1238>=RULES!$G$149,\"2?\",IF($X1238>=RULES!$G$149,\"3?\",IF($Y1238>=RULES!$G$149,\"4?\",IF($Z1238>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1238<>\"*\",\"~\",IF((V1238+W1238>=RULES!$F$149),\"12\",IF((W1238+X1238>=RULES!$F$149),\"23\",IF((X1238+Y1238>=RULES!$F$149),\"34\",IF((Y1238+Z1238>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1238<>\"*\",\"~\",IF(Y1238+Z1238<(1-RULES!$F$149),\"13\",IF(V1238+Z1238<(1-RULES!$F$149),\"24\",IF(V1238+W1238<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1238=\"X\",$F1238=\"H\",$F1238=\"Z-ERROR\",AND($AA1238=\"H\",$AH1238)),$AE1238,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1238,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1238,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1238,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1238,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1238&\"1\",IF(NOT($AH1238),$E1238&\"U\",$AE1238)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1238","v":""},{"$f":"'Calculator Table'!BR1238","v":0},{"$f":"Calculate!AV1238","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1244","v":0},{"$f":"IF(F1244=\"X\",\"X\",(IF(F1244<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1244),0,Calculate!H1244),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1244),0,Calculate!N1244),IF(ISERROR(Calculate!J1244),0,Calculate!J1244))))))","v":0},{"$f":"IF(F1244=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1244),$C$2,Calculate!I1244),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1244),$C$2,Calculate!O1244),IF(ISERROR(Calculate!K1244),$C$2,Calculate!K1244))))","v":5.5},{"$f":"AF1244 & IF(OR($AH1244,RIGHT($AF1244,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1244","v":"S"},{"$f":"Calculate!Q1244","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1244=\"X\",$F1244=\"H\",$F1244=\"Z-ERROR\"),$F1244,IF($V1244>=RULES!$F$149,\"1\",IF($W1244>=RULES!$F$149,\"2\",IF($X1244>=RULES!$F$149,\"3\",IF($Y1244>=RULES!$F$149,\"4\",IF($Z1244>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1244<>\"*\",\"~\",IF($V1244>=RULES!$G$149,\"1?\",IF($W1244>=RULES!$G$149,\"2?\",IF($X1244>=RULES!$G$149,\"3?\",IF($Y1244>=RULES!$G$149,\"4?\",IF($Z1244>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1244<>\"*\",\"~\",IF((V1244+W1244>=RULES!$F$149),\"12\",IF((W1244+X1244>=RULES!$F$149),\"23\",IF((X1244+Y1244>=RULES!$F$149),\"34\",IF((Y1244+Z1244>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1244<>\"*\",\"~\",IF(Y1244+Z1244<(1-RULES!$F$149),\"13\",IF(V1244+Z1244<(1-RULES!$F$149),\"24\",IF(V1244+W1244<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1244=\"X\",$F1244=\"H\",$F1244=\"Z-ERROR\",AND($AA1244=\"H\",$AH1244)),$AE1244,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1244,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1244,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1244,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1244,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1244&\"1\",IF(NOT($AH1244),$E1244&\"U\",$AE1244)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1244","v":""},{"$f":"'Calculator Table'!BR1244","v":0},{"$f":"Calculate!AV1244","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1252","v":0},{"$f":"IF(F1252=\"X\",\"X\",(IF(F1252<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1252),0,Calculate!H1252),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1252),0,Calculate!N1252),IF(ISERROR(Calculate!J1252),0,Calculate!J1252))))))","v":0},{"$f":"IF(F1252=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1252),$C$2,Calculate!I1252),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1252),$C$2,Calculate!O1252),IF(ISERROR(Calculate!K1252),$C$2,Calculate!K1252))))","v":5.5},{"$f":"AF1252 & IF(OR($AH1252,RIGHT($AF1252,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1252","v":"S"},{"$f":"Calculate!Q1252","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1252=\"X\",$F1252=\"H\",$F1252=\"Z-ERROR\"),$F1252,IF($V1252>=RULES!$F$149,\"1\",IF($W1252>=RULES!$F$149,\"2\",IF($X1252>=RULES!$F$149,\"3\",IF($Y1252>=RULES!$F$149,\"4\",IF($Z1252>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1252<>\"*\",\"~\",IF($V1252>=RULES!$G$149,\"1?\",IF($W1252>=RULES!$G$149,\"2?\",IF($X1252>=RULES!$G$149,\"3?\",IF($Y1252>=RULES!$G$149,\"4?\",IF($Z1252>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1252<>\"*\",\"~\",IF((V1252+W1252>=RULES!$F$149),\"12\",IF((W1252+X1252>=RULES!$F$149),\"23\",IF((X1252+Y1252>=RULES!$F$149),\"34\",IF((Y1252+Z1252>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1252<>\"*\",\"~\",IF(Y1252+Z1252<(1-RULES!$F$149),\"13\",IF(V1252+Z1252<(1-RULES!$F$149),\"24\",IF(V1252+W1252<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1252=\"X\",$F1252=\"H\",$F1252=\"Z-ERROR\",AND($AA1252=\"H\",$AH1252)),$AE1252,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1252,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1252,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1252,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1252,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1252&\"1\",IF(NOT($AH1252),$E1252&\"U\",$AE1252)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1252","v":""},{"$f":"'Calculator Table'!BR1252","v":0},{"$f":"Calculate!AV1252","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1261","v":0},{"$f":"IF(F1261=\"X\",\"X\",(IF(F1261<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1261),0,Calculate!H1261),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1261),0,Calculate!N1261),IF(ISERROR(Calculate!J1261),0,Calculate!J1261))))))","v":0},{"$f":"IF(F1261=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1261),$C$2,Calculate!I1261),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1261),$C$2,Calculate!O1261),IF(ISERROR(Calculate!K1261),$C$2,Calculate!K1261))))","v":5.5},{"$f":"AF1261 & IF(OR($AH1261,RIGHT($AF1261,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1261","v":"S"},{"$f":"Calculate!Q1261","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1261=\"X\",$F1261=\"H\",$F1261=\"Z-ERROR\"),$F1261,IF($V1261>=RULES!$F$149,\"1\",IF($W1261>=RULES!$F$149,\"2\",IF($X1261>=RULES!$F$149,\"3\",IF($Y1261>=RULES!$F$149,\"4\",IF($Z1261>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1261<>\"*\",\"~\",IF($V1261>=RULES!$G$149,\"1?\",IF($W1261>=RULES!$G$149,\"2?\",IF($X1261>=RULES!$G$149,\"3?\",IF($Y1261>=RULES!$G$149,\"4?\",IF($Z1261>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1261<>\"*\",\"~\",IF((V1261+W1261>=RULES!$F$149),\"12\",IF((W1261+X1261>=RULES!$F$149),\"23\",IF((X1261+Y1261>=RULES!$F$149),\"34\",IF((Y1261+Z1261>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1261<>\"*\",\"~\",IF(Y1261+Z1261<(1-RULES!$F$149),\"13\",IF(V1261+Z1261<(1-RULES!$F$149),\"24\",IF(V1261+W1261<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1261=\"X\",$F1261=\"H\",$F1261=\"Z-ERROR\",AND($AA1261=\"H\",$AH1261)),$AE1261,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1261,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1261,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1261,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1261,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1261&\"1\",IF(NOT($AH1261),$E1261&\"U\",$AE1261)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1261","v":""},{"$f":"'Calculator Table'!BR1261","v":0},{"$f":"Calculate!AV1261","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1270","v":0},{"$f":"IF(F1270=\"X\",\"X\",(IF(F1270<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1270),0,Calculate!H1270),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1270),0,Calculate!N1270),IF(ISERROR(Calculate!J1270),0,Calculate!J1270))))))","v":0},{"$f":"IF(F1270=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1270),$C$2,Calculate!I1270),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1270),$C$2,Calculate!O1270),IF(ISERROR(Calculate!K1270),$C$2,Calculate!K1270))))","v":5.5},{"$f":"AF1270 & IF(OR($AH1270,RIGHT($AF1270,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1270","v":"S"},{"$f":"Calculate!Q1270","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1270=\"X\",$F1270=\"H\",$F1270=\"Z-ERROR\"),$F1270,IF($V1270>=RULES!$F$149,\"1\",IF($W1270>=RULES!$F$149,\"2\",IF($X1270>=RULES!$F$149,\"3\",IF($Y1270>=RULES!$F$149,\"4\",IF($Z1270>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1270<>\"*\",\"~\",IF($V1270>=RULES!$G$149,\"1?\",IF($W1270>=RULES!$G$149,\"2?\",IF($X1270>=RULES!$G$149,\"3?\",IF($Y1270>=RULES!$G$149,\"4?\",IF($Z1270>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1270<>\"*\",\"~\",IF((V1270+W1270>=RULES!$F$149),\"12\",IF((W1270+X1270>=RULES!$F$149),\"23\",IF((X1270+Y1270>=RULES!$F$149),\"34\",IF((Y1270+Z1270>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1270<>\"*\",\"~\",IF(Y1270+Z1270<(1-RULES!$F$149),\"13\",IF(V1270+Z1270<(1-RULES!$F$149),\"24\",IF(V1270+W1270<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1270=\"X\",$F1270=\"H\",$F1270=\"Z-ERROR\",AND($AA1270=\"H\",$AH1270)),$AE1270,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1270,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1270,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1270,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1270,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1270&\"1\",IF(NOT($AH1270),$E1270&\"U\",$AE1270)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1270","v":""},{"$f":"'Calculator Table'!BR1270","v":0},{"$f":"Calculate!AV1270","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1275","v":0},{"$f":"IF(F1275=\"X\",\"X\",(IF(F1275<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1275),0,Calculate!H1275),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1275),0,Calculate!N1275),IF(ISERROR(Calculate!J1275),0,Calculate!J1275))))))","v":0},{"$f":"IF(F1275=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1275),$C$2,Calculate!I1275),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1275),$C$2,Calculate!O1275),IF(ISERROR(Calculate!K1275),$C$2,Calculate!K1275))))","v":5.5},{"$f":"AF1275 & IF(OR($AH1275,RIGHT($AF1275,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1275","v":"S"},{"$f":"Calculate!Q1275","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1275=\"X\",$F1275=\"H\",$F1275=\"Z-ERROR\"),$F1275,IF($V1275>=RULES!$F$149,\"1\",IF($W1275>=RULES!$F$149,\"2\",IF($X1275>=RULES!$F$149,\"3\",IF($Y1275>=RULES!$F$149,\"4\",IF($Z1275>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1275<>\"*\",\"~\",IF($V1275>=RULES!$G$149,\"1?\",IF($W1275>=RULES!$G$149,\"2?\",IF($X1275>=RULES!$G$149,\"3?\",IF($Y1275>=RULES!$G$149,\"4?\",IF($Z1275>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1275<>\"*\",\"~\",IF((V1275+W1275>=RULES!$F$149),\"12\",IF((W1275+X1275>=RULES!$F$149),\"23\",IF((X1275+Y1275>=RULES!$F$149),\"34\",IF((Y1275+Z1275>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1275<>\"*\",\"~\",IF(Y1275+Z1275<(1-RULES!$F$149),\"13\",IF(V1275+Z1275<(1-RULES!$F$149),\"24\",IF(V1275+W1275<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1275=\"X\",$F1275=\"H\",$F1275=\"Z-ERROR\",AND($AA1275=\"H\",$AH1275)),$AE1275,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1275,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1275,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1275,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1275,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1275&\"1\",IF(NOT($AH1275),$E1275&\"U\",$AE1275)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1275","v":""},{"$f":"'Calculator Table'!BR1275","v":0},{"$f":"Calculate!AV1275","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1279","v":0},{"$f":"IF(F1279=\"X\",\"X\",(IF(F1279<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1279),0,Calculate!H1279),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1279),0,Calculate!N1279),IF(ISERROR(Calculate!J1279),0,Calculate!J1279))))))","v":0},{"$f":"IF(F1279=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1279),$C$2,Calculate!I1279),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1279),$C$2,Calculate!O1279),IF(ISERROR(Calculate!K1279),$C$2,Calculate!K1279))))","v":5.5},{"$f":"AF1279 & IF(OR($AH1279,RIGHT($AF1279,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1279","v":"S"},{"$f":"Calculate!Q1279","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1279=\"X\",$F1279=\"H\",$F1279=\"Z-ERROR\"),$F1279,IF($V1279>=RULES!$F$149,\"1\",IF($W1279>=RULES!$F$149,\"2\",IF($X1279>=RULES!$F$149,\"3\",IF($Y1279>=RULES!$F$149,\"4\",IF($Z1279>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1279<>\"*\",\"~\",IF($V1279>=RULES!$G$149,\"1?\",IF($W1279>=RULES!$G$149,\"2?\",IF($X1279>=RULES!$G$149,\"3?\",IF($Y1279>=RULES!$G$149,\"4?\",IF($Z1279>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1279<>\"*\",\"~\",IF((V1279+W1279>=RULES!$F$149),\"12\",IF((W1279+X1279>=RULES!$F$149),\"23\",IF((X1279+Y1279>=RULES!$F$149),\"34\",IF((Y1279+Z1279>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1279<>\"*\",\"~\",IF(Y1279+Z1279<(1-RULES!$F$149),\"13\",IF(V1279+Z1279<(1-RULES!$F$149),\"24\",IF(V1279+W1279<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1279=\"X\",$F1279=\"H\",$F1279=\"Z-ERROR\",AND($AA1279=\"H\",$AH1279)),$AE1279,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1279,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1279,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1279,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1279,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1279&\"1\",IF(NOT($AH1279),$E1279&\"U\",$AE1279)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1279","v":""},{"$f":"'Calculator Table'!BR1279","v":0},{"$f":"Calculate!AV1279","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1289","v":0},{"$f":"IF(F1289=\"X\",\"X\",(IF(F1289<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1289),0,Calculate!H1289),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1289),0,Calculate!N1289),IF(ISERROR(Calculate!J1289),0,Calculate!J1289))))))","v":0},{"$f":"IF(F1289=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1289),$C$2,Calculate!I1289),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1289),$C$2,Calculate!O1289),IF(ISERROR(Calculate!K1289),$C$2,Calculate!K1289))))","v":5.5},{"$f":"AF1289 & IF(OR($AH1289,RIGHT($AF1289,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1289","v":"S"},{"$f":"Calculate!Q1289","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1289=\"X\",$F1289=\"H\",$F1289=\"Z-ERROR\"),$F1289,IF($V1289>=RULES!$F$149,\"1\",IF($W1289>=RULES!$F$149,\"2\",IF($X1289>=RULES!$F$149,\"3\",IF($Y1289>=RULES!$F$149,\"4\",IF($Z1289>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1289<>\"*\",\"~\",IF($V1289>=RULES!$G$149,\"1?\",IF($W1289>=RULES!$G$149,\"2?\",IF($X1289>=RULES!$G$149,\"3?\",IF($Y1289>=RULES!$G$149,\"4?\",IF($Z1289>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1289<>\"*\",\"~\",IF((V1289+W1289>=RULES!$F$149),\"12\",IF((W1289+X1289>=RULES!$F$149),\"23\",IF((X1289+Y1289>=RULES!$F$149),\"34\",IF((Y1289+Z1289>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1289<>\"*\",\"~\",IF(Y1289+Z1289<(1-RULES!$F$149),\"13\",IF(V1289+Z1289<(1-RULES!$F$149),\"24\",IF(V1289+W1289<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1289=\"X\",$F1289=\"H\",$F1289=\"Z-ERROR\",AND($AA1289=\"H\",$AH1289)),$AE1289,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1289,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1289,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1289,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1289,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1289&\"1\",IF(NOT($AH1289),$E1289&\"U\",$AE1289)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1289","v":""},{"$f":"'Calculator Table'!BR1289","v":0},{"$f":"Calculate!AV1289","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1296","v":0},{"$f":"IF(F1296=\"X\",\"X\",(IF(F1296<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1296),0,Calculate!H1296),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1296),0,Calculate!N1296),IF(ISERROR(Calculate!J1296),0,Calculate!J1296))))))","v":0},{"$f":"IF(F1296=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1296),$C$2,Calculate!I1296),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1296),$C$2,Calculate!O1296),IF(ISERROR(Calculate!K1296),$C$2,Calculate!K1296))))","v":5.5},{"$f":"AF1296 & IF(OR($AH1296,RIGHT($AF1296,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1296","v":"S"},{"$f":"Calculate!Q1296","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1296=\"X\",$F1296=\"H\",$F1296=\"Z-ERROR\"),$F1296,IF($V1296>=RULES!$F$149,\"1\",IF($W1296>=RULES!$F$149,\"2\",IF($X1296>=RULES!$F$149,\"3\",IF($Y1296>=RULES!$F$149,\"4\",IF($Z1296>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1296<>\"*\",\"~\",IF($V1296>=RULES!$G$149,\"1?\",IF($W1296>=RULES!$G$149,\"2?\",IF($X1296>=RULES!$G$149,\"3?\",IF($Y1296>=RULES!$G$149,\"4?\",IF($Z1296>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1296<>\"*\",\"~\",IF((V1296+W1296>=RULES!$F$149),\"12\",IF((W1296+X1296>=RULES!$F$149),\"23\",IF((X1296+Y1296>=RULES!$F$149),\"34\",IF((Y1296+Z1296>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1296<>\"*\",\"~\",IF(Y1296+Z1296<(1-RULES!$F$149),\"13\",IF(V1296+Z1296<(1-RULES!$F$149),\"24\",IF(V1296+W1296<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1296=\"X\",$F1296=\"H\",$F1296=\"Z-ERROR\",AND($AA1296=\"H\",$AH1296)),$AE1296,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1296,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1296,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1296,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1296,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1296&\"1\",IF(NOT($AH1296),$E1296&\"U\",$AE1296)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1296","v":""},{"$f":"'Calculator Table'!BR1296","v":0},{"$f":"Calculate!AV1296","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1303","v":0},{"$f":"IF(F1303=\"X\",\"X\",(IF(F1303<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1303),0,Calculate!H1303),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1303),0,Calculate!N1303),IF(ISERROR(Calculate!J1303),0,Calculate!J1303))))))","v":0},{"$f":"IF(F1303=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1303),$C$2,Calculate!I1303),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1303),$C$2,Calculate!O1303),IF(ISERROR(Calculate!K1303),$C$2,Calculate!K1303))))","v":5.5},{"$f":"AF1303 & IF(OR($AH1303,RIGHT($AF1303,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1303","v":"S"},{"$f":"Calculate!Q1303","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1303=\"X\",$F1303=\"H\",$F1303=\"Z-ERROR\"),$F1303,IF($V1303>=RULES!$F$149,\"1\",IF($W1303>=RULES!$F$149,\"2\",IF($X1303>=RULES!$F$149,\"3\",IF($Y1303>=RULES!$F$149,\"4\",IF($Z1303>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1303<>\"*\",\"~\",IF($V1303>=RULES!$G$149,\"1?\",IF($W1303>=RULES!$G$149,\"2?\",IF($X1303>=RULES!$G$149,\"3?\",IF($Y1303>=RULES!$G$149,\"4?\",IF($Z1303>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1303<>\"*\",\"~\",IF((V1303+W1303>=RULES!$F$149),\"12\",IF((W1303+X1303>=RULES!$F$149),\"23\",IF((X1303+Y1303>=RULES!$F$149),\"34\",IF((Y1303+Z1303>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1303<>\"*\",\"~\",IF(Y1303+Z1303<(1-RULES!$F$149),\"13\",IF(V1303+Z1303<(1-RULES!$F$149),\"24\",IF(V1303+W1303<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1303=\"X\",$F1303=\"H\",$F1303=\"Z-ERROR\",AND($AA1303=\"H\",$AH1303)),$AE1303,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1303,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1303,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1303,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1303,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1303&\"1\",IF(NOT($AH1303),$E1303&\"U\",$AE1303)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1303","v":""},{"$f":"'Calculator Table'!BR1303","v":0},{"$f":"Calculate!AV1303","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1313","v":0},{"$f":"IF(F1313=\"X\",\"X\",(IF(F1313<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1313),0,Calculate!H1313),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1313),0,Calculate!N1313),IF(ISERROR(Calculate!J1313),0,Calculate!J1313))))))","v":0},{"$f":"IF(F1313=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1313),$C$2,Calculate!I1313),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1313),$C$2,Calculate!O1313),IF(ISERROR(Calculate!K1313),$C$2,Calculate!K1313))))","v":5.5},{"$f":"AF1313 & IF(OR($AH1313,RIGHT($AF1313,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1313","v":"S"},{"$f":"Calculate!Q1313","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1313=\"X\",$F1313=\"H\",$F1313=\"Z-ERROR\"),$F1313,IF($V1313>=RULES!$F$149,\"1\",IF($W1313>=RULES!$F$149,\"2\",IF($X1313>=RULES!$F$149,\"3\",IF($Y1313>=RULES!$F$149,\"4\",IF($Z1313>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1313<>\"*\",\"~\",IF($V1313>=RULES!$G$149,\"1?\",IF($W1313>=RULES!$G$149,\"2?\",IF($X1313>=RULES!$G$149,\"3?\",IF($Y1313>=RULES!$G$149,\"4?\",IF($Z1313>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1313<>\"*\",\"~\",IF((V1313+W1313>=RULES!$F$149),\"12\",IF((W1313+X1313>=RULES!$F$149),\"23\",IF((X1313+Y1313>=RULES!$F$149),\"34\",IF((Y1313+Z1313>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1313<>\"*\",\"~\",IF(Y1313+Z1313<(1-RULES!$F$149),\"13\",IF(V1313+Z1313<(1-RULES!$F$149),\"24\",IF(V1313+W1313<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1313=\"X\",$F1313=\"H\",$F1313=\"Z-ERROR\",AND($AA1313=\"H\",$AH1313)),$AE1313,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1313,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1313,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1313,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1313,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1313&\"1\",IF(NOT($AH1313),$E1313&\"U\",$AE1313)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1313","v":""},{"$f":"'Calculator Table'!BR1313","v":0},{"$f":"Calculate!AV1313","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1320","v":0},{"$f":"IF(F1320=\"X\",\"X\",(IF(F1320<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1320),0,Calculate!H1320),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1320),0,Calculate!N1320),IF(ISERROR(Calculate!J1320),0,Calculate!J1320))))))","v":0},{"$f":"IF(F1320=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1320),$C$2,Calculate!I1320),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1320),$C$2,Calculate!O1320),IF(ISERROR(Calculate!K1320),$C$2,Calculate!K1320))))","v":5.5},{"$f":"AF1320 & IF(OR($AH1320,RIGHT($AF1320,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1320","v":"S"},{"$f":"Calculate!Q1320","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1320=\"X\",$F1320=\"H\",$F1320=\"Z-ERROR\"),$F1320,IF($V1320>=RULES!$F$149,\"1\",IF($W1320>=RULES!$F$149,\"2\",IF($X1320>=RULES!$F$149,\"3\",IF($Y1320>=RULES!$F$149,\"4\",IF($Z1320>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1320<>\"*\",\"~\",IF($V1320>=RULES!$G$149,\"1?\",IF($W1320>=RULES!$G$149,\"2?\",IF($X1320>=RULES!$G$149,\"3?\",IF($Y1320>=RULES!$G$149,\"4?\",IF($Z1320>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1320<>\"*\",\"~\",IF((V1320+W1320>=RULES!$F$149),\"12\",IF((W1320+X1320>=RULES!$F$149),\"23\",IF((X1320+Y1320>=RULES!$F$149),\"34\",IF((Y1320+Z1320>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1320<>\"*\",\"~\",IF(Y1320+Z1320<(1-RULES!$F$149),\"13\",IF(V1320+Z1320<(1-RULES!$F$149),\"24\",IF(V1320+W1320<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1320=\"X\",$F1320=\"H\",$F1320=\"Z-ERROR\",AND($AA1320=\"H\",$AH1320)),$AE1320,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1320,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1320,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1320,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1320,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1320&\"1\",IF(NOT($AH1320),$E1320&\"U\",$AE1320)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1320","v":""},{"$f":"'Calculator Table'!BR1320","v":0},{"$f":"Calculate!AV1320","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1330","v":0},{"$f":"IF(F1330=\"X\",\"X\",(IF(F1330<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1330),0,Calculate!H1330),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1330),0,Calculate!N1330),IF(ISERROR(Calculate!J1330),0,Calculate!J1330))))))","v":0},{"$f":"IF(F1330=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1330),$C$2,Calculate!I1330),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1330),$C$2,Calculate!O1330),IF(ISERROR(Calculate!K1330),$C$2,Calculate!K1330))))","v":5.5},{"$f":"AF1330 & IF(OR($AH1330,RIGHT($AF1330,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1330","v":"S"},{"$f":"Calculate!Q1330","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1330=\"X\",$F1330=\"H\",$F1330=\"Z-ERROR\"),$F1330,IF($V1330>=RULES!$F$149,\"1\",IF($W1330>=RULES!$F$149,\"2\",IF($X1330>=RULES!$F$149,\"3\",IF($Y1330>=RULES!$F$149,\"4\",IF($Z1330>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1330<>\"*\",\"~\",IF($V1330>=RULES!$G$149,\"1?\",IF($W1330>=RULES!$G$149,\"2?\",IF($X1330>=RULES!$G$149,\"3?\",IF($Y1330>=RULES!$G$149,\"4?\",IF($Z1330>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1330<>\"*\",\"~\",IF((V1330+W1330>=RULES!$F$149),\"12\",IF((W1330+X1330>=RULES!$F$149),\"23\",IF((X1330+Y1330>=RULES!$F$149),\"34\",IF((Y1330+Z1330>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1330<>\"*\",\"~\",IF(Y1330+Z1330<(1-RULES!$F$149),\"13\",IF(V1330+Z1330<(1-RULES!$F$149),\"24\",IF(V1330+W1330<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1330=\"X\",$F1330=\"H\",$F1330=\"Z-ERROR\",AND($AA1330=\"H\",$AH1330)),$AE1330,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1330,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1330,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1330,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1330,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1330&\"1\",IF(NOT($AH1330),$E1330&\"U\",$AE1330)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1330","v":""},{"$f":"'Calculator Table'!BR1330","v":0},{"$f":"Calculate!AV1330","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1331","v":0},{"$f":"IF(F1331=\"X\",\"X\",(IF(F1331<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1331),0,Calculate!H1331),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1331),0,Calculate!N1331),IF(ISERROR(Calculate!J1331),0,Calculate!J1331))))))","v":0},{"$f":"IF(F1331=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1331),$C$2,Calculate!I1331),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1331),$C$2,Calculate!O1331),IF(ISERROR(Calculate!K1331),$C$2,Calculate!K1331))))","v":5.5},{"$f":"AF1331 & IF(OR($AH1331,RIGHT($AF1331,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1331","v":"S"},{"$f":"Calculate!Q1331","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1331=\"X\",$F1331=\"H\",$F1331=\"Z-ERROR\"),$F1331,IF($V1331>=RULES!$F$149,\"1\",IF($W1331>=RULES!$F$149,\"2\",IF($X1331>=RULES!$F$149,\"3\",IF($Y1331>=RULES!$F$149,\"4\",IF($Z1331>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1331<>\"*\",\"~\",IF($V1331>=RULES!$G$149,\"1?\",IF($W1331>=RULES!$G$149,\"2?\",IF($X1331>=RULES!$G$149,\"3?\",IF($Y1331>=RULES!$G$149,\"4?\",IF($Z1331>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1331<>\"*\",\"~\",IF((V1331+W1331>=RULES!$F$149),\"12\",IF((W1331+X1331>=RULES!$F$149),\"23\",IF((X1331+Y1331>=RULES!$F$149),\"34\",IF((Y1331+Z1331>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1331<>\"*\",\"~\",IF(Y1331+Z1331<(1-RULES!$F$149),\"13\",IF(V1331+Z1331<(1-RULES!$F$149),\"24\",IF(V1331+W1331<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1331=\"X\",$F1331=\"H\",$F1331=\"Z-ERROR\",AND($AA1331=\"H\",$AH1331)),$AE1331,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1331,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1331,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1331,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1331,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1331&\"1\",IF(NOT($AH1331),$E1331&\"U\",$AE1331)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1331","v":""},{"$f":"'Calculator Table'!BR1331","v":0},{"$f":"Calculate!AV1331","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1340","v":0},{"$f":"IF(F1340=\"X\",\"X\",(IF(F1340<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1340),0,Calculate!H1340),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1340),0,Calculate!N1340),IF(ISERROR(Calculate!J1340),0,Calculate!J1340))))))","v":0},{"$f":"IF(F1340=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1340),$C$2,Calculate!I1340),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1340),$C$2,Calculate!O1340),IF(ISERROR(Calculate!K1340),$C$2,Calculate!K1340))))","v":5.5},{"$f":"AF1340 & IF(OR($AH1340,RIGHT($AF1340,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1340","v":"S"},{"$f":"Calculate!Q1340","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1340=\"X\",$F1340=\"H\",$F1340=\"Z-ERROR\"),$F1340,IF($V1340>=RULES!$F$149,\"1\",IF($W1340>=RULES!$F$149,\"2\",IF($X1340>=RULES!$F$149,\"3\",IF($Y1340>=RULES!$F$149,\"4\",IF($Z1340>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1340<>\"*\",\"~\",IF($V1340>=RULES!$G$149,\"1?\",IF($W1340>=RULES!$G$149,\"2?\",IF($X1340>=RULES!$G$149,\"3?\",IF($Y1340>=RULES!$G$149,\"4?\",IF($Z1340>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1340<>\"*\",\"~\",IF((V1340+W1340>=RULES!$F$149),\"12\",IF((W1340+X1340>=RULES!$F$149),\"23\",IF((X1340+Y1340>=RULES!$F$149),\"34\",IF((Y1340+Z1340>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1340<>\"*\",\"~\",IF(Y1340+Z1340<(1-RULES!$F$149),\"13\",IF(V1340+Z1340<(1-RULES!$F$149),\"24\",IF(V1340+W1340<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1340=\"X\",$F1340=\"H\",$F1340=\"Z-ERROR\",AND($AA1340=\"H\",$AH1340)),$AE1340,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1340,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1340,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1340,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1340,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1340&\"1\",IF(NOT($AH1340),$E1340&\"U\",$AE1340)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1340","v":""},{"$f":"'Calculator Table'!BR1340","v":0},{"$f":"Calculate!AV1340","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1348","v":0},{"$f":"IF(F1348=\"X\",\"X\",(IF(F1348<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1348),0,Calculate!H1348),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1348),0,Calculate!N1348),IF(ISERROR(Calculate!J1348),0,Calculate!J1348))))))","v":0},{"$f":"IF(F1348=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1348),$C$2,Calculate!I1348),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1348),$C$2,Calculate!O1348),IF(ISERROR(Calculate!K1348),$C$2,Calculate!K1348))))","v":5.5},{"$f":"AF1348 & IF(OR($AH1348,RIGHT($AF1348,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1348","v":"S"},{"$f":"Calculate!Q1348","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1348=\"X\",$F1348=\"H\",$F1348=\"Z-ERROR\"),$F1348,IF($V1348>=RULES!$F$149,\"1\",IF($W1348>=RULES!$F$149,\"2\",IF($X1348>=RULES!$F$149,\"3\",IF($Y1348>=RULES!$F$149,\"4\",IF($Z1348>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1348<>\"*\",\"~\",IF($V1348>=RULES!$G$149,\"1?\",IF($W1348>=RULES!$G$149,\"2?\",IF($X1348>=RULES!$G$149,\"3?\",IF($Y1348>=RULES!$G$149,\"4?\",IF($Z1348>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1348<>\"*\",\"~\",IF((V1348+W1348>=RULES!$F$149),\"12\",IF((W1348+X1348>=RULES!$F$149),\"23\",IF((X1348+Y1348>=RULES!$F$149),\"34\",IF((Y1348+Z1348>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1348<>\"*\",\"~\",IF(Y1348+Z1348<(1-RULES!$F$149),\"13\",IF(V1348+Z1348<(1-RULES!$F$149),\"24\",IF(V1348+W1348<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1348=\"X\",$F1348=\"H\",$F1348=\"Z-ERROR\",AND($AA1348=\"H\",$AH1348)),$AE1348,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1348,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1348,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1348,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1348,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1348&\"1\",IF(NOT($AH1348),$E1348&\"U\",$AE1348)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1348","v":""},{"$f":"'Calculator Table'!BR1348","v":0},{"$f":"Calculate!AV1348","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1357","v":0},{"$f":"IF(F1357=\"X\",\"X\",(IF(F1357<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1357),0,Calculate!H1357),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1357),0,Calculate!N1357),IF(ISERROR(Calculate!J1357),0,Calculate!J1357))))))","v":0},{"$f":"IF(F1357=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1357),$C$2,Calculate!I1357),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1357),$C$2,Calculate!O1357),IF(ISERROR(Calculate!K1357),$C$2,Calculate!K1357))))","v":5.5},{"$f":"AF1357 & IF(OR($AH1357,RIGHT($AF1357,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1357","v":"S"},{"$f":"Calculate!Q1357","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1357=\"X\",$F1357=\"H\",$F1357=\"Z-ERROR\"),$F1357,IF($V1357>=RULES!$F$149,\"1\",IF($W1357>=RULES!$F$149,\"2\",IF($X1357>=RULES!$F$149,\"3\",IF($Y1357>=RULES!$F$149,\"4\",IF($Z1357>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1357<>\"*\",\"~\",IF($V1357>=RULES!$G$149,\"1?\",IF($W1357>=RULES!$G$149,\"2?\",IF($X1357>=RULES!$G$149,\"3?\",IF($Y1357>=RULES!$G$149,\"4?\",IF($Z1357>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1357<>\"*\",\"~\",IF((V1357+W1357>=RULES!$F$149),\"12\",IF((W1357+X1357>=RULES!$F$149),\"23\",IF((X1357+Y1357>=RULES!$F$149),\"34\",IF((Y1357+Z1357>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1357<>\"*\",\"~\",IF(Y1357+Z1357<(1-RULES!$F$149),\"13\",IF(V1357+Z1357<(1-RULES!$F$149),\"24\",IF(V1357+W1357<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1357=\"X\",$F1357=\"H\",$F1357=\"Z-ERROR\",AND($AA1357=\"H\",$AH1357)),$AE1357,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1357,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1357,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1357,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1357,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1357&\"1\",IF(NOT($AH1357),$E1357&\"U\",$AE1357)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1357","v":""},{"$f":"'Calculator Table'!BR1357","v":0},{"$f":"Calculate!AV1357","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1365","v":0},{"$f":"IF(F1365=\"X\",\"X\",(IF(F1365<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1365),0,Calculate!H1365),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1365),0,Calculate!N1365),IF(ISERROR(Calculate!J1365),0,Calculate!J1365))))))","v":0},{"$f":"IF(F1365=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1365),$C$2,Calculate!I1365),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1365),$C$2,Calculate!O1365),IF(ISERROR(Calculate!K1365),$C$2,Calculate!K1365))))","v":5.5},{"$f":"AF1365 & IF(OR($AH1365,RIGHT($AF1365,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1365","v":"S"},{"$f":"Calculate!Q1365","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1365=\"X\",$F1365=\"H\",$F1365=\"Z-ERROR\"),$F1365,IF($V1365>=RULES!$F$149,\"1\",IF($W1365>=RULES!$F$149,\"2\",IF($X1365>=RULES!$F$149,\"3\",IF($Y1365>=RULES!$F$149,\"4\",IF($Z1365>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1365<>\"*\",\"~\",IF($V1365>=RULES!$G$149,\"1?\",IF($W1365>=RULES!$G$149,\"2?\",IF($X1365>=RULES!$G$149,\"3?\",IF($Y1365>=RULES!$G$149,\"4?\",IF($Z1365>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1365<>\"*\",\"~\",IF((V1365+W1365>=RULES!$F$149),\"12\",IF((W1365+X1365>=RULES!$F$149),\"23\",IF((X1365+Y1365>=RULES!$F$149),\"34\",IF((Y1365+Z1365>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1365<>\"*\",\"~\",IF(Y1365+Z1365<(1-RULES!$F$149),\"13\",IF(V1365+Z1365<(1-RULES!$F$149),\"24\",IF(V1365+W1365<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1365=\"X\",$F1365=\"H\",$F1365=\"Z-ERROR\",AND($AA1365=\"H\",$AH1365)),$AE1365,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1365,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1365,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1365,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1365,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1365&\"1\",IF(NOT($AH1365),$E1365&\"U\",$AE1365)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1365","v":""},{"$f":"'Calculator Table'!BR1365","v":0},{"$f":"Calculate!AV1365","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1371","v":0},{"$f":"IF(F1371=\"X\",\"X\",(IF(F1371<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1371),0,Calculate!H1371),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1371),0,Calculate!N1371),IF(ISERROR(Calculate!J1371),0,Calculate!J1371))))))","v":0},{"$f":"IF(F1371=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1371),$C$2,Calculate!I1371),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1371),$C$2,Calculate!O1371),IF(ISERROR(Calculate!K1371),$C$2,Calculate!K1371))))","v":5.5},{"$f":"AF1371 & IF(OR($AH1371,RIGHT($AF1371,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1371","v":"S"},{"$f":"Calculate!Q1371","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1371=\"X\",$F1371=\"H\",$F1371=\"Z-ERROR\"),$F1371,IF($V1371>=RULES!$F$149,\"1\",IF($W1371>=RULES!$F$149,\"2\",IF($X1371>=RULES!$F$149,\"3\",IF($Y1371>=RULES!$F$149,\"4\",IF($Z1371>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1371<>\"*\",\"~\",IF($V1371>=RULES!$G$149,\"1?\",IF($W1371>=RULES!$G$149,\"2?\",IF($X1371>=RULES!$G$149,\"3?\",IF($Y1371>=RULES!$G$149,\"4?\",IF($Z1371>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1371<>\"*\",\"~\",IF((V1371+W1371>=RULES!$F$149),\"12\",IF((W1371+X1371>=RULES!$F$149),\"23\",IF((X1371+Y1371>=RULES!$F$149),\"34\",IF((Y1371+Z1371>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1371<>\"*\",\"~\",IF(Y1371+Z1371<(1-RULES!$F$149),\"13\",IF(V1371+Z1371<(1-RULES!$F$149),\"24\",IF(V1371+W1371<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1371=\"X\",$F1371=\"H\",$F1371=\"Z-ERROR\",AND($AA1371=\"H\",$AH1371)),$AE1371,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1371,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1371,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1371,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1371,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1371&\"1\",IF(NOT($AH1371),$E1371&\"U\",$AE1371)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1371","v":""},{"$f":"'Calculator Table'!BR1371","v":0},{"$f":"Calculate!AV1371","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1382","v":0},{"$f":"IF(F1382=\"X\",\"X\",(IF(F1382<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1382),0,Calculate!H1382),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1382),0,Calculate!N1382),IF(ISERROR(Calculate!J1382),0,Calculate!J1382))))))","v":0},{"$f":"IF(F1382=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1382),$C$2,Calculate!I1382),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1382),$C$2,Calculate!O1382),IF(ISERROR(Calculate!K1382),$C$2,Calculate!K1382))))","v":5.5},{"$f":"AF1382 & IF(OR($AH1382,RIGHT($AF1382,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1382","v":"S"},{"$f":"Calculate!Q1382","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1382=\"X\",$F1382=\"H\",$F1382=\"Z-ERROR\"),$F1382,IF($V1382>=RULES!$F$149,\"1\",IF($W1382>=RULES!$F$149,\"2\",IF($X1382>=RULES!$F$149,\"3\",IF($Y1382>=RULES!$F$149,\"4\",IF($Z1382>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1382<>\"*\",\"~\",IF($V1382>=RULES!$G$149,\"1?\",IF($W1382>=RULES!$G$149,\"2?\",IF($X1382>=RULES!$G$149,\"3?\",IF($Y1382>=RULES!$G$149,\"4?\",IF($Z1382>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1382<>\"*\",\"~\",IF((V1382+W1382>=RULES!$F$149),\"12\",IF((W1382+X1382>=RULES!$F$149),\"23\",IF((X1382+Y1382>=RULES!$F$149),\"34\",IF((Y1382+Z1382>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1382<>\"*\",\"~\",IF(Y1382+Z1382<(1-RULES!$F$149),\"13\",IF(V1382+Z1382<(1-RULES!$F$149),\"24\",IF(V1382+W1382<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1382=\"X\",$F1382=\"H\",$F1382=\"Z-ERROR\",AND($AA1382=\"H\",$AH1382)),$AE1382,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1382,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1382,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1382,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1382,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1382&\"1\",IF(NOT($AH1382),$E1382&\"U\",$AE1382)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1382","v":""},{"$f":"'Calculator Table'!BR1382","v":0},{"$f":"Calculate!AV1382","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1385","v":0},{"$f":"IF(F1385=\"X\",\"X\",(IF(F1385<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1385),0,Calculate!H1385),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1385),0,Calculate!N1385),IF(ISERROR(Calculate!J1385),0,Calculate!J1385))))))","v":0},{"$f":"IF(F1385=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1385),$C$2,Calculate!I1385),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1385),$C$2,Calculate!O1385),IF(ISERROR(Calculate!K1385),$C$2,Calculate!K1385))))","v":5.5},{"$f":"AF1385 & IF(OR($AH1385,RIGHT($AF1385,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1385","v":"S"},{"$f":"Calculate!Q1385","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1385=\"X\",$F1385=\"H\",$F1385=\"Z-ERROR\"),$F1385,IF($V1385>=RULES!$F$149,\"1\",IF($W1385>=RULES!$F$149,\"2\",IF($X1385>=RULES!$F$149,\"3\",IF($Y1385>=RULES!$F$149,\"4\",IF($Z1385>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1385<>\"*\",\"~\",IF($V1385>=RULES!$G$149,\"1?\",IF($W1385>=RULES!$G$149,\"2?\",IF($X1385>=RULES!$G$149,\"3?\",IF($Y1385>=RULES!$G$149,\"4?\",IF($Z1385>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1385<>\"*\",\"~\",IF((V1385+W1385>=RULES!$F$149),\"12\",IF((W1385+X1385>=RULES!$F$149),\"23\",IF((X1385+Y1385>=RULES!$F$149),\"34\",IF((Y1385+Z1385>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1385<>\"*\",\"~\",IF(Y1385+Z1385<(1-RULES!$F$149),\"13\",IF(V1385+Z1385<(1-RULES!$F$149),\"24\",IF(V1385+W1385<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1385=\"X\",$F1385=\"H\",$F1385=\"Z-ERROR\",AND($AA1385=\"H\",$AH1385)),$AE1385,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1385,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1385,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1385,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1385,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1385&\"1\",IF(NOT($AH1385),$E1385&\"U\",$AE1385)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1385","v":""},{"$f":"'Calculator Table'!BR1385","v":0},{"$f":"Calculate!AV1385","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1391","v":0},{"$f":"IF(F1391=\"X\",\"X\",(IF(F1391<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1391),0,Calculate!H1391),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1391),0,Calculate!N1391),IF(ISERROR(Calculate!J1391),0,Calculate!J1391))))))","v":0},{"$f":"IF(F1391=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1391),$C$2,Calculate!I1391),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1391),$C$2,Calculate!O1391),IF(ISERROR(Calculate!K1391),$C$2,Calculate!K1391))))","v":5.5},{"$f":"AF1391 & IF(OR($AH1391,RIGHT($AF1391,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1391","v":"S"},{"$f":"Calculate!Q1391","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1391=\"X\",$F1391=\"H\",$F1391=\"Z-ERROR\"),$F1391,IF($V1391>=RULES!$F$149,\"1\",IF($W1391>=RULES!$F$149,\"2\",IF($X1391>=RULES!$F$149,\"3\",IF($Y1391>=RULES!$F$149,\"4\",IF($Z1391>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1391<>\"*\",\"~\",IF($V1391>=RULES!$G$149,\"1?\",IF($W1391>=RULES!$G$149,\"2?\",IF($X1391>=RULES!$G$149,\"3?\",IF($Y1391>=RULES!$G$149,\"4?\",IF($Z1391>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1391<>\"*\",\"~\",IF((V1391+W1391>=RULES!$F$149),\"12\",IF((W1391+X1391>=RULES!$F$149),\"23\",IF((X1391+Y1391>=RULES!$F$149),\"34\",IF((Y1391+Z1391>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1391<>\"*\",\"~\",IF(Y1391+Z1391<(1-RULES!$F$149),\"13\",IF(V1391+Z1391<(1-RULES!$F$149),\"24\",IF(V1391+W1391<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1391=\"X\",$F1391=\"H\",$F1391=\"Z-ERROR\",AND($AA1391=\"H\",$AH1391)),$AE1391,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1391,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1391,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1391,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1391,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1391&\"1\",IF(NOT($AH1391),$E1391&\"U\",$AE1391)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1391","v":""},{"$f":"'Calculator Table'!BR1391","v":0},{"$f":"Calculate!AV1391","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1400","v":0},{"$f":"IF(F1400=\"X\",\"X\",(IF(F1400<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1400),0,Calculate!H1400),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1400),0,Calculate!N1400),IF(ISERROR(Calculate!J1400),0,Calculate!J1400))))))","v":0},{"$f":"IF(F1400=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1400),$C$2,Calculate!I1400),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1400),$C$2,Calculate!O1400),IF(ISERROR(Calculate!K1400),$C$2,Calculate!K1400))))","v":5.5},{"$f":"AF1400 & IF(OR($AH1400,RIGHT($AF1400,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1400","v":"S"},{"$f":"Calculate!Q1400","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1400=\"X\",$F1400=\"H\",$F1400=\"Z-ERROR\"),$F1400,IF($V1400>=RULES!$F$149,\"1\",IF($W1400>=RULES!$F$149,\"2\",IF($X1400>=RULES!$F$149,\"3\",IF($Y1400>=RULES!$F$149,\"4\",IF($Z1400>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1400<>\"*\",\"~\",IF($V1400>=RULES!$G$149,\"1?\",IF($W1400>=RULES!$G$149,\"2?\",IF($X1400>=RULES!$G$149,\"3?\",IF($Y1400>=RULES!$G$149,\"4?\",IF($Z1400>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1400<>\"*\",\"~\",IF((V1400+W1400>=RULES!$F$149),\"12\",IF((W1400+X1400>=RULES!$F$149),\"23\",IF((X1400+Y1400>=RULES!$F$149),\"34\",IF((Y1400+Z1400>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1400<>\"*\",\"~\",IF(Y1400+Z1400<(1-RULES!$F$149),\"13\",IF(V1400+Z1400<(1-RULES!$F$149),\"24\",IF(V1400+W1400<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1400=\"X\",$F1400=\"H\",$F1400=\"Z-ERROR\",AND($AA1400=\"H\",$AH1400)),$AE1400,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1400,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1400,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1400,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1400,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1400&\"1\",IF(NOT($AH1400),$E1400&\"U\",$AE1400)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1400","v":""},{"$f":"'Calculator Table'!BR1400","v":0},{"$f":"Calculate!AV1400","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1408","v":0},{"$f":"IF(F1408=\"X\",\"X\",(IF(F1408<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1408),0,Calculate!H1408),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1408),0,Calculate!N1408),IF(ISERROR(Calculate!J1408),0,Calculate!J1408))))))","v":0},{"$f":"IF(F1408=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1408),$C$2,Calculate!I1408),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1408),$C$2,Calculate!O1408),IF(ISERROR(Calculate!K1408),$C$2,Calculate!K1408))))","v":5.5},{"$f":"AF1408 & IF(OR($AH1408,RIGHT($AF1408,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1408","v":"S"},{"$f":"Calculate!Q1408","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1408=\"X\",$F1408=\"H\",$F1408=\"Z-ERROR\"),$F1408,IF($V1408>=RULES!$F$149,\"1\",IF($W1408>=RULES!$F$149,\"2\",IF($X1408>=RULES!$F$149,\"3\",IF($Y1408>=RULES!$F$149,\"4\",IF($Z1408>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1408<>\"*\",\"~\",IF($V1408>=RULES!$G$149,\"1?\",IF($W1408>=RULES!$G$149,\"2?\",IF($X1408>=RULES!$G$149,\"3?\",IF($Y1408>=RULES!$G$149,\"4?\",IF($Z1408>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1408<>\"*\",\"~\",IF((V1408+W1408>=RULES!$F$149),\"12\",IF((W1408+X1408>=RULES!$F$149),\"23\",IF((X1408+Y1408>=RULES!$F$149),\"34\",IF((Y1408+Z1408>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1408<>\"*\",\"~\",IF(Y1408+Z1408<(1-RULES!$F$149),\"13\",IF(V1408+Z1408<(1-RULES!$F$149),\"24\",IF(V1408+W1408<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1408=\"X\",$F1408=\"H\",$F1408=\"Z-ERROR\",AND($AA1408=\"H\",$AH1408)),$AE1408,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1408,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1408,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1408,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1408,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1408&\"1\",IF(NOT($AH1408),$E1408&\"U\",$AE1408)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1408","v":""},{"$f":"'Calculator Table'!BR1408","v":0},{"$f":"Calculate!AV1408","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1417","v":0},{"$f":"IF(F1417=\"X\",\"X\",(IF(F1417<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1417),0,Calculate!H1417),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1417),0,Calculate!N1417),IF(ISERROR(Calculate!J1417),0,Calculate!J1417))))))","v":0},{"$f":"IF(F1417=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1417),$C$2,Calculate!I1417),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1417),$C$2,Calculate!O1417),IF(ISERROR(Calculate!K1417),$C$2,Calculate!K1417))))","v":5.5},{"$f":"AF1417 & IF(OR($AH1417,RIGHT($AF1417,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1417","v":"S"},{"$f":"Calculate!Q1417","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1417=\"X\",$F1417=\"H\",$F1417=\"Z-ERROR\"),$F1417,IF($V1417>=RULES!$F$149,\"1\",IF($W1417>=RULES!$F$149,\"2\",IF($X1417>=RULES!$F$149,\"3\",IF($Y1417>=RULES!$F$149,\"4\",IF($Z1417>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1417<>\"*\",\"~\",IF($V1417>=RULES!$G$149,\"1?\",IF($W1417>=RULES!$G$149,\"2?\",IF($X1417>=RULES!$G$149,\"3?\",IF($Y1417>=RULES!$G$149,\"4?\",IF($Z1417>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1417<>\"*\",\"~\",IF((V1417+W1417>=RULES!$F$149),\"12\",IF((W1417+X1417>=RULES!$F$149),\"23\",IF((X1417+Y1417>=RULES!$F$149),\"34\",IF((Y1417+Z1417>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1417<>\"*\",\"~\",IF(Y1417+Z1417<(1-RULES!$F$149),\"13\",IF(V1417+Z1417<(1-RULES!$F$149),\"24\",IF(V1417+W1417<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1417=\"X\",$F1417=\"H\",$F1417=\"Z-ERROR\",AND($AA1417=\"H\",$AH1417)),$AE1417,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1417,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1417,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1417,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1417,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1417&\"1\",IF(NOT($AH1417),$E1417&\"U\",$AE1417)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1417","v":""},{"$f":"'Calculator Table'!BR1417","v":0},{"$f":"Calculate!AV1417","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1422","v":0},{"$f":"IF(F1422=\"X\",\"X\",(IF(F1422<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1422),0,Calculate!H1422),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1422),0,Calculate!N1422),IF(ISERROR(Calculate!J1422),0,Calculate!J1422))))))","v":0},{"$f":"IF(F1422=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1422),$C$2,Calculate!I1422),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1422),$C$2,Calculate!O1422),IF(ISERROR(Calculate!K1422),$C$2,Calculate!K1422))))","v":5.5},{"$f":"AF1422 & IF(OR($AH1422,RIGHT($AF1422,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1422","v":"S"},{"$f":"Calculate!Q1422","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1422=\"X\",$F1422=\"H\",$F1422=\"Z-ERROR\"),$F1422,IF($V1422>=RULES!$F$149,\"1\",IF($W1422>=RULES!$F$149,\"2\",IF($X1422>=RULES!$F$149,\"3\",IF($Y1422>=RULES!$F$149,\"4\",IF($Z1422>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1422<>\"*\",\"~\",IF($V1422>=RULES!$G$149,\"1?\",IF($W1422>=RULES!$G$149,\"2?\",IF($X1422>=RULES!$G$149,\"3?\",IF($Y1422>=RULES!$G$149,\"4?\",IF($Z1422>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1422<>\"*\",\"~\",IF((V1422+W1422>=RULES!$F$149),\"12\",IF((W1422+X1422>=RULES!$F$149),\"23\",IF((X1422+Y1422>=RULES!$F$149),\"34\",IF((Y1422+Z1422>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1422<>\"*\",\"~\",IF(Y1422+Z1422<(1-RULES!$F$149),\"13\",IF(V1422+Z1422<(1-RULES!$F$149),\"24\",IF(V1422+W1422<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1422=\"X\",$F1422=\"H\",$F1422=\"Z-ERROR\",AND($AA1422=\"H\",$AH1422)),$AE1422,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1422,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1422,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1422,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1422,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1422&\"1\",IF(NOT($AH1422),$E1422&\"U\",$AE1422)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1422","v":""},{"$f":"'Calculator Table'!BR1422","v":0},{"$f":"Calculate!AV1422","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1434","v":0},{"$f":"IF(F1434=\"X\",\"X\",(IF(F1434<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1434),0,Calculate!H1434),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1434),0,Calculate!N1434),IF(ISERROR(Calculate!J1434),0,Calculate!J1434))))))","v":0},{"$f":"IF(F1434=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1434),$C$2,Calculate!I1434),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1434),$C$2,Calculate!O1434),IF(ISERROR(Calculate!K1434),$C$2,Calculate!K1434))))","v":5.5},{"$f":"AF1434 & IF(OR($AH1434,RIGHT($AF1434,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1434","v":"S"},{"$f":"Calculate!Q1434","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1434=\"X\",$F1434=\"H\",$F1434=\"Z-ERROR\"),$F1434,IF($V1434>=RULES!$F$149,\"1\",IF($W1434>=RULES!$F$149,\"2\",IF($X1434>=RULES!$F$149,\"3\",IF($Y1434>=RULES!$F$149,\"4\",IF($Z1434>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1434<>\"*\",\"~\",IF($V1434>=RULES!$G$149,\"1?\",IF($W1434>=RULES!$G$149,\"2?\",IF($X1434>=RULES!$G$149,\"3?\",IF($Y1434>=RULES!$G$149,\"4?\",IF($Z1434>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1434<>\"*\",\"~\",IF((V1434+W1434>=RULES!$F$149),\"12\",IF((W1434+X1434>=RULES!$F$149),\"23\",IF((X1434+Y1434>=RULES!$F$149),\"34\",IF((Y1434+Z1434>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1434<>\"*\",\"~\",IF(Y1434+Z1434<(1-RULES!$F$149),\"13\",IF(V1434+Z1434<(1-RULES!$F$149),\"24\",IF(V1434+W1434<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1434=\"X\",$F1434=\"H\",$F1434=\"Z-ERROR\",AND($AA1434=\"H\",$AH1434)),$AE1434,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1434,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1434,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1434,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1434,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1434&\"1\",IF(NOT($AH1434),$E1434&\"U\",$AE1434)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1434","v":""},{"$f":"'Calculator Table'!BR1434","v":0},{"$f":"Calculate!AV1434","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1439","v":0},{"$f":"IF(F1439=\"X\",\"X\",(IF(F1439<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1439),0,Calculate!H1439),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1439),0,Calculate!N1439),IF(ISERROR(Calculate!J1439),0,Calculate!J1439))))))","v":0},{"$f":"IF(F1439=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1439),$C$2,Calculate!I1439),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1439),$C$2,Calculate!O1439),IF(ISERROR(Calculate!K1439),$C$2,Calculate!K1439))))","v":5.5},{"$f":"AF1439 & IF(OR($AH1439,RIGHT($AF1439,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1439","v":"S"},{"$f":"Calculate!Q1439","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1439=\"X\",$F1439=\"H\",$F1439=\"Z-ERROR\"),$F1439,IF($V1439>=RULES!$F$149,\"1\",IF($W1439>=RULES!$F$149,\"2\",IF($X1439>=RULES!$F$149,\"3\",IF($Y1439>=RULES!$F$149,\"4\",IF($Z1439>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1439<>\"*\",\"~\",IF($V1439>=RULES!$G$149,\"1?\",IF($W1439>=RULES!$G$149,\"2?\",IF($X1439>=RULES!$G$149,\"3?\",IF($Y1439>=RULES!$G$149,\"4?\",IF($Z1439>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1439<>\"*\",\"~\",IF((V1439+W1439>=RULES!$F$149),\"12\",IF((W1439+X1439>=RULES!$F$149),\"23\",IF((X1439+Y1439>=RULES!$F$149),\"34\",IF((Y1439+Z1439>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1439<>\"*\",\"~\",IF(Y1439+Z1439<(1-RULES!$F$149),\"13\",IF(V1439+Z1439<(1-RULES!$F$149),\"24\",IF(V1439+W1439<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1439=\"X\",$F1439=\"H\",$F1439=\"Z-ERROR\",AND($AA1439=\"H\",$AH1439)),$AE1439,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1439,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1439,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1439,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1439,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1439&\"1\",IF(NOT($AH1439),$E1439&\"U\",$AE1439)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1439","v":""},{"$f":"'Calculator Table'!BR1439","v":0},{"$f":"Calculate!AV1439","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1451","v":0},{"$f":"IF(F1451=\"X\",\"X\",(IF(F1451<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1451),0,Calculate!H1451),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1451),0,Calculate!N1451),IF(ISERROR(Calculate!J1451),0,Calculate!J1451))))))","v":0},{"$f":"IF(F1451=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1451),$C$2,Calculate!I1451),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1451),$C$2,Calculate!O1451),IF(ISERROR(Calculate!K1451),$C$2,Calculate!K1451))))","v":5.5},{"$f":"AF1451 & IF(OR($AH1451,RIGHT($AF1451,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1451","v":"S"},{"$f":"Calculate!Q1451","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1451=\"X\",$F1451=\"H\",$F1451=\"Z-ERROR\"),$F1451,IF($V1451>=RULES!$F$149,\"1\",IF($W1451>=RULES!$F$149,\"2\",IF($X1451>=RULES!$F$149,\"3\",IF($Y1451>=RULES!$F$149,\"4\",IF($Z1451>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1451<>\"*\",\"~\",IF($V1451>=RULES!$G$149,\"1?\",IF($W1451>=RULES!$G$149,\"2?\",IF($X1451>=RULES!$G$149,\"3?\",IF($Y1451>=RULES!$G$149,\"4?\",IF($Z1451>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1451<>\"*\",\"~\",IF((V1451+W1451>=RULES!$F$149),\"12\",IF((W1451+X1451>=RULES!$F$149),\"23\",IF((X1451+Y1451>=RULES!$F$149),\"34\",IF((Y1451+Z1451>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1451<>\"*\",\"~\",IF(Y1451+Z1451<(1-RULES!$F$149),\"13\",IF(V1451+Z1451<(1-RULES!$F$149),\"24\",IF(V1451+W1451<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1451=\"X\",$F1451=\"H\",$F1451=\"Z-ERROR\",AND($AA1451=\"H\",$AH1451)),$AE1451,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1451,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1451,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1451,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1451,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1451&\"1\",IF(NOT($AH1451),$E1451&\"U\",$AE1451)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1451","v":""},{"$f":"'Calculator Table'!BR1451","v":0},{"$f":"Calculate!AV1451","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1453","v":0},{"$f":"IF(F1453=\"X\",\"X\",(IF(F1453<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1453),0,Calculate!H1453),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1453),0,Calculate!N1453),IF(ISERROR(Calculate!J1453),0,Calculate!J1453))))))","v":0},{"$f":"IF(F1453=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1453),$C$2,Calculate!I1453),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1453),$C$2,Calculate!O1453),IF(ISERROR(Calculate!K1453),$C$2,Calculate!K1453))))","v":5.5},{"$f":"AF1453 & IF(OR($AH1453,RIGHT($AF1453,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1453","v":"S"},{"$f":"Calculate!Q1453","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1453=\"X\",$F1453=\"H\",$F1453=\"Z-ERROR\"),$F1453,IF($V1453>=RULES!$F$149,\"1\",IF($W1453>=RULES!$F$149,\"2\",IF($X1453>=RULES!$F$149,\"3\",IF($Y1453>=RULES!$F$149,\"4\",IF($Z1453>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1453<>\"*\",\"~\",IF($V1453>=RULES!$G$149,\"1?\",IF($W1453>=RULES!$G$149,\"2?\",IF($X1453>=RULES!$G$149,\"3?\",IF($Y1453>=RULES!$G$149,\"4?\",IF($Z1453>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1453<>\"*\",\"~\",IF((V1453+W1453>=RULES!$F$149),\"12\",IF((W1453+X1453>=RULES!$F$149),\"23\",IF((X1453+Y1453>=RULES!$F$149),\"34\",IF((Y1453+Z1453>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1453<>\"*\",\"~\",IF(Y1453+Z1453<(1-RULES!$F$149),\"13\",IF(V1453+Z1453<(1-RULES!$F$149),\"24\",IF(V1453+W1453<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1453=\"X\",$F1453=\"H\",$F1453=\"Z-ERROR\",AND($AA1453=\"H\",$AH1453)),$AE1453,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1453,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1453,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1453,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1453,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1453&\"1\",IF(NOT($AH1453),$E1453&\"U\",$AE1453)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1453","v":""},{"$f":"'Calculator Table'!BR1453","v":0},{"$f":"Calculate!AV1453","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1460","v":0},{"$f":"IF(F1460=\"X\",\"X\",(IF(F1460<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1460),0,Calculate!H1460),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1460),0,Calculate!N1460),IF(ISERROR(Calculate!J1460),0,Calculate!J1460))))))","v":0},{"$f":"IF(F1460=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1460),$C$2,Calculate!I1460),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1460),$C$2,Calculate!O1460),IF(ISERROR(Calculate!K1460),$C$2,Calculate!K1460))))","v":5.5},{"$f":"AF1460 & IF(OR($AH1460,RIGHT($AF1460,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1460","v":"S"},{"$f":"Calculate!Q1460","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1460=\"X\",$F1460=\"H\",$F1460=\"Z-ERROR\"),$F1460,IF($V1460>=RULES!$F$149,\"1\",IF($W1460>=RULES!$F$149,\"2\",IF($X1460>=RULES!$F$149,\"3\",IF($Y1460>=RULES!$F$149,\"4\",IF($Z1460>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1460<>\"*\",\"~\",IF($V1460>=RULES!$G$149,\"1?\",IF($W1460>=RULES!$G$149,\"2?\",IF($X1460>=RULES!$G$149,\"3?\",IF($Y1460>=RULES!$G$149,\"4?\",IF($Z1460>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1460<>\"*\",\"~\",IF((V1460+W1460>=RULES!$F$149),\"12\",IF((W1460+X1460>=RULES!$F$149),\"23\",IF((X1460+Y1460>=RULES!$F$149),\"34\",IF((Y1460+Z1460>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1460<>\"*\",\"~\",IF(Y1460+Z1460<(1-RULES!$F$149),\"13\",IF(V1460+Z1460<(1-RULES!$F$149),\"24\",IF(V1460+W1460<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1460=\"X\",$F1460=\"H\",$F1460=\"Z-ERROR\",AND($AA1460=\"H\",$AH1460)),$AE1460,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1460,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1460,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1460,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1460,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1460&\"1\",IF(NOT($AH1460),$E1460&\"U\",$AE1460)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1460","v":""},{"$f":"'Calculator Table'!BR1460","v":0},{"$f":"Calculate!AV1460","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1469","v":0},{"$f":"IF(F1469=\"X\",\"X\",(IF(F1469<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1469),0,Calculate!H1469),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1469),0,Calculate!N1469),IF(ISERROR(Calculate!J1469),0,Calculate!J1469))))))","v":0},{"$f":"IF(F1469=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1469),$C$2,Calculate!I1469),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1469),$C$2,Calculate!O1469),IF(ISERROR(Calculate!K1469),$C$2,Calculate!K1469))))","v":5.5},{"$f":"AF1469 & IF(OR($AH1469,RIGHT($AF1469,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1469","v":"S"},{"$f":"Calculate!Q1469","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1469=\"X\",$F1469=\"H\",$F1469=\"Z-ERROR\"),$F1469,IF($V1469>=RULES!$F$149,\"1\",IF($W1469>=RULES!$F$149,\"2\",IF($X1469>=RULES!$F$149,\"3\",IF($Y1469>=RULES!$F$149,\"4\",IF($Z1469>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1469<>\"*\",\"~\",IF($V1469>=RULES!$G$149,\"1?\",IF($W1469>=RULES!$G$149,\"2?\",IF($X1469>=RULES!$G$149,\"3?\",IF($Y1469>=RULES!$G$149,\"4?\",IF($Z1469>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1469<>\"*\",\"~\",IF((V1469+W1469>=RULES!$F$149),\"12\",IF((W1469+X1469>=RULES!$F$149),\"23\",IF((X1469+Y1469>=RULES!$F$149),\"34\",IF((Y1469+Z1469>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1469<>\"*\",\"~\",IF(Y1469+Z1469<(1-RULES!$F$149),\"13\",IF(V1469+Z1469<(1-RULES!$F$149),\"24\",IF(V1469+W1469<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1469=\"X\",$F1469=\"H\",$F1469=\"Z-ERROR\",AND($AA1469=\"H\",$AH1469)),$AE1469,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1469,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1469,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1469,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1469,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1469&\"1\",IF(NOT($AH1469),$E1469&\"U\",$AE1469)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1469","v":""},{"$f":"'Calculator Table'!BR1469","v":0},{"$f":"Calculate!AV1469","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1476","v":0},{"$f":"IF(F1476=\"X\",\"X\",(IF(F1476<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1476),0,Calculate!H1476),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1476),0,Calculate!N1476),IF(ISERROR(Calculate!J1476),0,Calculate!J1476))))))","v":0},{"$f":"IF(F1476=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1476),$C$2,Calculate!I1476),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1476),$C$2,Calculate!O1476),IF(ISERROR(Calculate!K1476),$C$2,Calculate!K1476))))","v":5.5},{"$f":"AF1476 & IF(OR($AH1476,RIGHT($AF1476,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1476","v":"S"},{"$f":"Calculate!Q1476","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1476=\"X\",$F1476=\"H\",$F1476=\"Z-ERROR\"),$F1476,IF($V1476>=RULES!$F$149,\"1\",IF($W1476>=RULES!$F$149,\"2\",IF($X1476>=RULES!$F$149,\"3\",IF($Y1476>=RULES!$F$149,\"4\",IF($Z1476>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1476<>\"*\",\"~\",IF($V1476>=RULES!$G$149,\"1?\",IF($W1476>=RULES!$G$149,\"2?\",IF($X1476>=RULES!$G$149,\"3?\",IF($Y1476>=RULES!$G$149,\"4?\",IF($Z1476>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1476<>\"*\",\"~\",IF((V1476+W1476>=RULES!$F$149),\"12\",IF((W1476+X1476>=RULES!$F$149),\"23\",IF((X1476+Y1476>=RULES!$F$149),\"34\",IF((Y1476+Z1476>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1476<>\"*\",\"~\",IF(Y1476+Z1476<(1-RULES!$F$149),\"13\",IF(V1476+Z1476<(1-RULES!$F$149),\"24\",IF(V1476+W1476<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1476=\"X\",$F1476=\"H\",$F1476=\"Z-ERROR\",AND($AA1476=\"H\",$AH1476)),$AE1476,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1476,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1476,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1476,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1476,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1476&\"1\",IF(NOT($AH1476),$E1476&\"U\",$AE1476)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1476","v":""},{"$f":"'Calculator Table'!BR1476","v":0},{"$f":"Calculate!AV1476","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1486","v":0},{"$f":"IF(F1486=\"X\",\"X\",(IF(F1486<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1486),0,Calculate!H1486),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1486),0,Calculate!N1486),IF(ISERROR(Calculate!J1486),0,Calculate!J1486))))))","v":0},{"$f":"IF(F1486=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1486),$C$2,Calculate!I1486),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1486),$C$2,Calculate!O1486),IF(ISERROR(Calculate!K1486),$C$2,Calculate!K1486))))","v":5.5},{"$f":"AF1486 & IF(OR($AH1486,RIGHT($AF1486,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1486","v":"S"},{"$f":"Calculate!Q1486","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1486=\"X\",$F1486=\"H\",$F1486=\"Z-ERROR\"),$F1486,IF($V1486>=RULES!$F$149,\"1\",IF($W1486>=RULES!$F$149,\"2\",IF($X1486>=RULES!$F$149,\"3\",IF($Y1486>=RULES!$F$149,\"4\",IF($Z1486>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1486<>\"*\",\"~\",IF($V1486>=RULES!$G$149,\"1?\",IF($W1486>=RULES!$G$149,\"2?\",IF($X1486>=RULES!$G$149,\"3?\",IF($Y1486>=RULES!$G$149,\"4?\",IF($Z1486>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1486<>\"*\",\"~\",IF((V1486+W1486>=RULES!$F$149),\"12\",IF((W1486+X1486>=RULES!$F$149),\"23\",IF((X1486+Y1486>=RULES!$F$149),\"34\",IF((Y1486+Z1486>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1486<>\"*\",\"~\",IF(Y1486+Z1486<(1-RULES!$F$149),\"13\",IF(V1486+Z1486<(1-RULES!$F$149),\"24\",IF(V1486+W1486<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1486=\"X\",$F1486=\"H\",$F1486=\"Z-ERROR\",AND($AA1486=\"H\",$AH1486)),$AE1486,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1486,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1486,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1486,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1486,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1486&\"1\",IF(NOT($AH1486),$E1486&\"U\",$AE1486)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1486","v":""},{"$f":"'Calculator Table'!BR1486","v":0},{"$f":"Calculate!AV1486","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1490","v":0},{"$f":"IF(F1490=\"X\",\"X\",(IF(F1490<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1490),0,Calculate!H1490),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1490),0,Calculate!N1490),IF(ISERROR(Calculate!J1490),0,Calculate!J1490))))))","v":0},{"$f":"IF(F1490=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1490),$C$2,Calculate!I1490),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1490),$C$2,Calculate!O1490),IF(ISERROR(Calculate!K1490),$C$2,Calculate!K1490))))","v":5.5},{"$f":"AF1490 & IF(OR($AH1490,RIGHT($AF1490,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1490","v":"S"},{"$f":"Calculate!Q1490","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1490=\"X\",$F1490=\"H\",$F1490=\"Z-ERROR\"),$F1490,IF($V1490>=RULES!$F$149,\"1\",IF($W1490>=RULES!$F$149,\"2\",IF($X1490>=RULES!$F$149,\"3\",IF($Y1490>=RULES!$F$149,\"4\",IF($Z1490>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1490<>\"*\",\"~\",IF($V1490>=RULES!$G$149,\"1?\",IF($W1490>=RULES!$G$149,\"2?\",IF($X1490>=RULES!$G$149,\"3?\",IF($Y1490>=RULES!$G$149,\"4?\",IF($Z1490>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1490<>\"*\",\"~\",IF((V1490+W1490>=RULES!$F$149),\"12\",IF((W1490+X1490>=RULES!$F$149),\"23\",IF((X1490+Y1490>=RULES!$F$149),\"34\",IF((Y1490+Z1490>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1490<>\"*\",\"~\",IF(Y1490+Z1490<(1-RULES!$F$149),\"13\",IF(V1490+Z1490<(1-RULES!$F$149),\"24\",IF(V1490+W1490<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1490=\"X\",$F1490=\"H\",$F1490=\"Z-ERROR\",AND($AA1490=\"H\",$AH1490)),$AE1490,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1490,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1490,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1490,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1490,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1490&\"1\",IF(NOT($AH1490),$E1490&\"U\",$AE1490)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1490","v":""},{"$f":"'Calculator Table'!BR1490","v":0},{"$f":"Calculate!AV1490","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1503","v":0},{"$f":"IF(F1503=\"X\",\"X\",(IF(F1503<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1503),0,Calculate!H1503),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1503),0,Calculate!N1503),IF(ISERROR(Calculate!J1503),0,Calculate!J1503))))))","v":0},{"$f":"IF(F1503=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1503),$C$2,Calculate!I1503),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1503),$C$2,Calculate!O1503),IF(ISERROR(Calculate!K1503),$C$2,Calculate!K1503))))","v":5.5},{"$f":"AF1503 & IF(OR($AH1503,RIGHT($AF1503,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1503","v":"S"},{"$f":"Calculate!Q1503","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1503=\"X\",$F1503=\"H\",$F1503=\"Z-ERROR\"),$F1503,IF($V1503>=RULES!$F$149,\"1\",IF($W1503>=RULES!$F$149,\"2\",IF($X1503>=RULES!$F$149,\"3\",IF($Y1503>=RULES!$F$149,\"4\",IF($Z1503>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1503<>\"*\",\"~\",IF($V1503>=RULES!$G$149,\"1?\",IF($W1503>=RULES!$G$149,\"2?\",IF($X1503>=RULES!$G$149,\"3?\",IF($Y1503>=RULES!$G$149,\"4?\",IF($Z1503>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1503<>\"*\",\"~\",IF((V1503+W1503>=RULES!$F$149),\"12\",IF((W1503+X1503>=RULES!$F$149),\"23\",IF((X1503+Y1503>=RULES!$F$149),\"34\",IF((Y1503+Z1503>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1503<>\"*\",\"~\",IF(Y1503+Z1503<(1-RULES!$F$149),\"13\",IF(V1503+Z1503<(1-RULES!$F$149),\"24\",IF(V1503+W1503<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1503=\"X\",$F1503=\"H\",$F1503=\"Z-ERROR\",AND($AA1503=\"H\",$AH1503)),$AE1503,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1503,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1503,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1503,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1503,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1503&\"1\",IF(NOT($AH1503),$E1503&\"U\",$AE1503)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1503","v":""},{"$f":"'Calculator Table'!BR1503","v":0},{"$f":"Calculate!AV1503","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1511","v":0},{"$f":"IF(F1511=\"X\",\"X\",(IF(F1511<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1511),0,Calculate!H1511),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1511),0,Calculate!N1511),IF(ISERROR(Calculate!J1511),0,Calculate!J1511))))))","v":0},{"$f":"IF(F1511=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1511),$C$2,Calculate!I1511),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1511),$C$2,Calculate!O1511),IF(ISERROR(Calculate!K1511),$C$2,Calculate!K1511))))","v":5.5},{"$f":"AF1511 & IF(OR($AH1511,RIGHT($AF1511,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1511","v":"S"},{"$f":"Calculate!Q1511","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1511=\"X\",$F1511=\"H\",$F1511=\"Z-ERROR\"),$F1511,IF($V1511>=RULES!$F$149,\"1\",IF($W1511>=RULES!$F$149,\"2\",IF($X1511>=RULES!$F$149,\"3\",IF($Y1511>=RULES!$F$149,\"4\",IF($Z1511>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1511<>\"*\",\"~\",IF($V1511>=RULES!$G$149,\"1?\",IF($W1511>=RULES!$G$149,\"2?\",IF($X1511>=RULES!$G$149,\"3?\",IF($Y1511>=RULES!$G$149,\"4?\",IF($Z1511>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1511<>\"*\",\"~\",IF((V1511+W1511>=RULES!$F$149),\"12\",IF((W1511+X1511>=RULES!$F$149),\"23\",IF((X1511+Y1511>=RULES!$F$149),\"34\",IF((Y1511+Z1511>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1511<>\"*\",\"~\",IF(Y1511+Z1511<(1-RULES!$F$149),\"13\",IF(V1511+Z1511<(1-RULES!$F$149),\"24\",IF(V1511+W1511<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1511=\"X\",$F1511=\"H\",$F1511=\"Z-ERROR\",AND($AA1511=\"H\",$AH1511)),$AE1511,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1511,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1511,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1511,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1511,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1511&\"1\",IF(NOT($AH1511),$E1511&\"U\",$AE1511)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1511","v":""},{"$f":"'Calculator Table'!BR1511","v":0},{"$f":"Calculate!AV1511","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1512","v":0},{"$f":"IF(F1512=\"X\",\"X\",(IF(F1512<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1512),0,Calculate!H1512),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1512),0,Calculate!N1512),IF(ISERROR(Calculate!J1512),0,Calculate!J1512))))))","v":0},{"$f":"IF(F1512=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1512),$C$2,Calculate!I1512),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1512),$C$2,Calculate!O1512),IF(ISERROR(Calculate!K1512),$C$2,Calculate!K1512))))","v":5.5},{"$f":"AF1512 & IF(OR($AH1512,RIGHT($AF1512,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1512","v":"S"},{"$f":"Calculate!Q1512","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1512=\"X\",$F1512=\"H\",$F1512=\"Z-ERROR\"),$F1512,IF($V1512>=RULES!$F$149,\"1\",IF($W1512>=RULES!$F$149,\"2\",IF($X1512>=RULES!$F$149,\"3\",IF($Y1512>=RULES!$F$149,\"4\",IF($Z1512>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1512<>\"*\",\"~\",IF($V1512>=RULES!$G$149,\"1?\",IF($W1512>=RULES!$G$149,\"2?\",IF($X1512>=RULES!$G$149,\"3?\",IF($Y1512>=RULES!$G$149,\"4?\",IF($Z1512>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1512<>\"*\",\"~\",IF((V1512+W1512>=RULES!$F$149),\"12\",IF((W1512+X1512>=RULES!$F$149),\"23\",IF((X1512+Y1512>=RULES!$F$149),\"34\",IF((Y1512+Z1512>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1512<>\"*\",\"~\",IF(Y1512+Z1512<(1-RULES!$F$149),\"13\",IF(V1512+Z1512<(1-RULES!$F$149),\"24\",IF(V1512+W1512<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1512=\"X\",$F1512=\"H\",$F1512=\"Z-ERROR\",AND($AA1512=\"H\",$AH1512)),$AE1512,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1512,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1512,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1512,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1512,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1512&\"1\",IF(NOT($AH1512),$E1512&\"U\",$AE1512)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1512","v":""},{"$f":"'Calculator Table'!BR1512","v":0},{"$f":"Calculate!AV1512","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1525","v":0},{"$f":"IF(F1525=\"X\",\"X\",(IF(F1525<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1525),0,Calculate!H1525),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1525),0,Calculate!N1525),IF(ISERROR(Calculate!J1525),0,Calculate!J1525))))))","v":0},{"$f":"IF(F1525=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1525),$C$2,Calculate!I1525),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1525),$C$2,Calculate!O1525),IF(ISERROR(Calculate!K1525),$C$2,Calculate!K1525))))","v":5.5},{"$f":"AF1525 & IF(OR($AH1525,RIGHT($AF1525,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1525","v":"S"},{"$f":"Calculate!Q1525","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1525=\"X\",$F1525=\"H\",$F1525=\"Z-ERROR\"),$F1525,IF($V1525>=RULES!$F$149,\"1\",IF($W1525>=RULES!$F$149,\"2\",IF($X1525>=RULES!$F$149,\"3\",IF($Y1525>=RULES!$F$149,\"4\",IF($Z1525>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1525<>\"*\",\"~\",IF($V1525>=RULES!$G$149,\"1?\",IF($W1525>=RULES!$G$149,\"2?\",IF($X1525>=RULES!$G$149,\"3?\",IF($Y1525>=RULES!$G$149,\"4?\",IF($Z1525>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1525<>\"*\",\"~\",IF((V1525+W1525>=RULES!$F$149),\"12\",IF((W1525+X1525>=RULES!$F$149),\"23\",IF((X1525+Y1525>=RULES!$F$149),\"34\",IF((Y1525+Z1525>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1525<>\"*\",\"~\",IF(Y1525+Z1525<(1-RULES!$F$149),\"13\",IF(V1525+Z1525<(1-RULES!$F$149),\"24\",IF(V1525+W1525<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1525=\"X\",$F1525=\"H\",$F1525=\"Z-ERROR\",AND($AA1525=\"H\",$AH1525)),$AE1525,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1525,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1525,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1525,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1525,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1525&\"1\",IF(NOT($AH1525),$E1525&\"U\",$AE1525)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1525","v":""},{"$f":"'Calculator Table'!BR1525","v":0},{"$f":"Calculate!AV1525","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1529","v":0},{"$f":"IF(F1529=\"X\",\"X\",(IF(F1529<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1529),0,Calculate!H1529),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1529),0,Calculate!N1529),IF(ISERROR(Calculate!J1529),0,Calculate!J1529))))))","v":0},{"$f":"IF(F1529=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1529),$C$2,Calculate!I1529),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1529),$C$2,Calculate!O1529),IF(ISERROR(Calculate!K1529),$C$2,Calculate!K1529))))","v":5.5},{"$f":"AF1529 & IF(OR($AH1529,RIGHT($AF1529,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1529","v":"S"},{"$f":"Calculate!Q1529","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1529=\"X\",$F1529=\"H\",$F1529=\"Z-ERROR\"),$F1529,IF($V1529>=RULES!$F$149,\"1\",IF($W1529>=RULES!$F$149,\"2\",IF($X1529>=RULES!$F$149,\"3\",IF($Y1529>=RULES!$F$149,\"4\",IF($Z1529>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1529<>\"*\",\"~\",IF($V1529>=RULES!$G$149,\"1?\",IF($W1529>=RULES!$G$149,\"2?\",IF($X1529>=RULES!$G$149,\"3?\",IF($Y1529>=RULES!$G$149,\"4?\",IF($Z1529>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1529<>\"*\",\"~\",IF((V1529+W1529>=RULES!$F$149),\"12\",IF((W1529+X1529>=RULES!$F$149),\"23\",IF((X1529+Y1529>=RULES!$F$149),\"34\",IF((Y1529+Z1529>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1529<>\"*\",\"~\",IF(Y1529+Z1529<(1-RULES!$F$149),\"13\",IF(V1529+Z1529<(1-RULES!$F$149),\"24\",IF(V1529+W1529<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1529=\"X\",$F1529=\"H\",$F1529=\"Z-ERROR\",AND($AA1529=\"H\",$AH1529)),$AE1529,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1529,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1529,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1529,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1529,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1529&\"1\",IF(NOT($AH1529),$E1529&\"U\",$AE1529)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1529","v":""},{"$f":"'Calculator Table'!BR1529","v":0},{"$f":"Calculate!AV1529","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1538","v":0},{"$f":"IF(F1538=\"X\",\"X\",(IF(F1538<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1538),0,Calculate!H1538),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1538),0,Calculate!N1538),IF(ISERROR(Calculate!J1538),0,Calculate!J1538))))))","v":0},{"$f":"IF(F1538=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1538),$C$2,Calculate!I1538),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1538),$C$2,Calculate!O1538),IF(ISERROR(Calculate!K1538),$C$2,Calculate!K1538))))","v":5.5},{"$f":"AF1538 & IF(OR($AH1538,RIGHT($AF1538,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1538","v":"S"},{"$f":"Calculate!Q1538","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1538=\"X\",$F1538=\"H\",$F1538=\"Z-ERROR\"),$F1538,IF($V1538>=RULES!$F$149,\"1\",IF($W1538>=RULES!$F$149,\"2\",IF($X1538>=RULES!$F$149,\"3\",IF($Y1538>=RULES!$F$149,\"4\",IF($Z1538>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1538<>\"*\",\"~\",IF($V1538>=RULES!$G$149,\"1?\",IF($W1538>=RULES!$G$149,\"2?\",IF($X1538>=RULES!$G$149,\"3?\",IF($Y1538>=RULES!$G$149,\"4?\",IF($Z1538>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1538<>\"*\",\"~\",IF((V1538+W1538>=RULES!$F$149),\"12\",IF((W1538+X1538>=RULES!$F$149),\"23\",IF((X1538+Y1538>=RULES!$F$149),\"34\",IF((Y1538+Z1538>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1538<>\"*\",\"~\",IF(Y1538+Z1538<(1-RULES!$F$149),\"13\",IF(V1538+Z1538<(1-RULES!$F$149),\"24\",IF(V1538+W1538<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1538=\"X\",$F1538=\"H\",$F1538=\"Z-ERROR\",AND($AA1538=\"H\",$AH1538)),$AE1538,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1538,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1538,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1538,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1538,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1538&\"1\",IF(NOT($AH1538),$E1538&\"U\",$AE1538)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1538","v":""},{"$f":"'Calculator Table'!BR1538","v":0},{"$f":"Calculate!AV1538","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1548","v":0},{"$f":"IF(F1548=\"X\",\"X\",(IF(F1548<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1548),0,Calculate!H1548),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1548),0,Calculate!N1548),IF(ISERROR(Calculate!J1548),0,Calculate!J1548))))))","v":0},{"$f":"IF(F1548=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1548),$C$2,Calculate!I1548),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1548),$C$2,Calculate!O1548),IF(ISERROR(Calculate!K1548),$C$2,Calculate!K1548))))","v":5.5},{"$f":"AF1548 & IF(OR($AH1548,RIGHT($AF1548,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1548","v":"S"},{"$f":"Calculate!Q1548","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1548=\"X\",$F1548=\"H\",$F1548=\"Z-ERROR\"),$F1548,IF($V1548>=RULES!$F$149,\"1\",IF($W1548>=RULES!$F$149,\"2\",IF($X1548>=RULES!$F$149,\"3\",IF($Y1548>=RULES!$F$149,\"4\",IF($Z1548>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1548<>\"*\",\"~\",IF($V1548>=RULES!$G$149,\"1?\",IF($W1548>=RULES!$G$149,\"2?\",IF($X1548>=RULES!$G$149,\"3?\",IF($Y1548>=RULES!$G$149,\"4?\",IF($Z1548>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1548<>\"*\",\"~\",IF((V1548+W1548>=RULES!$F$149),\"12\",IF((W1548+X1548>=RULES!$F$149),\"23\",IF((X1548+Y1548>=RULES!$F$149),\"34\",IF((Y1548+Z1548>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1548<>\"*\",\"~\",IF(Y1548+Z1548<(1-RULES!$F$149),\"13\",IF(V1548+Z1548<(1-RULES!$F$149),\"24\",IF(V1548+W1548<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1548=\"X\",$F1548=\"H\",$F1548=\"Z-ERROR\",AND($AA1548=\"H\",$AH1548)),$AE1548,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1548,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1548,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1548,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1548,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1548&\"1\",IF(NOT($AH1548),$E1548&\"U\",$AE1548)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1548","v":""},{"$f":"'Calculator Table'!BR1548","v":0},{"$f":"Calculate!AV1548","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1555","v":0},{"$f":"IF(F1555=\"X\",\"X\",(IF(F1555<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1555),0,Calculate!H1555),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1555),0,Calculate!N1555),IF(ISERROR(Calculate!J1555),0,Calculate!J1555))))))","v":0},{"$f":"IF(F1555=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1555),$C$2,Calculate!I1555),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1555),$C$2,Calculate!O1555),IF(ISERROR(Calculate!K1555),$C$2,Calculate!K1555))))","v":5.5},{"$f":"AF1555 & IF(OR($AH1555,RIGHT($AF1555,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1555","v":"S"},{"$f":"Calculate!Q1555","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1555=\"X\",$F1555=\"H\",$F1555=\"Z-ERROR\"),$F1555,IF($V1555>=RULES!$F$149,\"1\",IF($W1555>=RULES!$F$149,\"2\",IF($X1555>=RULES!$F$149,\"3\",IF($Y1555>=RULES!$F$149,\"4\",IF($Z1555>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1555<>\"*\",\"~\",IF($V1555>=RULES!$G$149,\"1?\",IF($W1555>=RULES!$G$149,\"2?\",IF($X1555>=RULES!$G$149,\"3?\",IF($Y1555>=RULES!$G$149,\"4?\",IF($Z1555>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1555<>\"*\",\"~\",IF((V1555+W1555>=RULES!$F$149),\"12\",IF((W1555+X1555>=RULES!$F$149),\"23\",IF((X1555+Y1555>=RULES!$F$149),\"34\",IF((Y1555+Z1555>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1555<>\"*\",\"~\",IF(Y1555+Z1555<(1-RULES!$F$149),\"13\",IF(V1555+Z1555<(1-RULES!$F$149),\"24\",IF(V1555+W1555<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1555=\"X\",$F1555=\"H\",$F1555=\"Z-ERROR\",AND($AA1555=\"H\",$AH1555)),$AE1555,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1555,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1555,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1555,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1555,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1555&\"1\",IF(NOT($AH1555),$E1555&\"U\",$AE1555)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1555","v":""},{"$f":"'Calculator Table'!BR1555","v":0},{"$f":"Calculate!AV1555","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1562","v":0},{"$f":"IF(F1562=\"X\",\"X\",(IF(F1562<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1562),0,Calculate!H1562),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1562),0,Calculate!N1562),IF(ISERROR(Calculate!J1562),0,Calculate!J1562))))))","v":0},{"$f":"IF(F1562=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1562),$C$2,Calculate!I1562),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1562),$C$2,Calculate!O1562),IF(ISERROR(Calculate!K1562),$C$2,Calculate!K1562))))","v":5.5},{"$f":"AF1562 & IF(OR($AH1562,RIGHT($AF1562,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1562","v":"S"},{"$f":"Calculate!Q1562","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1562=\"X\",$F1562=\"H\",$F1562=\"Z-ERROR\"),$F1562,IF($V1562>=RULES!$F$149,\"1\",IF($W1562>=RULES!$F$149,\"2\",IF($X1562>=RULES!$F$149,\"3\",IF($Y1562>=RULES!$F$149,\"4\",IF($Z1562>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1562<>\"*\",\"~\",IF($V1562>=RULES!$G$149,\"1?\",IF($W1562>=RULES!$G$149,\"2?\",IF($X1562>=RULES!$G$149,\"3?\",IF($Y1562>=RULES!$G$149,\"4?\",IF($Z1562>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1562<>\"*\",\"~\",IF((V1562+W1562>=RULES!$F$149),\"12\",IF((W1562+X1562>=RULES!$F$149),\"23\",IF((X1562+Y1562>=RULES!$F$149),\"34\",IF((Y1562+Z1562>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1562<>\"*\",\"~\",IF(Y1562+Z1562<(1-RULES!$F$149),\"13\",IF(V1562+Z1562<(1-RULES!$F$149),\"24\",IF(V1562+W1562<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1562=\"X\",$F1562=\"H\",$F1562=\"Z-ERROR\",AND($AA1562=\"H\",$AH1562)),$AE1562,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1562,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1562,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1562,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1562,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1562&\"1\",IF(NOT($AH1562),$E1562&\"U\",$AE1562)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1562","v":""},{"$f":"'Calculator Table'!BR1562","v":0},{"$f":"Calculate!AV1562","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1572","v":0},{"$f":"IF(F1572=\"X\",\"X\",(IF(F1572<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1572),0,Calculate!H1572),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1572),0,Calculate!N1572),IF(ISERROR(Calculate!J1572),0,Calculate!J1572))))))","v":0},{"$f":"IF(F1572=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1572),$C$2,Calculate!I1572),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1572),$C$2,Calculate!O1572),IF(ISERROR(Calculate!K1572),$C$2,Calculate!K1572))))","v":5.5},{"$f":"AF1572 & IF(OR($AH1572,RIGHT($AF1572,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1572","v":"S"},{"$f":"Calculate!Q1572","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1572=\"X\",$F1572=\"H\",$F1572=\"Z-ERROR\"),$F1572,IF($V1572>=RULES!$F$149,\"1\",IF($W1572>=RULES!$F$149,\"2\",IF($X1572>=RULES!$F$149,\"3\",IF($Y1572>=RULES!$F$149,\"4\",IF($Z1572>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1572<>\"*\",\"~\",IF($V1572>=RULES!$G$149,\"1?\",IF($W1572>=RULES!$G$149,\"2?\",IF($X1572>=RULES!$G$149,\"3?\",IF($Y1572>=RULES!$G$149,\"4?\",IF($Z1572>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1572<>\"*\",\"~\",IF((V1572+W1572>=RULES!$F$149),\"12\",IF((W1572+X1572>=RULES!$F$149),\"23\",IF((X1572+Y1572>=RULES!$F$149),\"34\",IF((Y1572+Z1572>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1572<>\"*\",\"~\",IF(Y1572+Z1572<(1-RULES!$F$149),\"13\",IF(V1572+Z1572<(1-RULES!$F$149),\"24\",IF(V1572+W1572<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1572=\"X\",$F1572=\"H\",$F1572=\"Z-ERROR\",AND($AA1572=\"H\",$AH1572)),$AE1572,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1572,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1572,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1572,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1572,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1572&\"1\",IF(NOT($AH1572),$E1572&\"U\",$AE1572)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1572","v":""},{"$f":"'Calculator Table'!BR1572","v":0},{"$f":"Calculate!AV1572","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1579","v":0},{"$f":"IF(F1579=\"X\",\"X\",(IF(F1579<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1579),0,Calculate!H1579),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1579),0,Calculate!N1579),IF(ISERROR(Calculate!J1579),0,Calculate!J1579))))))","v":0},{"$f":"IF(F1579=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1579),$C$2,Calculate!I1579),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1579),$C$2,Calculate!O1579),IF(ISERROR(Calculate!K1579),$C$2,Calculate!K1579))))","v":5.5},{"$f":"AF1579 & IF(OR($AH1579,RIGHT($AF1579,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1579","v":"S"},{"$f":"Calculate!Q1579","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1579=\"X\",$F1579=\"H\",$F1579=\"Z-ERROR\"),$F1579,IF($V1579>=RULES!$F$149,\"1\",IF($W1579>=RULES!$F$149,\"2\",IF($X1579>=RULES!$F$149,\"3\",IF($Y1579>=RULES!$F$149,\"4\",IF($Z1579>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1579<>\"*\",\"~\",IF($V1579>=RULES!$G$149,\"1?\",IF($W1579>=RULES!$G$149,\"2?\",IF($X1579>=RULES!$G$149,\"3?\",IF($Y1579>=RULES!$G$149,\"4?\",IF($Z1579>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1579<>\"*\",\"~\",IF((V1579+W1579>=RULES!$F$149),\"12\",IF((W1579+X1579>=RULES!$F$149),\"23\",IF((X1579+Y1579>=RULES!$F$149),\"34\",IF((Y1579+Z1579>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1579<>\"*\",\"~\",IF(Y1579+Z1579<(1-RULES!$F$149),\"13\",IF(V1579+Z1579<(1-RULES!$F$149),\"24\",IF(V1579+W1579<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1579=\"X\",$F1579=\"H\",$F1579=\"Z-ERROR\",AND($AA1579=\"H\",$AH1579)),$AE1579,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1579,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1579,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1579,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1579,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1579&\"1\",IF(NOT($AH1579),$E1579&\"U\",$AE1579)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1579","v":""},{"$f":"'Calculator Table'!BR1579","v":0},{"$f":"Calculate!AV1579","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1581","v":0},{"$f":"IF(F1581=\"X\",\"X\",(IF(F1581<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1581),0,Calculate!H1581),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1581),0,Calculate!N1581),IF(ISERROR(Calculate!J1581),0,Calculate!J1581))))))","v":0},{"$f":"IF(F1581=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1581),$C$2,Calculate!I1581),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1581),$C$2,Calculate!O1581),IF(ISERROR(Calculate!K1581),$C$2,Calculate!K1581))))","v":5.5},{"$f":"AF1581 & IF(OR($AH1581,RIGHT($AF1581,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1581","v":"S"},{"$f":"Calculate!Q1581","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1581=\"X\",$F1581=\"H\",$F1581=\"Z-ERROR\"),$F1581,IF($V1581>=RULES!$F$149,\"1\",IF($W1581>=RULES!$F$149,\"2\",IF($X1581>=RULES!$F$149,\"3\",IF($Y1581>=RULES!$F$149,\"4\",IF($Z1581>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1581<>\"*\",\"~\",IF($V1581>=RULES!$G$149,\"1?\",IF($W1581>=RULES!$G$149,\"2?\",IF($X1581>=RULES!$G$149,\"3?\",IF($Y1581>=RULES!$G$149,\"4?\",IF($Z1581>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1581<>\"*\",\"~\",IF((V1581+W1581>=RULES!$F$149),\"12\",IF((W1581+X1581>=RULES!$F$149),\"23\",IF((X1581+Y1581>=RULES!$F$149),\"34\",IF((Y1581+Z1581>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1581<>\"*\",\"~\",IF(Y1581+Z1581<(1-RULES!$F$149),\"13\",IF(V1581+Z1581<(1-RULES!$F$149),\"24\",IF(V1581+W1581<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1581=\"X\",$F1581=\"H\",$F1581=\"Z-ERROR\",AND($AA1581=\"H\",$AH1581)),$AE1581,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1581,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1581,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1581,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1581,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1581&\"1\",IF(NOT($AH1581),$E1581&\"U\",$AE1581)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1581","v":""},{"$f":"'Calculator Table'!BR1581","v":0},{"$f":"Calculate!AV1581","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1593","v":0},{"$f":"IF(F1593=\"X\",\"X\",(IF(F1593<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1593),0,Calculate!H1593),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1593),0,Calculate!N1593),IF(ISERROR(Calculate!J1593),0,Calculate!J1593))))))","v":0},{"$f":"IF(F1593=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1593),$C$2,Calculate!I1593),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1593),$C$2,Calculate!O1593),IF(ISERROR(Calculate!K1593),$C$2,Calculate!K1593))))","v":5.5},{"$f":"AF1593 & IF(OR($AH1593,RIGHT($AF1593,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1593","v":"S"},{"$f":"Calculate!Q1593","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1593=\"X\",$F1593=\"H\",$F1593=\"Z-ERROR\"),$F1593,IF($V1593>=RULES!$F$149,\"1\",IF($W1593>=RULES!$F$149,\"2\",IF($X1593>=RULES!$F$149,\"3\",IF($Y1593>=RULES!$F$149,\"4\",IF($Z1593>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1593<>\"*\",\"~\",IF($V1593>=RULES!$G$149,\"1?\",IF($W1593>=RULES!$G$149,\"2?\",IF($X1593>=RULES!$G$149,\"3?\",IF($Y1593>=RULES!$G$149,\"4?\",IF($Z1593>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1593<>\"*\",\"~\",IF((V1593+W1593>=RULES!$F$149),\"12\",IF((W1593+X1593>=RULES!$F$149),\"23\",IF((X1593+Y1593>=RULES!$F$149),\"34\",IF((Y1593+Z1593>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1593<>\"*\",\"~\",IF(Y1593+Z1593<(1-RULES!$F$149),\"13\",IF(V1593+Z1593<(1-RULES!$F$149),\"24\",IF(V1593+W1593<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1593=\"X\",$F1593=\"H\",$F1593=\"Z-ERROR\",AND($AA1593=\"H\",$AH1593)),$AE1593,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1593,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1593,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1593,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1593,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1593&\"1\",IF(NOT($AH1593),$E1593&\"U\",$AE1593)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1593","v":""},{"$f":"'Calculator Table'!BR1593","v":0},{"$f":"Calculate!AV1593","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1598","v":0},{"$f":"IF(F1598=\"X\",\"X\",(IF(F1598<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1598),0,Calculate!H1598),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1598),0,Calculate!N1598),IF(ISERROR(Calculate!J1598),0,Calculate!J1598))))))","v":0},{"$f":"IF(F1598=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1598),$C$2,Calculate!I1598),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1598),$C$2,Calculate!O1598),IF(ISERROR(Calculate!K1598),$C$2,Calculate!K1598))))","v":5.5},{"$f":"AF1598 & IF(OR($AH1598,RIGHT($AF1598,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1598","v":"S"},{"$f":"Calculate!Q1598","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1598=\"X\",$F1598=\"H\",$F1598=\"Z-ERROR\"),$F1598,IF($V1598>=RULES!$F$149,\"1\",IF($W1598>=RULES!$F$149,\"2\",IF($X1598>=RULES!$F$149,\"3\",IF($Y1598>=RULES!$F$149,\"4\",IF($Z1598>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1598<>\"*\",\"~\",IF($V1598>=RULES!$G$149,\"1?\",IF($W1598>=RULES!$G$149,\"2?\",IF($X1598>=RULES!$G$149,\"3?\",IF($Y1598>=RULES!$G$149,\"4?\",IF($Z1598>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1598<>\"*\",\"~\",IF((V1598+W1598>=RULES!$F$149),\"12\",IF((W1598+X1598>=RULES!$F$149),\"23\",IF((X1598+Y1598>=RULES!$F$149),\"34\",IF((Y1598+Z1598>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1598<>\"*\",\"~\",IF(Y1598+Z1598<(1-RULES!$F$149),\"13\",IF(V1598+Z1598<(1-RULES!$F$149),\"24\",IF(V1598+W1598<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1598=\"X\",$F1598=\"H\",$F1598=\"Z-ERROR\",AND($AA1598=\"H\",$AH1598)),$AE1598,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1598,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1598,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1598,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1598,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1598&\"1\",IF(NOT($AH1598),$E1598&\"U\",$AE1598)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1598","v":""},{"$f":"'Calculator Table'!BR1598","v":0},{"$f":"Calculate!AV1598","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1607","v":0},{"$f":"IF(F1607=\"X\",\"X\",(IF(F1607<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1607),0,Calculate!H1607),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1607),0,Calculate!N1607),IF(ISERROR(Calculate!J1607),0,Calculate!J1607))))))","v":0},{"$f":"IF(F1607=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1607),$C$2,Calculate!I1607),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1607),$C$2,Calculate!O1607),IF(ISERROR(Calculate!K1607),$C$2,Calculate!K1607))))","v":5.5},{"$f":"AF1607 & IF(OR($AH1607,RIGHT($AF1607,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1607","v":"S"},{"$f":"Calculate!Q1607","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1607=\"X\",$F1607=\"H\",$F1607=\"Z-ERROR\"),$F1607,IF($V1607>=RULES!$F$149,\"1\",IF($W1607>=RULES!$F$149,\"2\",IF($X1607>=RULES!$F$149,\"3\",IF($Y1607>=RULES!$F$149,\"4\",IF($Z1607>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1607<>\"*\",\"~\",IF($V1607>=RULES!$G$149,\"1?\",IF($W1607>=RULES!$G$149,\"2?\",IF($X1607>=RULES!$G$149,\"3?\",IF($Y1607>=RULES!$G$149,\"4?\",IF($Z1607>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1607<>\"*\",\"~\",IF((V1607+W1607>=RULES!$F$149),\"12\",IF((W1607+X1607>=RULES!$F$149),\"23\",IF((X1607+Y1607>=RULES!$F$149),\"34\",IF((Y1607+Z1607>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1607<>\"*\",\"~\",IF(Y1607+Z1607<(1-RULES!$F$149),\"13\",IF(V1607+Z1607<(1-RULES!$F$149),\"24\",IF(V1607+W1607<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1607=\"X\",$F1607=\"H\",$F1607=\"Z-ERROR\",AND($AA1607=\"H\",$AH1607)),$AE1607,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1607,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1607,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1607,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1607,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1607&\"1\",IF(NOT($AH1607),$E1607&\"U\",$AE1607)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1607","v":""},{"$f":"'Calculator Table'!BR1607","v":0},{"$f":"Calculate!AV1607","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1616","v":0},{"$f":"IF(F1616=\"X\",\"X\",(IF(F1616<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1616),0,Calculate!H1616),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1616),0,Calculate!N1616),IF(ISERROR(Calculate!J1616),0,Calculate!J1616))))))","v":0},{"$f":"IF(F1616=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1616),$C$2,Calculate!I1616),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1616),$C$2,Calculate!O1616),IF(ISERROR(Calculate!K1616),$C$2,Calculate!K1616))))","v":5.5},{"$f":"AF1616 & IF(OR($AH1616,RIGHT($AF1616,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1616","v":"S"},{"$f":"Calculate!Q1616","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1616=\"X\",$F1616=\"H\",$F1616=\"Z-ERROR\"),$F1616,IF($V1616>=RULES!$F$149,\"1\",IF($W1616>=RULES!$F$149,\"2\",IF($X1616>=RULES!$F$149,\"3\",IF($Y1616>=RULES!$F$149,\"4\",IF($Z1616>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1616<>\"*\",\"~\",IF($V1616>=RULES!$G$149,\"1?\",IF($W1616>=RULES!$G$149,\"2?\",IF($X1616>=RULES!$G$149,\"3?\",IF($Y1616>=RULES!$G$149,\"4?\",IF($Z1616>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1616<>\"*\",\"~\",IF((V1616+W1616>=RULES!$F$149),\"12\",IF((W1616+X1616>=RULES!$F$149),\"23\",IF((X1616+Y1616>=RULES!$F$149),\"34\",IF((Y1616+Z1616>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1616<>\"*\",\"~\",IF(Y1616+Z1616<(1-RULES!$F$149),\"13\",IF(V1616+Z1616<(1-RULES!$F$149),\"24\",IF(V1616+W1616<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1616=\"X\",$F1616=\"H\",$F1616=\"Z-ERROR\",AND($AA1616=\"H\",$AH1616)),$AE1616,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1616,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1616,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1616,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1616,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1616&\"1\",IF(NOT($AH1616),$E1616&\"U\",$AE1616)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1616","v":""},{"$f":"'Calculator Table'!BR1616","v":0},{"$f":"Calculate!AV1616","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1624","v":0},{"$f":"IF(F1624=\"X\",\"X\",(IF(F1624<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1624),0,Calculate!H1624),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1624),0,Calculate!N1624),IF(ISERROR(Calculate!J1624),0,Calculate!J1624))))))","v":0},{"$f":"IF(F1624=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1624),$C$2,Calculate!I1624),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1624),$C$2,Calculate!O1624),IF(ISERROR(Calculate!K1624),$C$2,Calculate!K1624))))","v":5.5},{"$f":"AF1624 & IF(OR($AH1624,RIGHT($AF1624,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1624","v":"S"},{"$f":"Calculate!Q1624","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1624=\"X\",$F1624=\"H\",$F1624=\"Z-ERROR\"),$F1624,IF($V1624>=RULES!$F$149,\"1\",IF($W1624>=RULES!$F$149,\"2\",IF($X1624>=RULES!$F$149,\"3\",IF($Y1624>=RULES!$F$149,\"4\",IF($Z1624>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1624<>\"*\",\"~\",IF($V1624>=RULES!$G$149,\"1?\",IF($W1624>=RULES!$G$149,\"2?\",IF($X1624>=RULES!$G$149,\"3?\",IF($Y1624>=RULES!$G$149,\"4?\",IF($Z1624>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1624<>\"*\",\"~\",IF((V1624+W1624>=RULES!$F$149),\"12\",IF((W1624+X1624>=RULES!$F$149),\"23\",IF((X1624+Y1624>=RULES!$F$149),\"34\",IF((Y1624+Z1624>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1624<>\"*\",\"~\",IF(Y1624+Z1624<(1-RULES!$F$149),\"13\",IF(V1624+Z1624<(1-RULES!$F$149),\"24\",IF(V1624+W1624<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1624=\"X\",$F1624=\"H\",$F1624=\"Z-ERROR\",AND($AA1624=\"H\",$AH1624)),$AE1624,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1624,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1624,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1624,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1624,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1624&\"1\",IF(NOT($AH1624),$E1624&\"U\",$AE1624)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1624","v":""},{"$f":"'Calculator Table'!BR1624","v":0},{"$f":"Calculate!AV1624","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1630","v":0},{"$f":"IF(F1630=\"X\",\"X\",(IF(F1630<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1630),0,Calculate!H1630),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1630),0,Calculate!N1630),IF(ISERROR(Calculate!J1630),0,Calculate!J1630))))))","v":0},{"$f":"IF(F1630=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1630),$C$2,Calculate!I1630),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1630),$C$2,Calculate!O1630),IF(ISERROR(Calculate!K1630),$C$2,Calculate!K1630))))","v":5.5},{"$f":"AF1630 & IF(OR($AH1630,RIGHT($AF1630,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1630","v":"S"},{"$f":"Calculate!Q1630","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,{"$f":"IF($L1630=0,IF($M1630=1,1,0),$N1630/$L1630)","v":0.27272727272727271},{"$f":"IF($L1630=0,IF($M1630=2,1,0),($O1630-$N1630)/$L1630)","v":0.18181818181818182},{"$f":"IF($L1630=0,IF($M1630=3,1,0),($P1630-$O1630)/$L1630)","v":0.18181818181818182},{"$f":"IF($L1630=0,IF($M1630=4,1,0),($Q1630-$P1630)/$L1630)","v":0.18181818181818182},{"$f":"IF($L1630=0,IF($M1630=5,1,0),$U1630/$L1630)","v":0.18181818181818182},{"$f":"IF(OR($F1630=\"X\",$F1630=\"H\",$F1630=\"Z-ERROR\"),$F1630,IF($V1630>=RULES!$F$149,\"1\",IF($W1630>=RULES!$F$149,\"2\",IF($X1630>=RULES!$F$149,\"3\",IF($Y1630>=RULES!$F$149,\"4\",IF($Z1630>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1630<>\"*\",\"~\",IF($V1630>=RULES!$G$149,\"1?\",IF($W1630>=RULES!$G$149,\"2?\",IF($X1630>=RULES!$G$149,\"3?\",IF($Y1630>=RULES!$G$149,\"4?\",IF($Z1630>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1630<>\"*\",\"~\",IF((V1630+W1630>=RULES!$F$149),\"12\",IF((W1630+X1630>=RULES!$F$149),\"23\",IF((X1630+Y1630>=RULES!$F$149),\"34\",IF((Y1630+Z1630>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1630<>\"*\",\"~\",IF(Y1630+Z1630<(1-RULES!$F$149),\"13\",IF(V1630+Z1630<(1-RULES!$F$149),\"24\",IF(V1630+W1630<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1630=\"X\",$F1630=\"H\",$F1630=\"Z-ERROR\",AND($AA1630=\"H\",$AH1630)),$AE1630,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1630,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1630,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1630,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1630,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1630&\"1\",IF(NOT($AH1630),$E1630&\"U\",$AE1630)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1630","v":""},{"$f":"'Calculator Table'!BR1630","v":0},{"$f":"Calculate!AV1630","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1633","v":0},{"$f":"IF(F1633=\"X\",\"X\",(IF(F1633<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1633),0,Calculate!H1633),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1633),0,Calculate!N1633),IF(ISERROR(Calculate!J1633),0,Calculate!J1633))))))","v":0},{"$f":"IF(F1633=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1633),$C$2,Calculate!I1633),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1633),$C$2,Calculate!O1633),IF(ISERROR(Calculate!K1633),$C$2,Calculate!K1633))))","v":5.5},{"$f":"AF1633 & IF(OR($AH1633,RIGHT($AF1633,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1633","v":"S"},{"$f":"Calculate!Q1633","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1633=\"X\",$F1633=\"H\",$F1633=\"Z-ERROR\"),$F1633,IF($V1633>=RULES!$F$149,\"1\",IF($W1633>=RULES!$F$149,\"2\",IF($X1633>=RULES!$F$149,\"3\",IF($Y1633>=RULES!$F$149,\"4\",IF($Z1633>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1633<>\"*\",\"~\",IF($V1633>=RULES!$G$149,\"1?\",IF($W1633>=RULES!$G$149,\"2?\",IF($X1633>=RULES!$G$149,\"3?\",IF($Y1633>=RULES!$G$149,\"4?\",IF($Z1633>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1633<>\"*\",\"~\",IF((V1633+W1633>=RULES!$F$149),\"12\",IF((W1633+X1633>=RULES!$F$149),\"23\",IF((X1633+Y1633>=RULES!$F$149),\"34\",IF((Y1633+Z1633>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1633<>\"*\",\"~\",IF(Y1633+Z1633<(1-RULES!$F$149),\"13\",IF(V1633+Z1633<(1-RULES!$F$149),\"24\",IF(V1633+W1633<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1633=\"X\",$F1633=\"H\",$F1633=\"Z-ERROR\",AND($AA1633=\"H\",$AH1633)),$AE1633,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1633,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1633,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1633,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1633,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1633&\"1\",IF(NOT($AH1633),$E1633&\"U\",$AE1633)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1633","v":""},{"$f":"'Calculator Table'!BR1633","v":0},{"$f":"Calculate!AV1633","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1644","v":0},{"$f":"IF(F1644=\"X\",\"X\",(IF(F1644<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1644),0,Calculate!H1644),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1644),0,Calculate!N1644),IF(ISERROR(Calculate!J1644),0,Calculate!J1644))))))","v":0},{"$f":"IF(F1644=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1644),$C$2,Calculate!I1644),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1644),$C$2,Calculate!O1644),IF(ISERROR(Calculate!K1644),$C$2,Calculate!K1644))))","v":5.5},{"$f":"AF1644 & IF(OR($AH1644,RIGHT($AF1644,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1644","v":"S"},{"$f":"Calculate!Q1644","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1644=\"X\",$F1644=\"H\",$F1644=\"Z-ERROR\"),$F1644,IF($V1644>=RULES!$F$149,\"1\",IF($W1644>=RULES!$F$149,\"2\",IF($X1644>=RULES!$F$149,\"3\",IF($Y1644>=RULES!$F$149,\"4\",IF($Z1644>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1644<>\"*\",\"~\",IF($V1644>=RULES!$G$149,\"1?\",IF($W1644>=RULES!$G$149,\"2?\",IF($X1644>=RULES!$G$149,\"3?\",IF($Y1644>=RULES!$G$149,\"4?\",IF($Z1644>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1644<>\"*\",\"~\",IF((V1644+W1644>=RULES!$F$149),\"12\",IF((W1644+X1644>=RULES!$F$149),\"23\",IF((X1644+Y1644>=RULES!$F$149),\"34\",IF((Y1644+Z1644>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1644<>\"*\",\"~\",IF(Y1644+Z1644<(1-RULES!$F$149),\"13\",IF(V1644+Z1644<(1-RULES!$F$149),\"24\",IF(V1644+W1644<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1644=\"X\",$F1644=\"H\",$F1644=\"Z-ERROR\",AND($AA1644=\"H\",$AH1644)),$AE1644,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1644,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1644,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1644,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1644,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1644&\"1\",IF(NOT($AH1644),$E1644&\"U\",$AE1644)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1644","v":""},{"$f":"'Calculator Table'!BR1644","v":0},{"$f":"Calculate!AV1644","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1650","v":0},{"$f":"IF(F1650=\"X\",\"X\",(IF(F1650<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1650),0,Calculate!H1650),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1650),0,Calculate!N1650),IF(ISERROR(Calculate!J1650),0,Calculate!J1650))))))","v":0},{"$f":"IF(F1650=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1650),$C$2,Calculate!I1650),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1650),$C$2,Calculate!O1650),IF(ISERROR(Calculate!K1650),$C$2,Calculate!K1650))))","v":5.5},{"$f":"AF1650 & IF(OR($AH1650,RIGHT($AF1650,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1650","v":"S"},{"$f":"Calculate!Q1650","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1650=\"X\",$F1650=\"H\",$F1650=\"Z-ERROR\"),$F1650,IF($V1650>=RULES!$F$149,\"1\",IF($W1650>=RULES!$F$149,\"2\",IF($X1650>=RULES!$F$149,\"3\",IF($Y1650>=RULES!$F$149,\"4\",IF($Z1650>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1650<>\"*\",\"~\",IF($V1650>=RULES!$G$149,\"1?\",IF($W1650>=RULES!$G$149,\"2?\",IF($X1650>=RULES!$G$149,\"3?\",IF($Y1650>=RULES!$G$149,\"4?\",IF($Z1650>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1650<>\"*\",\"~\",IF((V1650+W1650>=RULES!$F$149),\"12\",IF((W1650+X1650>=RULES!$F$149),\"23\",IF((X1650+Y1650>=RULES!$F$149),\"34\",IF((Y1650+Z1650>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1650<>\"*\",\"~\",IF(Y1650+Z1650<(1-RULES!$F$149),\"13\",IF(V1650+Z1650<(1-RULES!$F$149),\"24\",IF(V1650+W1650<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1650=\"X\",$F1650=\"H\",$F1650=\"Z-ERROR\",AND($AA1650=\"H\",$AH1650)),$AE1650,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1650,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1650,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1650,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1650,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1650&\"1\",IF(NOT($AH1650),$E1650&\"U\",$AE1650)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1650","v":""},{"$f":"'Calculator Table'!BR1650","v":0},{"$f":"Calculate!AV1650","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1658","v":0},{"$f":"IF(F1658=\"X\",\"X\",(IF(F1658<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1658),0,Calculate!H1658),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1658),0,Calculate!N1658),IF(ISERROR(Calculate!J1658),0,Calculate!J1658))))))","v":0},{"$f":"IF(F1658=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1658),$C$2,Calculate!I1658),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1658),$C$2,Calculate!O1658),IF(ISERROR(Calculate!K1658),$C$2,Calculate!K1658))))","v":5.5},{"$f":"AF1658 & IF(OR($AH1658,RIGHT($AF1658,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1658","v":"S"},{"$f":"Calculate!Q1658","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1658=\"X\",$F1658=\"H\",$F1658=\"Z-ERROR\"),$F1658,IF($V1658>=RULES!$F$149,\"1\",IF($W1658>=RULES!$F$149,\"2\",IF($X1658>=RULES!$F$149,\"3\",IF($Y1658>=RULES!$F$149,\"4\",IF($Z1658>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1658<>\"*\",\"~\",IF($V1658>=RULES!$G$149,\"1?\",IF($W1658>=RULES!$G$149,\"2?\",IF($X1658>=RULES!$G$149,\"3?\",IF($Y1658>=RULES!$G$149,\"4?\",IF($Z1658>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1658<>\"*\",\"~\",IF((V1658+W1658>=RULES!$F$149),\"12\",IF((W1658+X1658>=RULES!$F$149),\"23\",IF((X1658+Y1658>=RULES!$F$149),\"34\",IF((Y1658+Z1658>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1658<>\"*\",\"~\",IF(Y1658+Z1658<(1-RULES!$F$149),\"13\",IF(V1658+Z1658<(1-RULES!$F$149),\"24\",IF(V1658+W1658<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1658=\"X\",$F1658=\"H\",$F1658=\"Z-ERROR\",AND($AA1658=\"H\",$AH1658)),$AE1658,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1658,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1658,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1658,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1658,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1658&\"1\",IF(NOT($AH1658),$E1658&\"U\",$AE1658)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1658","v":""},{"$f":"'Calculator Table'!BR1658","v":0},{"$f":"Calculate!AV1658","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1667","v":0},{"$f":"IF(F1667=\"X\",\"X\",(IF(F1667<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1667),0,Calculate!H1667),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1667),0,Calculate!N1667),IF(ISERROR(Calculate!J1667),0,Calculate!J1667))))))","v":0},{"$f":"IF(F1667=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1667),$C$2,Calculate!I1667),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1667),$C$2,Calculate!O1667),IF(ISERROR(Calculate!K1667),$C$2,Calculate!K1667))))","v":5.5},{"$f":"AF1667 & IF(OR($AH1667,RIGHT($AF1667,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1667","v":"S"},{"$f":"Calculate!Q1667","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1667=\"X\",$F1667=\"H\",$F1667=\"Z-ERROR\"),$F1667,IF($V1667>=RULES!$F$149,\"1\",IF($W1667>=RULES!$F$149,\"2\",IF($X1667>=RULES!$F$149,\"3\",IF($Y1667>=RULES!$F$149,\"4\",IF($Z1667>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1667<>\"*\",\"~\",IF($V1667>=RULES!$G$149,\"1?\",IF($W1667>=RULES!$G$149,\"2?\",IF($X1667>=RULES!$G$149,\"3?\",IF($Y1667>=RULES!$G$149,\"4?\",IF($Z1667>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1667<>\"*\",\"~\",IF((V1667+W1667>=RULES!$F$149),\"12\",IF((W1667+X1667>=RULES!$F$149),\"23\",IF((X1667+Y1667>=RULES!$F$149),\"34\",IF((Y1667+Z1667>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1667<>\"*\",\"~\",IF(Y1667+Z1667<(1-RULES!$F$149),\"13\",IF(V1667+Z1667<(1-RULES!$F$149),\"24\",IF(V1667+W1667<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1667=\"X\",$F1667=\"H\",$F1667=\"Z-ERROR\",AND($AA1667=\"H\",$AH1667)),$AE1667,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1667,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1667,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1667,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1667,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1667&\"1\",IF(NOT($AH1667),$E1667&\"U\",$AE1667)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1667","v":""},{"$f":"'Calculator Table'!BR1667","v":0},{"$f":"Calculate!AV1667","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1676","v":0},{"$f":"IF(F1676=\"X\",\"X\",(IF(F1676<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1676),0,Calculate!H1676),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1676),0,Calculate!N1676),IF(ISERROR(Calculate!J1676),0,Calculate!J1676))))))","v":0},{"$f":"IF(F1676=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1676),$C$2,Calculate!I1676),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1676),$C$2,Calculate!O1676),IF(ISERROR(Calculate!K1676),$C$2,Calculate!K1676))))","v":5.5},{"$f":"AF1676 & IF(OR($AH1676,RIGHT($AF1676,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1676","v":"S"},{"$f":"Calculate!Q1676","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1676=\"X\",$F1676=\"H\",$F1676=\"Z-ERROR\"),$F1676,IF($V1676>=RULES!$F$149,\"1\",IF($W1676>=RULES!$F$149,\"2\",IF($X1676>=RULES!$F$149,\"3\",IF($Y1676>=RULES!$F$149,\"4\",IF($Z1676>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1676<>\"*\",\"~\",IF($V1676>=RULES!$G$149,\"1?\",IF($W1676>=RULES!$G$149,\"2?\",IF($X1676>=RULES!$G$149,\"3?\",IF($Y1676>=RULES!$G$149,\"4?\",IF($Z1676>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1676<>\"*\",\"~\",IF((V1676+W1676>=RULES!$F$149),\"12\",IF((W1676+X1676>=RULES!$F$149),\"23\",IF((X1676+Y1676>=RULES!$F$149),\"34\",IF((Y1676+Z1676>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1676<>\"*\",\"~\",IF(Y1676+Z1676<(1-RULES!$F$149),\"13\",IF(V1676+Z1676<(1-RULES!$F$149),\"24\",IF(V1676+W1676<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1676=\"X\",$F1676=\"H\",$F1676=\"Z-ERROR\",AND($AA1676=\"H\",$AH1676)),$AE1676,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1676,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1676,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1676,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1676,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1676&\"1\",IF(NOT($AH1676),$E1676&\"U\",$AE1676)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1676","v":""},{"$f":"'Calculator Table'!BR1676","v":0},{"$f":"Calculate!AV1676","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1681","v":0},{"$f":"IF(F1681=\"X\",\"X\",(IF(F1681<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1681),0,Calculate!H1681),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1681),0,Calculate!N1681),IF(ISERROR(Calculate!J1681),0,Calculate!J1681))))))","v":0},{"$f":"IF(F1681=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1681),$C$2,Calculate!I1681),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1681),$C$2,Calculate!O1681),IF(ISERROR(Calculate!K1681),$C$2,Calculate!K1681))))","v":5.5},{"$f":"AF1681 & IF(OR($AH1681,RIGHT($AF1681,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1681","v":"S"},{"$f":"Calculate!Q1681","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1681=\"X\",$F1681=\"H\",$F1681=\"Z-ERROR\"),$F1681,IF($V1681>=RULES!$F$149,\"1\",IF($W1681>=RULES!$F$149,\"2\",IF($X1681>=RULES!$F$149,\"3\",IF($Y1681>=RULES!$F$149,\"4\",IF($Z1681>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1681<>\"*\",\"~\",IF($V1681>=RULES!$G$149,\"1?\",IF($W1681>=RULES!$G$149,\"2?\",IF($X1681>=RULES!$G$149,\"3?\",IF($Y1681>=RULES!$G$149,\"4?\",IF($Z1681>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1681<>\"*\",\"~\",IF((V1681+W1681>=RULES!$F$149),\"12\",IF((W1681+X1681>=RULES!$F$149),\"23\",IF((X1681+Y1681>=RULES!$F$149),\"34\",IF((Y1681+Z1681>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1681<>\"*\",\"~\",IF(Y1681+Z1681<(1-RULES!$F$149),\"13\",IF(V1681+Z1681<(1-RULES!$F$149),\"24\",IF(V1681+W1681<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1681=\"X\",$F1681=\"H\",$F1681=\"Z-ERROR\",AND($AA1681=\"H\",$AH1681)),$AE1681,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1681,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1681,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1681,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1681,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1681&\"1\",IF(NOT($AH1681),$E1681&\"U\",$AE1681)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1681","v":""},{"$f":"'Calculator Table'!BR1681","v":0},{"$f":"Calculate!AV1681","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1693","v":0},{"$f":"IF(F1693=\"X\",\"X\",(IF(F1693<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1693),0,Calculate!H1693),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1693),0,Calculate!N1693),IF(ISERROR(Calculate!J1693),0,Calculate!J1693))))))","v":0},{"$f":"IF(F1693=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1693),$C$2,Calculate!I1693),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1693),$C$2,Calculate!O1693),IF(ISERROR(Calculate!K1693),$C$2,Calculate!K1693))))","v":5.5},{"$f":"AF1693 & IF(OR($AH1693,RIGHT($AF1693,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1693","v":"S"},{"$f":"Calculate!Q1693","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1693=\"X\",$F1693=\"H\",$F1693=\"Z-ERROR\"),$F1693,IF($V1693>=RULES!$F$149,\"1\",IF($W1693>=RULES!$F$149,\"2\",IF($X1693>=RULES!$F$149,\"3\",IF($Y1693>=RULES!$F$149,\"4\",IF($Z1693>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1693<>\"*\",\"~\",IF($V1693>=RULES!$G$149,\"1?\",IF($W1693>=RULES!$G$149,\"2?\",IF($X1693>=RULES!$G$149,\"3?\",IF($Y1693>=RULES!$G$149,\"4?\",IF($Z1693>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1693<>\"*\",\"~\",IF((V1693+W1693>=RULES!$F$149),\"12\",IF((W1693+X1693>=RULES!$F$149),\"23\",IF((X1693+Y1693>=RULES!$F$149),\"34\",IF((Y1693+Z1693>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1693<>\"*\",\"~\",IF(Y1693+Z1693<(1-RULES!$F$149),\"13\",IF(V1693+Z1693<(1-RULES!$F$149),\"24\",IF(V1693+W1693<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1693=\"X\",$F1693=\"H\",$F1693=\"Z-ERROR\",AND($AA1693=\"H\",$AH1693)),$AE1693,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1693,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1693,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1693,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1693,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1693&\"1\",IF(NOT($AH1693),$E1693&\"U\",$AE1693)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1693","v":""},{"$f":"'Calculator Table'!BR1693","v":0},{"$f":"Calculate!AV1693","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1698","v":0},{"$f":"IF(F1698=\"X\",\"X\",(IF(F1698<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1698),0,Calculate!H1698),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1698),0,Calculate!N1698),IF(ISERROR(Calculate!J1698),0,Calculate!J1698))))))","v":0},{"$f":"IF(F1698=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1698),$C$2,Calculate!I1698),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1698),$C$2,Calculate!O1698),IF(ISERROR(Calculate!K1698),$C$2,Calculate!K1698))))","v":5.5},{"$f":"AF1698 & IF(OR($AH1698,RIGHT($AF1698,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1698","v":"S"},{"$f":"Calculate!Q1698","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1698=\"X\",$F1698=\"H\",$F1698=\"Z-ERROR\"),$F1698,IF($V1698>=RULES!$F$149,\"1\",IF($W1698>=RULES!$F$149,\"2\",IF($X1698>=RULES!$F$149,\"3\",IF($Y1698>=RULES!$F$149,\"4\",IF($Z1698>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1698<>\"*\",\"~\",IF($V1698>=RULES!$G$149,\"1?\",IF($W1698>=RULES!$G$149,\"2?\",IF($X1698>=RULES!$G$149,\"3?\",IF($Y1698>=RULES!$G$149,\"4?\",IF($Z1698>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1698<>\"*\",\"~\",IF((V1698+W1698>=RULES!$F$149),\"12\",IF((W1698+X1698>=RULES!$F$149),\"23\",IF((X1698+Y1698>=RULES!$F$149),\"34\",IF((Y1698+Z1698>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1698<>\"*\",\"~\",IF(Y1698+Z1698<(1-RULES!$F$149),\"13\",IF(V1698+Z1698<(1-RULES!$F$149),\"24\",IF(V1698+W1698<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1698=\"X\",$F1698=\"H\",$F1698=\"Z-ERROR\",AND($AA1698=\"H\",$AH1698)),$AE1698,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1698,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1698,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1698,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1698,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1698&\"1\",IF(NOT($AH1698),$E1698&\"U\",$AE1698)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1698","v":""},{"$f":"'Calculator Table'!BR1698","v":0},{"$f":"Calculate!AV1698","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1702","v":0},{"$f":"IF(F1702=\"X\",\"X\",(IF(F1702<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1702),0,Calculate!H1702),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1702),0,Calculate!N1702),IF(ISERROR(Calculate!J1702),0,Calculate!J1702))))))","v":0},{"$f":"IF(F1702=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1702),$C$2,Calculate!I1702),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1702),$C$2,Calculate!O1702),IF(ISERROR(Calculate!K1702),$C$2,Calculate!K1702))))","v":5.5},{"$f":"AF1702 & IF(OR($AH1702,RIGHT($AF1702,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1702","v":"S"},{"$f":"Calculate!Q1702","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1702=\"X\",$F1702=\"H\",$F1702=\"Z-ERROR\"),$F1702,IF($V1702>=RULES!$F$149,\"1\",IF($W1702>=RULES!$F$149,\"2\",IF($X1702>=RULES!$F$149,\"3\",IF($Y1702>=RULES!$F$149,\"4\",IF($Z1702>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1702<>\"*\",\"~\",IF($V1702>=RULES!$G$149,\"1?\",IF($W1702>=RULES!$G$149,\"2?\",IF($X1702>=RULES!$G$149,\"3?\",IF($Y1702>=RULES!$G$149,\"4?\",IF($Z1702>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1702<>\"*\",\"~\",IF((V1702+W1702>=RULES!$F$149),\"12\",IF((W1702+X1702>=RULES!$F$149),\"23\",IF((X1702+Y1702>=RULES!$F$149),\"34\",IF((Y1702+Z1702>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1702<>\"*\",\"~\",IF(Y1702+Z1702<(1-RULES!$F$149),\"13\",IF(V1702+Z1702<(1-RULES!$F$149),\"24\",IF(V1702+W1702<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1702=\"X\",$F1702=\"H\",$F1702=\"Z-ERROR\",AND($AA1702=\"H\",$AH1702)),$AE1702,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1702,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1702,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1702,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1702,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1702&\"1\",IF(NOT($AH1702),$E1702&\"U\",$AE1702)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1702","v":""},{"$f":"'Calculator Table'!BR1702","v":0},{"$f":"Calculate!AV1702","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1712","v":0},{"$f":"IF(F1712=\"X\",\"X\",(IF(F1712<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1712),0,Calculate!H1712),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1712),0,Calculate!N1712),IF(ISERROR(Calculate!J1712),0,Calculate!J1712))))))","v":0},{"$f":"IF(F1712=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1712),$C$2,Calculate!I1712),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1712),$C$2,Calculate!O1712),IF(ISERROR(Calculate!K1712),$C$2,Calculate!K1712))))","v":5.5},{"$f":"AF1712 & IF(OR($AH1712,RIGHT($AF1712,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1712","v":"S"},{"$f":"Calculate!Q1712","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1712=\"X\",$F1712=\"H\",$F1712=\"Z-ERROR\"),$F1712,IF($V1712>=RULES!$F$149,\"1\",IF($W1712>=RULES!$F$149,\"2\",IF($X1712>=RULES!$F$149,\"3\",IF($Y1712>=RULES!$F$149,\"4\",IF($Z1712>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1712<>\"*\",\"~\",IF($V1712>=RULES!$G$149,\"1?\",IF($W1712>=RULES!$G$149,\"2?\",IF($X1712>=RULES!$G$149,\"3?\",IF($Y1712>=RULES!$G$149,\"4?\",IF($Z1712>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1712<>\"*\",\"~\",IF((V1712+W1712>=RULES!$F$149),\"12\",IF((W1712+X1712>=RULES!$F$149),\"23\",IF((X1712+Y1712>=RULES!$F$149),\"34\",IF((Y1712+Z1712>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1712<>\"*\",\"~\",IF(Y1712+Z1712<(1-RULES!$F$149),\"13\",IF(V1712+Z1712<(1-RULES!$F$149),\"24\",IF(V1712+W1712<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1712=\"X\",$F1712=\"H\",$F1712=\"Z-ERROR\",AND($AA1712=\"H\",$AH1712)),$AE1712,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1712,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1712,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1712,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1712,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1712&\"1\",IF(NOT($AH1712),$E1712&\"U\",$AE1712)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1712","v":""},{"$f":"'Calculator Table'!BR1712","v":0},{"$f":"Calculate!AV1712","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1719","v":0},{"$f":"IF(F1719=\"X\",\"X\",(IF(F1719<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1719),0,Calculate!H1719),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1719),0,Calculate!N1719),IF(ISERROR(Calculate!J1719),0,Calculate!J1719))))))","v":0},{"$f":"IF(F1719=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1719),$C$2,Calculate!I1719),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1719),$C$2,Calculate!O1719),IF(ISERROR(Calculate!K1719),$C$2,Calculate!K1719))))","v":5.5},{"$f":"AF1719 & IF(OR($AH1719,RIGHT($AF1719,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1719","v":"S"},{"$f":"Calculate!Q1719","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1719=\"X\",$F1719=\"H\",$F1719=\"Z-ERROR\"),$F1719,IF($V1719>=RULES!$F$149,\"1\",IF($W1719>=RULES!$F$149,\"2\",IF($X1719>=RULES!$F$149,\"3\",IF($Y1719>=RULES!$F$149,\"4\",IF($Z1719>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1719<>\"*\",\"~\",IF($V1719>=RULES!$G$149,\"1?\",IF($W1719>=RULES!$G$149,\"2?\",IF($X1719>=RULES!$G$149,\"3?\",IF($Y1719>=RULES!$G$149,\"4?\",IF($Z1719>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1719<>\"*\",\"~\",IF((V1719+W1719>=RULES!$F$149),\"12\",IF((W1719+X1719>=RULES!$F$149),\"23\",IF((X1719+Y1719>=RULES!$F$149),\"34\",IF((Y1719+Z1719>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1719<>\"*\",\"~\",IF(Y1719+Z1719<(1-RULES!$F$149),\"13\",IF(V1719+Z1719<(1-RULES!$F$149),\"24\",IF(V1719+W1719<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1719=\"X\",$F1719=\"H\",$F1719=\"Z-ERROR\",AND($AA1719=\"H\",$AH1719)),$AE1719,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1719,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1719,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1719,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1719,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1719&\"1\",IF(NOT($AH1719),$E1719&\"U\",$AE1719)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1719","v":""},{"$f":"'Calculator Table'!BR1719","v":0},{"$f":"Calculate!AV1719","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1726","v":0},{"$f":"IF(F1726=\"X\",\"X\",(IF(F1726<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1726),0,Calculate!H1726),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1726),0,Calculate!N1726),IF(ISERROR(Calculate!J1726),0,Calculate!J1726))))))","v":0},{"$f":"IF(F1726=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1726),$C$2,Calculate!I1726),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1726),$C$2,Calculate!O1726),IF(ISERROR(Calculate!K1726),$C$2,Calculate!K1726))))","v":5.5},{"$f":"AF1726 & IF(OR($AH1726,RIGHT($AF1726,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1726","v":"S"},{"$f":"Calculate!Q1726","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1726=\"X\",$F1726=\"H\",$F1726=\"Z-ERROR\"),$F1726,IF($V1726>=RULES!$F$149,\"1\",IF($W1726>=RULES!$F$149,\"2\",IF($X1726>=RULES!$F$149,\"3\",IF($Y1726>=RULES!$F$149,\"4\",IF($Z1726>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1726<>\"*\",\"~\",IF($V1726>=RULES!$G$149,\"1?\",IF($W1726>=RULES!$G$149,\"2?\",IF($X1726>=RULES!$G$149,\"3?\",IF($Y1726>=RULES!$G$149,\"4?\",IF($Z1726>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1726<>\"*\",\"~\",IF((V1726+W1726>=RULES!$F$149),\"12\",IF((W1726+X1726>=RULES!$F$149),\"23\",IF((X1726+Y1726>=RULES!$F$149),\"34\",IF((Y1726+Z1726>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1726<>\"*\",\"~\",IF(Y1726+Z1726<(1-RULES!$F$149),\"13\",IF(V1726+Z1726<(1-RULES!$F$149),\"24\",IF(V1726+W1726<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1726=\"X\",$F1726=\"H\",$F1726=\"Z-ERROR\",AND($AA1726=\"H\",$AH1726)),$AE1726,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1726,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1726,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1726,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1726,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1726&\"1\",IF(NOT($AH1726),$E1726&\"U\",$AE1726)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1726","v":""},{"$f":"'Calculator Table'!BR1726","v":0},{"$f":"Calculate!AV1726","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1736","v":0},{"$f":"IF(F1736=\"X\",\"X\",(IF(F1736<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1736),0,Calculate!H1736),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1736),0,Calculate!N1736),IF(ISERROR(Calculate!J1736),0,Calculate!J1736))))))","v":0},{"$f":"IF(F1736=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1736),$C$2,Calculate!I1736),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1736),$C$2,Calculate!O1736),IF(ISERROR(Calculate!K1736),$C$2,Calculate!K1736))))","v":5.5},{"$f":"AF1736 & IF(OR($AH1736,RIGHT($AF1736,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1736","v":"S"},{"$f":"Calculate!Q1736","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1736=\"X\",$F1736=\"H\",$F1736=\"Z-ERROR\"),$F1736,IF($V1736>=RULES!$F$149,\"1\",IF($W1736>=RULES!$F$149,\"2\",IF($X1736>=RULES!$F$149,\"3\",IF($Y1736>=RULES!$F$149,\"4\",IF($Z1736>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1736<>\"*\",\"~\",IF($V1736>=RULES!$G$149,\"1?\",IF($W1736>=RULES!$G$149,\"2?\",IF($X1736>=RULES!$G$149,\"3?\",IF($Y1736>=RULES!$G$149,\"4?\",IF($Z1736>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1736<>\"*\",\"~\",IF((V1736+W1736>=RULES!$F$149),\"12\",IF((W1736+X1736>=RULES!$F$149),\"23\",IF((X1736+Y1736>=RULES!$F$149),\"34\",IF((Y1736+Z1736>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1736<>\"*\",\"~\",IF(Y1736+Z1736<(1-RULES!$F$149),\"13\",IF(V1736+Z1736<(1-RULES!$F$149),\"24\",IF(V1736+W1736<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1736=\"X\",$F1736=\"H\",$F1736=\"Z-ERROR\",AND($AA1736=\"H\",$AH1736)),$AE1736,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1736,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1736,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1736,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1736,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1736&\"1\",IF(NOT($AH1736),$E1736&\"U\",$AE1736)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1736","v":""},{"$f":"'Calculator Table'!BR1736","v":0},{"$f":"Calculate!AV1736","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1745","v":0},{"$f":"IF(F1745=\"X\",\"X\",(IF(F1745<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1745),0,Calculate!H1745),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1745),0,Calculate!N1745),IF(ISERROR(Calculate!J1745),0,Calculate!J1745))))))","v":0},{"$f":"IF(F1745=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1745),$C$2,Calculate!I1745),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1745),$C$2,Calculate!O1745),IF(ISERROR(Calculate!K1745),$C$2,Calculate!K1745))))","v":5.5},{"$f":"AF1745 & IF(OR($AH1745,RIGHT($AF1745,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1745","v":"S"},{"$f":"Calculate!Q1745","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1745=\"X\",$F1745=\"H\",$F1745=\"Z-ERROR\"),$F1745,IF($V1745>=RULES!$F$149,\"1\",IF($W1745>=RULES!$F$149,\"2\",IF($X1745>=RULES!$F$149,\"3\",IF($Y1745>=RULES!$F$149,\"4\",IF($Z1745>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1745<>\"*\",\"~\",IF($V1745>=RULES!$G$149,\"1?\",IF($W1745>=RULES!$G$149,\"2?\",IF($X1745>=RULES!$G$149,\"3?\",IF($Y1745>=RULES!$G$149,\"4?\",IF($Z1745>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1745<>\"*\",\"~\",IF((V1745+W1745>=RULES!$F$149),\"12\",IF((W1745+X1745>=RULES!$F$149),\"23\",IF((X1745+Y1745>=RULES!$F$149),\"34\",IF((Y1745+Z1745>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1745<>\"*\",\"~\",IF(Y1745+Z1745<(1-RULES!$F$149),\"13\",IF(V1745+Z1745<(1-RULES!$F$149),\"24\",IF(V1745+W1745<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1745=\"X\",$F1745=\"H\",$F1745=\"Z-ERROR\",AND($AA1745=\"H\",$AH1745)),$AE1745,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1745,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1745,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1745,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1745,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1745&\"1\",IF(NOT($AH1745),$E1745&\"U\",$AE1745)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1745","v":""},{"$f":"'Calculator Table'!BR1745","v":0},{"$f":"Calculate!AV1745","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1749","v":0},{"$f":"IF(F1749=\"X\",\"X\",(IF(F1749<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1749),0,Calculate!H1749),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1749),0,Calculate!N1749),IF(ISERROR(Calculate!J1749),0,Calculate!J1749))))))","v":0},{"$f":"IF(F1749=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1749),$C$2,Calculate!I1749),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1749),$C$2,Calculate!O1749),IF(ISERROR(Calculate!K1749),$C$2,Calculate!K1749))))","v":5.5},{"$f":"AF1749 & IF(OR($AH1749,RIGHT($AF1749,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1749","v":"S"},{"$f":"Calculate!Q1749","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1749=\"X\",$F1749=\"H\",$F1749=\"Z-ERROR\"),$F1749,IF($V1749>=RULES!$F$149,\"1\",IF($W1749>=RULES!$F$149,\"2\",IF($X1749>=RULES!$F$149,\"3\",IF($Y1749>=RULES!$F$149,\"4\",IF($Z1749>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1749<>\"*\",\"~\",IF($V1749>=RULES!$G$149,\"1?\",IF($W1749>=RULES!$G$149,\"2?\",IF($X1749>=RULES!$G$149,\"3?\",IF($Y1749>=RULES!$G$149,\"4?\",IF($Z1749>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1749<>\"*\",\"~\",IF((V1749+W1749>=RULES!$F$149),\"12\",IF((W1749+X1749>=RULES!$F$149),\"23\",IF((X1749+Y1749>=RULES!$F$149),\"34\",IF((Y1749+Z1749>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1749<>\"*\",\"~\",IF(Y1749+Z1749<(1-RULES!$F$149),\"13\",IF(V1749+Z1749<(1-RULES!$F$149),\"24\",IF(V1749+W1749<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1749=\"X\",$F1749=\"H\",$F1749=\"Z-ERROR\",AND($AA1749=\"H\",$AH1749)),$AE1749,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1749,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1749,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1749,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1749,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1749&\"1\",IF(NOT($AH1749),$E1749&\"U\",$AE1749)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1749","v":""},{"$f":"'Calculator Table'!BR1749","v":0},{"$f":"Calculate!AV1749","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1754","v":0},{"$f":"IF(F1754=\"X\",\"X\",(IF(F1754<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1754),0,Calculate!H1754),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1754),0,Calculate!N1754),IF(ISERROR(Calculate!J1754),0,Calculate!J1754))))))","v":0},{"$f":"IF(F1754=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1754),$C$2,Calculate!I1754),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1754),$C$2,Calculate!O1754),IF(ISERROR(Calculate!K1754),$C$2,Calculate!K1754))))","v":5.5},{"$f":"AF1754 & IF(OR($AH1754,RIGHT($AF1754,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1754","v":"S"},{"$f":"Calculate!Q1754","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1754=\"X\",$F1754=\"H\",$F1754=\"Z-ERROR\"),$F1754,IF($V1754>=RULES!$F$149,\"1\",IF($W1754>=RULES!$F$149,\"2\",IF($X1754>=RULES!$F$149,\"3\",IF($Y1754>=RULES!$F$149,\"4\",IF($Z1754>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1754<>\"*\",\"~\",IF($V1754>=RULES!$G$149,\"1?\",IF($W1754>=RULES!$G$149,\"2?\",IF($X1754>=RULES!$G$149,\"3?\",IF($Y1754>=RULES!$G$149,\"4?\",IF($Z1754>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1754<>\"*\",\"~\",IF((V1754+W1754>=RULES!$F$149),\"12\",IF((W1754+X1754>=RULES!$F$149),\"23\",IF((X1754+Y1754>=RULES!$F$149),\"34\",IF((Y1754+Z1754>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1754<>\"*\",\"~\",IF(Y1754+Z1754<(1-RULES!$F$149),\"13\",IF(V1754+Z1754<(1-RULES!$F$149),\"24\",IF(V1754+W1754<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1754=\"X\",$F1754=\"H\",$F1754=\"Z-ERROR\",AND($AA1754=\"H\",$AH1754)),$AE1754,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1754,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1754,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1754,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1754,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1754&\"1\",IF(NOT($AH1754),$E1754&\"U\",$AE1754)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1754","v":""},{"$f":"'Calculator Table'!BR1754","v":0},{"$f":"Calculate!AV1754","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1763","v":0},{"$f":"IF(F1763=\"X\",\"X\",(IF(F1763<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1763),0,Calculate!H1763),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1763),0,Calculate!N1763),IF(ISERROR(Calculate!J1763),0,Calculate!J1763))))))","v":0},{"$f":"IF(F1763=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1763),$C$2,Calculate!I1763),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1763),$C$2,Calculate!O1763),IF(ISERROR(Calculate!K1763),$C$2,Calculate!K1763))))","v":5.5},{"$f":"AF1763 & IF(OR($AH1763,RIGHT($AF1763,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1763","v":"S"},{"$f":"Calculate!Q1763","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1763=\"X\",$F1763=\"H\",$F1763=\"Z-ERROR\"),$F1763,IF($V1763>=RULES!$F$149,\"1\",IF($W1763>=RULES!$F$149,\"2\",IF($X1763>=RULES!$F$149,\"3\",IF($Y1763>=RULES!$F$149,\"4\",IF($Z1763>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1763<>\"*\",\"~\",IF($V1763>=RULES!$G$149,\"1?\",IF($W1763>=RULES!$G$149,\"2?\",IF($X1763>=RULES!$G$149,\"3?\",IF($Y1763>=RULES!$G$149,\"4?\",IF($Z1763>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1763<>\"*\",\"~\",IF((V1763+W1763>=RULES!$F$149),\"12\",IF((W1763+X1763>=RULES!$F$149),\"23\",IF((X1763+Y1763>=RULES!$F$149),\"34\",IF((Y1763+Z1763>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1763<>\"*\",\"~\",IF(Y1763+Z1763<(1-RULES!$F$149),\"13\",IF(V1763+Z1763<(1-RULES!$F$149),\"24\",IF(V1763+W1763<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1763=\"X\",$F1763=\"H\",$F1763=\"Z-ERROR\",AND($AA1763=\"H\",$AH1763)),$AE1763,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1763,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1763,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1763,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1763,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1763&\"1\",IF(NOT($AH1763),$E1763&\"U\",$AE1763)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1763","v":""},{"$f":"'Calculator Table'!BR1763","v":0},{"$f":"Calculate!AV1763","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1771","v":0},{"$f":"IF(F1771=\"X\",\"X\",(IF(F1771<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1771),0,Calculate!H1771),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1771),0,Calculate!N1771),IF(ISERROR(Calculate!J1771),0,Calculate!J1771))))))","v":0},{"$f":"IF(F1771=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1771),$C$2,Calculate!I1771),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1771),$C$2,Calculate!O1771),IF(ISERROR(Calculate!K1771),$C$2,Calculate!K1771))))","v":5.5},{"$f":"AF1771 & IF(OR($AH1771,RIGHT($AF1771,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1771","v":"S"},{"$f":"Calculate!Q1771","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1771=\"X\",$F1771=\"H\",$F1771=\"Z-ERROR\"),$F1771,IF($V1771>=RULES!$F$149,\"1\",IF($W1771>=RULES!$F$149,\"2\",IF($X1771>=RULES!$F$149,\"3\",IF($Y1771>=RULES!$F$149,\"4\",IF($Z1771>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1771<>\"*\",\"~\",IF($V1771>=RULES!$G$149,\"1?\",IF($W1771>=RULES!$G$149,\"2?\",IF($X1771>=RULES!$G$149,\"3?\",IF($Y1771>=RULES!$G$149,\"4?\",IF($Z1771>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1771<>\"*\",\"~\",IF((V1771+W1771>=RULES!$F$149),\"12\",IF((W1771+X1771>=RULES!$F$149),\"23\",IF((X1771+Y1771>=RULES!$F$149),\"34\",IF((Y1771+Z1771>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1771<>\"*\",\"~\",IF(Y1771+Z1771<(1-RULES!$F$149),\"13\",IF(V1771+Z1771<(1-RULES!$F$149),\"24\",IF(V1771+W1771<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1771=\"X\",$F1771=\"H\",$F1771=\"Z-ERROR\",AND($AA1771=\"H\",$AH1771)),$AE1771,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1771,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1771,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1771,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1771,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1771&\"1\",IF(NOT($AH1771),$E1771&\"U\",$AE1771)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1771","v":""},{"$f":"'Calculator Table'!BR1771","v":0},{"$f":"Calculate!AV1771","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1777","v":0},{"$f":"IF(F1777=\"X\",\"X\",(IF(F1777<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1777),0,Calculate!H1777),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1777),0,Calculate!N1777),IF(ISERROR(Calculate!J1777),0,Calculate!J1777))))))","v":0},{"$f":"IF(F1777=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1777),$C$2,Calculate!I1777),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1777),$C$2,Calculate!O1777),IF(ISERROR(Calculate!K1777),$C$2,Calculate!K1777))))","v":5.5},{"$f":"AF1777 & IF(OR($AH1777,RIGHT($AF1777,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1777","v":"S"},{"$f":"Calculate!Q1777","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1777=\"X\",$F1777=\"H\",$F1777=\"Z-ERROR\"),$F1777,IF($V1777>=RULES!$F$149,\"1\",IF($W1777>=RULES!$F$149,\"2\",IF($X1777>=RULES!$F$149,\"3\",IF($Y1777>=RULES!$F$149,\"4\",IF($Z1777>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1777<>\"*\",\"~\",IF($V1777>=RULES!$G$149,\"1?\",IF($W1777>=RULES!$G$149,\"2?\",IF($X1777>=RULES!$G$149,\"3?\",IF($Y1777>=RULES!$G$149,\"4?\",IF($Z1777>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1777<>\"*\",\"~\",IF((V1777+W1777>=RULES!$F$149),\"12\",IF((W1777+X1777>=RULES!$F$149),\"23\",IF((X1777+Y1777>=RULES!$F$149),\"34\",IF((Y1777+Z1777>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1777<>\"*\",\"~\",IF(Y1777+Z1777<(1-RULES!$F$149),\"13\",IF(V1777+Z1777<(1-RULES!$F$149),\"24\",IF(V1777+W1777<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1777=\"X\",$F1777=\"H\",$F1777=\"Z-ERROR\",AND($AA1777=\"H\",$AH1777)),$AE1777,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1777,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1777,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1777,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1777,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1777&\"1\",IF(NOT($AH1777),$E1777&\"U\",$AE1777)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1777","v":""},{"$f":"'Calculator Table'!BR1777","v":0},{"$f":"Calculate!AV1777","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1788","v":0},{"$f":"IF(F1788=\"X\",\"X\",(IF(F1788<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1788),0,Calculate!H1788),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1788),0,Calculate!N1788),IF(ISERROR(Calculate!J1788),0,Calculate!J1788))))))","v":0},{"$f":"IF(F1788=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1788),$C$2,Calculate!I1788),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1788),$C$2,Calculate!O1788),IF(ISERROR(Calculate!K1788),$C$2,Calculate!K1788))))","v":5.5},{"$f":"AF1788 & IF(OR($AH1788,RIGHT($AF1788,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1788","v":"S"},{"$f":"Calculate!Q1788","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1788=\"X\",$F1788=\"H\",$F1788=\"Z-ERROR\"),$F1788,IF($V1788>=RULES!$F$149,\"1\",IF($W1788>=RULES!$F$149,\"2\",IF($X1788>=RULES!$F$149,\"3\",IF($Y1788>=RULES!$F$149,\"4\",IF($Z1788>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1788<>\"*\",\"~\",IF($V1788>=RULES!$G$149,\"1?\",IF($W1788>=RULES!$G$149,\"2?\",IF($X1788>=RULES!$G$149,\"3?\",IF($Y1788>=RULES!$G$149,\"4?\",IF($Z1788>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1788<>\"*\",\"~\",IF((V1788+W1788>=RULES!$F$149),\"12\",IF((W1788+X1788>=RULES!$F$149),\"23\",IF((X1788+Y1788>=RULES!$F$149),\"34\",IF((Y1788+Z1788>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1788<>\"*\",\"~\",IF(Y1788+Z1788<(1-RULES!$F$149),\"13\",IF(V1788+Z1788<(1-RULES!$F$149),\"24\",IF(V1788+W1788<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1788=\"X\",$F1788=\"H\",$F1788=\"Z-ERROR\",AND($AA1788=\"H\",$AH1788)),$AE1788,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1788,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1788,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1788,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1788,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1788&\"1\",IF(NOT($AH1788),$E1788&\"U\",$AE1788)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1788","v":""},{"$f":"'Calculator Table'!BR1788","v":0},{"$f":"Calculate!AV1788","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1794","v":0},{"$f":"IF(F1794=\"X\",\"X\",(IF(F1794<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1794),0,Calculate!H1794),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1794),0,Calculate!N1794),IF(ISERROR(Calculate!J1794),0,Calculate!J1794))))))","v":0},{"$f":"IF(F1794=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1794),$C$2,Calculate!I1794),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1794),$C$2,Calculate!O1794),IF(ISERROR(Calculate!K1794),$C$2,Calculate!K1794))))","v":5.5},{"$f":"AF1794 & IF(OR($AH1794,RIGHT($AF1794,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1794","v":"S"},{"$f":"Calculate!Q1794","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1794=\"X\",$F1794=\"H\",$F1794=\"Z-ERROR\"),$F1794,IF($V1794>=RULES!$F$149,\"1\",IF($W1794>=RULES!$F$149,\"2\",IF($X1794>=RULES!$F$149,\"3\",IF($Y1794>=RULES!$F$149,\"4\",IF($Z1794>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1794<>\"*\",\"~\",IF($V1794>=RULES!$G$149,\"1?\",IF($W1794>=RULES!$G$149,\"2?\",IF($X1794>=RULES!$G$149,\"3?\",IF($Y1794>=RULES!$G$149,\"4?\",IF($Z1794>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1794<>\"*\",\"~\",IF((V1794+W1794>=RULES!$F$149),\"12\",IF((W1794+X1794>=RULES!$F$149),\"23\",IF((X1794+Y1794>=RULES!$F$149),\"34\",IF((Y1794+Z1794>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1794<>\"*\",\"~\",IF(Y1794+Z1794<(1-RULES!$F$149),\"13\",IF(V1794+Z1794<(1-RULES!$F$149),\"24\",IF(V1794+W1794<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1794=\"X\",$F1794=\"H\",$F1794=\"Z-ERROR\",AND($AA1794=\"H\",$AH1794)),$AE1794,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1794,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1794,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1794,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1794,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1794&\"1\",IF(NOT($AH1794),$E1794&\"U\",$AE1794)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1794","v":""},{"$f":"'Calculator Table'!BR1794","v":0},{"$f":"Calculate!AV1794","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1805","v":0},{"$f":"IF(F1805=\"X\",\"X\",(IF(F1805<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1805),0,Calculate!H1805),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1805),0,Calculate!N1805),IF(ISERROR(Calculate!J1805),0,Calculate!J1805))))))","v":0},{"$f":"IF(F1805=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1805),$C$2,Calculate!I1805),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1805),$C$2,Calculate!O1805),IF(ISERROR(Calculate!K1805),$C$2,Calculate!K1805))))","v":5.5},{"$f":"AF1805 & IF(OR($AH1805,RIGHT($AF1805,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1805","v":"S"},{"$f":"Calculate!Q1805","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1805=\"X\",$F1805=\"H\",$F1805=\"Z-ERROR\"),$F1805,IF($V1805>=RULES!$F$149,\"1\",IF($W1805>=RULES!$F$149,\"2\",IF($X1805>=RULES!$F$149,\"3\",IF($Y1805>=RULES!$F$149,\"4\",IF($Z1805>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1805<>\"*\",\"~\",IF($V1805>=RULES!$G$149,\"1?\",IF($W1805>=RULES!$G$149,\"2?\",IF($X1805>=RULES!$G$149,\"3?\",IF($Y1805>=RULES!$G$149,\"4?\",IF($Z1805>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1805<>\"*\",\"~\",IF((V1805+W1805>=RULES!$F$149),\"12\",IF((W1805+X1805>=RULES!$F$149),\"23\",IF((X1805+Y1805>=RULES!$F$149),\"34\",IF((Y1805+Z1805>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1805<>\"*\",\"~\",IF(Y1805+Z1805<(1-RULES!$F$149),\"13\",IF(V1805+Z1805<(1-RULES!$F$149),\"24\",IF(V1805+W1805<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1805=\"X\",$F1805=\"H\",$F1805=\"Z-ERROR\",AND($AA1805=\"H\",$AH1805)),$AE1805,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1805,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1805,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1805,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1805,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1805&\"1\",IF(NOT($AH1805),$E1805&\"U\",$AE1805)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1805","v":""},{"$f":"'Calculator Table'!BR1805","v":0},{"$f":"Calculate!AV1805","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1814","v":0},{"$f":"IF(F1814=\"X\",\"X\",(IF(F1814<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1814),0,Calculate!H1814),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1814),0,Calculate!N1814),IF(ISERROR(Calculate!J1814),0,Calculate!J1814))))))","v":0},{"$f":"IF(F1814=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1814),$C$2,Calculate!I1814),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1814),$C$2,Calculate!O1814),IF(ISERROR(Calculate!K1814),$C$2,Calculate!K1814))))","v":5.5},{"$f":"AF1814 & IF(OR($AH1814,RIGHT($AF1814,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1814","v":"S"},{"$f":"Calculate!Q1814","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1814=\"X\",$F1814=\"H\",$F1814=\"Z-ERROR\"),$F1814,IF($V1814>=RULES!$F$149,\"1\",IF($W1814>=RULES!$F$149,\"2\",IF($X1814>=RULES!$F$149,\"3\",IF($Y1814>=RULES!$F$149,\"4\",IF($Z1814>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1814<>\"*\",\"~\",IF($V1814>=RULES!$G$149,\"1?\",IF($W1814>=RULES!$G$149,\"2?\",IF($X1814>=RULES!$G$149,\"3?\",IF($Y1814>=RULES!$G$149,\"4?\",IF($Z1814>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1814<>\"*\",\"~\",IF((V1814+W1814>=RULES!$F$149),\"12\",IF((W1814+X1814>=RULES!$F$149),\"23\",IF((X1814+Y1814>=RULES!$F$149),\"34\",IF((Y1814+Z1814>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1814<>\"*\",\"~\",IF(Y1814+Z1814<(1-RULES!$F$149),\"13\",IF(V1814+Z1814<(1-RULES!$F$149),\"24\",IF(V1814+W1814<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1814=\"X\",$F1814=\"H\",$F1814=\"Z-ERROR\",AND($AA1814=\"H\",$AH1814)),$AE1814,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1814,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1814,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1814,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1814,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1814&\"1\",IF(NOT($AH1814),$E1814&\"U\",$AE1814)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1814","v":""},{"$f":"'Calculator Table'!BR1814","v":0},{"$f":"Calculate!AV1814","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1821","v":0},{"$f":"IF(F1821=\"X\",\"X\",(IF(F1821<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1821),0,Calculate!H1821),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1821),0,Calculate!N1821),IF(ISERROR(Calculate!J1821),0,Calculate!J1821))))))","v":0},{"$f":"IF(F1821=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1821),$C$2,Calculate!I1821),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1821),$C$2,Calculate!O1821),IF(ISERROR(Calculate!K1821),$C$2,Calculate!K1821))))","v":5.5},{"$f":"AF1821 & IF(OR($AH1821,RIGHT($AF1821,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1821","v":"S"},{"$f":"Calculate!Q1821","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1821=\"X\",$F1821=\"H\",$F1821=\"Z-ERROR\"),$F1821,IF($V1821>=RULES!$F$149,\"1\",IF($W1821>=RULES!$F$149,\"2\",IF($X1821>=RULES!$F$149,\"3\",IF($Y1821>=RULES!$F$149,\"4\",IF($Z1821>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1821<>\"*\",\"~\",IF($V1821>=RULES!$G$149,\"1?\",IF($W1821>=RULES!$G$149,\"2?\",IF($X1821>=RULES!$G$149,\"3?\",IF($Y1821>=RULES!$G$149,\"4?\",IF($Z1821>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1821<>\"*\",\"~\",IF((V1821+W1821>=RULES!$F$149),\"12\",IF((W1821+X1821>=RULES!$F$149),\"23\",IF((X1821+Y1821>=RULES!$F$149),\"34\",IF((Y1821+Z1821>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1821<>\"*\",\"~\",IF(Y1821+Z1821<(1-RULES!$F$149),\"13\",IF(V1821+Z1821<(1-RULES!$F$149),\"24\",IF(V1821+W1821<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1821=\"X\",$F1821=\"H\",$F1821=\"Z-ERROR\",AND($AA1821=\"H\",$AH1821)),$AE1821,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1821,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1821,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1821,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1821,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1821&\"1\",IF(NOT($AH1821),$E1821&\"U\",$AE1821)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1821","v":""},{"$f":"'Calculator Table'!BR1821","v":0},{"$f":"Calculate!AV1821","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1823","v":0},{"$f":"IF(F1823=\"X\",\"X\",(IF(F1823<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1823),0,Calculate!H1823),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1823),0,Calculate!N1823),IF(ISERROR(Calculate!J1823),0,Calculate!J1823))))))","v":0},{"$f":"IF(F1823=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1823),$C$2,Calculate!I1823),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1823),$C$2,Calculate!O1823),IF(ISERROR(Calculate!K1823),$C$2,Calculate!K1823))))","v":5.5},{"$f":"AF1823 & IF(OR($AH1823,RIGHT($AF1823,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1823","v":"S"},{"$f":"Calculate!Q1823","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1823=\"X\",$F1823=\"H\",$F1823=\"Z-ERROR\"),$F1823,IF($V1823>=RULES!$F$149,\"1\",IF($W1823>=RULES!$F$149,\"2\",IF($X1823>=RULES!$F$149,\"3\",IF($Y1823>=RULES!$F$149,\"4\",IF($Z1823>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1823<>\"*\",\"~\",IF($V1823>=RULES!$G$149,\"1?\",IF($W1823>=RULES!$G$149,\"2?\",IF($X1823>=RULES!$G$149,\"3?\",IF($Y1823>=RULES!$G$149,\"4?\",IF($Z1823>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1823<>\"*\",\"~\",IF((V1823+W1823>=RULES!$F$149),\"12\",IF((W1823+X1823>=RULES!$F$149),\"23\",IF((X1823+Y1823>=RULES!$F$149),\"34\",IF((Y1823+Z1823>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1823<>\"*\",\"~\",IF(Y1823+Z1823<(1-RULES!$F$149),\"13\",IF(V1823+Z1823<(1-RULES!$F$149),\"24\",IF(V1823+W1823<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1823=\"X\",$F1823=\"H\",$F1823=\"Z-ERROR\",AND($AA1823=\"H\",$AH1823)),$AE1823,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1823,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1823,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1823,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1823,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1823&\"1\",IF(NOT($AH1823),$E1823&\"U\",$AE1823)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1823","v":""},{"$f":"'Calculator Table'!BR1823","v":0},{"$f":"Calculate!AV1823","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1831","v":0},{"$f":"IF(F1831=\"X\",\"X\",(IF(F1831<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1831),0,Calculate!H1831),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1831),0,Calculate!N1831),IF(ISERROR(Calculate!J1831),0,Calculate!J1831))))))","v":0},{"$f":"IF(F1831=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1831),$C$2,Calculate!I1831),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1831),$C$2,Calculate!O1831),IF(ISERROR(Calculate!K1831),$C$2,Calculate!K1831))))","v":5.5},{"$f":"AF1831 & IF(OR($AH1831,RIGHT($AF1831,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1831","v":"S"},{"$f":"Calculate!Q1831","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1831=\"X\",$F1831=\"H\",$F1831=\"Z-ERROR\"),$F1831,IF($V1831>=RULES!$F$149,\"1\",IF($W1831>=RULES!$F$149,\"2\",IF($X1831>=RULES!$F$149,\"3\",IF($Y1831>=RULES!$F$149,\"4\",IF($Z1831>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1831<>\"*\",\"~\",IF($V1831>=RULES!$G$149,\"1?\",IF($W1831>=RULES!$G$149,\"2?\",IF($X1831>=RULES!$G$149,\"3?\",IF($Y1831>=RULES!$G$149,\"4?\",IF($Z1831>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1831<>\"*\",\"~\",IF((V1831+W1831>=RULES!$F$149),\"12\",IF((W1831+X1831>=RULES!$F$149),\"23\",IF((X1831+Y1831>=RULES!$F$149),\"34\",IF((Y1831+Z1831>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1831<>\"*\",\"~\",IF(Y1831+Z1831<(1-RULES!$F$149),\"13\",IF(V1831+Z1831<(1-RULES!$F$149),\"24\",IF(V1831+W1831<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1831=\"X\",$F1831=\"H\",$F1831=\"Z-ERROR\",AND($AA1831=\"H\",$AH1831)),$AE1831,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1831,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1831,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1831,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1831,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1831&\"1\",IF(NOT($AH1831),$E1831&\"U\",$AE1831)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1831","v":""},{"$f":"'Calculator Table'!BR1831","v":0},{"$f":"Calculate!AV1831","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1840","v":0},{"$f":"IF(F1840=\"X\",\"X\",(IF(F1840<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1840),0,Calculate!H1840),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1840),0,Calculate!N1840),IF(ISERROR(Calculate!J1840),0,Calculate!J1840))))))","v":0},{"$f":"IF(F1840=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1840),$C$2,Calculate!I1840),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1840),$C$2,Calculate!O1840),IF(ISERROR(Calculate!K1840),$C$2,Calculate!K1840))))","v":5.5},{"$f":"AF1840 & IF(OR($AH1840,RIGHT($AF1840,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1840","v":"S"},{"$f":"Calculate!Q1840","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1840=\"X\",$F1840=\"H\",$F1840=\"Z-ERROR\"),$F1840,IF($V1840>=RULES!$F$149,\"1\",IF($W1840>=RULES!$F$149,\"2\",IF($X1840>=RULES!$F$149,\"3\",IF($Y1840>=RULES!$F$149,\"4\",IF($Z1840>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1840<>\"*\",\"~\",IF($V1840>=RULES!$G$149,\"1?\",IF($W1840>=RULES!$G$149,\"2?\",IF($X1840>=RULES!$G$149,\"3?\",IF($Y1840>=RULES!$G$149,\"4?\",IF($Z1840>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1840<>\"*\",\"~\",IF((V1840+W1840>=RULES!$F$149),\"12\",IF((W1840+X1840>=RULES!$F$149),\"23\",IF((X1840+Y1840>=RULES!$F$149),\"34\",IF((Y1840+Z1840>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1840<>\"*\",\"~\",IF(Y1840+Z1840<(1-RULES!$F$149),\"13\",IF(V1840+Z1840<(1-RULES!$F$149),\"24\",IF(V1840+W1840<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1840=\"X\",$F1840=\"H\",$F1840=\"Z-ERROR\",AND($AA1840=\"H\",$AH1840)),$AE1840,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1840,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1840,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1840,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1840,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1840&\"1\",IF(NOT($AH1840),$E1840&\"U\",$AE1840)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1840","v":""},{"$f":"'Calculator Table'!BR1840","v":0},{"$f":"Calculate!AV1840","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1845","v":0},{"$f":"IF(F1845=\"X\",\"X\",(IF(F1845<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1845),0,Calculate!H1845),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1845),0,Calculate!N1845),IF(ISERROR(Calculate!J1845),0,Calculate!J1845))))))","v":0},{"$f":"IF(F1845=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1845),$C$2,Calculate!I1845),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1845),$C$2,Calculate!O1845),IF(ISERROR(Calculate!K1845),$C$2,Calculate!K1845))))","v":5.5},{"$f":"AF1845 & IF(OR($AH1845,RIGHT($AF1845,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1845","v":"S"},{"$f":"Calculate!Q1845","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1845=\"X\",$F1845=\"H\",$F1845=\"Z-ERROR\"),$F1845,IF($V1845>=RULES!$F$149,\"1\",IF($W1845>=RULES!$F$149,\"2\",IF($X1845>=RULES!$F$149,\"3\",IF($Y1845>=RULES!$F$149,\"4\",IF($Z1845>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1845<>\"*\",\"~\",IF($V1845>=RULES!$G$149,\"1?\",IF($W1845>=RULES!$G$149,\"2?\",IF($X1845>=RULES!$G$149,\"3?\",IF($Y1845>=RULES!$G$149,\"4?\",IF($Z1845>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1845<>\"*\",\"~\",IF((V1845+W1845>=RULES!$F$149),\"12\",IF((W1845+X1845>=RULES!$F$149),\"23\",IF((X1845+Y1845>=RULES!$F$149),\"34\",IF((Y1845+Z1845>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1845<>\"*\",\"~\",IF(Y1845+Z1845<(1-RULES!$F$149),\"13\",IF(V1845+Z1845<(1-RULES!$F$149),\"24\",IF(V1845+W1845<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1845=\"X\",$F1845=\"H\",$F1845=\"Z-ERROR\",AND($AA1845=\"H\",$AH1845)),$AE1845,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1845,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1845,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1845,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1845,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1845&\"1\",IF(NOT($AH1845),$E1845&\"U\",$AE1845)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1845","v":""},{"$f":"'Calculator Table'!BR1845","v":0},{"$f":"Calculate!AV1845","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1857","v":0},{"$f":"IF(F1857=\"X\",\"X\",(IF(F1857<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1857),0,Calculate!H1857),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1857),0,Calculate!N1857),IF(ISERROR(Calculate!J1857),0,Calculate!J1857))))))","v":0},{"$f":"IF(F1857=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1857),$C$2,Calculate!I1857),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1857),$C$2,Calculate!O1857),IF(ISERROR(Calculate!K1857),$C$2,Calculate!K1857))))","v":5.5},{"$f":"AF1857 & IF(OR($AH1857,RIGHT($AF1857,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1857","v":"S"},{"$f":"Calculate!Q1857","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1857=\"X\",$F1857=\"H\",$F1857=\"Z-ERROR\"),$F1857,IF($V1857>=RULES!$F$149,\"1\",IF($W1857>=RULES!$F$149,\"2\",IF($X1857>=RULES!$F$149,\"3\",IF($Y1857>=RULES!$F$149,\"4\",IF($Z1857>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1857<>\"*\",\"~\",IF($V1857>=RULES!$G$149,\"1?\",IF($W1857>=RULES!$G$149,\"2?\",IF($X1857>=RULES!$G$149,\"3?\",IF($Y1857>=RULES!$G$149,\"4?\",IF($Z1857>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1857<>\"*\",\"~\",IF((V1857+W1857>=RULES!$F$149),\"12\",IF((W1857+X1857>=RULES!$F$149),\"23\",IF((X1857+Y1857>=RULES!$F$149),\"34\",IF((Y1857+Z1857>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1857<>\"*\",\"~\",IF(Y1857+Z1857<(1-RULES!$F$149),\"13\",IF(V1857+Z1857<(1-RULES!$F$149),\"24\",IF(V1857+W1857<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1857=\"X\",$F1857=\"H\",$F1857=\"Z-ERROR\",AND($AA1857=\"H\",$AH1857)),$AE1857,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1857,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1857,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1857,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1857,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1857&\"1\",IF(NOT($AH1857),$E1857&\"U\",$AE1857)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1857","v":""},{"$f":"'Calculator Table'!BR1857","v":0},{"$f":"Calculate!AV1857","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1866","v":0},{"$f":"IF(F1866=\"X\",\"X\",(IF(F1866<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1866),0,Calculate!H1866),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1866),0,Calculate!N1866),IF(ISERROR(Calculate!J1866),0,Calculate!J1866))))))","v":0},{"$f":"IF(F1866=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1866),$C$2,Calculate!I1866),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1866),$C$2,Calculate!O1866),IF(ISERROR(Calculate!K1866),$C$2,Calculate!K1866))))","v":5.5},{"$f":"AF1866 & IF(OR($AH1866,RIGHT($AF1866,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1866","v":"S"},{"$f":"Calculate!Q1866","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1866=\"X\",$F1866=\"H\",$F1866=\"Z-ERROR\"),$F1866,IF($V1866>=RULES!$F$149,\"1\",IF($W1866>=RULES!$F$149,\"2\",IF($X1866>=RULES!$F$149,\"3\",IF($Y1866>=RULES!$F$149,\"4\",IF($Z1866>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1866<>\"*\",\"~\",IF($V1866>=RULES!$G$149,\"1?\",IF($W1866>=RULES!$G$149,\"2?\",IF($X1866>=RULES!$G$149,\"3?\",IF($Y1866>=RULES!$G$149,\"4?\",IF($Z1866>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1866<>\"*\",\"~\",IF((V1866+W1866>=RULES!$F$149),\"12\",IF((W1866+X1866>=RULES!$F$149),\"23\",IF((X1866+Y1866>=RULES!$F$149),\"34\",IF((Y1866+Z1866>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1866<>\"*\",\"~\",IF(Y1866+Z1866<(1-RULES!$F$149),\"13\",IF(V1866+Z1866<(1-RULES!$F$149),\"24\",IF(V1866+W1866<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1866=\"X\",$F1866=\"H\",$F1866=\"Z-ERROR\",AND($AA1866=\"H\",$AH1866)),$AE1866,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1866,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1866,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1866,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1866,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1866&\"1\",IF(NOT($AH1866),$E1866&\"U\",$AE1866)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1866","v":""},{"$f":"'Calculator Table'!BR1866","v":0},{"$f":"Calculate!AV1866","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1874","v":0},{"$f":"IF(F1874=\"X\",\"X\",(IF(F1874<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1874),0,Calculate!H1874),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1874),0,Calculate!N1874),IF(ISERROR(Calculate!J1874),0,Calculate!J1874))))))","v":0},{"$f":"IF(F1874=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1874),$C$2,Calculate!I1874),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1874),$C$2,Calculate!O1874),IF(ISERROR(Calculate!K1874),$C$2,Calculate!K1874))))","v":5.5},{"$f":"AF1874 & IF(OR($AH1874,RIGHT($AF1874,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1874","v":"S"},{"$f":"Calculate!Q1874","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1874=\"X\",$F1874=\"H\",$F1874=\"Z-ERROR\"),$F1874,IF($V1874>=RULES!$F$149,\"1\",IF($W1874>=RULES!$F$149,\"2\",IF($X1874>=RULES!$F$149,\"3\",IF($Y1874>=RULES!$F$149,\"4\",IF($Z1874>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1874<>\"*\",\"~\",IF($V1874>=RULES!$G$149,\"1?\",IF($W1874>=RULES!$G$149,\"2?\",IF($X1874>=RULES!$G$149,\"3?\",IF($Y1874>=RULES!$G$149,\"4?\",IF($Z1874>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1874<>\"*\",\"~\",IF((V1874+W1874>=RULES!$F$149),\"12\",IF((W1874+X1874>=RULES!$F$149),\"23\",IF((X1874+Y1874>=RULES!$F$149),\"34\",IF((Y1874+Z1874>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1874<>\"*\",\"~\",IF(Y1874+Z1874<(1-RULES!$F$149),\"13\",IF(V1874+Z1874<(1-RULES!$F$149),\"24\",IF(V1874+W1874<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1874=\"X\",$F1874=\"H\",$F1874=\"Z-ERROR\",AND($AA1874=\"H\",$AH1874)),$AE1874,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1874,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1874,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1874,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1874,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1874&\"1\",IF(NOT($AH1874),$E1874&\"U\",$AE1874)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1874","v":""},{"$f":"'Calculator Table'!BR1874","v":0},{"$f":"Calculate!AV1874","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1875","v":0},{"$f":"IF(F1875=\"X\",\"X\",(IF(F1875<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1875),0,Calculate!H1875),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1875),0,Calculate!N1875),IF(ISERROR(Calculate!J1875),0,Calculate!J1875))))))","v":0},{"$f":"IF(F1875=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1875),$C$2,Calculate!I1875),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1875),$C$2,Calculate!O1875),IF(ISERROR(Calculate!K1875),$C$2,Calculate!K1875))))","v":5.5},{"$f":"AF1875 & IF(OR($AH1875,RIGHT($AF1875,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1875","v":"S"},{"$f":"Calculate!Q1875","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1875=\"X\",$F1875=\"H\",$F1875=\"Z-ERROR\"),$F1875,IF($V1875>=RULES!$F$149,\"1\",IF($W1875>=RULES!$F$149,\"2\",IF($X1875>=RULES!$F$149,\"3\",IF($Y1875>=RULES!$F$149,\"4\",IF($Z1875>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1875<>\"*\",\"~\",IF($V1875>=RULES!$G$149,\"1?\",IF($W1875>=RULES!$G$149,\"2?\",IF($X1875>=RULES!$G$149,\"3?\",IF($Y1875>=RULES!$G$149,\"4?\",IF($Z1875>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1875<>\"*\",\"~\",IF((V1875+W1875>=RULES!$F$149),\"12\",IF((W1875+X1875>=RULES!$F$149),\"23\",IF((X1875+Y1875>=RULES!$F$149),\"34\",IF((Y1875+Z1875>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1875<>\"*\",\"~\",IF(Y1875+Z1875<(1-RULES!$F$149),\"13\",IF(V1875+Z1875<(1-RULES!$F$149),\"24\",IF(V1875+W1875<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1875=\"X\",$F1875=\"H\",$F1875=\"Z-ERROR\",AND($AA1875=\"H\",$AH1875)),$AE1875,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1875,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1875,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1875,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1875,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1875&\"1\",IF(NOT($AH1875),$E1875&\"U\",$AE1875)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1875","v":""},{"$f":"'Calculator Table'!BR1875","v":0},{"$f":"Calculate!AV1875","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1889","v":0},{"$f":"IF(F1889=\"X\",\"X\",(IF(F1889<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1889),0,Calculate!H1889),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1889),0,Calculate!N1889),IF(ISERROR(Calculate!J1889),0,Calculate!J1889))))))","v":0},{"$f":"IF(F1889=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1889),$C$2,Calculate!I1889),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1889),$C$2,Calculate!O1889),IF(ISERROR(Calculate!K1889),$C$2,Calculate!K1889))))","v":5.5},{"$f":"AF1889 & IF(OR($AH1889,RIGHT($AF1889,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1889","v":"S"},{"$f":"Calculate!Q1889","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1889=\"X\",$F1889=\"H\",$F1889=\"Z-ERROR\"),$F1889,IF($V1889>=RULES!$F$149,\"1\",IF($W1889>=RULES!$F$149,\"2\",IF($X1889>=RULES!$F$149,\"3\",IF($Y1889>=RULES!$F$149,\"4\",IF($Z1889>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1889<>\"*\",\"~\",IF($V1889>=RULES!$G$149,\"1?\",IF($W1889>=RULES!$G$149,\"2?\",IF($X1889>=RULES!$G$149,\"3?\",IF($Y1889>=RULES!$G$149,\"4?\",IF($Z1889>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1889<>\"*\",\"~\",IF((V1889+W1889>=RULES!$F$149),\"12\",IF((W1889+X1889>=RULES!$F$149),\"23\",IF((X1889+Y1889>=RULES!$F$149),\"34\",IF((Y1889+Z1889>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1889<>\"*\",\"~\",IF(Y1889+Z1889<(1-RULES!$F$149),\"13\",IF(V1889+Z1889<(1-RULES!$F$149),\"24\",IF(V1889+W1889<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1889=\"X\",$F1889=\"H\",$F1889=\"Z-ERROR\",AND($AA1889=\"H\",$AH1889)),$AE1889,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1889,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1889,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1889,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1889,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1889&\"1\",IF(NOT($AH1889),$E1889&\"U\",$AE1889)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1889","v":""},{"$f":"'Calculator Table'!BR1889","v":0},{"$f":"Calculate!AV1889","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1892","v":0},{"$f":"IF(F1892=\"X\",\"X\",(IF(F1892<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1892),0,Calculate!H1892),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1892),0,Calculate!N1892),IF(ISERROR(Calculate!J1892),0,Calculate!J1892))))))","v":0},{"$f":"IF(F1892=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1892),$C$2,Calculate!I1892),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1892),$C$2,Calculate!O1892),IF(ISERROR(Calculate!K1892),$C$2,Calculate!K1892))))","v":5.5},{"$f":"AF1892 & IF(OR($AH1892,RIGHT($AF1892,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1892","v":"S"},{"$f":"Calculate!Q1892","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1892=\"X\",$F1892=\"H\",$F1892=\"Z-ERROR\"),$F1892,IF($V1892>=RULES!$F$149,\"1\",IF($W1892>=RULES!$F$149,\"2\",IF($X1892>=RULES!$F$149,\"3\",IF($Y1892>=RULES!$F$149,\"4\",IF($Z1892>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1892<>\"*\",\"~\",IF($V1892>=RULES!$G$149,\"1?\",IF($W1892>=RULES!$G$149,\"2?\",IF($X1892>=RULES!$G$149,\"3?\",IF($Y1892>=RULES!$G$149,\"4?\",IF($Z1892>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1892<>\"*\",\"~\",IF((V1892+W1892>=RULES!$F$149),\"12\",IF((W1892+X1892>=RULES!$F$149),\"23\",IF((X1892+Y1892>=RULES!$F$149),\"34\",IF((Y1892+Z1892>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1892<>\"*\",\"~\",IF(Y1892+Z1892<(1-RULES!$F$149),\"13\",IF(V1892+Z1892<(1-RULES!$F$149),\"24\",IF(V1892+W1892<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1892=\"X\",$F1892=\"H\",$F1892=\"Z-ERROR\",AND($AA1892=\"H\",$AH1892)),$AE1892,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1892,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1892,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1892,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1892,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1892&\"1\",IF(NOT($AH1892),$E1892&\"U\",$AE1892)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1892","v":""},{"$f":"'Calculator Table'!BR1892","v":0},{"$f":"Calculate!AV1892","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1903","v":0},{"$f":"IF(F1903=\"X\",\"X\",(IF(F1903<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1903),0,Calculate!H1903),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1903),0,Calculate!N1903),IF(ISERROR(Calculate!J1903),0,Calculate!J1903))))))","v":0},{"$f":"IF(F1903=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1903),$C$2,Calculate!I1903),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1903),$C$2,Calculate!O1903),IF(ISERROR(Calculate!K1903),$C$2,Calculate!K1903))))","v":5.5},{"$f":"AF1903 & IF(OR($AH1903,RIGHT($AF1903,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1903","v":"S"},{"$f":"Calculate!Q1903","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1903=\"X\",$F1903=\"H\",$F1903=\"Z-ERROR\"),$F1903,IF($V1903>=RULES!$F$149,\"1\",IF($W1903>=RULES!$F$149,\"2\",IF($X1903>=RULES!$F$149,\"3\",IF($Y1903>=RULES!$F$149,\"4\",IF($Z1903>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1903<>\"*\",\"~\",IF($V1903>=RULES!$G$149,\"1?\",IF($W1903>=RULES!$G$149,\"2?\",IF($X1903>=RULES!$G$149,\"3?\",IF($Y1903>=RULES!$G$149,\"4?\",IF($Z1903>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1903<>\"*\",\"~\",IF((V1903+W1903>=RULES!$F$149),\"12\",IF((W1903+X1903>=RULES!$F$149),\"23\",IF((X1903+Y1903>=RULES!$F$149),\"34\",IF((Y1903+Z1903>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1903<>\"*\",\"~\",IF(Y1903+Z1903<(1-RULES!$F$149),\"13\",IF(V1903+Z1903<(1-RULES!$F$149),\"24\",IF(V1903+W1903<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1903=\"X\",$F1903=\"H\",$F1903=\"Z-ERROR\",AND($AA1903=\"H\",$AH1903)),$AE1903,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1903,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1903,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1903,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1903,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1903&\"1\",IF(NOT($AH1903),$E1903&\"U\",$AE1903)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1903","v":""},{"$f":"'Calculator Table'!BR1903","v":0},{"$f":"Calculate!AV1903","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1909","v":0},{"$f":"IF(F1909=\"X\",\"X\",(IF(F1909<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1909),0,Calculate!H1909),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1909),0,Calculate!N1909),IF(ISERROR(Calculate!J1909),0,Calculate!J1909))))))","v":0},{"$f":"IF(F1909=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1909),$C$2,Calculate!I1909),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1909),$C$2,Calculate!O1909),IF(ISERROR(Calculate!K1909),$C$2,Calculate!K1909))))","v":5.5},{"$f":"AF1909 & IF(OR($AH1909,RIGHT($AF1909,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1909","v":"S"},{"$f":"Calculate!Q1909","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1909=\"X\",$F1909=\"H\",$F1909=\"Z-ERROR\"),$F1909,IF($V1909>=RULES!$F$149,\"1\",IF($W1909>=RULES!$F$149,\"2\",IF($X1909>=RULES!$F$149,\"3\",IF($Y1909>=RULES!$F$149,\"4\",IF($Z1909>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1909<>\"*\",\"~\",IF($V1909>=RULES!$G$149,\"1?\",IF($W1909>=RULES!$G$149,\"2?\",IF($X1909>=RULES!$G$149,\"3?\",IF($Y1909>=RULES!$G$149,\"4?\",IF($Z1909>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1909<>\"*\",\"~\",IF((V1909+W1909>=RULES!$F$149),\"12\",IF((W1909+X1909>=RULES!$F$149),\"23\",IF((X1909+Y1909>=RULES!$F$149),\"34\",IF((Y1909+Z1909>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1909<>\"*\",\"~\",IF(Y1909+Z1909<(1-RULES!$F$149),\"13\",IF(V1909+Z1909<(1-RULES!$F$149),\"24\",IF(V1909+W1909<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1909=\"X\",$F1909=\"H\",$F1909=\"Z-ERROR\",AND($AA1909=\"H\",$AH1909)),$AE1909,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1909,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1909,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1909,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1909,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1909&\"1\",IF(NOT($AH1909),$E1909&\"U\",$AE1909)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1909","v":""},{"$f":"'Calculator Table'!BR1909","v":0},{"$f":"Calculate!AV1909","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1917","v":0},{"$f":"IF(F1917=\"X\",\"X\",(IF(F1917<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1917),0,Calculate!H1917),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1917),0,Calculate!N1917),IF(ISERROR(Calculate!J1917),0,Calculate!J1917))))))","v":0},{"$f":"IF(F1917=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1917),$C$2,Calculate!I1917),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1917),$C$2,Calculate!O1917),IF(ISERROR(Calculate!K1917),$C$2,Calculate!K1917))))","v":5.5},{"$f":"AF1917 & IF(OR($AH1917,RIGHT($AF1917,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1917","v":"S"},{"$f":"Calculate!Q1917","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1917=\"X\",$F1917=\"H\",$F1917=\"Z-ERROR\"),$F1917,IF($V1917>=RULES!$F$149,\"1\",IF($W1917>=RULES!$F$149,\"2\",IF($X1917>=RULES!$F$149,\"3\",IF($Y1917>=RULES!$F$149,\"4\",IF($Z1917>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1917<>\"*\",\"~\",IF($V1917>=RULES!$G$149,\"1?\",IF($W1917>=RULES!$G$149,\"2?\",IF($X1917>=RULES!$G$149,\"3?\",IF($Y1917>=RULES!$G$149,\"4?\",IF($Z1917>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1917<>\"*\",\"~\",IF((V1917+W1917>=RULES!$F$149),\"12\",IF((W1917+X1917>=RULES!$F$149),\"23\",IF((X1917+Y1917>=RULES!$F$149),\"34\",IF((Y1917+Z1917>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1917<>\"*\",\"~\",IF(Y1917+Z1917<(1-RULES!$F$149),\"13\",IF(V1917+Z1917<(1-RULES!$F$149),\"24\",IF(V1917+W1917<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1917=\"X\",$F1917=\"H\",$F1917=\"Z-ERROR\",AND($AA1917=\"H\",$AH1917)),$AE1917,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1917,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1917,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1917,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1917,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1917&\"1\",IF(NOT($AH1917),$E1917&\"U\",$AE1917)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1917","v":""},{"$f":"'Calculator Table'!BR1917","v":0},{"$f":"Calculate!AV1917","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1926","v":0},{"$f":"IF(F1926=\"X\",\"X\",(IF(F1926<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1926),0,Calculate!H1926),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1926),0,Calculate!N1926),IF(ISERROR(Calculate!J1926),0,Calculate!J1926))))))","v":0},{"$f":"IF(F1926=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1926),$C$2,Calculate!I1926),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1926),$C$2,Calculate!O1926),IF(ISERROR(Calculate!K1926),$C$2,Calculate!K1926))))","v":5.5},{"$f":"AF1926 & IF(OR($AH1926,RIGHT($AF1926,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1926","v":"S"},{"$f":"Calculate!Q1926","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1926=\"X\",$F1926=\"H\",$F1926=\"Z-ERROR\"),$F1926,IF($V1926>=RULES!$F$149,\"1\",IF($W1926>=RULES!$F$149,\"2\",IF($X1926>=RULES!$F$149,\"3\",IF($Y1926>=RULES!$F$149,\"4\",IF($Z1926>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1926<>\"*\",\"~\",IF($V1926>=RULES!$G$149,\"1?\",IF($W1926>=RULES!$G$149,\"2?\",IF($X1926>=RULES!$G$149,\"3?\",IF($Y1926>=RULES!$G$149,\"4?\",IF($Z1926>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1926<>\"*\",\"~\",IF((V1926+W1926>=RULES!$F$149),\"12\",IF((W1926+X1926>=RULES!$F$149),\"23\",IF((X1926+Y1926>=RULES!$F$149),\"34\",IF((Y1926+Z1926>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1926<>\"*\",\"~\",IF(Y1926+Z1926<(1-RULES!$F$149),\"13\",IF(V1926+Z1926<(1-RULES!$F$149),\"24\",IF(V1926+W1926<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1926=\"X\",$F1926=\"H\",$F1926=\"Z-ERROR\",AND($AA1926=\"H\",$AH1926)),$AE1926,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1926,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1926,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1926,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1926,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1926&\"1\",IF(NOT($AH1926),$E1926&\"U\",$AE1926)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1926","v":""},{"$f":"'Calculator Table'!BR1926","v":0},{"$f":"Calculate!AV1926","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1934","v":0},{"$f":"IF(F1934=\"X\",\"X\",(IF(F1934<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1934),0,Calculate!H1934),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1934),0,Calculate!N1934),IF(ISERROR(Calculate!J1934),0,Calculate!J1934))))))","v":0},{"$f":"IF(F1934=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1934),$C$2,Calculate!I1934),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1934),$C$2,Calculate!O1934),IF(ISERROR(Calculate!K1934),$C$2,Calculate!K1934))))","v":5.5},{"$f":"AF1934 & IF(OR($AH1934,RIGHT($AF1934,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1934","v":"S"},{"$f":"Calculate!Q1934","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1934=\"X\",$F1934=\"H\",$F1934=\"Z-ERROR\"),$F1934,IF($V1934>=RULES!$F$149,\"1\",IF($W1934>=RULES!$F$149,\"2\",IF($X1934>=RULES!$F$149,\"3\",IF($Y1934>=RULES!$F$149,\"4\",IF($Z1934>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1934<>\"*\",\"~\",IF($V1934>=RULES!$G$149,\"1?\",IF($W1934>=RULES!$G$149,\"2?\",IF($X1934>=RULES!$G$149,\"3?\",IF($Y1934>=RULES!$G$149,\"4?\",IF($Z1934>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1934<>\"*\",\"~\",IF((V1934+W1934>=RULES!$F$149),\"12\",IF((W1934+X1934>=RULES!$F$149),\"23\",IF((X1934+Y1934>=RULES!$F$149),\"34\",IF((Y1934+Z1934>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1934<>\"*\",\"~\",IF(Y1934+Z1934<(1-RULES!$F$149),\"13\",IF(V1934+Z1934<(1-RULES!$F$149),\"24\",IF(V1934+W1934<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1934=\"X\",$F1934=\"H\",$F1934=\"Z-ERROR\",AND($AA1934=\"H\",$AH1934)),$AE1934,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1934,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1934,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1934,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1934,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1934&\"1\",IF(NOT($AH1934),$E1934&\"U\",$AE1934)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1934","v":""},{"$f":"'Calculator Table'!BR1934","v":0},{"$f":"Calculate!AV1934","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1935","v":0},{"$f":"IF(F1935=\"X\",\"X\",(IF(F1935<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1935),0,Calculate!H1935),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1935),0,Calculate!N1935),IF(ISERROR(Calculate!J1935),0,Calculate!J1935))))))","v":0},{"$f":"IF(F1935=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1935),$C$2,Calculate!I1935),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1935),$C$2,Calculate!O1935),IF(ISERROR(Calculate!K1935),$C$2,Calculate!K1935))))","v":5.5},{"$f":"AF1935 & IF(OR($AH1935,RIGHT($AF1935,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1935","v":"S"},{"$f":"Calculate!Q1935","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1935=\"X\",$F1935=\"H\",$F1935=\"Z-ERROR\"),$F1935,IF($V1935>=RULES!$F$149,\"1\",IF($W1935>=RULES!$F$149,\"2\",IF($X1935>=RULES!$F$149,\"3\",IF($Y1935>=RULES!$F$149,\"4\",IF($Z1935>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1935<>\"*\",\"~\",IF($V1935>=RULES!$G$149,\"1?\",IF($W1935>=RULES!$G$149,\"2?\",IF($X1935>=RULES!$G$149,\"3?\",IF($Y1935>=RULES!$G$149,\"4?\",IF($Z1935>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1935<>\"*\",\"~\",IF((V1935+W1935>=RULES!$F$149),\"12\",IF((W1935+X1935>=RULES!$F$149),\"23\",IF((X1935+Y1935>=RULES!$F$149),\"34\",IF((Y1935+Z1935>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1935<>\"*\",\"~\",IF(Y1935+Z1935<(1-RULES!$F$149),\"13\",IF(V1935+Z1935<(1-RULES!$F$149),\"24\",IF(V1935+W1935<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1935=\"X\",$F1935=\"H\",$F1935=\"Z-ERROR\",AND($AA1935=\"H\",$AH1935)),$AE1935,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1935,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1935,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1935,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1935,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1935&\"1\",IF(NOT($AH1935),$E1935&\"U\",$AE1935)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1935","v":""},{"$f":"'Calculator Table'!BR1935","v":0},{"$f":"Calculate!AV1935","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1944","v":0},{"$f":"IF(F1944=\"X\",\"X\",(IF(F1944<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1944),0,Calculate!H1944),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1944),0,Calculate!N1944),IF(ISERROR(Calculate!J1944),0,Calculate!J1944))))))","v":0},{"$f":"IF(F1944=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1944),$C$2,Calculate!I1944),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1944),$C$2,Calculate!O1944),IF(ISERROR(Calculate!K1944),$C$2,Calculate!K1944))))","v":5.5},{"$f":"AF1944 & IF(OR($AH1944,RIGHT($AF1944,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1944","v":"S"},{"$f":"Calculate!Q1944","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1944=\"X\",$F1944=\"H\",$F1944=\"Z-ERROR\"),$F1944,IF($V1944>=RULES!$F$149,\"1\",IF($W1944>=RULES!$F$149,\"2\",IF($X1944>=RULES!$F$149,\"3\",IF($Y1944>=RULES!$F$149,\"4\",IF($Z1944>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1944<>\"*\",\"~\",IF($V1944>=RULES!$G$149,\"1?\",IF($W1944>=RULES!$G$149,\"2?\",IF($X1944>=RULES!$G$149,\"3?\",IF($Y1944>=RULES!$G$149,\"4?\",IF($Z1944>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1944<>\"*\",\"~\",IF((V1944+W1944>=RULES!$F$149),\"12\",IF((W1944+X1944>=RULES!$F$149),\"23\",IF((X1944+Y1944>=RULES!$F$149),\"34\",IF((Y1944+Z1944>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1944<>\"*\",\"~\",IF(Y1944+Z1944<(1-RULES!$F$149),\"13\",IF(V1944+Z1944<(1-RULES!$F$149),\"24\",IF(V1944+W1944<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1944=\"X\",$F1944=\"H\",$F1944=\"Z-ERROR\",AND($AA1944=\"H\",$AH1944)),$AE1944,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1944,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1944,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1944,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1944,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1944&\"1\",IF(NOT($AH1944),$E1944&\"U\",$AE1944)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1944","v":""},{"$f":"'Calculator Table'!BR1944","v":0},{"$f":"Calculate!AV1944","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1957","v":0},{"$f":"IF(F1957=\"X\",\"X\",(IF(F1957<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1957),0,Calculate!H1957),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1957),0,Calculate!N1957),IF(ISERROR(Calculate!J1957),0,Calculate!J1957))))))","v":0},{"$f":"IF(F1957=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1957),$C$2,Calculate!I1957),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1957),$C$2,Calculate!O1957),IF(ISERROR(Calculate!K1957),$C$2,Calculate!K1957))))","v":5.5},{"$f":"AF1957 & IF(OR($AH1957,RIGHT($AF1957,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1957","v":"S"},{"$f":"Calculate!Q1957","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1957=\"X\",$F1957=\"H\",$F1957=\"Z-ERROR\"),$F1957,IF($V1957>=RULES!$F$149,\"1\",IF($W1957>=RULES!$F$149,\"2\",IF($X1957>=RULES!$F$149,\"3\",IF($Y1957>=RULES!$F$149,\"4\",IF($Z1957>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1957<>\"*\",\"~\",IF($V1957>=RULES!$G$149,\"1?\",IF($W1957>=RULES!$G$149,\"2?\",IF($X1957>=RULES!$G$149,\"3?\",IF($Y1957>=RULES!$G$149,\"4?\",IF($Z1957>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1957<>\"*\",\"~\",IF((V1957+W1957>=RULES!$F$149),\"12\",IF((W1957+X1957>=RULES!$F$149),\"23\",IF((X1957+Y1957>=RULES!$F$149),\"34\",IF((Y1957+Z1957>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1957<>\"*\",\"~\",IF(Y1957+Z1957<(1-RULES!$F$149),\"13\",IF(V1957+Z1957<(1-RULES!$F$149),\"24\",IF(V1957+W1957<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1957=\"X\",$F1957=\"H\",$F1957=\"Z-ERROR\",AND($AA1957=\"H\",$AH1957)),$AE1957,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1957,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1957,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1957,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1957,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1957&\"1\",IF(NOT($AH1957),$E1957&\"U\",$AE1957)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1957","v":""},{"$f":"'Calculator Table'!BR1957","v":0},{"$f":"Calculate!AV1957","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1961","v":0},{"$f":"IF(F1961=\"X\",\"X\",(IF(F1961<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1961),0,Calculate!H1961),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1961),0,Calculate!N1961),IF(ISERROR(Calculate!J1961),0,Calculate!J1961))))))","v":0},{"$f":"IF(F1961=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1961),$C$2,Calculate!I1961),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1961),$C$2,Calculate!O1961),IF(ISERROR(Calculate!K1961),$C$2,Calculate!K1961))))","v":5.5},{"$f":"AF1961 & IF(OR($AH1961,RIGHT($AF1961,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1961","v":"S"},{"$f":"Calculate!Q1961","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1961=\"X\",$F1961=\"H\",$F1961=\"Z-ERROR\"),$F1961,IF($V1961>=RULES!$F$149,\"1\",IF($W1961>=RULES!$F$149,\"2\",IF($X1961>=RULES!$F$149,\"3\",IF($Y1961>=RULES!$F$149,\"4\",IF($Z1961>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1961<>\"*\",\"~\",IF($V1961>=RULES!$G$149,\"1?\",IF($W1961>=RULES!$G$149,\"2?\",IF($X1961>=RULES!$G$149,\"3?\",IF($Y1961>=RULES!$G$149,\"4?\",IF($Z1961>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1961<>\"*\",\"~\",IF((V1961+W1961>=RULES!$F$149),\"12\",IF((W1961+X1961>=RULES!$F$149),\"23\",IF((X1961+Y1961>=RULES!$F$149),\"34\",IF((Y1961+Z1961>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1961<>\"*\",\"~\",IF(Y1961+Z1961<(1-RULES!$F$149),\"13\",IF(V1961+Z1961<(1-RULES!$F$149),\"24\",IF(V1961+W1961<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1961=\"X\",$F1961=\"H\",$F1961=\"Z-ERROR\",AND($AA1961=\"H\",$AH1961)),$AE1961,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1961,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1961,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1961,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1961,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1961&\"1\",IF(NOT($AH1961),$E1961&\"U\",$AE1961)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1961","v":""},{"$f":"'Calculator Table'!BR1961","v":0},{"$f":"Calculate!AV1961","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1971","v":0},{"$f":"IF(F1971=\"X\",\"X\",(IF(F1971<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1971),0,Calculate!H1971),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1971),0,Calculate!N1971),IF(ISERROR(Calculate!J1971),0,Calculate!J1971))))))","v":0},{"$f":"IF(F1971=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1971),$C$2,Calculate!I1971),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1971),$C$2,Calculate!O1971),IF(ISERROR(Calculate!K1971),$C$2,Calculate!K1971))))","v":5.5},{"$f":"AF1971 & IF(OR($AH1971,RIGHT($AF1971,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1971","v":"S"},{"$f":"Calculate!Q1971","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1971=\"X\",$F1971=\"H\",$F1971=\"Z-ERROR\"),$F1971,IF($V1971>=RULES!$F$149,\"1\",IF($W1971>=RULES!$F$149,\"2\",IF($X1971>=RULES!$F$149,\"3\",IF($Y1971>=RULES!$F$149,\"4\",IF($Z1971>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1971<>\"*\",\"~\",IF($V1971>=RULES!$G$149,\"1?\",IF($W1971>=RULES!$G$149,\"2?\",IF($X1971>=RULES!$G$149,\"3?\",IF($Y1971>=RULES!$G$149,\"4?\",IF($Z1971>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1971<>\"*\",\"~\",IF((V1971+W1971>=RULES!$F$149),\"12\",IF((W1971+X1971>=RULES!$F$149),\"23\",IF((X1971+Y1971>=RULES!$F$149),\"34\",IF((Y1971+Z1971>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1971<>\"*\",\"~\",IF(Y1971+Z1971<(1-RULES!$F$149),\"13\",IF(V1971+Z1971<(1-RULES!$F$149),\"24\",IF(V1971+W1971<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1971=\"X\",$F1971=\"H\",$F1971=\"Z-ERROR\",AND($AA1971=\"H\",$AH1971)),$AE1971,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1971,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1971,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1971,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1971,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1971&\"1\",IF(NOT($AH1971),$E1971&\"U\",$AE1971)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1971","v":""},{"$f":"'Calculator Table'!BR1971","v":0},{"$f":"Calculate!AV1971","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1978","v":0},{"$f":"IF(F1978=\"X\",\"X\",(IF(F1978<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1978),0,Calculate!H1978),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1978),0,Calculate!N1978),IF(ISERROR(Calculate!J1978),0,Calculate!J1978))))))","v":0},{"$f":"IF(F1978=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1978),$C$2,Calculate!I1978),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1978),$C$2,Calculate!O1978),IF(ISERROR(Calculate!K1978),$C$2,Calculate!K1978))))","v":5.5},{"$f":"AF1978 & IF(OR($AH1978,RIGHT($AF1978,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1978","v":"S"},{"$f":"Calculate!Q1978","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1978=\"X\",$F1978=\"H\",$F1978=\"Z-ERROR\"),$F1978,IF($V1978>=RULES!$F$149,\"1\",IF($W1978>=RULES!$F$149,\"2\",IF($X1978>=RULES!$F$149,\"3\",IF($Y1978>=RULES!$F$149,\"4\",IF($Z1978>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1978<>\"*\",\"~\",IF($V1978>=RULES!$G$149,\"1?\",IF($W1978>=RULES!$G$149,\"2?\",IF($X1978>=RULES!$G$149,\"3?\",IF($Y1978>=RULES!$G$149,\"4?\",IF($Z1978>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1978<>\"*\",\"~\",IF((V1978+W1978>=RULES!$F$149),\"12\",IF((W1978+X1978>=RULES!$F$149),\"23\",IF((X1978+Y1978>=RULES!$F$149),\"34\",IF((Y1978+Z1978>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1978<>\"*\",\"~\",IF(Y1978+Z1978<(1-RULES!$F$149),\"13\",IF(V1978+Z1978<(1-RULES!$F$149),\"24\",IF(V1978+W1978<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1978=\"X\",$F1978=\"H\",$F1978=\"Z-ERROR\",AND($AA1978=\"H\",$AH1978)),$AE1978,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1978,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1978,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1978,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1978,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1978&\"1\",IF(NOT($AH1978),$E1978&\"U\",$AE1978)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1978","v":""},{"$f":"'Calculator Table'!BR1978","v":0},{"$f":"Calculate!AV1978","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1985","v":0},{"$f":"IF(F1985=\"X\",\"X\",(IF(F1985<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1985),0,Calculate!H1985),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1985),0,Calculate!N1985),IF(ISERROR(Calculate!J1985),0,Calculate!J1985))))))","v":0},{"$f":"IF(F1985=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1985),$C$2,Calculate!I1985),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1985),$C$2,Calculate!O1985),IF(ISERROR(Calculate!K1985),$C$2,Calculate!K1985))))","v":5.5},{"$f":"AF1985 & IF(OR($AH1985,RIGHT($AF1985,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1985","v":"S"},{"$f":"Calculate!Q1985","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1985=\"X\",$F1985=\"H\",$F1985=\"Z-ERROR\"),$F1985,IF($V1985>=RULES!$F$149,\"1\",IF($W1985>=RULES!$F$149,\"2\",IF($X1985>=RULES!$F$149,\"3\",IF($Y1985>=RULES!$F$149,\"4\",IF($Z1985>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1985<>\"*\",\"~\",IF($V1985>=RULES!$G$149,\"1?\",IF($W1985>=RULES!$G$149,\"2?\",IF($X1985>=RULES!$G$149,\"3?\",IF($Y1985>=RULES!$G$149,\"4?\",IF($Z1985>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1985<>\"*\",\"~\",IF((V1985+W1985>=RULES!$F$149),\"12\",IF((W1985+X1985>=RULES!$F$149),\"23\",IF((X1985+Y1985>=RULES!$F$149),\"34\",IF((Y1985+Z1985>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1985<>\"*\",\"~\",IF(Y1985+Z1985<(1-RULES!$F$149),\"13\",IF(V1985+Z1985<(1-RULES!$F$149),\"24\",IF(V1985+W1985<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1985=\"X\",$F1985=\"H\",$F1985=\"Z-ERROR\",AND($AA1985=\"H\",$AH1985)),$AE1985,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1985,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1985,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1985,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1985,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1985&\"1\",IF(NOT($AH1985),$E1985&\"U\",$AE1985)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1985","v":""},{"$f":"'Calculator Table'!BR1985","v":0},{"$f":"Calculate!AV1985","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1995","v":0},{"$f":"IF(F1995=\"X\",\"X\",(IF(F1995<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1995),0,Calculate!H1995),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1995),0,Calculate!N1995),IF(ISERROR(Calculate!J1995),0,Calculate!J1995))))))","v":0},{"$f":"IF(F1995=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1995),$C$2,Calculate!I1995),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1995),$C$2,Calculate!O1995),IF(ISERROR(Calculate!K1995),$C$2,Calculate!K1995))))","v":5.5},{"$f":"AF1995 & IF(OR($AH1995,RIGHT($AF1995,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1995","v":"S"},{"$f":"Calculate!Q1995","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1995=\"X\",$F1995=\"H\",$F1995=\"Z-ERROR\"),$F1995,IF($V1995>=RULES!$F$149,\"1\",IF($W1995>=RULES!$F$149,\"2\",IF($X1995>=RULES!$F$149,\"3\",IF($Y1995>=RULES!$F$149,\"4\",IF($Z1995>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1995<>\"*\",\"~\",IF($V1995>=RULES!$G$149,\"1?\",IF($W1995>=RULES!$G$149,\"2?\",IF($X1995>=RULES!$G$149,\"3?\",IF($Y1995>=RULES!$G$149,\"4?\",IF($Z1995>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1995<>\"*\",\"~\",IF((V1995+W1995>=RULES!$F$149),\"12\",IF((W1995+X1995>=RULES!$F$149),\"23\",IF((X1995+Y1995>=RULES!$F$149),\"34\",IF((Y1995+Z1995>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1995<>\"*\",\"~\",IF(Y1995+Z1995<(1-RULES!$F$149),\"13\",IF(V1995+Z1995<(1-RULES!$F$149),\"24\",IF(V1995+W1995<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1995=\"X\",$F1995=\"H\",$F1995=\"Z-ERROR\",AND($AA1995=\"H\",$AH1995)),$AE1995,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1995,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1995,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1995,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1995,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1995&\"1\",IF(NOT($AH1995),$E1995&\"U\",$AE1995)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1995","v":""},{"$f":"'Calculator Table'!BR1995","v":0},{"$f":"Calculate!AV1995","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A1999","v":0},{"$f":"IF(F1999=\"X\",\"X\",(IF(F1999<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H1999),0,Calculate!H1999),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N1999),0,Calculate!N1999),IF(ISERROR(Calculate!J1999),0,Calculate!J1999))))))","v":0},{"$f":"IF(F1999=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I1999),$C$2,Calculate!I1999),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O1999),$C$2,Calculate!O1999),IF(ISERROR(Calculate!K1999),$C$2,Calculate!K1999))))","v":5.5},{"$f":"AF1999 & IF(OR($AH1999,RIGHT($AF1999,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P1999","v":"S"},{"$f":"Calculate!Q1999","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F1999=\"X\",$F1999=\"H\",$F1999=\"Z-ERROR\"),$F1999,IF($V1999>=RULES!$F$149,\"1\",IF($W1999>=RULES!$F$149,\"2\",IF($X1999>=RULES!$F$149,\"3\",IF($Y1999>=RULES!$F$149,\"4\",IF($Z1999>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA1999<>\"*\",\"~\",IF($V1999>=RULES!$G$149,\"1?\",IF($W1999>=RULES!$G$149,\"2?\",IF($X1999>=RULES!$G$149,\"3?\",IF($Y1999>=RULES!$G$149,\"4?\",IF($Z1999>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB1999<>\"*\",\"~\",IF((V1999+W1999>=RULES!$F$149),\"12\",IF((W1999+X1999>=RULES!$F$149),\"23\",IF((X1999+Y1999>=RULES!$F$149),\"34\",IF((Y1999+Z1999>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC1999<>\"*\",\"~\",IF(Y1999+Z1999<(1-RULES!$F$149),\"13\",IF(V1999+Z1999<(1-RULES!$F$149),\"24\",IF(V1999+W1999<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F1999=\"X\",$F1999=\"H\",$F1999=\"Z-ERROR\",AND($AA1999=\"H\",$AH1999)),$AE1999,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P1999,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L1999,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M1999,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N1999,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E1999&\"1\",IF(NOT($AH1999),$E1999&\"U\",$AE1999)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN1999","v":""},{"$f":"'Calculator Table'!BR1999","v":0},{"$f":"Calculate!AV1999","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2004","v":0},{"$f":"IF(F2004=\"X\",\"X\",(IF(F2004<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2004),0,Calculate!H2004),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2004),0,Calculate!N2004),IF(ISERROR(Calculate!J2004),0,Calculate!J2004))))))","v":0},{"$f":"IF(F2004=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2004),$C$2,Calculate!I2004),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2004),$C$2,Calculate!O2004),IF(ISERROR(Calculate!K2004),$C$2,Calculate!K2004))))","v":5.5},{"$f":"AF2004 & IF(OR($AH2004,RIGHT($AF2004,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2004","v":"S"},{"$f":"Calculate!Q2004","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2004=\"X\",$F2004=\"H\",$F2004=\"Z-ERROR\"),$F2004,IF($V2004>=RULES!$F$149,\"1\",IF($W2004>=RULES!$F$149,\"2\",IF($X2004>=RULES!$F$149,\"3\",IF($Y2004>=RULES!$F$149,\"4\",IF($Z2004>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2004<>\"*\",\"~\",IF($V2004>=RULES!$G$149,\"1?\",IF($W2004>=RULES!$G$149,\"2?\",IF($X2004>=RULES!$G$149,\"3?\",IF($Y2004>=RULES!$G$149,\"4?\",IF($Z2004>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2004<>\"*\",\"~\",IF((V2004+W2004>=RULES!$F$149),\"12\",IF((W2004+X2004>=RULES!$F$149),\"23\",IF((X2004+Y2004>=RULES!$F$149),\"34\",IF((Y2004+Z2004>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2004<>\"*\",\"~\",IF(Y2004+Z2004<(1-RULES!$F$149),\"13\",IF(V2004+Z2004<(1-RULES!$F$149),\"24\",IF(V2004+W2004<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2004=\"X\",$F2004=\"H\",$F2004=\"Z-ERROR\",AND($AA2004=\"H\",$AH2004)),$AE2004,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2004,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2004,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2004,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2004,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2004&\"1\",IF(NOT($AH2004),$E2004&\"U\",$AE2004)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2004","v":""},{"$f":"'Calculator Table'!BR2004","v":0},{"$f":"Calculate!AV2004","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2013","v":0},{"$f":"IF(F2013=\"X\",\"X\",(IF(F2013<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2013),0,Calculate!H2013),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2013),0,Calculate!N2013),IF(ISERROR(Calculate!J2013),0,Calculate!J2013))))))","v":0},{"$f":"IF(F2013=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2013),$C$2,Calculate!I2013),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2013),$C$2,Calculate!O2013),IF(ISERROR(Calculate!K2013),$C$2,Calculate!K2013))))","v":5.5},{"$f":"AF2013 & IF(OR($AH2013,RIGHT($AF2013,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2013","v":"S"},{"$f":"Calculate!Q2013","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2013=\"X\",$F2013=\"H\",$F2013=\"Z-ERROR\"),$F2013,IF($V2013>=RULES!$F$149,\"1\",IF($W2013>=RULES!$F$149,\"2\",IF($X2013>=RULES!$F$149,\"3\",IF($Y2013>=RULES!$F$149,\"4\",IF($Z2013>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2013<>\"*\",\"~\",IF($V2013>=RULES!$G$149,\"1?\",IF($W2013>=RULES!$G$149,\"2?\",IF($X2013>=RULES!$G$149,\"3?\",IF($Y2013>=RULES!$G$149,\"4?\",IF($Z2013>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2013<>\"*\",\"~\",IF((V2013+W2013>=RULES!$F$149),\"12\",IF((W2013+X2013>=RULES!$F$149),\"23\",IF((X2013+Y2013>=RULES!$F$149),\"34\",IF((Y2013+Z2013>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2013<>\"*\",\"~\",IF(Y2013+Z2013<(1-RULES!$F$149),\"13\",IF(V2013+Z2013<(1-RULES!$F$149),\"24\",IF(V2013+W2013<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2013=\"X\",$F2013=\"H\",$F2013=\"Z-ERROR\",AND($AA2013=\"H\",$AH2013)),$AE2013,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2013,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2013,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2013,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2013,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2013&\"1\",IF(NOT($AH2013),$E2013&\"U\",$AE2013)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2013","v":""},{"$f":"'Calculator Table'!BR2013","v":0},{"$f":"Calculate!AV2013","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2022","v":0},{"$f":"IF(F2022=\"X\",\"X\",(IF(F2022<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2022),0,Calculate!H2022),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2022),0,Calculate!N2022),IF(ISERROR(Calculate!J2022),0,Calculate!J2022))))))","v":0},{"$f":"IF(F2022=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2022),$C$2,Calculate!I2022),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2022),$C$2,Calculate!O2022),IF(ISERROR(Calculate!K2022),$C$2,Calculate!K2022))))","v":5.5},{"$f":"AF2022 & IF(OR($AH2022,RIGHT($AF2022,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2022","v":"S"},{"$f":"Calculate!Q2022","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2022=\"X\",$F2022=\"H\",$F2022=\"Z-ERROR\"),$F2022,IF($V2022>=RULES!$F$149,\"1\",IF($W2022>=RULES!$F$149,\"2\",IF($X2022>=RULES!$F$149,\"3\",IF($Y2022>=RULES!$F$149,\"4\",IF($Z2022>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2022<>\"*\",\"~\",IF($V2022>=RULES!$G$149,\"1?\",IF($W2022>=RULES!$G$149,\"2?\",IF($X2022>=RULES!$G$149,\"3?\",IF($Y2022>=RULES!$G$149,\"4?\",IF($Z2022>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2022<>\"*\",\"~\",IF((V2022+W2022>=RULES!$F$149),\"12\",IF((W2022+X2022>=RULES!$F$149),\"23\",IF((X2022+Y2022>=RULES!$F$149),\"34\",IF((Y2022+Z2022>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2022<>\"*\",\"~\",IF(Y2022+Z2022<(1-RULES!$F$149),\"13\",IF(V2022+Z2022<(1-RULES!$F$149),\"24\",IF(V2022+W2022<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2022=\"X\",$F2022=\"H\",$F2022=\"Z-ERROR\",AND($AA2022=\"H\",$AH2022)),$AE2022,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2022,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2022,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2022,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2022,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2022&\"1\",IF(NOT($AH2022),$E2022&\"U\",$AE2022)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2022","v":""},{"$f":"'Calculator Table'!BR2022","v":0},{"$f":"Calculate!AV2022","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2030","v":0},{"$f":"IF(F2030=\"X\",\"X\",(IF(F2030<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2030),0,Calculate!H2030),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2030),0,Calculate!N2030),IF(ISERROR(Calculate!J2030),0,Calculate!J2030))))))","v":0},{"$f":"IF(F2030=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2030),$C$2,Calculate!I2030),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2030),$C$2,Calculate!O2030),IF(ISERROR(Calculate!K2030),$C$2,Calculate!K2030))))","v":5.5},{"$f":"AF2030 & IF(OR($AH2030,RIGHT($AF2030,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2030","v":"S"},{"$f":"Calculate!Q2030","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2030=\"X\",$F2030=\"H\",$F2030=\"Z-ERROR\"),$F2030,IF($V2030>=RULES!$F$149,\"1\",IF($W2030>=RULES!$F$149,\"2\",IF($X2030>=RULES!$F$149,\"3\",IF($Y2030>=RULES!$F$149,\"4\",IF($Z2030>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2030<>\"*\",\"~\",IF($V2030>=RULES!$G$149,\"1?\",IF($W2030>=RULES!$G$149,\"2?\",IF($X2030>=RULES!$G$149,\"3?\",IF($Y2030>=RULES!$G$149,\"4?\",IF($Z2030>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2030<>\"*\",\"~\",IF((V2030+W2030>=RULES!$F$149),\"12\",IF((W2030+X2030>=RULES!$F$149),\"23\",IF((X2030+Y2030>=RULES!$F$149),\"34\",IF((Y2030+Z2030>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2030<>\"*\",\"~\",IF(Y2030+Z2030<(1-RULES!$F$149),\"13\",IF(V2030+Z2030<(1-RULES!$F$149),\"24\",IF(V2030+W2030<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2030=\"X\",$F2030=\"H\",$F2030=\"Z-ERROR\",AND($AA2030=\"H\",$AH2030)),$AE2030,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2030,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2030,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2030,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2030,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2030&\"1\",IF(NOT($AH2030),$E2030&\"U\",$AE2030)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2030","v":""},{"$f":"'Calculator Table'!BR2030","v":0},{"$f":"Calculate!AV2030","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2036","v":0},{"$f":"IF(F2036=\"X\",\"X\",(IF(F2036<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2036),0,Calculate!H2036),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2036),0,Calculate!N2036),IF(ISERROR(Calculate!J2036),0,Calculate!J2036))))))","v":0},{"$f":"IF(F2036=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2036),$C$2,Calculate!I2036),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2036),$C$2,Calculate!O2036),IF(ISERROR(Calculate!K2036),$C$2,Calculate!K2036))))","v":5.5},{"$f":"AF2036 & IF(OR($AH2036,RIGHT($AF2036,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2036","v":"S"},{"$f":"Calculate!Q2036","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2036=\"X\",$F2036=\"H\",$F2036=\"Z-ERROR\"),$F2036,IF($V2036>=RULES!$F$149,\"1\",IF($W2036>=RULES!$F$149,\"2\",IF($X2036>=RULES!$F$149,\"3\",IF($Y2036>=RULES!$F$149,\"4\",IF($Z2036>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2036<>\"*\",\"~\",IF($V2036>=RULES!$G$149,\"1?\",IF($W2036>=RULES!$G$149,\"2?\",IF($X2036>=RULES!$G$149,\"3?\",IF($Y2036>=RULES!$G$149,\"4?\",IF($Z2036>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2036<>\"*\",\"~\",IF((V2036+W2036>=RULES!$F$149),\"12\",IF((W2036+X2036>=RULES!$F$149),\"23\",IF((X2036+Y2036>=RULES!$F$149),\"34\",IF((Y2036+Z2036>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2036<>\"*\",\"~\",IF(Y2036+Z2036<(1-RULES!$F$149),\"13\",IF(V2036+Z2036<(1-RULES!$F$149),\"24\",IF(V2036+W2036<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2036=\"X\",$F2036=\"H\",$F2036=\"Z-ERROR\",AND($AA2036=\"H\",$AH2036)),$AE2036,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2036,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2036,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2036,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2036,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2036&\"1\",IF(NOT($AH2036),$E2036&\"U\",$AE2036)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2036","v":""},{"$f":"'Calculator Table'!BR2036","v":0},{"$f":"Calculate!AV2036","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2047","v":0},{"$f":"IF(F2047=\"X\",\"X\",(IF(F2047<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2047),0,Calculate!H2047),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2047),0,Calculate!N2047),IF(ISERROR(Calculate!J2047),0,Calculate!J2047))))))","v":0},{"$f":"IF(F2047=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2047),$C$2,Calculate!I2047),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2047),$C$2,Calculate!O2047),IF(ISERROR(Calculate!K2047),$C$2,Calculate!K2047))))","v":5.5},{"$f":"AF2047 & IF(OR($AH2047,RIGHT($AF2047,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2047","v":"S"},{"$f":"Calculate!Q2047","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2047=\"X\",$F2047=\"H\",$F2047=\"Z-ERROR\"),$F2047,IF($V2047>=RULES!$F$149,\"1\",IF($W2047>=RULES!$F$149,\"2\",IF($X2047>=RULES!$F$149,\"3\",IF($Y2047>=RULES!$F$149,\"4\",IF($Z2047>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2047<>\"*\",\"~\",IF($V2047>=RULES!$G$149,\"1?\",IF($W2047>=RULES!$G$149,\"2?\",IF($X2047>=RULES!$G$149,\"3?\",IF($Y2047>=RULES!$G$149,\"4?\",IF($Z2047>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2047<>\"*\",\"~\",IF((V2047+W2047>=RULES!$F$149),\"12\",IF((W2047+X2047>=RULES!$F$149),\"23\",IF((X2047+Y2047>=RULES!$F$149),\"34\",IF((Y2047+Z2047>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2047<>\"*\",\"~\",IF(Y2047+Z2047<(1-RULES!$F$149),\"13\",IF(V2047+Z2047<(1-RULES!$F$149),\"24\",IF(V2047+W2047<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2047=\"X\",$F2047=\"H\",$F2047=\"Z-ERROR\",AND($AA2047=\"H\",$AH2047)),$AE2047,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2047,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2047,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2047,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2047,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2047&\"1\",IF(NOT($AH2047),$E2047&\"U\",$AE2047)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2047","v":""},{"$f":"'Calculator Table'!BR2047","v":0},{"$f":"Calculate!AV2047","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2053","v":0},{"$f":"IF(F2053=\"X\",\"X\",(IF(F2053<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2053),0,Calculate!H2053),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2053),0,Calculate!N2053),IF(ISERROR(Calculate!J2053),0,Calculate!J2053))))))","v":0},{"$f":"IF(F2053=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2053),$C$2,Calculate!I2053),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2053),$C$2,Calculate!O2053),IF(ISERROR(Calculate!K2053),$C$2,Calculate!K2053))))","v":5.5},{"$f":"AF2053 & IF(OR($AH2053,RIGHT($AF2053,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2053","v":"S"},{"$f":"Calculate!Q2053","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,{"$f":"IF($J2053<=1.5,IF($K2053<=1.5,$L2053,1.5-$J2053),0)","v":1.5},{"$f":"IF($J2053<=2.5,IF($K2053<=2.5,$L2053,2.5-$J2053),0)","v":2.5},{"$f":"IF($J2053<=3.5,IF($K2053<=3.5,$L2053,3.5-$J2053),0)","v":3.5},{"$f":"IF($J2053<=4.5,IF($K2053<=4.5,$L2053,4.5-$J2053),0)","v":4.5},{"$f":"IF($K2053<=1.5,0,IF($J2053>1.5,$L2053,$K2053-1.5))","v":4},{"$f":"IF($K2053<=2.5,0,IF($J2053>2.5,$L2053,$K2053-2.5))","v":3},{"$f":"IF($K2053<=3.5,0,IF($J2053>3.5,$L2053,$K2053-3.5))","v":2},{"$f":"IF($K2053<=4.5,0,IF($J2053>4.5,$L2053,$K2053-4.5))","v":1},0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2053=\"X\",$F2053=\"H\",$F2053=\"Z-ERROR\"),$F2053,IF($V2053>=RULES!$F$149,\"1\",IF($W2053>=RULES!$F$149,\"2\",IF($X2053>=RULES!$F$149,\"3\",IF($Y2053>=RULES!$F$149,\"4\",IF($Z2053>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2053<>\"*\",\"~\",IF($V2053>=RULES!$G$149,\"1?\",IF($W2053>=RULES!$G$149,\"2?\",IF($X2053>=RULES!$G$149,\"3?\",IF($Y2053>=RULES!$G$149,\"4?\",IF($Z2053>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2053<>\"*\",\"~\",IF((V2053+W2053>=RULES!$F$149),\"12\",IF((W2053+X2053>=RULES!$F$149),\"23\",IF((X2053+Y2053>=RULES!$F$149),\"34\",IF((Y2053+Z2053>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2053<>\"*\",\"~\",IF(Y2053+Z2053<(1-RULES!$F$149),\"13\",IF(V2053+Z2053<(1-RULES!$F$149),\"24\",IF(V2053+W2053<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2053=\"X\",$F2053=\"H\",$F2053=\"Z-ERROR\",AND($AA2053=\"H\",$AH2053)),$AE2053,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2053,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2053,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2053,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2053,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2053&\"1\",IF(NOT($AH2053),$E2053&\"U\",$AE2053)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2053","v":""},{"$f":"'Calculator Table'!BR2053","v":0},{"$f":"Calculate!AV2053","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2056","v":0},{"$f":"IF(F2056=\"X\",\"X\",(IF(F2056<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2056),0,Calculate!H2056),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2056),0,Calculate!N2056),IF(ISERROR(Calculate!J2056),0,Calculate!J2056))))))","v":0},{"$f":"IF(F2056=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2056),$C$2,Calculate!I2056),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2056),$C$2,Calculate!O2056),IF(ISERROR(Calculate!K2056),$C$2,Calculate!K2056))))","v":5.5},{"$f":"AF2056 & IF(OR($AH2056,RIGHT($AF2056,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2056","v":"S"},{"$f":"Calculate!Q2056","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2056=\"X\",$F2056=\"H\",$F2056=\"Z-ERROR\"),$F2056,IF($V2056>=RULES!$F$149,\"1\",IF($W2056>=RULES!$F$149,\"2\",IF($X2056>=RULES!$F$149,\"3\",IF($Y2056>=RULES!$F$149,\"4\",IF($Z2056>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2056<>\"*\",\"~\",IF($V2056>=RULES!$G$149,\"1?\",IF($W2056>=RULES!$G$149,\"2?\",IF($X2056>=RULES!$G$149,\"3?\",IF($Y2056>=RULES!$G$149,\"4?\",IF($Z2056>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2056<>\"*\",\"~\",IF((V2056+W2056>=RULES!$F$149),\"12\",IF((W2056+X2056>=RULES!$F$149),\"23\",IF((X2056+Y2056>=RULES!$F$149),\"34\",IF((Y2056+Z2056>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2056<>\"*\",\"~\",IF(Y2056+Z2056<(1-RULES!$F$149),\"13\",IF(V2056+Z2056<(1-RULES!$F$149),\"24\",IF(V2056+W2056<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2056=\"X\",$F2056=\"H\",$F2056=\"Z-ERROR\",AND($AA2056=\"H\",$AH2056)),$AE2056,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2056,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2056,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2056,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2056,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2056&\"1\",IF(NOT($AH2056),$E2056&\"U\",$AE2056)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2056","v":""},{"$f":"'Calculator Table'!BR2056","v":0},{"$f":"Calculate!AV2056","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2067","v":0},{"$f":"IF(F2067=\"X\",\"X\",(IF(F2067<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2067),0,Calculate!H2067),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2067),0,Calculate!N2067),IF(ISERROR(Calculate!J2067),0,Calculate!J2067))))))","v":0},{"$f":"IF(F2067=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2067),$C$2,Calculate!I2067),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2067),$C$2,Calculate!O2067),IF(ISERROR(Calculate!K2067),$C$2,Calculate!K2067))))","v":5.5},{"$f":"AF2067 & IF(OR($AH2067,RIGHT($AF2067,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2067","v":"S"},{"$f":"Calculate!Q2067","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2067=\"X\",$F2067=\"H\",$F2067=\"Z-ERROR\"),$F2067,IF($V2067>=RULES!$F$149,\"1\",IF($W2067>=RULES!$F$149,\"2\",IF($X2067>=RULES!$F$149,\"3\",IF($Y2067>=RULES!$F$149,\"4\",IF($Z2067>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2067<>\"*\",\"~\",IF($V2067>=RULES!$G$149,\"1?\",IF($W2067>=RULES!$G$149,\"2?\",IF($X2067>=RULES!$G$149,\"3?\",IF($Y2067>=RULES!$G$149,\"4?\",IF($Z2067>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2067<>\"*\",\"~\",IF((V2067+W2067>=RULES!$F$149),\"12\",IF((W2067+X2067>=RULES!$F$149),\"23\",IF((X2067+Y2067>=RULES!$F$149),\"34\",IF((Y2067+Z2067>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2067<>\"*\",\"~\",IF(Y2067+Z2067<(1-RULES!$F$149),\"13\",IF(V2067+Z2067<(1-RULES!$F$149),\"24\",IF(V2067+W2067<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2067=\"X\",$F2067=\"H\",$F2067=\"Z-ERROR\",AND($AA2067=\"H\",$AH2067)),$AE2067,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2067,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2067,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2067,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2067,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2067&\"1\",IF(NOT($AH2067),$E2067&\"U\",$AE2067)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2067","v":""},{"$f":"'Calculator Table'!BR2067","v":0},{"$f":"Calculate!AV2067","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2073","v":0},{"$f":"IF(F2073=\"X\",\"X\",(IF(F2073<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2073),0,Calculate!H2073),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2073),0,Calculate!N2073),IF(ISERROR(Calculate!J2073),0,Calculate!J2073))))))","v":0},{"$f":"IF(F2073=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2073),$C$2,Calculate!I2073),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2073),$C$2,Calculate!O2073),IF(ISERROR(Calculate!K2073),$C$2,Calculate!K2073))))","v":5.5},{"$f":"AF2073 & IF(OR($AH2073,RIGHT($AF2073,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2073","v":"S"},{"$f":"Calculate!Q2073","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2073=\"X\",$F2073=\"H\",$F2073=\"Z-ERROR\"),$F2073,IF($V2073>=RULES!$F$149,\"1\",IF($W2073>=RULES!$F$149,\"2\",IF($X2073>=RULES!$F$149,\"3\",IF($Y2073>=RULES!$F$149,\"4\",IF($Z2073>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2073<>\"*\",\"~\",IF($V2073>=RULES!$G$149,\"1?\",IF($W2073>=RULES!$G$149,\"2?\",IF($X2073>=RULES!$G$149,\"3?\",IF($Y2073>=RULES!$G$149,\"4?\",IF($Z2073>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2073<>\"*\",\"~\",IF((V2073+W2073>=RULES!$F$149),\"12\",IF((W2073+X2073>=RULES!$F$149),\"23\",IF((X2073+Y2073>=RULES!$F$149),\"34\",IF((Y2073+Z2073>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2073<>\"*\",\"~\",IF(Y2073+Z2073<(1-RULES!$F$149),\"13\",IF(V2073+Z2073<(1-RULES!$F$149),\"24\",IF(V2073+W2073<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2073=\"X\",$F2073=\"H\",$F2073=\"Z-ERROR\",AND($AA2073=\"H\",$AH2073)),$AE2073,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2073,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2073,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2073,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2073,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2073&\"1\",IF(NOT($AH2073),$E2073&\"U\",$AE2073)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2073","v":""},{"$f":"'Calculator Table'!BR2073","v":0},{"$f":"Calculate!AV2073","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2082","v":0},{"$f":"IF(F2082=\"X\",\"X\",(IF(F2082<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2082),0,Calculate!H2082),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2082),0,Calculate!N2082),IF(ISERROR(Calculate!J2082),0,Calculate!J2082))))))","v":0},{"$f":"IF(F2082=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2082),$C$2,Calculate!I2082),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2082),$C$2,Calculate!O2082),IF(ISERROR(Calculate!K2082),$C$2,Calculate!K2082))))","v":5.5},{"$f":"AF2082 & IF(OR($AH2082,RIGHT($AF2082,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2082","v":"S"},{"$f":"Calculate!Q2082","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2082=\"X\",$F2082=\"H\",$F2082=\"Z-ERROR\"),$F2082,IF($V2082>=RULES!$F$149,\"1\",IF($W2082>=RULES!$F$149,\"2\",IF($X2082>=RULES!$F$149,\"3\",IF($Y2082>=RULES!$F$149,\"4\",IF($Z2082>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2082<>\"*\",\"~\",IF($V2082>=RULES!$G$149,\"1?\",IF($W2082>=RULES!$G$149,\"2?\",IF($X2082>=RULES!$G$149,\"3?\",IF($Y2082>=RULES!$G$149,\"4?\",IF($Z2082>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2082<>\"*\",\"~\",IF((V2082+W2082>=RULES!$F$149),\"12\",IF((W2082+X2082>=RULES!$F$149),\"23\",IF((X2082+Y2082>=RULES!$F$149),\"34\",IF((Y2082+Z2082>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2082<>\"*\",\"~\",IF(Y2082+Z2082<(1-RULES!$F$149),\"13\",IF(V2082+Z2082<(1-RULES!$F$149),\"24\",IF(V2082+W2082<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2082=\"X\",$F2082=\"H\",$F2082=\"Z-ERROR\",AND($AA2082=\"H\",$AH2082)),$AE2082,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2082,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2082,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2082,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2082,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2082&\"1\",IF(NOT($AH2082),$E2082&\"U\",$AE2082)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2082","v":""},{"$f":"'Calculator Table'!BR2082","v":0},{"$f":"Calculate!AV2082","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2090","v":0},{"$f":"IF(F2090=\"X\",\"X\",(IF(F2090<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2090),0,Calculate!H2090),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2090),0,Calculate!N2090),IF(ISERROR(Calculate!J2090),0,Calculate!J2090))))))","v":0},{"$f":"IF(F2090=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2090),$C$2,Calculate!I2090),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2090),$C$2,Calculate!O2090),IF(ISERROR(Calculate!K2090),$C$2,Calculate!K2090))))","v":5.5},{"$f":"AF2090 & IF(OR($AH2090,RIGHT($AF2090,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2090","v":"S"},{"$f":"Calculate!Q2090","v":"*"},{"$f":"B2090","v":0},{"$f":"C2090","v":5.5},{"$f":"AF2090","v":{"$error":"#VALUE!"}},{"$f":"IF(G2090=\"H\",0,MIN(MAX(G2090,0),$C$2))","v":0},{"$f":"IF(H2090=\"H\",0,MIN(MAX(H2090,0),$C$2))","v":5.5},{"$f":"K2090-J2090","v":5.5},{"$f":"IF(L2090=0,IF(J2090<=1.5,1,IF(J2090<=2.5,2,IF(J2090<=3.5,3,IF(J2090<=4.5,4,5)))),0)","v":0},1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2090=\"X\",$F2090=\"H\",$F2090=\"Z-ERROR\"),$F2090,IF($V2090>=RULES!$F$149,\"1\",IF($W2090>=RULES!$F$149,\"2\",IF($X2090>=RULES!$F$149,\"3\",IF($Y2090>=RULES!$F$149,\"4\",IF($Z2090>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2090<>\"*\",\"~\",IF($V2090>=RULES!$G$149,\"1?\",IF($W2090>=RULES!$G$149,\"2?\",IF($X2090>=RULES!$G$149,\"3?\",IF($Y2090>=RULES!$G$149,\"4?\",IF($Z2090>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2090<>\"*\",\"~\",IF((V2090+W2090>=RULES!$F$149),\"12\",IF((W2090+X2090>=RULES!$F$149),\"23\",IF((X2090+Y2090>=RULES!$F$149),\"34\",IF((Y2090+Z2090>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2090<>\"*\",\"~\",IF(Y2090+Z2090<(1-RULES!$F$149),\"13\",IF(V2090+Z2090<(1-RULES!$F$149),\"24\",IF(V2090+W2090<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},{"$f":"IF(AA2090<>\"*\",CONCATENATE(E2090,AA2090),IF(AB2090<>\"*\",CONCATENATE(E2090,AB2090),IF(AC2090<>\"*\",CONCATENATE(E2090,LEFT(AC2090,1),E2090,RIGHT(AC2090,1)),IF(AD2090=\"NR\",CONCATENATE(E2090,\"NR\"),IF(AD2090=\"U\",CONCATENATE(E2090,\"U\"),CONCATENATE(E2090,LEFT(AD2090,1),E2090,RIGHT(AD2090,1)))))))","v":"SU"},{"$f":"IF(OR($F2090=\"X\",$F2090=\"H\",$F2090=\"Z-ERROR\",AND($AA2090=\"H\",$AH2090)),$AE2090,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2090,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2090,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2090,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2090,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2090&\"1\",IF(NOT($AH2090),$E2090&\"U\",$AE2090)))","v":{"$error":"#VALUE!"}},{"$f":"IF(AE2090=AF2090,\"\",\"changed\")","v":{"$error":"#VALUE!"}},{"$f":"'Calculator Table'!BN2090","v":""},{"$f":"'Calculator Table'!BR2090","v":0},{"$f":"Calculate!AV2090","v":2},null,null,null,null,null,{"$f":"AND(AF2090=AM2090)","v":{"$error":"#VALUE!"}}]
[{"$f":"Calculate!A2099","v":0},{"$f":"IF(F2099=\"X\",\"X\",(IF(F2099<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2099),0,Calculate!H2099),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2099),0,Calculate!N2099),IF(ISERROR(Calculate!J2099),0,Calculate!J2099))))))","v":0},{"$f":"IF(F2099=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2099),$C$2,Calculate!I2099),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2099),$C$2,Calculate!O2099),IF(ISERROR(Calculate!K2099),$C$2,Calculate!K2099))))","v":5.5},{"$f":"AF2099 & IF(OR($AH2099,RIGHT($AF2099,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2099","v":"S"},{"$f":"Calculate!Q2099","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2099=\"X\",$F2099=\"H\",$F2099=\"Z-ERROR\"),$F2099,IF($V2099>=RULES!$F$149,\"1\",IF($W2099>=RULES!$F$149,\"2\",IF($X2099>=RULES!$F$149,\"3\",IF($Y2099>=RULES!$F$149,\"4\",IF($Z2099>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2099<>\"*\",\"~\",IF($V2099>=RULES!$G$149,\"1?\",IF($W2099>=RULES!$G$149,\"2?\",IF($X2099>=RULES!$G$149,\"3?\",IF($Y2099>=RULES!$G$149,\"4?\",IF($Z2099>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2099<>\"*\",\"~\",IF((V2099+W2099>=RULES!$F$149),\"12\",IF((W2099+X2099>=RULES!$F$149),\"23\",IF((X2099+Y2099>=RULES!$F$149),\"34\",IF((Y2099+Z2099>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2099<>\"*\",\"~\",IF(Y2099+Z2099<(1-RULES!$F$149),\"13\",IF(V2099+Z2099<(1-RULES!$F$149),\"24\",IF(V2099+W2099<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2099=\"X\",$F2099=\"H\",$F2099=\"Z-ERROR\",AND($AA2099=\"H\",$AH2099)),$AE2099,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2099,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2099,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2099,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2099,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2099&\"1\",IF(NOT($AH2099),$E2099&\"U\",$AE2099)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2099","v":""},{"$f":"'Calculator Table'!BR2099","v":0},{"$f":"Calculate!AV2099","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2104","v":0},{"$f":"IF(F2104=\"X\",\"X\",(IF(F2104<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2104),0,Calculate!H2104),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2104),0,Calculate!N2104),IF(ISERROR(Calculate!J2104),0,Calculate!J2104))))))","v":0},{"$f":"IF(F2104=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2104),$C$2,Calculate!I2104),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2104),$C$2,Calculate!O2104),IF(ISERROR(Calculate!K2104),$C$2,Calculate!K2104))))","v":5.5},{"$f":"AF2104 & IF(OR($AH2104,RIGHT($AF2104,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2104","v":"S"},{"$f":"Calculate!Q2104","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2104=\"X\",$F2104=\"H\",$F2104=\"Z-ERROR\"),$F2104,IF($V2104>=RULES!$F$149,\"1\",IF($W2104>=RULES!$F$149,\"2\",IF($X2104>=RULES!$F$149,\"3\",IF($Y2104>=RULES!$F$149,\"4\",IF($Z2104>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2104<>\"*\",\"~\",IF($V2104>=RULES!$G$149,\"1?\",IF($W2104>=RULES!$G$149,\"2?\",IF($X2104>=RULES!$G$149,\"3?\",IF($Y2104>=RULES!$G$149,\"4?\",IF($Z2104>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2104<>\"*\",\"~\",IF((V2104+W2104>=RULES!$F$149),\"12\",IF((W2104+X2104>=RULES!$F$149),\"23\",IF((X2104+Y2104>=RULES!$F$149),\"34\",IF((Y2104+Z2104>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2104<>\"*\",\"~\",IF(Y2104+Z2104<(1-RULES!$F$149),\"13\",IF(V2104+Z2104<(1-RULES!$F$149),\"24\",IF(V2104+W2104<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2104=\"X\",$F2104=\"H\",$F2104=\"Z-ERROR\",AND($AA2104=\"H\",$AH2104)),$AE2104,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2104,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2104,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2104,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2104,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2104&\"1\",IF(NOT($AH2104),$E2104&\"U\",$AE2104)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2104","v":""},{"$f":"'Calculator Table'!BR2104","v":0},{"$f":"Calculate!AV2104","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2116","v":0},{"$f":"IF(F2116=\"X\",\"X\",(IF(F2116<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2116),0,Calculate!H2116),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2116),0,Calculate!N2116),IF(ISERROR(Calculate!J2116),0,Calculate!J2116))))))","v":0},{"$f":"IF(F2116=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2116),$C$2,Calculate!I2116),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2116),$C$2,Calculate!O2116),IF(ISERROR(Calculate!K2116),$C$2,Calculate!K2116))))","v":5.5},{"$f":"AF2116 & IF(OR($AH2116,RIGHT($AF2116,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2116","v":"S"},{"$f":"Calculate!Q2116","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2116=\"X\",$F2116=\"H\",$F2116=\"Z-ERROR\"),$F2116,IF($V2116>=RULES!$F$149,\"1\",IF($W2116>=RULES!$F$149,\"2\",IF($X2116>=RULES!$F$149,\"3\",IF($Y2116>=RULES!$F$149,\"4\",IF($Z2116>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2116<>\"*\",\"~\",IF($V2116>=RULES!$G$149,\"1?\",IF($W2116>=RULES!$G$149,\"2?\",IF($X2116>=RULES!$G$149,\"3?\",IF($Y2116>=RULES!$G$149,\"4?\",IF($Z2116>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2116<>\"*\",\"~\",IF((V2116+W2116>=RULES!$F$149),\"12\",IF((W2116+X2116>=RULES!$F$149),\"23\",IF((X2116+Y2116>=RULES!$F$149),\"34\",IF((Y2116+Z2116>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2116<>\"*\",\"~\",IF(Y2116+Z2116<(1-RULES!$F$149),\"13\",IF(V2116+Z2116<(1-RULES!$F$149),\"24\",IF(V2116+W2116<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2116=\"X\",$F2116=\"H\",$F2116=\"Z-ERROR\",AND($AA2116=\"H\",$AH2116)),$AE2116,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2116,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2116,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2116,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2116,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2116&\"1\",IF(NOT($AH2116),$E2116&\"U\",$AE2116)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2116","v":""},{"$f":"'Calculator Table'!BR2116","v":0},{"$f":"Calculate!AV2116","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2118","v":0},{"$f":"IF(F2118=\"X\",\"X\",(IF(F2118<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2118),0,Calculate!H2118),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2118),0,Calculate!N2118),IF(ISERROR(Calculate!J2118),0,Calculate!J2118))))))","v":0},{"$f":"IF(F2118=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2118),$C$2,Calculate!I2118),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2118),$C$2,Calculate!O2118),IF(ISERROR(Calculate!K2118),$C$2,Calculate!K2118))))","v":5.5},{"$f":"AF2118 & IF(OR($AH2118,RIGHT($AF2118,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2118","v":"S"},{"$f":"Calculate!Q2118","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2118=\"X\",$F2118=\"H\",$F2118=\"Z-ERROR\"),$F2118,IF($V2118>=RULES!$F$149,\"1\",IF($W2118>=RULES!$F$149,\"2\",IF($X2118>=RULES!$F$149,\"3\",IF($Y2118>=RULES!$F$149,\"4\",IF($Z2118>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2118<>\"*\",\"~\",IF($V2118>=RULES!$G$149,\"1?\",IF($W2118>=RULES!$G$149,\"2?\",IF($X2118>=RULES!$G$149,\"3?\",IF($Y2118>=RULES!$G$149,\"4?\",IF($Z2118>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2118<>\"*\",\"~\",IF((V2118+W2118>=RULES!$F$149),\"12\",IF((W2118+X2118>=RULES!$F$149),\"23\",IF((X2118+Y2118>=RULES!$F$149),\"34\",IF((Y2118+Z2118>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2118<>\"*\",\"~\",IF(Y2118+Z2118<(1-RULES!$F$149),\"13\",IF(V2118+Z2118<(1-RULES!$F$149),\"24\",IF(V2118+W2118<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2118=\"X\",$F2118=\"H\",$F2118=\"Z-ERROR\",AND($AA2118=\"H\",$AH2118)),$AE2118,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2118,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2118,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2118,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2118,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2118&\"1\",IF(NOT($AH2118),$E2118&\"U\",$AE2118)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2118","v":""},{"$f":"'Calculator Table'!BR2118","v":0},{"$f":"Calculate!AV2118","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2125","v":0},{"$f":"IF(F2125=\"X\",\"X\",(IF(F2125<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2125),0,Calculate!H2125),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2125),0,Calculate!N2125),IF(ISERROR(Calculate!J2125),0,Calculate!J2125))))))","v":0},{"$f":"IF(F2125=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2125),$C$2,Calculate!I2125),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2125),$C$2,Calculate!O2125),IF(ISERROR(Calculate!K2125),$C$2,Calculate!K2125))))","v":5.5},{"$f":"AF2125 & IF(OR($AH2125,RIGHT($AF2125,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2125","v":"S"},{"$f":"Calculate!Q2125","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2125=\"X\",$F2125=\"H\",$F2125=\"Z-ERROR\"),$F2125,IF($V2125>=RULES!$F$149,\"1\",IF($W2125>=RULES!$F$149,\"2\",IF($X2125>=RULES!$F$149,\"3\",IF($Y2125>=RULES!$F$149,\"4\",IF($Z2125>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2125<>\"*\",\"~\",IF($V2125>=RULES!$G$149,\"1?\",IF($W2125>=RULES!$G$149,\"2?\",IF($X2125>=RULES!$G$149,\"3?\",IF($Y2125>=RULES!$G$149,\"4?\",IF($Z2125>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2125<>\"*\",\"~\",IF((V2125+W2125>=RULES!$F$149),\"12\",IF((W2125+X2125>=RULES!$F$149),\"23\",IF((X2125+Y2125>=RULES!$F$149),\"34\",IF((Y2125+Z2125>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2125<>\"*\",\"~\",IF(Y2125+Z2125<(1-RULES!$F$149),\"13\",IF(V2125+Z2125<(1-RULES!$F$149),\"24\",IF(V2125+W2125<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2125=\"X\",$F2125=\"H\",$F2125=\"Z-ERROR\",AND($AA2125=\"H\",$AH2125)),$AE2125,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2125,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2125,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2125,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2125,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2125&\"1\",IF(NOT($AH2125),$E2125&\"U\",$AE2125)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2125","v":""},{"$f":"'Calculator Table'!BR2125","v":0},{"$f":"Calculate!AV2125","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2134","v":0},{"$f":"IF(F2134=\"X\",\"X\",(IF(F2134<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2134),0,Calculate!H2134),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2134),0,Calculate!N2134),IF(ISERROR(Calculate!J2134),0,Calculate!J2134))))))","v":0},{"$f":"IF(F2134=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2134),$C$2,Calculate!I2134),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2134),$C$2,Calculate!O2134),IF(ISERROR(Calculate!K2134),$C$2,Calculate!K2134))))","v":5.5},{"$f":"AF2134 & IF(OR($AH2134,RIGHT($AF2134,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2134","v":"S"},{"$f":"Calculate!Q2134","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2134=\"X\",$F2134=\"H\",$F2134=\"Z-ERROR\"),$F2134,IF($V2134>=RULES!$F$149,\"1\",IF($W2134>=RULES!$F$149,\"2\",IF($X2134>=RULES!$F$149,\"3\",IF($Y2134>=RULES!$F$149,\"4\",IF($Z2134>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2134<>\"*\",\"~\",IF($V2134>=RULES!$G$149,\"1?\",IF($W2134>=RULES!$G$149,\"2?\",IF($X2134>=RULES!$G$149,\"3?\",IF($Y2134>=RULES!$G$149,\"4?\",IF($Z2134>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2134<>\"*\",\"~\",IF((V2134+W2134>=RULES!$F$149),\"12\",IF((W2134+X2134>=RULES!$F$149),\"23\",IF((X2134+Y2134>=RULES!$F$149),\"34\",IF((Y2134+Z2134>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2134<>\"*\",\"~\",IF(Y2134+Z2134<(1-RULES!$F$149),\"13\",IF(V2134+Z2134<(1-RULES!$F$149),\"24\",IF(V2134+W2134<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2134=\"X\",$F2134=\"H\",$F2134=\"Z-ERROR\",AND($AA2134=\"H\",$AH2134)),$AE2134,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2134,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2134,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2134,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2134,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2134&\"1\",IF(NOT($AH2134),$E2134&\"U\",$AE2134)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2134","v":""},{"$f":"'Calculator Table'!BR2134","v":0},{"$f":"Calculate!AV2134","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2140","v":0},{"$f":"IF(F2140=\"X\",\"X\",(IF(F2140<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2140),0,Calculate!H2140),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2140),0,Calculate!N2140),IF(ISERROR(Calculate!J2140),0,Calculate!J2140))))))","v":0},{"$f":"IF(F2140=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2140),$C$2,Calculate!I2140),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2140),$C$2,Calculate!O2140),IF(ISERROR(Calculate!K2140),$C$2,Calculate!K2140))))","v":5.5},{"$f":"AF2140 & IF(OR($AH2140,RIGHT($AF2140,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2140","v":"S"},{"$f":"Calculate!Q2140","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2140=\"X\",$F2140=\"H\",$F2140=\"Z-ERROR\"),$F2140,IF($V2140>=RULES!$F$149,\"1\",IF($W2140>=RULES!$F$149,\"2\",IF($X2140>=RULES!$F$149,\"3\",IF($Y2140>=RULES!$F$149,\"4\",IF($Z2140>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2140<>\"*\",\"~\",IF($V2140>=RULES!$G$149,\"1?\",IF($W2140>=RULES!$G$149,\"2?\",IF($X2140>=RULES!$G$149,\"3?\",IF($Y2140>=RULES!$G$149,\"4?\",IF($Z2140>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2140<>\"*\",\"~\",IF((V2140+W2140>=RULES!$F$149),\"12\",IF((W2140+X2140>=RULES!$F$149),\"23\",IF((X2140+Y2140>=RULES!$F$149),\"34\",IF((Y2140+Z2140>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2140<>\"*\",\"~\",IF(Y2140+Z2140<(1-RULES!$F$149),\"13\",IF(V2140+Z2140<(1-RULES!$F$149),\"24\",IF(V2140+W2140<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2140=\"X\",$F2140=\"H\",$F2140=\"Z-ERROR\",AND($AA2140=\"H\",$AH2140)),$AE2140,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2140,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2140,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2140,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2140,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2140&\"1\",IF(NOT($AH2140),$E2140&\"U\",$AE2140)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2140","v":""},{"$f":"'Calculator Table'!BR2140","v":0},{"$f":"Calculate!AV2140","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2141","v":0},{"$f":"IF(F2141=\"X\",\"X\",(IF(F2141<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2141),0,Calculate!H2141),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2141),0,Calculate!N2141),IF(ISERROR(Calculate!J2141),0,Calculate!J2141))))))","v":0},{"$f":"IF(F2141=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2141),$C$2,Calculate!I2141),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2141),$C$2,Calculate!O2141),IF(ISERROR(Calculate!K2141),$C$2,Calculate!K2141))))","v":5.5},{"$f":"AF2141 & IF(OR($AH2141,RIGHT($AF2141,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2141","v":"S"},{"$f":"Calculate!Q2141","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2141=\"X\",$F2141=\"H\",$F2141=\"Z-ERROR\"),$F2141,IF($V2141>=RULES!$F$149,\"1\",IF($W2141>=RULES!$F$149,\"2\",IF($X2141>=RULES!$F$149,\"3\",IF($Y2141>=RULES!$F$149,\"4\",IF($Z2141>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2141<>\"*\",\"~\",IF($V2141>=RULES!$G$149,\"1?\",IF($W2141>=RULES!$G$149,\"2?\",IF($X2141>=RULES!$G$149,\"3?\",IF($Y2141>=RULES!$G$149,\"4?\",IF($Z2141>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2141<>\"*\",\"~\",IF((V2141+W2141>=RULES!$F$149),\"12\",IF((W2141+X2141>=RULES!$F$149),\"23\",IF((X2141+Y2141>=RULES!$F$149),\"34\",IF((Y2141+Z2141>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2141<>\"*\",\"~\",IF(Y2141+Z2141<(1-RULES!$F$149),\"13\",IF(V2141+Z2141<(1-RULES!$F$149),\"24\",IF(V2141+W2141<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2141=\"X\",$F2141=\"H\",$F2141=\"Z-ERROR\",AND($AA2141=\"H\",$AH2141)),$AE2141,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2141,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2141,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2141,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2141,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2141&\"1\",IF(NOT($AH2141),$E2141&\"U\",$AE2141)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2141","v":""},{"$f":"'Calculator Table'!BR2141","v":0},{"$f":"Calculate!AV2141","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2142","v":0},{"$f":"IF(F2142=\"X\",\"X\",(IF(F2142<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2142),0,Calculate!H2142),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2142),0,Calculate!N2142),IF(ISERROR(Calculate!J2142),0,Calculate!J2142))))))","v":0},{"$f":"IF(F2142=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2142),$C$2,Calculate!I2142),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2142),$C$2,Calculate!O2142),IF(ISERROR(Calculate!K2142),$C$2,Calculate!K2142))))","v":5.5},{"$f":"AF2142 & IF(OR($AH2142,RIGHT($AF2142,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2142","v":"S"},{"$f":"Calculate!Q2142","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,{"$f":"IF($L2142=0,IF($M2142=1,1,0),$N2142/$L2142)","v":0.27272727272727271},{"$f":"IF($L2142=0,IF($M2142=2,1,0),($O2142-$N2142)/$L2142)","v":0.18181818181818182},{"$f":"IF($L2142=0,IF($M2142=3,1,0),($P2142-$O2142)/$L2142)","v":0.18181818181818182},{"$f":"IF($L2142=0,IF($M2142=4,1,0),($Q2142-$P2142)/$L2142)","v":0.18181818181818182},{"$f":"IF($L2142=0,IF($M2142=5,1,0),$U2142/$L2142)","v":0.18181818181818182},{"$f":"IF(OR($F2142=\"X\",$F2142=\"H\",$F2142=\"Z-ERROR\"),$F2142,IF($V2142>=RULES!$F$149,\"1\",IF($W2142>=RULES!$F$149,\"2\",IF($X2142>=RULES!$F$149,\"3\",IF($Y2142>=RULES!$F$149,\"4\",IF($Z2142>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2142<>\"*\",\"~\",IF($V2142>=RULES!$G$149,\"1?\",IF($W2142>=RULES!$G$149,\"2?\",IF($X2142>=RULES!$G$149,\"3?\",IF($Y2142>=RULES!$G$149,\"4?\",IF($Z2142>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2142<>\"*\",\"~\",IF((V2142+W2142>=RULES!$F$149),\"12\",IF((W2142+X2142>=RULES!$F$149),\"23\",IF((X2142+Y2142>=RULES!$F$149),\"34\",IF((Y2142+Z2142>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2142<>\"*\",\"~\",IF(Y2142+Z2142<(1-RULES!$F$149),\"13\",IF(V2142+Z2142<(1-RULES!$F$149),\"24\",IF(V2142+W2142<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2142=\"X\",$F2142=\"H\",$F2142=\"Z-ERROR\",AND($AA2142=\"H\",$AH2142)),$AE2142,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2142,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2142,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2142,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2142,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2142&\"1\",IF(NOT($AH2142),$E2142&\"U\",$AE2142)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2142","v":""},{"$f":"'Calculator Table'!BR2142","v":0},{"$f":"Calculate!AV2142","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2143","v":0},{"$f":"IF(F2143=\"X\",\"X\",(IF(F2143<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2143),0,Calculate!H2143),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2143),0,Calculate!N2143),IF(ISERROR(Calculate!J2143),0,Calculate!J2143))))))","v":0},{"$f":"IF(F2143=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2143),$C$2,Calculate!I2143),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2143),$C$2,Calculate!O2143),IF(ISERROR(Calculate!K2143),$C$2,Calculate!K2143))))","v":5.5},{"$f":"AF2143 & IF(OR($AH2143,RIGHT($AF2143,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2143","v":"S"},{"$f":"Calculate!Q2143","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2143=\"X\",$F2143=\"H\",$F2143=\"Z-ERROR\"),$F2143,IF($V2143>=RULES!$F$149,\"1\",IF($W2143>=RULES!$F$149,\"2\",IF($X2143>=RULES!$F$149,\"3\",IF($Y2143>=RULES!$F$149,\"4\",IF($Z2143>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2143<>\"*\",\"~\",IF($V2143>=RULES!$G$149,\"1?\",IF($W2143>=RULES!$G$149,\"2?\",IF($X2143>=RULES!$G$149,\"3?\",IF($Y2143>=RULES!$G$149,\"4?\",IF($Z2143>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2143<>\"*\",\"~\",IF((V2143+W2143>=RULES!$F$149),\"12\",IF((W2143+X2143>=RULES!$F$149),\"23\",IF((X2143+Y2143>=RULES!$F$149),\"34\",IF((Y2143+Z2143>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2143<>\"*\",\"~\",IF(Y2143+Z2143<(1-RULES!$F$149),\"13\",IF(V2143+Z2143<(1-RULES!$F$149),\"24\",IF(V2143+W2143<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2143=\"X\",$F2143=\"H\",$F2143=\"Z-ERROR\",AND($AA2143=\"H\",$AH2143)),$AE2143,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2143,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2143,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2143,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2143,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2143&\"1\",IF(NOT($AH2143),$E2143&\"U\",$AE2143)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2143","v":""},{"$f":"'Calculator Table'!BR2143","v":0},{"$f":"Calculate!AV2143","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2144","v":0},{"$f":"IF(F2144=\"X\",\"X\",(IF(F2144<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2144),0,Calculate!H2144),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2144),0,Calculate!N2144),IF(ISERROR(Calculate!J2144),0,Calculate!J2144))))))","v":0},{"$f":"IF(F2144=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2144),$C$2,Calculate!I2144),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2144),$C$2,Calculate!O2144),IF(ISERROR(Calculate!K2144),$C$2,Calculate!K2144))))","v":5.5},{"$f":"AF2144 & IF(OR($AH2144,RIGHT($AF2144,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2144","v":"S"},{"$f":"Calculate!Q2144","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2144=\"X\",$F2144=\"H\",$F2144=\"Z-ERROR\"),$F2144,IF($V2144>=RULES!$F$149,\"1\",IF($W2144>=RULES!$F$149,\"2\",IF($X2144>=RULES!$F$149,\"3\",IF($Y2144>=RULES!$F$149,\"4\",IF($Z2144>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2144<>\"*\",\"~\",IF($V2144>=RULES!$G$149,\"1?\",IF($W2144>=RULES!$G$149,\"2?\",IF($X2144>=RULES!$G$149,\"3?\",IF($Y2144>=RULES!$G$149,\"4?\",IF($Z2144>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2144<>\"*\",\"~\",IF((V2144+W2144>=RULES!$F$149),\"12\",IF((W2144+X2144>=RULES!$F$149),\"23\",IF((X2144+Y2144>=RULES!$F$149),\"34\",IF((Y2144+Z2144>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2144<>\"*\",\"~\",IF(Y2144+Z2144<(1-RULES!$F$149),\"13\",IF(V2144+Z2144<(1-RULES!$F$149),\"24\",IF(V2144+W2144<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2144=\"X\",$F2144=\"H\",$F2144=\"Z-ERROR\",AND($AA2144=\"H\",$AH2144)),$AE2144,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2144,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2144,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2144,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2144,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2144&\"1\",IF(NOT($AH2144),$E2144&\"U\",$AE2144)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2144","v":""},{"$f":"'Calculator Table'!BR2144","v":0},{"$f":"Calculate!AV2144","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2145","v":0},{"$f":"IF(F2145=\"X\",\"X\",(IF(F2145<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2145),0,Calculate!H2145),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2145),0,Calculate!N2145),IF(ISERROR(Calculate!J2145),0,Calculate!J2145))))))","v":0},{"$f":"IF(F2145=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2145),$C$2,Calculate!I2145),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2145),$C$2,Calculate!O2145),IF(ISERROR(Calculate!K2145),$C$2,Calculate!K2145))))","v":5.5},{"$f":"AF2145 & IF(OR($AH2145,RIGHT($AF2145,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2145","v":"S"},{"$f":"Calculate!Q2145","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2145=\"X\",$F2145=\"H\",$F2145=\"Z-ERROR\"),$F2145,IF($V2145>=RULES!$F$149,\"1\",IF($W2145>=RULES!$F$149,\"2\",IF($X2145>=RULES!$F$149,\"3\",IF($Y2145>=RULES!$F$149,\"4\",IF($Z2145>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2145<>\"*\",\"~\",IF($V2145>=RULES!$G$149,\"1?\",IF($W2145>=RULES!$G$149,\"2?\",IF($X2145>=RULES!$G$149,\"3?\",IF($Y2145>=RULES!$G$149,\"4?\",IF($Z2145>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2145<>\"*\",\"~\",IF((V2145+W2145>=RULES!$F$149),\"12\",IF((W2145+X2145>=RULES!$F$149),\"23\",IF((X2145+Y2145>=RULES!$F$149),\"34\",IF((Y2145+Z2145>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2145<>\"*\",\"~\",IF(Y2145+Z2145<(1-RULES!$F$149),\"13\",IF(V2145+Z2145<(1-RULES!$F$149),\"24\",IF(V2145+W2145<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2145=\"X\",$F2145=\"H\",$F2145=\"Z-ERROR\",AND($AA2145=\"H\",$AH2145)),$AE2145,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2145,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2145,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2145,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2145,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2145&\"1\",IF(NOT($AH2145),$E2145&\"U\",$AE2145)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2145","v":""},{"$f":"'Calculator Table'!BR2145","v":0},{"$f":"Calculate!AV2145","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2146","v":0},{"$f":"IF(F2146=\"X\",\"X\",(IF(F2146<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2146),0,Calculate!H2146),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2146),0,Calculate!N2146),IF(ISERROR(Calculate!J2146),0,Calculate!J2146))))))","v":0},{"$f":"IF(F2146=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2146),$C$2,Calculate!I2146),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2146),$C$2,Calculate!O2146),IF(ISERROR(Calculate!K2146),$C$2,Calculate!K2146))))","v":5.5},{"$f":"AF2146 & IF(OR($AH2146,RIGHT($AF2146,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2146","v":"S"},{"$f":"Calculate!Q2146","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2146=\"X\",$F2146=\"H\",$F2146=\"Z-ERROR\"),$F2146,IF($V2146>=RULES!$F$149,\"1\",IF($W2146>=RULES!$F$149,\"2\",IF($X2146>=RULES!$F$149,\"3\",IF($Y2146>=RULES!$F$149,\"4\",IF($Z2146>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2146<>\"*\",\"~\",IF($V2146>=RULES!$G$149,\"1?\",IF($W2146>=RULES!$G$149,\"2?\",IF($X2146>=RULES!$G$149,\"3?\",IF($Y2146>=RULES!$G$149,\"4?\",IF($Z2146>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2146<>\"*\",\"~\",IF((V2146+W2146>=RULES!$F$149),\"12\",IF((W2146+X2146>=RULES!$F$149),\"23\",IF((X2146+Y2146>=RULES!$F$149),\"34\",IF((Y2146+Z2146>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2146<>\"*\",\"~\",IF(Y2146+Z2146<(1-RULES!$F$149),\"13\",IF(V2146+Z2146<(1-RULES!$F$149),\"24\",IF(V2146+W2146<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2146=\"X\",$F2146=\"H\",$F2146=\"Z-ERROR\",AND($AA2146=\"H\",$AH2146)),$AE2146,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2146,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2146,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2146,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2146,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2146&\"1\",IF(NOT($AH2146),$E2146&\"U\",$AE2146)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2146","v":""},{"$f":"'Calculator Table'!BR2146","v":0},{"$f":"Calculate!AV2146","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2147","v":0},{"$f":"IF(F2147=\"X\",\"X\",(IF(F2147<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2147),0,Calculate!H2147),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2147),0,Calculate!N2147),IF(ISERROR(Calculate!J2147),0,Calculate!J2147))))))","v":0},{"$f":"IF(F2147=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2147),$C$2,Calculate!I2147),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2147),$C$2,Calculate!O2147),IF(ISERROR(Calculate!K2147),$C$2,Calculate!K2147))))","v":5.5},{"$f":"AF2147 & IF(OR($AH2147,RIGHT($AF2147,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2147","v":"S"},{"$f":"Calculate!Q2147","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2147=\"X\",$F2147=\"H\",$F2147=\"Z-ERROR\"),$F2147,IF($V2147>=RULES!$F$149,\"1\",IF($W2147>=RULES!$F$149,\"2\",IF($X2147>=RULES!$F$149,\"3\",IF($Y2147>=RULES!$F$149,\"4\",IF($Z2147>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2147<>\"*\",\"~\",IF($V2147>=RULES!$G$149,\"1?\",IF($W2147>=RULES!$G$149,\"2?\",IF($X2147>=RULES!$G$149,\"3?\",IF($Y2147>=RULES!$G$149,\"4?\",IF($Z2147>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2147<>\"*\",\"~\",IF((V2147+W2147>=RULES!$F$149),\"12\",IF((W2147+X2147>=RULES!$F$149),\"23\",IF((X2147+Y2147>=RULES!$F$149),\"34\",IF((Y2147+Z2147>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2147<>\"*\",\"~\",IF(Y2147+Z2147<(1-RULES!$F$149),\"13\",IF(V2147+Z2147<(1-RULES!$F$149),\"24\",IF(V2147+W2147<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2147=\"X\",$F2147=\"H\",$F2147=\"Z-ERROR\",AND($AA2147=\"H\",$AH2147)),$AE2147,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2147,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2147,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2147,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2147,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2147&\"1\",IF(NOT($AH2147),$E2147&\"U\",$AE2147)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2147","v":""},{"$f":"'Calculator Table'!BR2147","v":0},{"$f":"Calculate!AV2147","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2148","v":0},{"$f":"IF(F2148=\"X\",\"X\",(IF(F2148<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2148),0,Calculate!H2148),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2148),0,Calculate!N2148),IF(ISERROR(Calculate!J2148),0,Calculate!J2148))))))","v":0},{"$f":"IF(F2148=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2148),$C$2,Calculate!I2148),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2148),$C$2,Calculate!O2148),IF(ISERROR(Calculate!K2148),$C$2,Calculate!K2148))))","v":5.5},{"$f":"AF2148 & IF(OR($AH2148,RIGHT($AF2148,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2148","v":"S"},{"$f":"Calculate!Q2148","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2148=\"X\",$F2148=\"H\",$F2148=\"Z-ERROR\"),$F2148,IF($V2148>=RULES!$F$149,\"1\",IF($W2148>=RULES!$F$149,\"2\",IF($X2148>=RULES!$F$149,\"3\",IF($Y2148>=RULES!$F$149,\"4\",IF($Z2148>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2148<>\"*\",\"~\",IF($V2148>=RULES!$G$149,\"1?\",IF($W2148>=RULES!$G$149,\"2?\",IF($X2148>=RULES!$G$149,\"3?\",IF($Y2148>=RULES!$G$149,\"4?\",IF($Z2148>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2148<>\"*\",\"~\",IF((V2148+W2148>=RULES!$F$149),\"12\",IF((W2148+X2148>=RULES!$F$149),\"23\",IF((X2148+Y2148>=RULES!$F$149),\"34\",IF((Y2148+Z2148>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2148<>\"*\",\"~\",IF(Y2148+Z2148<(1-RULES!$F$149),\"13\",IF(V2148+Z2148<(1-RULES!$F$149),\"24\",IF(V2148+W2148<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2148=\"X\",$F2148=\"H\",$F2148=\"Z-ERROR\",AND($AA2148=\"H\",$AH2148)),$AE2148,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2148,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2148,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2148,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2148,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2148&\"1\",IF(NOT($AH2148),$E2148&\"U\",$AE2148)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2148","v":""},{"$f":"'Calculator Table'!BR2148","v":0},{"$f":"Calculate!AV2148","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2149","v":0},{"$f":"IF(F2149=\"X\",\"X\",(IF(F2149<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2149),0,Calculate!H2149),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2149),0,Calculate!N2149),IF(ISERROR(Calculate!J2149),0,Calculate!J2149))))))","v":0},{"$f":"IF(F2149=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2149),$C$2,Calculate!I2149),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2149),$C$2,Calculate!O2149),IF(ISERROR(Calculate!K2149),$C$2,Calculate!K2149))))","v":5.5},{"$f":"AF2149 & IF(OR($AH2149,RIGHT($AF2149,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2149","v":"S"},{"$f":"Calculate!Q2149","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2149=\"X\",$F2149=\"H\",$F2149=\"Z-ERROR\"),$F2149,IF($V2149>=RULES!$F$149,\"1\",IF($W2149>=RULES!$F$149,\"2\",IF($X2149>=RULES!$F$149,\"3\",IF($Y2149>=RULES!$F$149,\"4\",IF($Z2149>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2149<>\"*\",\"~\",IF($V2149>=RULES!$G$149,\"1?\",IF($W2149>=RULES!$G$149,\"2?\",IF($X2149>=RULES!$G$149,\"3?\",IF($Y2149>=RULES!$G$149,\"4?\",IF($Z2149>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2149<>\"*\",\"~\",IF((V2149+W2149>=RULES!$F$149),\"12\",IF((W2149+X2149>=RULES!$F$149),\"23\",IF((X2149+Y2149>=RULES!$F$149),\"34\",IF((Y2149+Z2149>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2149<>\"*\",\"~\",IF(Y2149+Z2149<(1-RULES!$F$149),\"13\",IF(V2149+Z2149<(1-RULES!$F$149),\"24\",IF(V2149+W2149<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2149=\"X\",$F2149=\"H\",$F2149=\"Z-ERROR\",AND($AA2149=\"H\",$AH2149)),$AE2149,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2149,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2149,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2149,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2149,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2149&\"1\",IF(NOT($AH2149),$E2149&\"U\",$AE2149)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2149","v":""},{"$f":"'Calculator Table'!BR2149","v":0},{"$f":"Calculate!AV2149","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2150","v":0},{"$f":"IF(F2150=\"X\",\"X\",(IF(F2150<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2150),0,Calculate!H2150),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2150),0,Calculate!N2150),IF(ISERROR(Calculate!J2150),0,Calculate!J2150))))))","v":0},{"$f":"IF(F2150=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2150),$C$2,Calculate!I2150),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2150),$C$2,Calculate!O2150),IF(ISERROR(Calculate!K2150),$C$2,Calculate!K2150))))","v":5.5},{"$f":"AF2150 & IF(OR($AH2150,RIGHT($AF2150,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2150","v":"S"},{"$f":"Calculate!Q2150","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2150=\"X\",$F2150=\"H\",$F2150=\"Z-ERROR\"),$F2150,IF($V2150>=RULES!$F$149,\"1\",IF($W2150>=RULES!$F$149,\"2\",IF($X2150>=RULES!$F$149,\"3\",IF($Y2150>=RULES!$F$149,\"4\",IF($Z2150>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2150<>\"*\",\"~\",IF($V2150>=RULES!$G$149,\"1?\",IF($W2150>=RULES!$G$149,\"2?\",IF($X2150>=RULES!$G$149,\"3?\",IF($Y2150>=RULES!$G$149,\"4?\",IF($Z2150>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2150<>\"*\",\"~\",IF((V2150+W2150>=RULES!$F$149),\"12\",IF((W2150+X2150>=RULES!$F$149),\"23\",IF((X2150+Y2150>=RULES!$F$149),\"34\",IF((Y2150+Z2150>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2150<>\"*\",\"~\",IF(Y2150+Z2150<(1-RULES!$F$149),\"13\",IF(V2150+Z2150<(1-RULES!$F$149),\"24\",IF(V2150+W2150<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2150=\"X\",$F2150=\"H\",$F2150=\"Z-ERROR\",AND($AA2150=\"H\",$AH2150)),$AE2150,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2150,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2150,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2150,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2150,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2150&\"1\",IF(NOT($AH2150),$E2150&\"U\",$AE2150)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2150","v":""},{"$f":"'Calculator Table'!BR2150","v":0},{"$f":"Calculate!AV2150","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2151","v":0},{"$f":"IF(F2151=\"X\",\"X\",(IF(F2151<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2151),0,Calculate!H2151),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2151),0,Calculate!N2151),IF(ISERROR(Calculate!J2151),0,Calculate!J2151))))))","v":0},{"$f":"IF(F2151=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2151),$C$2,Calculate!I2151),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2151),$C$2,Calculate!O2151),IF(ISERROR(Calculate!K2151),$C$2,Calculate!K2151))))","v":5.5},{"$f":"AF2151 & IF(OR($AH2151,RIGHT($AF2151,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2151","v":"S"},{"$f":"Calculate!Q2151","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2151=\"X\",$F2151=\"H\",$F2151=\"Z-ERROR\"),$F2151,IF($V2151>=RULES!$F$149,\"1\",IF($W2151>=RULES!$F$149,\"2\",IF($X2151>=RULES!$F$149,\"3\",IF($Y2151>=RULES!$F$149,\"4\",IF($Z2151>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2151<>\"*\",\"~\",IF($V2151>=RULES!$G$149,\"1?\",IF($W2151>=RULES!$G$149,\"2?\",IF($X2151>=RULES!$G$149,\"3?\",IF($Y2151>=RULES!$G$149,\"4?\",IF($Z2151>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2151<>\"*\",\"~\",IF((V2151+W2151>=RULES!$F$149),\"12\",IF((W2151+X2151>=RULES!$F$149),\"23\",IF((X2151+Y2151>=RULES!$F$149),\"34\",IF((Y2151+Z2151>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2151<>\"*\",\"~\",IF(Y2151+Z2151<(1-RULES!$F$149),\"13\",IF(V2151+Z2151<(1-RULES!$F$149),\"24\",IF(V2151+W2151<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2151=\"X\",$F2151=\"H\",$F2151=\"Z-ERROR\",AND($AA2151=\"H\",$AH2151)),$AE2151,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2151,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2151,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2151,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2151,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2151&\"1\",IF(NOT($AH2151),$E2151&\"U\",$AE2151)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2151","v":""},{"$f":"'Calculator Table'!BR2151","v":0},{"$f":"Calculate!AV2151","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2152","v":0},{"$f":"IF(F2152=\"X\",\"X\",(IF(F2152<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2152),0,Calculate!H2152),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2152),0,Calculate!N2152),IF(ISERROR(Calculate!J2152),0,Calculate!J2152))))))","v":0},{"$f":"IF(F2152=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2152),$C$2,Calculate!I2152),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2152),$C$2,Calculate!O2152),IF(ISERROR(Calculate!K2152),$C$2,Calculate!K2152))))","v":5.5},{"$f":"AF2152 & IF(OR($AH2152,RIGHT($AF2152,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2152","v":"S"},{"$f":"Calculate!Q2152","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2152=\"X\",$F2152=\"H\",$F2152=\"Z-ERROR\"),$F2152,IF($V2152>=RULES!$F$149,\"1\",IF($W2152>=RULES!$F$149,\"2\",IF($X2152>=RULES!$F$149,\"3\",IF($Y2152>=RULES!$F$149,\"4\",IF($Z2152>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2152<>\"*\",\"~\",IF($V2152>=RULES!$G$149,\"1?\",IF($W2152>=RULES!$G$149,\"2?\",IF($X2152>=RULES!$G$149,\"3?\",IF($Y2152>=RULES!$G$149,\"4?\",IF($Z2152>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2152<>\"*\",\"~\",IF((V2152+W2152>=RULES!$F$149),\"12\",IF((W2152+X2152>=RULES!$F$149),\"23\",IF((X2152+Y2152>=RULES!$F$149),\"34\",IF((Y2152+Z2152>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2152<>\"*\",\"~\",IF(Y2152+Z2152<(1-RULES!$F$149),\"13\",IF(V2152+Z2152<(1-RULES!$F$149),\"24\",IF(V2152+W2152<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2152=\"X\",$F2152=\"H\",$F2152=\"Z-ERROR\",AND($AA2152=\"H\",$AH2152)),$AE2152,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2152,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2152,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2152,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2152,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2152&\"1\",IF(NOT($AH2152),$E2152&\"U\",$AE2152)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2152","v":""},{"$f":"'Calculator Table'!BR2152","v":0},{"$f":"Calculate!AV2152","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2153","v":0},{"$f":"IF(F2153=\"X\",\"X\",(IF(F2153<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2153),0,Calculate!H2153),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2153),0,Calculate!N2153),IF(ISERROR(Calculate!J2153),0,Calculate!J2153))))))","v":0},{"$f":"IF(F2153=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2153),$C$2,Calculate!I2153),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2153),$C$2,Calculate!O2153),IF(ISERROR(Calculate!K2153),$C$2,Calculate!K2153))))","v":5.5},{"$f":"AF2153 & IF(OR($AH2153,RIGHT($AF2153,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2153","v":"S"},{"$f":"Calculate!Q2153","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2153=\"X\",$F2153=\"H\",$F2153=\"Z-ERROR\"),$F2153,IF($V2153>=RULES!$F$149,\"1\",IF($W2153>=RULES!$F$149,\"2\",IF($X2153>=RULES!$F$149,\"3\",IF($Y2153>=RULES!$F$149,\"4\",IF($Z2153>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2153<>\"*\",\"~\",IF($V2153>=RULES!$G$149,\"1?\",IF($W2153>=RULES!$G$149,\"2?\",IF($X2153>=RULES!$G$149,\"3?\",IF($Y2153>=RULES!$G$149,\"4?\",IF($Z2153>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2153<>\"*\",\"~\",IF((V2153+W2153>=RULES!$F$149),\"12\",IF((W2153+X2153>=RULES!$F$149),\"23\",IF((X2153+Y2153>=RULES!$F$149),\"34\",IF((Y2153+Z2153>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2153<>\"*\",\"~\",IF(Y2153+Z2153<(1-RULES!$F$149),\"13\",IF(V2153+Z2153<(1-RULES!$F$149),\"24\",IF(V2153+W2153<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2153=\"X\",$F2153=\"H\",$F2153=\"Z-ERROR\",AND($AA2153=\"H\",$AH2153)),$AE2153,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2153,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2153,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2153,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2153,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2153&\"1\",IF(NOT($AH2153),$E2153&\"U\",$AE2153)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2153","v":""},{"$f":"'Calculator Table'!BR2153","v":0},{"$f":"Calculate!AV2153","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2154","v":0},{"$f":"IF(F2154=\"X\",\"X\",(IF(F2154<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2154),0,Calculate!H2154),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2154),0,Calculate!N2154),IF(ISERROR(Calculate!J2154),0,Calculate!J2154))))))","v":0},{"$f":"IF(F2154=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2154),$C$2,Calculate!I2154),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2154),$C$2,Calculate!O2154),IF(ISERROR(Calculate!K2154),$C$2,Calculate!K2154))))","v":5.5},{"$f":"AF2154 & IF(OR($AH2154,RIGHT($AF2154,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2154","v":"S"},{"$f":"Calculate!Q2154","v":"*"},{"$f":"B2154","v":0},{"$f":"C2154","v":5.5},{"$f":"AF2154","v":{"$error":"#VALUE!"}},{"$f":"IF(G2154=\"H\",0,MIN(MAX(G2154,0),$C$2))","v":0},{"$f":"IF(H2154=\"H\",0,MIN(MAX(H2154,0),$C$2))","v":5.5},{"$f":"K2154-J2154","v":5.5},{"$f":"IF(L2154=0,IF(J2154<=1.5,1,IF(J2154<=2.5,2,IF(J2154<=3.5,3,IF(J2154<=4.5,4,5)))),0)","v":0},1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2154=\"X\",$F2154=\"H\",$F2154=\"Z-ERROR\"),$F2154,IF($V2154>=RULES!$F$149,\"1\",IF($W2154>=RULES!$F$149,\"2\",IF($X2154>=RULES!$F$149,\"3\",IF($Y2154>=RULES!$F$149,\"4\",IF($Z2154>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2154<>\"*\",\"~\",IF($V2154>=RULES!$G$149,\"1?\",IF($W2154>=RULES!$G$149,\"2?\",IF($X2154>=RULES!$G$149,\"3?\",IF($Y2154>=RULES!$G$149,\"4?\",IF($Z2154>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2154<>\"*\",\"~\",IF((V2154+W2154>=RULES!$F$149),\"12\",IF((W2154+X2154>=RULES!$F$149),\"23\",IF((X2154+Y2154>=RULES!$F$149),\"34\",IF((Y2154+Z2154>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2154<>\"*\",\"~\",IF(Y2154+Z2154<(1-RULES!$F$149),\"13\",IF(V2154+Z2154<(1-RULES!$F$149),\"24\",IF(V2154+W2154<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},{"$f":"IF(AA2154<>\"*\",CONCATENATE(E2154,AA2154),IF(AB2154<>\"*\",CONCATENATE(E2154,AB2154),IF(AC2154<>\"*\",CONCATENATE(E2154,LEFT(AC2154,1),E2154,RIGHT(AC2154,1)),IF(AD2154=\"NR\",CONCATENATE(E2154,\"NR\"),IF(AD2154=\"U\",CONCATENATE(E2154,\"U\"),CONCATENATE(E2154,LEFT(AD2154,1),E2154,RIGHT(AD2154,1)))))))","v":"SU"},{"$f":"IF(OR($F2154=\"X\",$F2154=\"H\",$F2154=\"Z-ERROR\",AND($AA2154=\"H\",$AH2154)),$AE2154,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2154,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2154,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2154,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2154,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2154&\"1\",IF(NOT($AH2154),$E2154&\"U\",$AE2154)))","v":{"$error":"#VALUE!"}},{"$f":"IF(AE2154=AF2154,\"\",\"changed\")","v":{"$error":"#VALUE!"}},{"$f":"'Calculator Table'!BN2154","v":""},{"$f":"'Calculator Table'!BR2154","v":0},{"$f":"Calculate!AV2154","v":2},null,null,null,null,null,{"$f":"AND(AF2154=AM2154)","v":{"$error":"#VALUE!"}}]
[{"$f":"Calculate!A2155","v":0},{"$f":"IF(F2155=\"X\",\"X\",(IF(F2155<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2155),0,Calculate!H2155),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2155),0,Calculate!N2155),IF(ISERROR(Calculate!J2155),0,Calculate!J2155))))))","v":0},{"$f":"IF(F2155=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2155),$C$2,Calculate!I2155),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2155),$C$2,Calculate!O2155),IF(ISERROR(Calculate!K2155),$C$2,Calculate!K2155))))","v":5.5},{"$f":"AF2155 & IF(OR($AH2155,RIGHT($AF2155,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2155","v":"S"},{"$f":"Calculate!Q2155","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2155=\"X\",$F2155=\"H\",$F2155=\"Z-ERROR\"),$F2155,IF($V2155>=RULES!$F$149,\"1\",IF($W2155>=RULES!$F$149,\"2\",IF($X2155>=RULES!$F$149,\"3\",IF($Y2155>=RULES!$F$149,\"4\",IF($Z2155>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2155<>\"*\",\"~\",IF($V2155>=RULES!$G$149,\"1?\",IF($W2155>=RULES!$G$149,\"2?\",IF($X2155>=RULES!$G$149,\"3?\",IF($Y2155>=RULES!$G$149,\"4?\",IF($Z2155>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2155<>\"*\",\"~\",IF((V2155+W2155>=RULES!$F$149),\"12\",IF((W2155+X2155>=RULES!$F$149),\"23\",IF((X2155+Y2155>=RULES!$F$149),\"34\",IF((Y2155+Z2155>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2155<>\"*\",\"~\",IF(Y2155+Z2155<(1-RULES!$F$149),\"13\",IF(V2155+Z2155<(1-RULES!$F$149),\"24\",IF(V2155+W2155<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2155=\"X\",$F2155=\"H\",$F2155=\"Z-ERROR\",AND($AA2155=\"H\",$AH2155)),$AE2155,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2155,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2155,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2155,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2155,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2155&\"1\",IF(NOT($AH2155),$E2155&\"U\",$AE2155)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2155","v":""},{"$f":"'Calculator Table'!BR2155","v":0},{"$f":"Calculate!AV2155","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2156","v":0},{"$f":"IF(F2156=\"X\",\"X\",(IF(F2156<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2156),0,Calculate!H2156),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2156),0,Calculate!N2156),IF(ISERROR(Calculate!J2156),0,Calculate!J2156))))))","v":0},{"$f":"IF(F2156=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2156),$C$2,Calculate!I2156),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2156),$C$2,Calculate!O2156),IF(ISERROR(Calculate!K2156),$C$2,Calculate!K2156))))","v":5.5},{"$f":"AF2156 & IF(OR($AH2156,RIGHT($AF2156,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2156","v":"S"},{"$f":"Calculate!Q2156","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2156=\"X\",$F2156=\"H\",$F2156=\"Z-ERROR\"),$F2156,IF($V2156>=RULES!$F$149,\"1\",IF($W2156>=RULES!$F$149,\"2\",IF($X2156>=RULES!$F$149,\"3\",IF($Y2156>=RULES!$F$149,\"4\",IF($Z2156>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2156<>\"*\",\"~\",IF($V2156>=RULES!$G$149,\"1?\",IF($W2156>=RULES!$G$149,\"2?\",IF($X2156>=RULES!$G$149,\"3?\",IF($Y2156>=RULES!$G$149,\"4?\",IF($Z2156>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2156<>\"*\",\"~\",IF((V2156+W2156>=RULES!$F$149),\"12\",IF((W2156+X2156>=RULES!$F$149),\"23\",IF((X2156+Y2156>=RULES!$F$149),\"34\",IF((Y2156+Z2156>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2156<>\"*\",\"~\",IF(Y2156+Z2156<(1-RULES!$F$149),\"13\",IF(V2156+Z2156<(1-RULES!$F$149),\"24\",IF(V2156+W2156<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2156=\"X\",$F2156=\"H\",$F2156=\"Z-ERROR\",AND($AA2156=\"H\",$AH2156)),$AE2156,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2156,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2156,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2156,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2156,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2156&\"1\",IF(NOT($AH2156),$E2156&\"U\",$AE2156)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2156","v":""},{"$f":"'Calculator Table'!BR2156","v":0},{"$f":"Calculate!AV2156","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2157","v":0},{"$f":"IF(F2157=\"X\",\"X\",(IF(F2157<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2157),0,Calculate!H2157),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2157),0,Calculate!N2157),IF(ISERROR(Calculate!J2157),0,Calculate!J2157))))))","v":0},{"$f":"IF(F2157=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2157),$C$2,Calculate!I2157),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2157),$C$2,Calculate!O2157),IF(ISERROR(Calculate!K2157),$C$2,Calculate!K2157))))","v":5.5},{"$f":"AF2157 & IF(OR($AH2157,RIGHT($AF2157,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2157","v":"S"},{"$f":"Calculate!Q2157","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2157=\"X\",$F2157=\"H\",$F2157=\"Z-ERROR\"),$F2157,IF($V2157>=RULES!$F$149,\"1\",IF($W2157>=RULES!$F$149,\"2\",IF($X2157>=RULES!$F$149,\"3\",IF($Y2157>=RULES!$F$149,\"4\",IF($Z2157>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2157<>\"*\",\"~\",IF($V2157>=RULES!$G$149,\"1?\",IF($W2157>=RULES!$G$149,\"2?\",IF($X2157>=RULES!$G$149,\"3?\",IF($Y2157>=RULES!$G$149,\"4?\",IF($Z2157>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2157<>\"*\",\"~\",IF((V2157+W2157>=RULES!$F$149),\"12\",IF((W2157+X2157>=RULES!$F$149),\"23\",IF((X2157+Y2157>=RULES!$F$149),\"34\",IF((Y2157+Z2157>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2157<>\"*\",\"~\",IF(Y2157+Z2157<(1-RULES!$F$149),\"13\",IF(V2157+Z2157<(1-RULES!$F$149),\"24\",IF(V2157+W2157<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2157=\"X\",$F2157=\"H\",$F2157=\"Z-ERROR\",AND($AA2157=\"H\",$AH2157)),$AE2157,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2157,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2157,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2157,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2157,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2157&\"1\",IF(NOT($AH2157),$E2157&\"U\",$AE2157)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2157","v":""},{"$f":"'Calculator Table'!BR2157","v":0},{"$f":"Calculate!AV2157","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2158","v":0},{"$f":"IF(F2158=\"X\",\"X\",(IF(F2158<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2158),0,Calculate!H2158),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2158),0,Calculate!N2158),IF(ISERROR(Calculate!J2158),0,Calculate!J2158))))))","v":0},{"$f":"IF(F2158=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2158),$C$2,Calculate!I2158),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2158),$C$2,Calculate!O2158),IF(ISERROR(Calculate!K2158),$C$2,Calculate!K2158))))","v":5.5},{"$f":"AF2158 & IF(OR($AH2158,RIGHT($AF2158,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2158","v":"S"},{"$f":"Calculate!Q2158","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2158=\"X\",$F2158=\"H\",$F2158=\"Z-ERROR\"),$F2158,IF($V2158>=RULES!$F$149,\"1\",IF($W2158>=RULES!$F$149,\"2\",IF($X2158>=RULES!$F$149,\"3\",IF($Y2158>=RULES!$F$149,\"4\",IF($Z2158>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2158<>\"*\",\"~\",IF($V2158>=RULES!$G$149,\"1?\",IF($W2158>=RULES!$G$149,\"2?\",IF($X2158>=RULES!$G$149,\"3?\",IF($Y2158>=RULES!$G$149,\"4?\",IF($Z2158>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2158<>\"*\",\"~\",IF((V2158+W2158>=RULES!$F$149),\"12\",IF((W2158+X2158>=RULES!$F$149),\"23\",IF((X2158+Y2158>=RULES!$F$149),\"34\",IF((Y2158+Z2158>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2158<>\"*\",\"~\",IF(Y2158+Z2158<(1-RULES!$F$149),\"13\",IF(V2158+Z2158<(1-RULES!$F$149),\"24\",IF(V2158+W2158<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2158=\"X\",$F2158=\"H\",$F2158=\"Z-ERROR\",AND($AA2158=\"H\",$AH2158)),$AE2158,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2158,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2158,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2158,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2158,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2158&\"1\",IF(NOT($AH2158),$E2158&\"U\",$AE2158)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2158","v":""},{"$f":"'Calculator Table'!BR2158","v":0},{"$f":"Calculate!AV2158","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2159","v":0},{"$f":"IF(F2159=\"X\",\"X\",(IF(F2159<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2159),0,Calculate!H2159),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2159),0,Calculate!N2159),IF(ISERROR(Calculate!J2159),0,Calculate!J2159))))))","v":0},{"$f":"IF(F2159=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2159),$C$2,Calculate!I2159),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2159),$C$2,Calculate!O2159),IF(ISERROR(Calculate!K2159),$C$2,Calculate!K2159))))","v":5.5},{"$f":"AF2159 & IF(OR($AH2159,RIGHT($AF2159,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2159","v":"S"},{"$f":"Calculate!Q2159","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2159=\"X\",$F2159=\"H\",$F2159=\"Z-ERROR\"),$F2159,IF($V2159>=RULES!$F$149,\"1\",IF($W2159>=RULES!$F$149,\"2\",IF($X2159>=RULES!$F$149,\"3\",IF($Y2159>=RULES!$F$149,\"4\",IF($Z2159>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2159<>\"*\",\"~\",IF($V2159>=RULES!$G$149,\"1?\",IF($W2159>=RULES!$G$149,\"2?\",IF($X2159>=RULES!$G$149,\"3?\",IF($Y2159>=RULES!$G$149,\"4?\",IF($Z2159>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2159<>\"*\",\"~\",IF((V2159+W2159>=RULES!$F$149),\"12\",IF((W2159+X2159>=RULES!$F$149),\"23\",IF((X2159+Y2159>=RULES!$F$149),\"34\",IF((Y2159+Z2159>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2159<>\"*\",\"~\",IF(Y2159+Z2159<(1-RULES!$F$149),\"13\",IF(V2159+Z2159<(1-RULES!$F$149),\"24\",IF(V2159+W2159<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2159=\"X\",$F2159=\"H\",$F2159=\"Z-ERROR\",AND($AA2159=\"H\",$AH2159)),$AE2159,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2159,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2159,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2159,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2159,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2159&\"1\",IF(NOT($AH2159),$E2159&\"U\",$AE2159)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2159","v":""},{"$f":"'Calculator Table'!BR2159","v":0},{"$f":"Calculate!AV2159","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2160","v":0},{"$f":"IF(F2160=\"X\",\"X\",(IF(F2160<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2160),0,Calculate!H2160),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2160),0,Calculate!N2160),IF(ISERROR(Calculate!J2160),0,Calculate!J2160))))))","v":0},{"$f":"IF(F2160=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2160),$C$2,Calculate!I2160),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2160),$C$2,Calculate!O2160),IF(ISERROR(Calculate!K2160),$C$2,Calculate!K2160))))","v":5.5},{"$f":"AF2160 & IF(OR($AH2160,RIGHT($AF2160,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2160","v":"S"},{"$f":"Calculate!Q2160","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2160=\"X\",$F2160=\"H\",$F2160=\"Z-ERROR\"),$F2160,IF($V2160>=RULES!$F$149,\"1\",IF($W2160>=RULES!$F$149,\"2\",IF($X2160>=RULES!$F$149,\"3\",IF($Y2160>=RULES!$F$149,\"4\",IF($Z2160>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2160<>\"*\",\"~\",IF($V2160>=RULES!$G$149,\"1?\",IF($W2160>=RULES!$G$149,\"2?\",IF($X2160>=RULES!$G$149,\"3?\",IF($Y2160>=RULES!$G$149,\"4?\",IF($Z2160>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2160<>\"*\",\"~\",IF((V2160+W2160>=RULES!$F$149),\"12\",IF((W2160+X2160>=RULES!$F$149),\"23\",IF((X2160+Y2160>=RULES!$F$149),\"34\",IF((Y2160+Z2160>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2160<>\"*\",\"~\",IF(Y2160+Z2160<(1-RULES!$F$149),\"13\",IF(V2160+Z2160<(1-RULES!$F$149),\"24\",IF(V2160+W2160<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2160=\"X\",$F2160=\"H\",$F2160=\"Z-ERROR\",AND($AA2160=\"H\",$AH2160)),$AE2160,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2160,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2160,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2160,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2160,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2160&\"1\",IF(NOT($AH2160),$E2160&\"U\",$AE2160)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2160","v":""},{"$f":"'Calculator Table'!BR2160","v":0},{"$f":"Calculate!AV2160","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2161","v":0},{"$f":"IF(F2161=\"X\",\"X\",(IF(F2161<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2161),0,Calculate!H2161),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2161),0,Calculate!N2161),IF(ISERROR(Calculate!J2161),0,Calculate!J2161))))))","v":0},{"$f":"IF(F2161=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2161),$C$2,Calculate!I2161),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2161),$C$2,Calculate!O2161),IF(ISERROR(Calculate!K2161),$C$2,Calculate!K2161))))","v":5.5},{"$f":"AF2161 & IF(OR($AH2161,RIGHT($AF2161,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2161","v":"S"},{"$f":"Calculate!Q2161","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2161=\"X\",$F2161=\"H\",$F2161=\"Z-ERROR\"),$F2161,IF($V2161>=RULES!$F$149,\"1\",IF($W2161>=RULES!$F$149,\"2\",IF($X2161>=RULES!$F$149,\"3\",IF($Y2161>=RULES!$F$149,\"4\",IF($Z2161>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2161<>\"*\",\"~\",IF($V2161>=RULES!$G$149,\"1?\",IF($W2161>=RULES!$G$149,\"2?\",IF($X2161>=RULES!$G$149,\"3?\",IF($Y2161>=RULES!$G$149,\"4?\",IF($Z2161>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2161<>\"*\",\"~\",IF((V2161+W2161>=RULES!$F$149),\"12\",IF((W2161+X2161>=RULES!$F$149),\"23\",IF((X2161+Y2161>=RULES!$F$149),\"34\",IF((Y2161+Z2161>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2161<>\"*\",\"~\",IF(Y2161+Z2161<(1-RULES!$F$149),\"13\",IF(V2161+Z2161<(1-RULES!$F$149),\"24\",IF(V2161+W2161<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2161=\"X\",$F2161=\"H\",$F2161=\"Z-ERROR\",AND($AA2161=\"H\",$AH2161)),$AE2161,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2161,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2161,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2161,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2161,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2161&\"1\",IF(NOT($AH2161),$E2161&\"U\",$AE2161)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2161","v":""},{"$f":"'Calculator Table'!BR2161","v":0},{"$f":"Calculate!AV2161","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2162","v":0},{"$f":"IF(F2162=\"X\",\"X\",(IF(F2162<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2162),0,Calculate!H2162),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2162),0,Calculate!N2162),IF(ISERROR(Calculate!J2162),0,Calculate!J2162))))))","v":0},{"$f":"IF(F2162=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2162),$C$2,Calculate!I2162),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2162),$C$2,Calculate!O2162),IF(ISERROR(Calculate!K2162),$C$2,Calculate!K2162))))","v":5.5},{"$f":"AF2162 & IF(OR($AH2162,RIGHT($AF2162,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2162","v":"S"},{"$f":"Calculate!Q2162","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2162=\"X\",$F2162=\"H\",$F2162=\"Z-ERROR\"),$F2162,IF($V2162>=RULES!$F$149,\"1\",IF($W2162>=RULES!$F$149,\"2\",IF($X2162>=RULES!$F$149,\"3\",IF($Y2162>=RULES!$F$149,\"4\",IF($Z2162>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2162<>\"*\",\"~\",IF($V2162>=RULES!$G$149,\"1?\",IF($W2162>=RULES!$G$149,\"2?\",IF($X2162>=RULES!$G$149,\"3?\",IF($Y2162>=RULES!$G$149,\"4?\",IF($Z2162>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2162<>\"*\",\"~\",IF((V2162+W2162>=RULES!$F$149),\"12\",IF((W2162+X2162>=RULES!$F$149),\"23\",IF((X2162+Y2162>=RULES!$F$149),\"34\",IF((Y2162+Z2162>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2162<>\"*\",\"~\",IF(Y2162+Z2162<(1-RULES!$F$149),\"13\",IF(V2162+Z2162<(1-RULES!$F$149),\"24\",IF(V2162+W2162<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2162=\"X\",$F2162=\"H\",$F2162=\"Z-ERROR\",AND($AA2162=\"H\",$AH2162)),$AE2162,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2162,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2162,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2162,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2162,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2162&\"1\",IF(NOT($AH2162),$E2162&\"U\",$AE2162)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2162","v":""},{"$f":"'Calculator Table'!BR2162","v":0},{"$f":"Calculate!AV2162","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2163","v":0},{"$f":"IF(F2163=\"X\",\"X\",(IF(F2163<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2163),0,Calculate!H2163),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2163),0,Calculate!N2163),IF(ISERROR(Calculate!J2163),0,Calculate!J2163))))))","v":0},{"$f":"IF(F2163=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2163),$C$2,Calculate!I2163),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2163),$C$2,Calculate!O2163),IF(ISERROR(Calculate!K2163),$C$2,Calculate!K2163))))","v":5.5},{"$f":"AF2163 & IF(OR($AH2163,RIGHT($AF2163,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2163","v":"S"},{"$f":"Calculate!Q2163","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2163=\"X\",$F2163=\"H\",$F2163=\"Z-ERROR\"),$F2163,IF($V2163>=RULES!$F$149,\"1\",IF($W2163>=RULES!$F$149,\"2\",IF($X2163>=RULES!$F$149,\"3\",IF($Y2163>=RULES!$F$149,\"4\",IF($Z2163>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2163<>\"*\",\"~\",IF($V2163>=RULES!$G$149,\"1?\",IF($W2163>=RULES!$G$149,\"2?\",IF($X2163>=RULES!$G$149,\"3?\",IF($Y2163>=RULES!$G$149,\"4?\",IF($Z2163>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2163<>\"*\",\"~\",IF((V2163+W2163>=RULES!$F$149),\"12\",IF((W2163+X2163>=RULES!$F$149),\"23\",IF((X2163+Y2163>=RULES!$F$149),\"34\",IF((Y2163+Z2163>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2163<>\"*\",\"~\",IF(Y2163+Z2163<(1-RULES!$F$149),\"13\",IF(V2163+Z2163<(1-RULES!$F$149),\"24\",IF(V2163+W2163<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2163=\"X\",$F2163=\"H\",$F2163=\"Z-ERROR\",AND($AA2163=\"H\",$AH2163)),$AE2163,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2163,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2163,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2163,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2163,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2163&\"1\",IF(NOT($AH2163),$E2163&\"U\",$AE2163)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2163","v":""},{"$f":"'Calculator Table'!BR2163","v":0},{"$f":"Calculate!AV2163","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2164","v":0},{"$f":"IF(F2164=\"X\",\"X\",(IF(F2164<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2164),0,Calculate!H2164),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2164),0,Calculate!N2164),IF(ISERROR(Calculate!J2164),0,Calculate!J2164))))))","v":0},{"$f":"IF(F2164=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2164),$C$2,Calculate!I2164),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2164),$C$2,Calculate!O2164),IF(ISERROR(Calculate!K2164),$C$2,Calculate!K2164))))","v":5.5},{"$f":"AF2164 & IF(OR($AH2164,RIGHT($AF2164,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2164","v":"S"},{"$f":"Calculate!Q2164","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2164=\"X\",$F2164=\"H\",$F2164=\"Z-ERROR\"),$F2164,IF($V2164>=RULES!$F$149,\"1\",IF($W2164>=RULES!$F$149,\"2\",IF($X2164>=RULES!$F$149,\"3\",IF($Y2164>=RULES!$F$149,\"4\",IF($Z2164>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2164<>\"*\",\"~\",IF($V2164>=RULES!$G$149,\"1?\",IF($W2164>=RULES!$G$149,\"2?\",IF($X2164>=RULES!$G$149,\"3?\",IF($Y2164>=RULES!$G$149,\"4?\",IF($Z2164>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2164<>\"*\",\"~\",IF((V2164+W2164>=RULES!$F$149),\"12\",IF((W2164+X2164>=RULES!$F$149),\"23\",IF((X2164+Y2164>=RULES!$F$149),\"34\",IF((Y2164+Z2164>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2164<>\"*\",\"~\",IF(Y2164+Z2164<(1-RULES!$F$149),\"13\",IF(V2164+Z2164<(1-RULES!$F$149),\"24\",IF(V2164+W2164<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2164=\"X\",$F2164=\"H\",$F2164=\"Z-ERROR\",AND($AA2164=\"H\",$AH2164)),$AE2164,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2164,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2164,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2164,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2164,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2164&\"1\",IF(NOT($AH2164),$E2164&\"U\",$AE2164)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2164","v":""},{"$f":"'Calculator Table'!BR2164","v":0},{"$f":"Calculate!AV2164","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2165","v":0},{"$f":"IF(F2165=\"X\",\"X\",(IF(F2165<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2165),0,Calculate!H2165),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2165),0,Calculate!N2165),IF(ISERROR(Calculate!J2165),0,Calculate!J2165))))))","v":0},{"$f":"IF(F2165=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2165),$C$2,Calculate!I2165),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2165),$C$2,Calculate!O2165),IF(ISERROR(Calculate!K2165),$C$2,Calculate!K2165))))","v":5.5},{"$f":"AF2165 & IF(OR($AH2165,RIGHT($AF2165,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2165","v":"S"},{"$f":"Calculate!Q2165","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2165=\"X\",$F2165=\"H\",$F2165=\"Z-ERROR\"),$F2165,IF($V2165>=RULES!$F$149,\"1\",IF($W2165>=RULES!$F$149,\"2\",IF($X2165>=RULES!$F$149,\"3\",IF($Y2165>=RULES!$F$149,\"4\",IF($Z2165>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2165<>\"*\",\"~\",IF($V2165>=RULES!$G$149,\"1?\",IF($W2165>=RULES!$G$149,\"2?\",IF($X2165>=RULES!$G$149,\"3?\",IF($Y2165>=RULES!$G$149,\"4?\",IF($Z2165>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2165<>\"*\",\"~\",IF((V2165+W2165>=RULES!$F$149),\"12\",IF((W2165+X2165>=RULES!$F$149),\"23\",IF((X2165+Y2165>=RULES!$F$149),\"34\",IF((Y2165+Z2165>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2165<>\"*\",\"~\",IF(Y2165+Z2165<(1-RULES!$F$149),\"13\",IF(V2165+Z2165<(1-RULES!$F$149),\"24\",IF(V2165+W2165<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2165=\"X\",$F2165=\"H\",$F2165=\"Z-ERROR\",AND($AA2165=\"H\",$AH2165)),$AE2165,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2165,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2165,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2165,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2165,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2165&\"1\",IF(NOT($AH2165),$E2165&\"U\",$AE2165)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2165","v":""},{"$f":"'Calculator Table'!BR2165","v":0},{"$f":"Calculate!AV2165","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2166","v":0},{"$f":"IF(F2166=\"X\",\"X\",(IF(F2166<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2166),0,Calculate!H2166),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2166),0,Calculate!N2166),IF(ISERROR(Calculate!J2166),0,Calculate!J2166))))))","v":0},{"$f":"IF(F2166=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2166),$C$2,Calculate!I2166),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2166),$C$2,Calculate!O2166),IF(ISERROR(Calculate!K2166),$C$2,Calculate!K2166))))","v":5.5},{"$f":"AF2166 & IF(OR($AH2166,RIGHT($AF2166,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2166","v":"S"},{"$f":"Calculate!Q2166","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2166=\"X\",$F2166=\"H\",$F2166=\"Z-ERROR\"),$F2166,IF($V2166>=RULES!$F$149,\"1\",IF($W2166>=RULES!$F$149,\"2\",IF($X2166>=RULES!$F$149,\"3\",IF($Y2166>=RULES!$F$149,\"4\",IF($Z2166>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2166<>\"*\",\"~\",IF($V2166>=RULES!$G$149,\"1?\",IF($W2166>=RULES!$G$149,\"2?\",IF($X2166>=RULES!$G$149,\"3?\",IF($Y2166>=RULES!$G$149,\"4?\",IF($Z2166>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2166<>\"*\",\"~\",IF((V2166+W2166>=RULES!$F$149),\"12\",IF((W2166+X2166>=RULES!$F$149),\"23\",IF((X2166+Y2166>=RULES!$F$149),\"34\",IF((Y2166+Z2166>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2166<>\"*\",\"~\",IF(Y2166+Z2166<(1-RULES!$F$149),\"13\",IF(V2166+Z2166<(1-RULES!$F$149),\"24\",IF(V2166+W2166<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2166=\"X\",$F2166=\"H\",$F2166=\"Z-ERROR\",AND($AA2166=\"H\",$AH2166)),$AE2166,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2166,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2166,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2166,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2166,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2166&\"1\",IF(NOT($AH2166),$E2166&\"U\",$AE2166)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2166","v":""},{"$f":"'Calculator Table'!BR2166","v":0},{"$f":"Calculate!AV2166","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2167","v":0},{"$f":"IF(F2167=\"X\",\"X\",(IF(F2167<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2167),0,Calculate!H2167),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2167),0,Calculate!N2167),IF(ISERROR(Calculate!J2167),0,Calculate!J2167))))))","v":0},{"$f":"IF(F2167=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2167),$C$2,Calculate!I2167),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2167),$C$2,Calculate!O2167),IF(ISERROR(Calculate!K2167),$C$2,Calculate!K2167))))","v":5.5},{"$f":"AF2167 & IF(OR($AH2167,RIGHT($AF2167,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2167","v":"S"},{"$f":"Calculate!Q2167","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2167=\"X\",$F2167=\"H\",$F2167=\"Z-ERROR\"),$F2167,IF($V2167>=RULES!$F$149,\"1\",IF($W2167>=RULES!$F$149,\"2\",IF($X2167>=RULES!$F$149,\"3\",IF($Y2167>=RULES!$F$149,\"4\",IF($Z2167>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2167<>\"*\",\"~\",IF($V2167>=RULES!$G$149,\"1?\",IF($W2167>=RULES!$G$149,\"2?\",IF($X2167>=RULES!$G$149,\"3?\",IF($Y2167>=RULES!$G$149,\"4?\",IF($Z2167>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2167<>\"*\",\"~\",IF((V2167+W2167>=RULES!$F$149),\"12\",IF((W2167+X2167>=RULES!$F$149),\"23\",IF((X2167+Y2167>=RULES!$F$149),\"34\",IF((Y2167+Z2167>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2167<>\"*\",\"~\",IF(Y2167+Z2167<(1-RULES!$F$149),\"13\",IF(V2167+Z2167<(1-RULES!$F$149),\"24\",IF(V2167+W2167<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2167=\"X\",$F2167=\"H\",$F2167=\"Z-ERROR\",AND($AA2167=\"H\",$AH2167)),$AE2167,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2167,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2167,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2167,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2167,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2167&\"1\",IF(NOT($AH2167),$E2167&\"U\",$AE2167)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2167","v":""},{"$f":"'Calculator Table'!BR2167","v":0},{"$f":"Calculate!AV2167","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2168","v":0},{"$f":"IF(F2168=\"X\",\"X\",(IF(F2168<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2168),0,Calculate!H2168),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2168),0,Calculate!N2168),IF(ISERROR(Calculate!J2168),0,Calculate!J2168))))))","v":0},{"$f":"IF(F2168=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2168),$C$2,Calculate!I2168),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2168),$C$2,Calculate!O2168),IF(ISERROR(Calculate!K2168),$C$2,Calculate!K2168))))","v":5.5},{"$f":"AF2168 & IF(OR($AH2168,RIGHT($AF2168,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2168","v":"S"},{"$f":"Calculate!Q2168","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2168=\"X\",$F2168=\"H\",$F2168=\"Z-ERROR\"),$F2168,IF($V2168>=RULES!$F$149,\"1\",IF($W2168>=RULES!$F$149,\"2\",IF($X2168>=RULES!$F$149,\"3\",IF($Y2168>=RULES!$F$149,\"4\",IF($Z2168>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2168<>\"*\",\"~\",IF($V2168>=RULES!$G$149,\"1?\",IF($W2168>=RULES!$G$149,\"2?\",IF($X2168>=RULES!$G$149,\"3?\",IF($Y2168>=RULES!$G$149,\"4?\",IF($Z2168>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2168<>\"*\",\"~\",IF((V2168+W2168>=RULES!$F$149),\"12\",IF((W2168+X2168>=RULES!$F$149),\"23\",IF((X2168+Y2168>=RULES!$F$149),\"34\",IF((Y2168+Z2168>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2168<>\"*\",\"~\",IF(Y2168+Z2168<(1-RULES!$F$149),\"13\",IF(V2168+Z2168<(1-RULES!$F$149),\"24\",IF(V2168+W2168<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2168=\"X\",$F2168=\"H\",$F2168=\"Z-ERROR\",AND($AA2168=\"H\",$AH2168)),$AE2168,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2168,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2168,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2168,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2168,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2168&\"1\",IF(NOT($AH2168),$E2168&\"U\",$AE2168)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2168","v":""},{"$f":"'Calculator Table'!BR2168","v":0},{"$f":"Calculate!AV2168","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2169","v":0},{"$f":"IF(F2169=\"X\",\"X\",(IF(F2169<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2169),0,Calculate!H2169),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2169),0,Calculate!N2169),IF(ISERROR(Calculate!J2169),0,Calculate!J2169))))))","v":0},{"$f":"IF(F2169=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2169),$C$2,Calculate!I2169),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2169),$C$2,Calculate!O2169),IF(ISERROR(Calculate!K2169),$C$2,Calculate!K2169))))","v":5.5},{"$f":"AF2169 & IF(OR($AH2169,RIGHT($AF2169,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2169","v":"S"},{"$f":"Calculate!Q2169","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2169=\"X\",$F2169=\"H\",$F2169=\"Z-ERROR\"),$F2169,IF($V2169>=RULES!$F$149,\"1\",IF($W2169>=RULES!$F$149,\"2\",IF($X2169>=RULES!$F$149,\"3\",IF($Y2169>=RULES!$F$149,\"4\",IF($Z2169>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2169<>\"*\",\"~\",IF($V2169>=RULES!$G$149,\"1?\",IF($W2169>=RULES!$G$149,\"2?\",IF($X2169>=RULES!$G$149,\"3?\",IF($Y2169>=RULES!$G$149,\"4?\",IF($Z2169>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2169<>\"*\",\"~\",IF((V2169+W2169>=RULES!$F$149),\"12\",IF((W2169+X2169>=RULES!$F$149),\"23\",IF((X2169+Y2169>=RULES!$F$149),\"34\",IF((Y2169+Z2169>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2169<>\"*\",\"~\",IF(Y2169+Z2169<(1-RULES!$F$149),\"13\",IF(V2169+Z2169<(1-RULES!$F$149),\"24\",IF(V2169+W2169<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2169=\"X\",$F2169=\"H\",$F2169=\"Z-ERROR\",AND($AA2169=\"H\",$AH2169)),$AE2169,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2169,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2169,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2169,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2169,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2169&\"1\",IF(NOT($AH2169),$E2169&\"U\",$AE2169)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2169","v":""},{"$f":"'Calculator Table'!BR2169","v":0},{"$f":"Calculate!AV2169","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2170","v":0},{"$f":"IF(F2170=\"X\",\"X\",(IF(F2170<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2170),0,Calculate!H2170),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2170),0,Calculate!N2170),IF(ISERROR(Calculate!J2170),0,Calculate!J2170))))))","v":0},{"$f":"IF(F2170=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2170),$C$2,Calculate!I2170),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2170),$C$2,Calculate!O2170),IF(ISERROR(Calculate!K2170),$C$2,Calculate!K2170))))","v":5.5},{"$f":"AF2170 & IF(OR($AH2170,RIGHT($AF2170,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2170","v":"S"},{"$f":"Calculate!Q2170","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2170=\"X\",$F2170=\"H\",$F2170=\"Z-ERROR\"),$F2170,IF($V2170>=RULES!$F$149,\"1\",IF($W2170>=RULES!$F$149,\"2\",IF($X2170>=RULES!$F$149,\"3\",IF($Y2170>=RULES!$F$149,\"4\",IF($Z2170>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2170<>\"*\",\"~\",IF($V2170>=RULES!$G$149,\"1?\",IF($W2170>=RULES!$G$149,\"2?\",IF($X2170>=RULES!$G$149,\"3?\",IF($Y2170>=RULES!$G$149,\"4?\",IF($Z2170>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2170<>\"*\",\"~\",IF((V2170+W2170>=RULES!$F$149),\"12\",IF((W2170+X2170>=RULES!$F$149),\"23\",IF((X2170+Y2170>=RULES!$F$149),\"34\",IF((Y2170+Z2170>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2170<>\"*\",\"~\",IF(Y2170+Z2170<(1-RULES!$F$149),\"13\",IF(V2170+Z2170<(1-RULES!$F$149),\"24\",IF(V2170+W2170<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2170=\"X\",$F2170=\"H\",$F2170=\"Z-ERROR\",AND($AA2170=\"H\",$AH2170)),$AE2170,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2170,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2170,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2170,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2170,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2170&\"1\",IF(NOT($AH2170),$E2170&\"U\",$AE2170)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2170","v":""},{"$f":"'Calculator Table'!BR2170","v":0},{"$f":"Calculate!AV2170","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2171","v":0},{"$f":"IF(F2171=\"X\",\"X\",(IF(F2171<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2171),0,Calculate!H2171),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2171),0,Calculate!N2171),IF(ISERROR(Calculate!J2171),0,Calculate!J2171))))))","v":0},{"$f":"IF(F2171=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2171),$C$2,Calculate!I2171),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2171),$C$2,Calculate!O2171),IF(ISERROR(Calculate!K2171),$C$2,Calculate!K2171))))","v":5.5},{"$f":"AF2171 & IF(OR($AH2171,RIGHT($AF2171,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2171","v":"S"},{"$f":"Calculate!Q2171","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2171=\"X\",$F2171=\"H\",$F2171=\"Z-ERROR\"),$F2171,IF($V2171>=RULES!$F$149,\"1\",IF($W2171>=RULES!$F$149,\"2\",IF($X2171>=RULES!$F$149,\"3\",IF($Y2171>=RULES!$F$149,\"4\",IF($Z2171>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2171<>\"*\",\"~\",IF($V2171>=RULES!$G$149,\"1?\",IF($W2171>=RULES!$G$149,\"2?\",IF($X2171>=RULES!$G$149,\"3?\",IF($Y2171>=RULES!$G$149,\"4?\",IF($Z2171>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2171<>\"*\",\"~\",IF((V2171+W2171>=RULES!$F$149),\"12\",IF((W2171+X2171>=RULES!$F$149),\"23\",IF((X2171+Y2171>=RULES!$F$149),\"34\",IF((Y2171+Z2171>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2171<>\"*\",\"~\",IF(Y2171+Z2171<(1-RULES!$F$149),\"13\",IF(V2171+Z2171<(1-RULES!$F$149),\"24\",IF(V2171+W2171<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2171=\"X\",$F2171=\"H\",$F2171=\"Z-ERROR\",AND($AA2171=\"H\",$AH2171)),$AE2171,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2171,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2171,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2171,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2171,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2171&\"1\",IF(NOT($AH2171),$E2171&\"U\",$AE2171)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2171","v":""},{"$f":"'Calculator Table'!BR2171","v":0},{"$f":"Calculate!AV2171","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2172","v":0},{"$f":"IF(F2172=\"X\",\"X\",(IF(F2172<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2172),0,Calculate!H2172),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2172),0,Calculate!N2172),IF(ISERROR(Calculate!J2172),0,Calculate!J2172))))))","v":0},{"$f":"IF(F2172=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2172),$C$2,Calculate!I2172),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2172),$C$2,Calculate!O2172),IF(ISERROR(Calculate!K2172),$C$2,Calculate!K2172))))","v":5.5},{"$f":"AF2172 & IF(OR($AH2172,RIGHT($AF2172,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2172","v":"S"},{"$f":"Calculate!Q2172","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2172=\"X\",$F2172=\"H\",$F2172=\"Z-ERROR\"),$F2172,IF($V2172>=RULES!$F$149,\"1\",IF($W2172>=RULES!$F$149,\"2\",IF($X2172>=RULES!$F$149,\"3\",IF($Y2172>=RULES!$F$149,\"4\",IF($Z2172>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2172<>\"*\",\"~\",IF($V2172>=RULES!$G$149,\"1?\",IF($W2172>=RULES!$G$149,\"2?\",IF($X2172>=RULES!$G$149,\"3?\",IF($Y2172>=RULES!$G$149,\"4?\",IF($Z2172>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2172<>\"*\",\"~\",IF((V2172+W2172>=RULES!$F$149),\"12\",IF((W2172+X2172>=RULES!$F$149),\"23\",IF((X2172+Y2172>=RULES!$F$149),\"34\",IF((Y2172+Z2172>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2172<>\"*\",\"~\",IF(Y2172+Z2172<(1-RULES!$F$149),\"13\",IF(V2172+Z2172<(1-RULES!$F$149),\"24\",IF(V2172+W2172<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2172=\"X\",$F2172=\"H\",$F2172=\"Z-ERROR\",AND($AA2172=\"H\",$AH2172)),$AE2172,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2172,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2172,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2172,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2172,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2172&\"1\",IF(NOT($AH2172),$E2172&\"U\",$AE2172)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2172","v":""},{"$f":"'Calculator Table'!BR2172","v":0},{"$f":"Calculate!AV2172","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2173","v":0},{"$f":"IF(F2173=\"X\",\"X\",(IF(F2173<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2173),0,Calculate!H2173),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2173),0,Calculate!N2173),IF(ISERROR(Calculate!J2173),0,Calculate!J2173))))))","v":0},{"$f":"IF(F2173=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2173),$C$2,Calculate!I2173),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2173),$C$2,Calculate!O2173),IF(ISERROR(Calculate!K2173),$C$2,Calculate!K2173))))","v":5.5},{"$f":"AF2173 & IF(OR($AH2173,RIGHT($AF2173,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2173","v":"S"},{"$f":"Calculate!Q2173","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2173=\"X\",$F2173=\"H\",$F2173=\"Z-ERROR\"),$F2173,IF($V2173>=RULES!$F$149,\"1\",IF($W2173>=RULES!$F$149,\"2\",IF($X2173>=RULES!$F$149,\"3\",IF($Y2173>=RULES!$F$149,\"4\",IF($Z2173>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2173<>\"*\",\"~\",IF($V2173>=RULES!$G$149,\"1?\",IF($W2173>=RULES!$G$149,\"2?\",IF($X2173>=RULES!$G$149,\"3?\",IF($Y2173>=RULES!$G$149,\"4?\",IF($Z2173>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2173<>\"*\",\"~\",IF((V2173+W2173>=RULES!$F$149),\"12\",IF((W2173+X2173>=RULES!$F$149),\"23\",IF((X2173+Y2173>=RULES!$F$149),\"34\",IF((Y2173+Z2173>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2173<>\"*\",\"~\",IF(Y2173+Z2173<(1-RULES!$F$149),\"13\",IF(V2173+Z2173<(1-RULES!$F$149),\"24\",IF(V2173+W2173<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2173=\"X\",$F2173=\"H\",$F2173=\"Z-ERROR\",AND($AA2173=\"H\",$AH2173)),$AE2173,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2173,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2173,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2173,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2173,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2173&\"1\",IF(NOT($AH2173),$E2173&\"U\",$AE2173)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2173","v":""},{"$f":"'Calculator Table'!BR2173","v":0},{"$f":"Calculate!AV2173","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2174","v":0},{"$f":"IF(F2174=\"X\",\"X\",(IF(F2174<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2174),0,Calculate!H2174),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2174),0,Calculate!N2174),IF(ISERROR(Calculate!J2174),0,Calculate!J2174))))))","v":0},{"$f":"IF(F2174=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2174),$C$2,Calculate!I2174),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2174),$C$2,Calculate!O2174),IF(ISERROR(Calculate!K2174),$C$2,Calculate!K2174))))","v":5.5},{"$f":"AF2174 & IF(OR($AH2174,RIGHT($AF2174,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2174","v":"S"},{"$f":"Calculate!Q2174","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2174=\"X\",$F2174=\"H\",$F2174=\"Z-ERROR\"),$F2174,IF($V2174>=RULES!$F$149,\"1\",IF($W2174>=RULES!$F$149,\"2\",IF($X2174>=RULES!$F$149,\"3\",IF($Y2174>=RULES!$F$149,\"4\",IF($Z2174>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2174<>\"*\",\"~\",IF($V2174>=RULES!$G$149,\"1?\",IF($W2174>=RULES!$G$149,\"2?\",IF($X2174>=RULES!$G$149,\"3?\",IF($Y2174>=RULES!$G$149,\"4?\",IF($Z2174>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2174<>\"*\",\"~\",IF((V2174+W2174>=RULES!$F$149),\"12\",IF((W2174+X2174>=RULES!$F$149),\"23\",IF((X2174+Y2174>=RULES!$F$149),\"34\",IF((Y2174+Z2174>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2174<>\"*\",\"~\",IF(Y2174+Z2174<(1-RULES!$F$149),\"13\",IF(V2174+Z2174<(1-RULES!$F$149),\"24\",IF(V2174+W2174<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2174=\"X\",$F2174=\"H\",$F2174=\"Z-ERROR\",AND($AA2174=\"H\",$AH2174)),$AE2174,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2174,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2174,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2174,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2174,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2174&\"1\",IF(NOT($AH2174),$E2174&\"U\",$AE2174)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2174","v":""},{"$f":"'Calculator Table'!BR2174","v":0},{"$f":"Calculate!AV2174","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2175","v":0},{"$f":"IF(F2175=\"X\",\"X\",(IF(F2175<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2175),0,Calculate!H2175),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2175),0,Calculate!N2175),IF(ISERROR(Calculate!J2175),0,Calculate!J2175))))))","v":0},{"$f":"IF(F2175=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2175),$C$2,Calculate!I2175),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2175),$C$2,Calculate!O2175),IF(ISERROR(Calculate!K2175),$C$2,Calculate!K2175))))","v":5.5},{"$f":"AF2175 & IF(OR($AH2175,RIGHT($AF2175,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2175","v":"S"},{"$f":"Calculate!Q2175","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2175=\"X\",$F2175=\"H\",$F2175=\"Z-ERROR\"),$F2175,IF($V2175>=RULES!$F$149,\"1\",IF($W2175>=RULES!$F$149,\"2\",IF($X2175>=RULES!$F$149,\"3\",IF($Y2175>=RULES!$F$149,\"4\",IF($Z2175>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2175<>\"*\",\"~\",IF($V2175>=RULES!$G$149,\"1?\",IF($W2175>=RULES!$G$149,\"2?\",IF($X2175>=RULES!$G$149,\"3?\",IF($Y2175>=RULES!$G$149,\"4?\",IF($Z2175>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2175<>\"*\",\"~\",IF((V2175+W2175>=RULES!$F$149),\"12\",IF((W2175+X2175>=RULES!$F$149),\"23\",IF((X2175+Y2175>=RULES!$F$149),\"34\",IF((Y2175+Z2175>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2175<>\"*\",\"~\",IF(Y2175+Z2175<(1-RULES!$F$149),\"13\",IF(V2175+Z2175<(1-RULES!$F$149),\"24\",IF(V2175+W2175<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2175=\"X\",$F2175=\"H\",$F2175=\"Z-ERROR\",AND($AA2175=\"H\",$AH2175)),$AE2175,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2175,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2175,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2175,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2175,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2175&\"1\",IF(NOT($AH2175),$E2175&\"U\",$AE2175)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2175","v":""},{"$f":"'Calculator Table'!BR2175","v":0},{"$f":"Calculate!AV2175","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2176","v":0},{"$f":"IF(F2176=\"X\",\"X\",(IF(F2176<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2176),0,Calculate!H2176),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2176),0,Calculate!N2176),IF(ISERROR(Calculate!J2176),0,Calculate!J2176))))))","v":0},{"$f":"IF(F2176=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2176),$C$2,Calculate!I2176),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2176),$C$2,Calculate!O2176),IF(ISERROR(Calculate!K2176),$C$2,Calculate!K2176))))","v":5.5},{"$f":"AF2176 & IF(OR($AH2176,RIGHT($AF2176,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2176","v":"S"},{"$f":"Calculate!Q2176","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2176=\"X\",$F2176=\"H\",$F2176=\"Z-ERROR\"),$F2176,IF($V2176>=RULES!$F$149,\"1\",IF($W2176>=RULES!$F$149,\"2\",IF($X2176>=RULES!$F$149,\"3\",IF($Y2176>=RULES!$F$149,\"4\",IF($Z2176>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2176<>\"*\",\"~\",IF($V2176>=RULES!$G$149,\"1?\",IF($W2176>=RULES!$G$149,\"2?\",IF($X2176>=RULES!$G$149,\"3?\",IF($Y2176>=RULES!$G$149,\"4?\",IF($Z2176>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2176<>\"*\",\"~\",IF((V2176+W2176>=RULES!$F$149),\"12\",IF((W2176+X2176>=RULES!$F$149),\"23\",IF((X2176+Y2176>=RULES!$F$149),\"34\",IF((Y2176+Z2176>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2176<>\"*\",\"~\",IF(Y2176+Z2176<(1-RULES!$F$149),\"13\",IF(V2176+Z2176<(1-RULES!$F$149),\"24\",IF(V2176+W2176<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2176=\"X\",$F2176=\"H\",$F2176=\"Z-ERROR\",AND($AA2176=\"H\",$AH2176)),$AE2176,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2176,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2176,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2176,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2176,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2176&\"1\",IF(NOT($AH2176),$E2176&\"U\",$AE2176)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2176","v":""},{"$f":"'Calculator Table'!BR2176","v":0},{"$f":"Calculate!AV2176","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2177","v":0},{"$f":"IF(F2177=\"X\",\"X\",(IF(F2177<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2177),0,Calculate!H2177),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2177),0,Calculate!N2177),IF(ISERROR(Calculate!J2177),0,Calculate!J2177))))))","v":0},{"$f":"IF(F2177=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2177),$C$2,Calculate!I2177),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2177),$C$2,Calculate!O2177),IF(ISERROR(Calculate!K2177),$C$2,Calculate!K2177))))","v":5.5},{"$f":"AF2177 & IF(OR($AH2177,RIGHT($AF2177,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2177","v":"S"},{"$f":"Calculate!Q2177","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2177=\"X\",$F2177=\"H\",$F2177=\"Z-ERROR\"),$F2177,IF($V2177>=RULES!$F$149,\"1\",IF($W2177>=RULES!$F$149,\"2\",IF($X2177>=RULES!$F$149,\"3\",IF($Y2177>=RULES!$F$149,\"4\",IF($Z2177>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2177<>\"*\",\"~\",IF($V2177>=RULES!$G$149,\"1?\",IF($W2177>=RULES!$G$149,\"2?\",IF($X2177>=RULES!$G$149,\"3?\",IF($Y2177>=RULES!$G$149,\"4?\",IF($Z2177>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2177<>\"*\",\"~\",IF((V2177+W2177>=RULES!$F$149),\"12\",IF((W2177+X2177>=RULES!$F$149),\"23\",IF((X2177+Y2177>=RULES!$F$149),\"34\",IF((Y2177+Z2177>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2177<>\"*\",\"~\",IF(Y2177+Z2177<(1-RULES!$F$149),\"13\",IF(V2177+Z2177<(1-RULES!$F$149),\"24\",IF(V2177+W2177<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2177=\"X\",$F2177=\"H\",$F2177=\"Z-ERROR\",AND($AA2177=\"H\",$AH2177)),$AE2177,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2177,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2177,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2177,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2177,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2177&\"1\",IF(NOT($AH2177),$E2177&\"U\",$AE2177)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2177","v":""},{"$f":"'Calculator Table'!BR2177","v":0},{"$f":"Calculate!AV2177","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2178","v":0},{"$f":"IF(F2178=\"X\",\"X\",(IF(F2178<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2178),0,Calculate!H2178),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2178),0,Calculate!N2178),IF(ISERROR(Calculate!J2178),0,Calculate!J2178))))))","v":0},{"$f":"IF(F2178=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2178),$C$2,Calculate!I2178),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2178),$C$2,Calculate!O2178),IF(ISERROR(Calculate!K2178),$C$2,Calculate!K2178))))","v":5.5},{"$f":"AF2178 & IF(OR($AH2178,RIGHT($AF2178,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2178","v":"S"},{"$f":"Calculate!Q2178","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2178=\"X\",$F2178=\"H\",$F2178=\"Z-ERROR\"),$F2178,IF($V2178>=RULES!$F$149,\"1\",IF($W2178>=RULES!$F$149,\"2\",IF($X2178>=RULES!$F$149,\"3\",IF($Y2178>=RULES!$F$149,\"4\",IF($Z2178>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2178<>\"*\",\"~\",IF($V2178>=RULES!$G$149,\"1?\",IF($W2178>=RULES!$G$149,\"2?\",IF($X2178>=RULES!$G$149,\"3?\",IF($Y2178>=RULES!$G$149,\"4?\",IF($Z2178>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2178<>\"*\",\"~\",IF((V2178+W2178>=RULES!$F$149),\"12\",IF((W2178+X2178>=RULES!$F$149),\"23\",IF((X2178+Y2178>=RULES!$F$149),\"34\",IF((Y2178+Z2178>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2178<>\"*\",\"~\",IF(Y2178+Z2178<(1-RULES!$F$149),\"13\",IF(V2178+Z2178<(1-RULES!$F$149),\"24\",IF(V2178+W2178<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2178=\"X\",$F2178=\"H\",$F2178=\"Z-ERROR\",AND($AA2178=\"H\",$AH2178)),$AE2178,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2178,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2178,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2178,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2178,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2178&\"1\",IF(NOT($AH2178),$E2178&\"U\",$AE2178)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2178","v":""},{"$f":"'Calculator Table'!BR2178","v":0},{"$f":"Calculate!AV2178","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2179","v":0},{"$f":"IF(F2179=\"X\",\"X\",(IF(F2179<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2179),0,Calculate!H2179),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2179),0,Calculate!N2179),IF(ISERROR(Calculate!J2179),0,Calculate!J2179))))))","v":0},{"$f":"IF(F2179=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2179),$C$2,Calculate!I2179),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2179),$C$2,Calculate!O2179),IF(ISERROR(Calculate!K2179),$C$2,Calculate!K2179))))","v":5.5},{"$f":"AF2179 & IF(OR($AH2179,RIGHT($AF2179,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2179","v":"S"},{"$f":"Calculate!Q2179","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2179=\"X\",$F2179=\"H\",$F2179=\"Z-ERROR\"),$F2179,IF($V2179>=RULES!$F$149,\"1\",IF($W2179>=RULES!$F$149,\"2\",IF($X2179>=RULES!$F$149,\"3\",IF($Y2179>=RULES!$F$149,\"4\",IF($Z2179>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2179<>\"*\",\"~\",IF($V2179>=RULES!$G$149,\"1?\",IF($W2179>=RULES!$G$149,\"2?\",IF($X2179>=RULES!$G$149,\"3?\",IF($Y2179>=RULES!$G$149,\"4?\",IF($Z2179>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2179<>\"*\",\"~\",IF((V2179+W2179>=RULES!$F$149),\"12\",IF((W2179+X2179>=RULES!$F$149),\"23\",IF((X2179+Y2179>=RULES!$F$149),\"34\",IF((Y2179+Z2179>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2179<>\"*\",\"~\",IF(Y2179+Z2179<(1-RULES!$F$149),\"13\",IF(V2179+Z2179<(1-RULES!$F$149),\"24\",IF(V2179+W2179<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2179=\"X\",$F2179=\"H\",$F2179=\"Z-ERROR\",AND($AA2179=\"H\",$AH2179)),$AE2179,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2179,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2179,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2179,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2179,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2179&\"1\",IF(NOT($AH2179),$E2179&\"U\",$AE2179)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2179","v":""},{"$f":"'Calculator Table'!BR2179","v":0},{"$f":"Calculate!AV2179","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2180","v":0},{"$f":"IF(F2180=\"X\",\"X\",(IF(F2180<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2180),0,Calculate!H2180),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2180),0,Calculate!N2180),IF(ISERROR(Calculate!J2180),0,Calculate!J2180))))))","v":0},{"$f":"IF(F2180=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2180),$C$2,Calculate!I2180),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2180),$C$2,Calculate!O2180),IF(ISERROR(Calculate!K2180),$C$2,Calculate!K2180))))","v":5.5},{"$f":"AF2180 & IF(OR($AH2180,RIGHT($AF2180,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2180","v":"S"},{"$f":"Calculate!Q2180","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2180=\"X\",$F2180=\"H\",$F2180=\"Z-ERROR\"),$F2180,IF($V2180>=RULES!$F$149,\"1\",IF($W2180>=RULES!$F$149,\"2\",IF($X2180>=RULES!$F$149,\"3\",IF($Y2180>=RULES!$F$149,\"4\",IF($Z2180>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2180<>\"*\",\"~\",IF($V2180>=RULES!$G$149,\"1?\",IF($W2180>=RULES!$G$149,\"2?\",IF($X2180>=RULES!$G$149,\"3?\",IF($Y2180>=RULES!$G$149,\"4?\",IF($Z2180>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2180<>\"*\",\"~\",IF((V2180+W2180>=RULES!$F$149),\"12\",IF((W2180+X2180>=RULES!$F$149),\"23\",IF((X2180+Y2180>=RULES!$F$149),\"34\",IF((Y2180+Z2180>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2180<>\"*\",\"~\",IF(Y2180+Z2180<(1-RULES!$F$149),\"13\",IF(V2180+Z2180<(1-RULES!$F$149),\"24\",IF(V2180+W2180<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2180=\"X\",$F2180=\"H\",$F2180=\"Z-ERROR\",AND($AA2180=\"H\",$AH2180)),$AE2180,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2180,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2180,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2180,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2180,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2180&\"1\",IF(NOT($AH2180),$E2180&\"U\",$AE2180)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2180","v":""},{"$f":"'Calculator Table'!BR2180","v":0},{"$f":"Calculate!AV2180","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2181","v":0},{"$f":"IF(F2181=\"X\",\"X\",(IF(F2181<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2181),0,Calculate!H2181),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2181),0,Calculate!N2181),IF(ISERROR(Calculate!J2181),0,Calculate!J2181))))))","v":0},{"$f":"IF(F2181=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2181),$C$2,Calculate!I2181),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2181),$C$2,Calculate!O2181),IF(ISERROR(Calculate!K2181),$C$2,Calculate!K2181))))","v":5.5},{"$f":"AF2181 & IF(OR($AH2181,RIGHT($AF2181,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2181","v":"S"},{"$f":"Calculate!Q2181","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,{"$f":"IF($J2181<=1.5,IF($K2181<=1.5,$L2181,1.5-$J2181),0)","v":1.5},{"$f":"IF($J2181<=2.5,IF($K2181<=2.5,$L2181,2.5-$J2181),0)","v":2.5},{"$f":"IF($J2181<=3.5,IF($K2181<=3.5,$L2181,3.5-$J2181),0)","v":3.5},{"$f":"IF($J2181<=4.5,IF($K2181<=4.5,$L2181,4.5-$J2181),0)","v":4.5},{"$f":"IF($K2181<=1.5,0,IF($J2181>1.5,$L2181,$K2181-1.5))","v":4},{"$f":"IF($K2181<=2.5,0,IF($J2181>2.5,$L2181,$K2181-2.5))","v":3},{"$f":"IF($K2181<=3.5,0,IF($J2181>3.5,$L2181,$K2181-3.5))","v":2},{"$f":"IF($K2181<=4.5,0,IF($J2181>4.5,$L2181,$K2181-4.5))","v":1},0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2181=\"X\",$F2181=\"H\",$F2181=\"Z-ERROR\"),$F2181,IF($V2181>=RULES!$F$149,\"1\",IF($W2181>=RULES!$F$149,\"2\",IF($X2181>=RULES!$F$149,\"3\",IF($Y2181>=RULES!$F$149,\"4\",IF($Z2181>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2181<>\"*\",\"~\",IF($V2181>=RULES!$G$149,\"1?\",IF($W2181>=RULES!$G$149,\"2?\",IF($X2181>=RULES!$G$149,\"3?\",IF($Y2181>=RULES!$G$149,\"4?\",IF($Z2181>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2181<>\"*\",\"~\",IF((V2181+W2181>=RULES!$F$149),\"12\",IF((W2181+X2181>=RULES!$F$149),\"23\",IF((X2181+Y2181>=RULES!$F$149),\"34\",IF((Y2181+Z2181>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2181<>\"*\",\"~\",IF(Y2181+Z2181<(1-RULES!$F$149),\"13\",IF(V2181+Z2181<(1-RULES!$F$149),\"24\",IF(V2181+W2181<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2181=\"X\",$F2181=\"H\",$F2181=\"Z-ERROR\",AND($AA2181=\"H\",$AH2181)),$AE2181,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2181,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2181,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2181,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2181,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2181&\"1\",IF(NOT($AH2181),$E2181&\"U\",$AE2181)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2181","v":""},{"$f":"'Calculator Table'!BR2181","v":0},{"$f":"Calculate!AV2181","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2182","v":0},{"$f":"IF(F2182=\"X\",\"X\",(IF(F2182<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2182),0,Calculate!H2182),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2182),0,Calculate!N2182),IF(ISERROR(Calculate!J2182),0,Calculate!J2182))))))","v":0},{"$f":"IF(F2182=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2182),$C$2,Calculate!I2182),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2182),$C$2,Calculate!O2182),IF(ISERROR(Calculate!K2182),$C$2,Calculate!K2182))))","v":5.5},{"$f":"AF2182 & IF(OR($AH2182,RIGHT($AF2182,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2182","v":"S"},{"$f":"Calculate!Q2182","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2182=\"X\",$F2182=\"H\",$F2182=\"Z-ERROR\"),$F2182,IF($V2182>=RULES!$F$149,\"1\",IF($W2182>=RULES!$F$149,\"2\",IF($X2182>=RULES!$F$149,\"3\",IF($Y2182>=RULES!$F$149,\"4\",IF($Z2182>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2182<>\"*\",\"~\",IF($V2182>=RULES!$G$149,\"1?\",IF($W2182>=RULES!$G$149,\"2?\",IF($X2182>=RULES!$G$149,\"3?\",IF($Y2182>=RULES!$G$149,\"4?\",IF($Z2182>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2182<>\"*\",\"~\",IF((V2182+W2182>=RULES!$F$149),\"12\",IF((W2182+X2182>=RULES!$F$149),\"23\",IF((X2182+Y2182>=RULES!$F$149),\"34\",IF((Y2182+Z2182>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2182<>\"*\",\"~\",IF(Y2182+Z2182<(1-RULES!$F$149),\"13\",IF(V2182+Z2182<(1-RULES!$F$149),\"24\",IF(V2182+W2182<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2182=\"X\",$F2182=\"H\",$F2182=\"Z-ERROR\",AND($AA2182=\"H\",$AH2182)),$AE2182,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2182,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2182,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2182,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2182,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2182&\"1\",IF(NOT($AH2182),$E2182&\"U\",$AE2182)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2182","v":""},{"$f":"'Calculator Table'!BR2182","v":0},{"$f":"Calculate!AV2182","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2183","v":0},{"$f":"IF(F2183=\"X\",\"X\",(IF(F2183<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2183),0,Calculate!H2183),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2183),0,Calculate!N2183),IF(ISERROR(Calculate!J2183),0,Calculate!J2183))))))","v":0},{"$f":"IF(F2183=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2183),$C$2,Calculate!I2183),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2183),$C$2,Calculate!O2183),IF(ISERROR(Calculate!K2183),$C$2,Calculate!K2183))))","v":5.5},{"$f":"AF2183 & IF(OR($AH2183,RIGHT($AF2183,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2183","v":"S"},{"$f":"Calculate!Q2183","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2183=\"X\",$F2183=\"H\",$F2183=\"Z-ERROR\"),$F2183,IF($V2183>=RULES!$F$149,\"1\",IF($W2183>=RULES!$F$149,\"2\",IF($X2183>=RULES!$F$149,\"3\",IF($Y2183>=RULES!$F$149,\"4\",IF($Z2183>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2183<>\"*\",\"~\",IF($V2183>=RULES!$G$149,\"1?\",IF($W2183>=RULES!$G$149,\"2?\",IF($X2183>=RULES!$G$149,\"3?\",IF($Y2183>=RULES!$G$149,\"4?\",IF($Z2183>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2183<>\"*\",\"~\",IF((V2183+W2183>=RULES!$F$149),\"12\",IF((W2183+X2183>=RULES!$F$149),\"23\",IF((X2183+Y2183>=RULES!$F$149),\"34\",IF((Y2183+Z2183>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2183<>\"*\",\"~\",IF(Y2183+Z2183<(1-RULES!$F$149),\"13\",IF(V2183+Z2183<(1-RULES!$F$149),\"24\",IF(V2183+W2183<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2183=\"X\",$F2183=\"H\",$F2183=\"Z-ERROR\",AND($AA2183=\"H\",$AH2183)),$AE2183,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2183,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2183,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2183,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2183,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2183&\"1\",IF(NOT($AH2183),$E2183&\"U\",$AE2183)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2183","v":""},{"$f":"'Calculator Table'!BR2183","v":0},{"$f":"Calculate!AV2183","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2184","v":0},{"$f":"IF(F2184=\"X\",\"X\",(IF(F2184<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2184),0,Calculate!H2184),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2184),0,Calculate!N2184),IF(ISERROR(Calculate!J2184),0,Calculate!J2184))))))","v":0},{"$f":"IF(F2184=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2184),$C$2,Calculate!I2184),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2184),$C$2,Calculate!O2184),IF(ISERROR(Calculate!K2184),$C$2,Calculate!K2184))))","v":5.5},{"$f":"AF2184 & IF(OR($AH2184,RIGHT($AF2184,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2184","v":"S"},{"$f":"Calculate!Q2184","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2184=\"X\",$F2184=\"H\",$F2184=\"Z-ERROR\"),$F2184,IF($V2184>=RULES!$F$149,\"1\",IF($W2184>=RULES!$F$149,\"2\",IF($X2184>=RULES!$F$149,\"3\",IF($Y2184>=RULES!$F$149,\"4\",IF($Z2184>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2184<>\"*\",\"~\",IF($V2184>=RULES!$G$149,\"1?\",IF($W2184>=RULES!$G$149,\"2?\",IF($X2184>=RULES!$G$149,\"3?\",IF($Y2184>=RULES!$G$149,\"4?\",IF($Z2184>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2184<>\"*\",\"~\",IF((V2184+W2184>=RULES!$F$149),\"12\",IF((W2184+X2184>=RULES!$F$149),\"23\",IF((X2184+Y2184>=RULES!$F$149),\"34\",IF((Y2184+Z2184>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2184<>\"*\",\"~\",IF(Y2184+Z2184<(1-RULES!$F$149),\"13\",IF(V2184+Z2184<(1-RULES!$F$149),\"24\",IF(V2184+W2184<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2184=\"X\",$F2184=\"H\",$F2184=\"Z-ERROR\",AND($AA2184=\"H\",$AH2184)),$AE2184,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2184,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2184,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2184,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2184,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2184&\"1\",IF(NOT($AH2184),$E2184&\"U\",$AE2184)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2184","v":""},{"$f":"'Calculator Table'!BR2184","v":0},{"$f":"Calculate!AV2184","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2185","v":0},{"$f":"IF(F2185=\"X\",\"X\",(IF(F2185<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2185),0,Calculate!H2185),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2185),0,Calculate!N2185),IF(ISERROR(Calculate!J2185),0,Calculate!J2185))))))","v":0},{"$f":"IF(F2185=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2185),$C$2,Calculate!I2185),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2185),$C$2,Calculate!O2185),IF(ISERROR(Calculate!K2185),$C$2,Calculate!K2185))))","v":5.5},{"$f":"AF2185 & IF(OR($AH2185,RIGHT($AF2185,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2185","v":"S"},{"$f":"Calculate!Q2185","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2185=\"X\",$F2185=\"H\",$F2185=\"Z-ERROR\"),$F2185,IF($V2185>=RULES!$F$149,\"1\",IF($W2185>=RULES!$F$149,\"2\",IF($X2185>=RULES!$F$149,\"3\",IF($Y2185>=RULES!$F$149,\"4\",IF($Z2185>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2185<>\"*\",\"~\",IF($V2185>=RULES!$G$149,\"1?\",IF($W2185>=RULES!$G$149,\"2?\",IF($X2185>=RULES!$G$149,\"3?\",IF($Y2185>=RULES!$G$149,\"4?\",IF($Z2185>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2185<>\"*\",\"~\",IF((V2185+W2185>=RULES!$F$149),\"12\",IF((W2185+X2185>=RULES!$F$149),\"23\",IF((X2185+Y2185>=RULES!$F$149),\"34\",IF((Y2185+Z2185>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2185<>\"*\",\"~\",IF(Y2185+Z2185<(1-RULES!$F$149),\"13\",IF(V2185+Z2185<(1-RULES!$F$149),\"24\",IF(V2185+W2185<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2185=\"X\",$F2185=\"H\",$F2185=\"Z-ERROR\",AND($AA2185=\"H\",$AH2185)),$AE2185,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2185,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2185,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2185,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2185,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2185&\"1\",IF(NOT($AH2185),$E2185&\"U\",$AE2185)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2185","v":""},{"$f":"'Calculator Table'!BR2185","v":0},{"$f":"Calculate!AV2185","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2186","v":0},{"$f":"IF(F2186=\"X\",\"X\",(IF(F2186<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2186),0,Calculate!H2186),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2186),0,Calculate!N2186),IF(ISERROR(Calculate!J2186),0,Calculate!J2186))))))","v":0},{"$f":"IF(F2186=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2186),$C$2,Calculate!I2186),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2186),$C$2,Calculate!O2186),IF(ISERROR(Calculate!K2186),$C$2,Calculate!K2186))))","v":5.5},{"$f":"AF2186 & IF(OR($AH2186,RIGHT($AF2186,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2186","v":"S"},{"$f":"Calculate!Q2186","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2186=\"X\",$F2186=\"H\",$F2186=\"Z-ERROR\"),$F2186,IF($V2186>=RULES!$F$149,\"1\",IF($W2186>=RULES!$F$149,\"2\",IF($X2186>=RULES!$F$149,\"3\",IF($Y2186>=RULES!$F$149,\"4\",IF($Z2186>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2186<>\"*\",\"~\",IF($V2186>=RULES!$G$149,\"1?\",IF($W2186>=RULES!$G$149,\"2?\",IF($X2186>=RULES!$G$149,\"3?\",IF($Y2186>=RULES!$G$149,\"4?\",IF($Z2186>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2186<>\"*\",\"~\",IF((V2186+W2186>=RULES!$F$149),\"12\",IF((W2186+X2186>=RULES!$F$149),\"23\",IF((X2186+Y2186>=RULES!$F$149),\"34\",IF((Y2186+Z2186>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2186<>\"*\",\"~\",IF(Y2186+Z2186<(1-RULES!$F$149),\"13\",IF(V2186+Z2186<(1-RULES!$F$149),\"24\",IF(V2186+W2186<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2186=\"X\",$F2186=\"H\",$F2186=\"Z-ERROR\",AND($AA2186=\"H\",$AH2186)),$AE2186,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2186,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2186,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2186,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2186,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2186&\"1\",IF(NOT($AH2186),$E2186&\"U\",$AE2186)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2186","v":""},{"$f":"'Calculator Table'!BR2186","v":0},{"$f":"Calculate!AV2186","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2187","v":0},{"$f":"IF(F2187=\"X\",\"X\",(IF(F2187<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2187),0,Calculate!H2187),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2187),0,Calculate!N2187),IF(ISERROR(Calculate!J2187),0,Calculate!J2187))))))","v":0},{"$f":"IF(F2187=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2187),$C$2,Calculate!I2187),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2187),$C$2,Calculate!O2187),IF(ISERROR(Calculate!K2187),$C$2,Calculate!K2187))))","v":5.5},{"$f":"AF2187 & IF(OR($AH2187,RIGHT($AF2187,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2187","v":"S"},{"$f":"Calculate!Q2187","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2187=\"X\",$F2187=\"H\",$F2187=\"Z-ERROR\"),$F2187,IF($V2187>=RULES!$F$149,\"1\",IF($W2187>=RULES!$F$149,\"2\",IF($X2187>=RULES!$F$149,\"3\",IF($Y2187>=RULES!$F$149,\"4\",IF($Z2187>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2187<>\"*\",\"~\",IF($V2187>=RULES!$G$149,\"1?\",IF($W2187>=RULES!$G$149,\"2?\",IF($X2187>=RULES!$G$149,\"3?\",IF($Y2187>=RULES!$G$149,\"4?\",IF($Z2187>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2187<>\"*\",\"~\",IF((V2187+W2187>=RULES!$F$149),\"12\",IF((W2187+X2187>=RULES!$F$149),\"23\",IF((X2187+Y2187>=RULES!$F$149),\"34\",IF((Y2187+Z2187>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2187<>\"*\",\"~\",IF(Y2187+Z2187<(1-RULES!$F$149),\"13\",IF(V2187+Z2187<(1-RULES!$F$149),\"24\",IF(V2187+W2187<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2187=\"X\",$F2187=\"H\",$F2187=\"Z-ERROR\",AND($AA2187=\"H\",$AH2187)),$AE2187,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2187,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2187,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2187,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2187,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2187&\"1\",IF(NOT($AH2187),$E2187&\"U\",$AE2187)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2187","v":""},{"$f":"'Calculator Table'!BR2187","v":0},{"$f":"Calculate!AV2187","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2188","v":0},{"$f":"IF(F2188=\"X\",\"X\",(IF(F2188<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2188),0,Calculate!H2188),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2188),0,Calculate!N2188),IF(ISERROR(Calculate!J2188),0,Calculate!J2188))))))","v":0},{"$f":"IF(F2188=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2188),$C$2,Calculate!I2188),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2188),$C$2,Calculate!O2188),IF(ISERROR(Calculate!K2188),$C$2,Calculate!K2188))))","v":5.5},{"$f":"AF2188 & IF(OR($AH2188,RIGHT($AF2188,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2188","v":"S"},{"$f":"Calculate!Q2188","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2188=\"X\",$F2188=\"H\",$F2188=\"Z-ERROR\"),$F2188,IF($V2188>=RULES!$F$149,\"1\",IF($W2188>=RULES!$F$149,\"2\",IF($X2188>=RULES!$F$149,\"3\",IF($Y2188>=RULES!$F$149,\"4\",IF($Z2188>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2188<>\"*\",\"~\",IF($V2188>=RULES!$G$149,\"1?\",IF($W2188>=RULES!$G$149,\"2?\",IF($X2188>=RULES!$G$149,\"3?\",IF($Y2188>=RULES!$G$149,\"4?\",IF($Z2188>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2188<>\"*\",\"~\",IF((V2188+W2188>=RULES!$F$149),\"12\",IF((W2188+X2188>=RULES!$F$149),\"23\",IF((X2188+Y2188>=RULES!$F$149),\"34\",IF((Y2188+Z2188>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2188<>\"*\",\"~\",IF(Y2188+Z2188<(1-RULES!$F$149),\"13\",IF(V2188+Z2188<(1-RULES!$F$149),\"24\",IF(V2188+W2188<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2188=\"X\",$F2188=\"H\",$F2188=\"Z-ERROR\",AND($AA2188=\"H\",$AH2188)),$AE2188,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2188,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2188,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2188,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2188,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2188&\"1\",IF(NOT($AH2188),$E2188&\"U\",$AE2188)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2188","v":""},{"$f":"'Calculator Table'!BR2188","v":0},{"$f":"Calculate!AV2188","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2189","v":0},{"$f":"IF(F2189=\"X\",\"X\",(IF(F2189<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2189),0,Calculate!H2189),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2189),0,Calculate!N2189),IF(ISERROR(Calculate!J2189),0,Calculate!J2189))))))","v":0},{"$f":"IF(F2189=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2189),$C$2,Calculate!I2189),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2189),$C$2,Calculate!O2189),IF(ISERROR(Calculate!K2189),$C$2,Calculate!K2189))))","v":5.5},{"$f":"AF2189 & IF(OR($AH2189,RIGHT($AF2189,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2189","v":"S"},{"$f":"Calculate!Q2189","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2189=\"X\",$F2189=\"H\",$F2189=\"Z-ERROR\"),$F2189,IF($V2189>=RULES!$F$149,\"1\",IF($W2189>=RULES!$F$149,\"2\",IF($X2189>=RULES!$F$149,\"3\",IF($Y2189>=RULES!$F$149,\"4\",IF($Z2189>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2189<>\"*\",\"~\",IF($V2189>=RULES!$G$149,\"1?\",IF($W2189>=RULES!$G$149,\"2?\",IF($X2189>=RULES!$G$149,\"3?\",IF($Y2189>=RULES!$G$149,\"4?\",IF($Z2189>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2189<>\"*\",\"~\",IF((V2189+W2189>=RULES!$F$149),\"12\",IF((W2189+X2189>=RULES!$F$149),\"23\",IF((X2189+Y2189>=RULES!$F$149),\"34\",IF((Y2189+Z2189>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2189<>\"*\",\"~\",IF(Y2189+Z2189<(1-RULES!$F$149),\"13\",IF(V2189+Z2189<(1-RULES!$F$149),\"24\",IF(V2189+W2189<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2189=\"X\",$F2189=\"H\",$F2189=\"Z-ERROR\",AND($AA2189=\"H\",$AH2189)),$AE2189,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2189,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2189,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2189,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2189,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2189&\"1\",IF(NOT($AH2189),$E2189&\"U\",$AE2189)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2189","v":""},{"$f":"'Calculator Table'!BR2189","v":0},{"$f":"Calculate!AV2189","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2190","v":0},{"$f":"IF(F2190=\"X\",\"X\",(IF(F2190<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2190),0,Calculate!H2190),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2190),0,Calculate!N2190),IF(ISERROR(Calculate!J2190),0,Calculate!J2190))))))","v":0},{"$f":"IF(F2190=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2190),$C$2,Calculate!I2190),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2190),$C$2,Calculate!O2190),IF(ISERROR(Calculate!K2190),$C$2,Calculate!K2190))))","v":5.5},{"$f":"AF2190 & IF(OR($AH2190,RIGHT($AF2190,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2190","v":"S"},{"$f":"Calculate!Q2190","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2190=\"X\",$F2190=\"H\",$F2190=\"Z-ERROR\"),$F2190,IF($V2190>=RULES!$F$149,\"1\",IF($W2190>=RULES!$F$149,\"2\",IF($X2190>=RULES!$F$149,\"3\",IF($Y2190>=RULES!$F$149,\"4\",IF($Z2190>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2190<>\"*\",\"~\",IF($V2190>=RULES!$G$149,\"1?\",IF($W2190>=RULES!$G$149,\"2?\",IF($X2190>=RULES!$G$149,\"3?\",IF($Y2190>=RULES!$G$149,\"4?\",IF($Z2190>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2190<>\"*\",\"~\",IF((V2190+W2190>=RULES!$F$149),\"12\",IF((W2190+X2190>=RULES!$F$149),\"23\",IF((X2190+Y2190>=RULES!$F$149),\"34\",IF((Y2190+Z2190>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2190<>\"*\",\"~\",IF(Y2190+Z2190<(1-RULES!$F$149),\"13\",IF(V2190+Z2190<(1-RULES!$F$149),\"24\",IF(V2190+W2190<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2190=\"X\",$F2190=\"H\",$F2190=\"Z-ERROR\",AND($AA2190=\"H\",$AH2190)),$AE2190,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2190,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2190,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2190,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2190,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2190&\"1\",IF(NOT($AH2190),$E2190&\"U\",$AE2190)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2190","v":""},{"$f":"'Calculator Table'!BR2190","v":0},{"$f":"Calculate!AV2190","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2191","v":0},{"$f":"IF(F2191=\"X\",\"X\",(IF(F2191<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2191),0,Calculate!H2191),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2191),0,Calculate!N2191),IF(ISERROR(Calculate!J2191),0,Calculate!J2191))))))","v":0},{"$f":"IF(F2191=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2191),$C$2,Calculate!I2191),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2191),$C$2,Calculate!O2191),IF(ISERROR(Calculate!K2191),$C$2,Calculate!K2191))))","v":5.5},{"$f":"AF2191 & IF(OR($AH2191,RIGHT($AF2191,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2191","v":"S"},{"$f":"Calculate!Q2191","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2191=\"X\",$F2191=\"H\",$F2191=\"Z-ERROR\"),$F2191,IF($V2191>=RULES!$F$149,\"1\",IF($W2191>=RULES!$F$149,\"2\",IF($X2191>=RULES!$F$149,\"3\",IF($Y2191>=RULES!$F$149,\"4\",IF($Z2191>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2191<>\"*\",\"~\",IF($V2191>=RULES!$G$149,\"1?\",IF($W2191>=RULES!$G$149,\"2?\",IF($X2191>=RULES!$G$149,\"3?\",IF($Y2191>=RULES!$G$149,\"4?\",IF($Z2191>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2191<>\"*\",\"~\",IF((V2191+W2191>=RULES!$F$149),\"12\",IF((W2191+X2191>=RULES!$F$149),\"23\",IF((X2191+Y2191>=RULES!$F$149),\"34\",IF((Y2191+Z2191>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2191<>\"*\",\"~\",IF(Y2191+Z2191<(1-RULES!$F$149),\"13\",IF(V2191+Z2191<(1-RULES!$F$149),\"24\",IF(V2191+W2191<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2191=\"X\",$F2191=\"H\",$F2191=\"Z-ERROR\",AND($AA2191=\"H\",$AH2191)),$AE2191,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2191,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2191,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2191,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2191,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2191&\"1\",IF(NOT($AH2191),$E2191&\"U\",$AE2191)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2191","v":""},{"$f":"'Calculator Table'!BR2191","v":0},{"$f":"Calculate!AV2191","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2192","v":0},{"$f":"IF(F2192=\"X\",\"X\",(IF(F2192<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2192),0,Calculate!H2192),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2192),0,Calculate!N2192),IF(ISERROR(Calculate!J2192),0,Calculate!J2192))))))","v":0},{"$f":"IF(F2192=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2192),$C$2,Calculate!I2192),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2192),$C$2,Calculate!O2192),IF(ISERROR(Calculate!K2192),$C$2,Calculate!K2192))))","v":5.5},{"$f":"AF2192 & IF(OR($AH2192,RIGHT($AF2192,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2192","v":"S"},{"$f":"Calculate!Q2192","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2192=\"X\",$F2192=\"H\",$F2192=\"Z-ERROR\"),$F2192,IF($V2192>=RULES!$F$149,\"1\",IF($W2192>=RULES!$F$149,\"2\",IF($X2192>=RULES!$F$149,\"3\",IF($Y2192>=RULES!$F$149,\"4\",IF($Z2192>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2192<>\"*\",\"~\",IF($V2192>=RULES!$G$149,\"1?\",IF($W2192>=RULES!$G$149,\"2?\",IF($X2192>=RULES!$G$149,\"3?\",IF($Y2192>=RULES!$G$149,\"4?\",IF($Z2192>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2192<>\"*\",\"~\",IF((V2192+W2192>=RULES!$F$149),\"12\",IF((W2192+X2192>=RULES!$F$149),\"23\",IF((X2192+Y2192>=RULES!$F$149),\"34\",IF((Y2192+Z2192>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2192<>\"*\",\"~\",IF(Y2192+Z2192<(1-RULES!$F$149),\"13\",IF(V2192+Z2192<(1-RULES!$F$149),\"24\",IF(V2192+W2192<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2192=\"X\",$F2192=\"H\",$F2192=\"Z-ERROR\",AND($AA2192=\"H\",$AH2192)),$AE2192,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2192,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2192,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2192,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2192,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2192&\"1\",IF(NOT($AH2192),$E2192&\"U\",$AE2192)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2192","v":""},{"$f":"'Calculator Table'!BR2192","v":0},{"$f":"Calculate!AV2192","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2193","v":0},{"$f":"IF(F2193=\"X\",\"X\",(IF(F2193<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2193),0,Calculate!H2193),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2193),0,Calculate!N2193),IF(ISERROR(Calculate!J2193),0,Calculate!J2193))))))","v":0},{"$f":"IF(F2193=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2193),$C$2,Calculate!I2193),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2193),$C$2,Calculate!O2193),IF(ISERROR(Calculate!K2193),$C$2,Calculate!K2193))))","v":5.5},{"$f":"AF2193 & IF(OR($AH2193,RIGHT($AF2193,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2193","v":"S"},{"$f":"Calculate!Q2193","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2193=\"X\",$F2193=\"H\",$F2193=\"Z-ERROR\"),$F2193,IF($V2193>=RULES!$F$149,\"1\",IF($W2193>=RULES!$F$149,\"2\",IF($X2193>=RULES!$F$149,\"3\",IF($Y2193>=RULES!$F$149,\"4\",IF($Z2193>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2193<>\"*\",\"~\",IF($V2193>=RULES!$G$149,\"1?\",IF($W2193>=RULES!$G$149,\"2?\",IF($X2193>=RULES!$G$149,\"3?\",IF($Y2193>=RULES!$G$149,\"4?\",IF($Z2193>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2193<>\"*\",\"~\",IF((V2193+W2193>=RULES!$F$149),\"12\",IF((W2193+X2193>=RULES!$F$149),\"23\",IF((X2193+Y2193>=RULES!$F$149),\"34\",IF((Y2193+Z2193>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2193<>\"*\",\"~\",IF(Y2193+Z2193<(1-RULES!$F$149),\"13\",IF(V2193+Z2193<(1-RULES!$F$149),\"24\",IF(V2193+W2193<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2193=\"X\",$F2193=\"H\",$F2193=\"Z-ERROR\",AND($AA2193=\"H\",$AH2193)),$AE2193,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2193,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2193,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2193,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2193,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2193&\"1\",IF(NOT($AH2193),$E2193&\"U\",$AE2193)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2193","v":""},{"$f":"'Calculator Table'!BR2193","v":0},{"$f":"Calculate!AV2193","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2194","v":0},{"$f":"IF(F2194=\"X\",\"X\",(IF(F2194<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2194),0,Calculate!H2194),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2194),0,Calculate!N2194),IF(ISERROR(Calculate!J2194),0,Calculate!J2194))))))","v":0},{"$f":"IF(F2194=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2194),$C$2,Calculate!I2194),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2194),$C$2,Calculate!O2194),IF(ISERROR(Calculate!K2194),$C$2,Calculate!K2194))))","v":5.5},{"$f":"AF2194 & IF(OR($AH2194,RIGHT($AF2194,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2194","v":"S"},{"$f":"Calculate!Q2194","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2194=\"X\",$F2194=\"H\",$F2194=\"Z-ERROR\"),$F2194,IF($V2194>=RULES!$F$149,\"1\",IF($W2194>=RULES!$F$149,\"2\",IF($X2194>=RULES!$F$149,\"3\",IF($Y2194>=RULES!$F$149,\"4\",IF($Z2194>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2194<>\"*\",\"~\",IF($V2194>=RULES!$G$149,\"1?\",IF($W2194>=RULES!$G$149,\"2?\",IF($X2194>=RULES!$G$149,\"3?\",IF($Y2194>=RULES!$G$149,\"4?\",IF($Z2194>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2194<>\"*\",\"~\",IF((V2194+W2194>=RULES!$F$149),\"12\",IF((W2194+X2194>=RULES!$F$149),\"23\",IF((X2194+Y2194>=RULES!$F$149),\"34\",IF((Y2194+Z2194>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2194<>\"*\",\"~\",IF(Y2194+Z2194<(1-RULES!$F$149),\"13\",IF(V2194+Z2194<(1-RULES!$F$149),\"24\",IF(V2194+W2194<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2194=\"X\",$F2194=\"H\",$F2194=\"Z-ERROR\",AND($AA2194=\"H\",$AH2194)),$AE2194,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2194,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2194,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2194,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2194,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2194&\"1\",IF(NOT($AH2194),$E2194&\"U\",$AE2194)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2194","v":""},{"$f":"'Calculator Table'!BR2194","v":0},{"$f":"Calculate!AV2194","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2195","v":0},{"$f":"IF(F2195=\"X\",\"X\",(IF(F2195<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2195),0,Calculate!H2195),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2195),0,Calculate!N2195),IF(ISERROR(Calculate!J2195),0,Calculate!J2195))))))","v":0},{"$f":"IF(F2195=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2195),$C$2,Calculate!I2195),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2195),$C$2,Calculate!O2195),IF(ISERROR(Calculate!K2195),$C$2,Calculate!K2195))))","v":5.5},{"$f":"AF2195 & IF(OR($AH2195,RIGHT($AF2195,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2195","v":"S"},{"$f":"Calculate!Q2195","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2195=\"X\",$F2195=\"H\",$F2195=\"Z-ERROR\"),$F2195,IF($V2195>=RULES!$F$149,\"1\",IF($W2195>=RULES!$F$149,\"2\",IF($X2195>=RULES!$F$149,\"3\",IF($Y2195>=RULES!$F$149,\"4\",IF($Z2195>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2195<>\"*\",\"~\",IF($V2195>=RULES!$G$149,\"1?\",IF($W2195>=RULES!$G$149,\"2?\",IF($X2195>=RULES!$G$149,\"3?\",IF($Y2195>=RULES!$G$149,\"4?\",IF($Z2195>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2195<>\"*\",\"~\",IF((V2195+W2195>=RULES!$F$149),\"12\",IF((W2195+X2195>=RULES!$F$149),\"23\",IF((X2195+Y2195>=RULES!$F$149),\"34\",IF((Y2195+Z2195>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2195<>\"*\",\"~\",IF(Y2195+Z2195<(1-RULES!$F$149),\"13\",IF(V2195+Z2195<(1-RULES!$F$149),\"24\",IF(V2195+W2195<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2195=\"X\",$F2195=\"H\",$F2195=\"Z-ERROR\",AND($AA2195=\"H\",$AH2195)),$AE2195,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2195,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2195,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2195,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2195,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2195&\"1\",IF(NOT($AH2195),$E2195&\"U\",$AE2195)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2195","v":""},{"$f":"'Calculator Table'!BR2195","v":0},{"$f":"Calculate!AV2195","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2196","v":0},{"$f":"IF(F2196=\"X\",\"X\",(IF(F2196<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2196),0,Calculate!H2196),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2196),0,Calculate!N2196),IF(ISERROR(Calculate!J2196),0,Calculate!J2196))))))","v":0},{"$f":"IF(F2196=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2196),$C$2,Calculate!I2196),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2196),$C$2,Calculate!O2196),IF(ISERROR(Calculate!K2196),$C$2,Calculate!K2196))))","v":5.5},{"$f":"AF2196 & IF(OR($AH2196,RIGHT($AF2196,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2196","v":"S"},{"$f":"Calculate!Q2196","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2196=\"X\",$F2196=\"H\",$F2196=\"Z-ERROR\"),$F2196,IF($V2196>=RULES!$F$149,\"1\",IF($W2196>=RULES!$F$149,\"2\",IF($X2196>=RULES!$F$149,\"3\",IF($Y2196>=RULES!$F$149,\"4\",IF($Z2196>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2196<>\"*\",\"~\",IF($V2196>=RULES!$G$149,\"1?\",IF($W2196>=RULES!$G$149,\"2?\",IF($X2196>=RULES!$G$149,\"3?\",IF($Y2196>=RULES!$G$149,\"4?\",IF($Z2196>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2196<>\"*\",\"~\",IF((V2196+W2196>=RULES!$F$149),\"12\",IF((W2196+X2196>=RULES!$F$149),\"23\",IF((X2196+Y2196>=RULES!$F$149),\"34\",IF((Y2196+Z2196>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2196<>\"*\",\"~\",IF(Y2196+Z2196<(1-RULES!$F$149),\"13\",IF(V2196+Z2196<(1-RULES!$F$149),\"24\",IF(V2196+W2196<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2196=\"X\",$F2196=\"H\",$F2196=\"Z-ERROR\",AND($AA2196=\"H\",$AH2196)),$AE2196,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2196,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2196,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2196,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2196,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2196&\"1\",IF(NOT($AH2196),$E2196&\"U\",$AE2196)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2196","v":""},{"$f":"'Calculator Table'!BR2196","v":0},{"$f":"Calculate!AV2196","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2197","v":0},{"$f":"IF(F2197=\"X\",\"X\",(IF(F2197<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2197),0,Calculate!H2197),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2197),0,Calculate!N2197),IF(ISERROR(Calculate!J2197),0,Calculate!J2197))))))","v":0},{"$f":"IF(F2197=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2197),$C$2,Calculate!I2197),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2197),$C$2,Calculate!O2197),IF(ISERROR(Calculate!K2197),$C$2,Calculate!K2197))))","v":5.5},{"$f":"AF2197 & IF(OR($AH2197,RIGHT($AF2197,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2197","v":"S"},{"$f":"Calculate!Q2197","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2197=\"X\",$F2197=\"H\",$F2197=\"Z-ERROR\"),$F2197,IF($V2197>=RULES!$F$149,\"1\",IF($W2197>=RULES!$F$149,\"2\",IF($X2197>=RULES!$F$149,\"3\",IF($Y2197>=RULES!$F$149,\"4\",IF($Z2197>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2197<>\"*\",\"~\",IF($V2197>=RULES!$G$149,\"1?\",IF($W2197>=RULES!$G$149,\"2?\",IF($X2197>=RULES!$G$149,\"3?\",IF($Y2197>=RULES!$G$149,\"4?\",IF($Z2197>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2197<>\"*\",\"~\",IF((V2197+W2197>=RULES!$F$149),\"12\",IF((W2197+X2197>=RULES!$F$149),\"23\",IF((X2197+Y2197>=RULES!$F$149),\"34\",IF((Y2197+Z2197>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2197<>\"*\",\"~\",IF(Y2197+Z2197<(1-RULES!$F$149),\"13\",IF(V2197+Z2197<(1-RULES!$F$149),\"24\",IF(V2197+W2197<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2197=\"X\",$F2197=\"H\",$F2197=\"Z-ERROR\",AND($AA2197=\"H\",$AH2197)),$AE2197,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2197,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2197,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2197,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2197,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2197&\"1\",IF(NOT($AH2197),$E2197&\"U\",$AE2197)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2197","v":""},{"$f":"'Calculator Table'!BR2197","v":0},{"$f":"Calculate!AV2197","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2198","v":0},{"$f":"IF(F2198=\"X\",\"X\",(IF(F2198<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2198),0,Calculate!H2198),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2198),0,Calculate!N2198),IF(ISERROR(Calculate!J2198),0,Calculate!J2198))))))","v":0},{"$f":"IF(F2198=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2198),$C$2,Calculate!I2198),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2198),$C$2,Calculate!O2198),IF(ISERROR(Calculate!K2198),$C$2,Calculate!K2198))))","v":5.5},{"$f":"AF2198 & IF(OR($AH2198,RIGHT($AF2198,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2198","v":"S"},{"$f":"Calculate!Q2198","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2198=\"X\",$F2198=\"H\",$F2198=\"Z-ERROR\"),$F2198,IF($V2198>=RULES!$F$149,\"1\",IF($W2198>=RULES!$F$149,\"2\",IF($X2198>=RULES!$F$149,\"3\",IF($Y2198>=RULES!$F$149,\"4\",IF($Z2198>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2198<>\"*\",\"~\",IF($V2198>=RULES!$G$149,\"1?\",IF($W2198>=RULES!$G$149,\"2?\",IF($X2198>=RULES!$G$149,\"3?\",IF($Y2198>=RULES!$G$149,\"4?\",IF($Z2198>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2198<>\"*\",\"~\",IF((V2198+W2198>=RULES!$F$149),\"12\",IF((W2198+X2198>=RULES!$F$149),\"23\",IF((X2198+Y2198>=RULES!$F$149),\"34\",IF((Y2198+Z2198>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2198<>\"*\",\"~\",IF(Y2198+Z2198<(1-RULES!$F$149),\"13\",IF(V2198+Z2198<(1-RULES!$F$149),\"24\",IF(V2198+W2198<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2198=\"X\",$F2198=\"H\",$F2198=\"Z-ERROR\",AND($AA2198=\"H\",$AH2198)),$AE2198,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2198,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2198,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2198,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2198,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2198&\"1\",IF(NOT($AH2198),$E2198&\"U\",$AE2198)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2198","v":""},{"$f":"'Calculator Table'!BR2198","v":0},{"$f":"Calculate!AV2198","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2199","v":0},{"$f":"IF(F2199=\"X\",\"X\",(IF(F2199<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2199),0,Calculate!H2199),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2199),0,Calculate!N2199),IF(ISERROR(Calculate!J2199),0,Calculate!J2199))))))","v":0},{"$f":"IF(F2199=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2199),$C$2,Calculate!I2199),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2199),$C$2,Calculate!O2199),IF(ISERROR(Calculate!K2199),$C$2,Calculate!K2199))))","v":5.5},{"$f":"AF2199 & IF(OR($AH2199,RIGHT($AF2199,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2199","v":"S"},{"$f":"Calculate!Q2199","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2199=\"X\",$F2199=\"H\",$F2199=\"Z-ERROR\"),$F2199,IF($V2199>=RULES!$F$149,\"1\",IF($W2199>=RULES!$F$149,\"2\",IF($X2199>=RULES!$F$149,\"3\",IF($Y2199>=RULES!$F$149,\"4\",IF($Z2199>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2199<>\"*\",\"~\",IF($V2199>=RULES!$G$149,\"1?\",IF($W2199>=RULES!$G$149,\"2?\",IF($X2199>=RULES!$G$149,\"3?\",IF($Y2199>=RULES!$G$149,\"4?\",IF($Z2199>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2199<>\"*\",\"~\",IF((V2199+W2199>=RULES!$F$149),\"12\",IF((W2199+X2199>=RULES!$F$149),\"23\",IF((X2199+Y2199>=RULES!$F$149),\"34\",IF((Y2199+Z2199>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2199<>\"*\",\"~\",IF(Y2199+Z2199<(1-RULES!$F$149),\"13\",IF(V2199+Z2199<(1-RULES!$F$149),\"24\",IF(V2199+W2199<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2199=\"X\",$F2199=\"H\",$F2199=\"Z-ERROR\",AND($AA2199=\"H\",$AH2199)),$AE2199,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2199,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2199,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2199,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2199,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2199&\"1\",IF(NOT($AH2199),$E2199&\"U\",$AE2199)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2199","v":""},{"$f":"'Calculator Table'!BR2199","v":0},{"$f":"Calculate!AV2199","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[{"$f":"Calculate!A2200","v":0},{"$f":"IF(F2200=\"X\",\"X\",(IF(F2200<>\"*\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!H2200),0,Calculate!H2200),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!N2200),0,Calculate!N2200),IF(ISERROR(Calculate!J2200),0,Calculate!J2200))))))","v":0},{"$f":"IF(F2200=\"HX\",\"H\",IF($B$2=\"1AVG\",IF(ISERROR(Calculate!I2200),$C$2,Calculate!I2200),IF($B$2=\"2AVG\",IF(ISERROR(Calculate!O2200),$C$2,Calculate!O2200),IF(ISERROR(Calculate!K2200),$C$2,Calculate!K2200))))","v":5.5},{"$f":"AF2200 & IF(OR($AH2200,RIGHT($AF2200,1)=\"X\"),\"\",RULES!$F$30)","v":{"$error":"#VALUE!"}},{"$f":"Calculate!P2200","v":"S"},{"$f":"Calculate!Q2200","v":"*"},0,5.5,{"$error":"#VALUE!"},0,5.5,5.5,0,1.5,2.5,3.5,4.5,4,3,2,1,0.27272727272727271,0.18181818181818182,0.18181818181818182,0.18181818181818182,0.18181818181818182,{"$f":"IF(OR($F2200=\"X\",$F2200=\"H\",$F2200=\"Z-ERROR\"),$F2200,IF($V2200>=RULES!$F$149,\"1\",IF($W2200>=RULES!$F$149,\"2\",IF($X2200>=RULES!$F$149,\"3\",IF($Y2200>=RULES!$F$149,\"4\",IF($Z2200>=RULES!$F$149,\"5\",\"*\"))))))","v":"*"},{"$f":"IF($AA2200<>\"*\",\"~\",IF($V2200>=RULES!$G$149,\"1?\",IF($W2200>=RULES!$G$149,\"2?\",IF($X2200>=RULES!$G$149,\"3?\",IF($Y2200>=RULES!$G$149,\"4?\",IF($Z2200>=RULES!$G$149,\"5?\",\"*\"))))))","v":"*"},{"$f":"IF($AB2200<>\"*\",\"~\",IF((V2200+W2200>=RULES!$F$149),\"12\",IF((W2200+X2200>=RULES!$F$149),\"23\",IF((X2200+Y2200>=RULES!$F$149),\"34\",IF((Y2200+Z2200>=RULES!$F$149),\"45\",\"*\")))))","v":"*"},{"$f":"IF($AC2200<>\"*\",\"~\",IF(Y2200+Z2200<(1-RULES!$F$149),\"13\",IF(V2200+Z2200<(1-RULES!$F$149),\"24\",IF(V2200+W2200<(1-RULES!$F$149),\"35\",\"U\"))))","v":"U"},"SU",{"$f":"IF(OR($F2200=\"X\",$F2200=\"H\",$F2200=\"Z-ERROR\",AND($AA2200=\"H\",$AH2200)),$AE2200,IF(OR(NOT(ISERROR(MATCH('Calculator Table'!$P2200,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$L2200,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$M2200,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0))),NOT(ISERROR(MATCH('Calculator Table'!$N2200,{\"A\",\"ZA\",\"B\",\"ZB\",\"AB\"},0)))),$E2200&\"1\",IF(NOT($AH2200),$E2200&\"U\",$AE2200)))","v":{"$error":"#VALUE!"}},{"$error":"#VALUE!"},{"$f":"'Calculator Table'!BN2200","v":""},{"$f":"'Calculator Table'!BR2200","v":0},{"$f":"Calculate!AV2200","v":2},null,null,null,null,null,{"$error":"#VALUE!"}]
[" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "]

{"sheet":"Threats Instructions","index":8,"n_rows":20,"n_cols":5,"rows_kept":20,"cut":false,"hidden":false,"merged":[[19,1,19,2],[3,1,3,4],[4,1,4,4],[6,1,6,4],[7,1,7,4],[9,1,9,4],[10,1,10,4],[14,1,14,4],[13,1,13,4],[12,1,12,4],[18,1,18,4],[15,1,15,4],[0,0,0,4],[1,1,1,4],[16,1,16,4],[17,1,17,4],[5,1,5,4],[8,1,8,4],[2,1,2,4]]}
["Threats Assessment Instructions"]
[null,"The IUCN-CMP Unified Classification of Direct Threats (Salafsky et al. 2008) is a hierarchical classification with 2 main levels of threats. Version 2.3 Level1-2 threats are listed on the Threats Assessment sheet. The level-1 threats are highlighted in tan because they are most important: you must manually roll up all scope and severity scores to Level 1 and only level-1 threats are included in the Overall Threat calculation."]
[null,"For more information about the threats classification, see http://www.iucnredlist.org/technical-documents/classification-schemes/threats-classification-scheme."]
[null,"\"Threats Assessment\" sheet is for recording threats and calculating/assigning an Overall Threat Impact score for use in conservation rank calculation (Calculator Form rows 29-30)."]
[null,"\"Threats Data Compiled\" sheet is for storing threat data for multiple elements. It is not intended for data entry; it is only populated using the \"Copy Data to Threats Data Compiled\" button on the Threats Assessment sheet or with an export from Biotics. Do not click the copy button until you have finalized the threats assessment for an element."]
[null,"How to use the Threats Assessment Worksheet"]
[null,"Note: If, using your best professional judgment, you think the overall Threat Impact is Low, you may scan the table to be sure you haven’t missed anything, but then proceed directly to recording the Assigned Overall Threat Impact."]
[null,"1. Record an estimate of the scope, severity, and timing for applicable threats to the species or ecosystem. \n(See Factors Reference sheet for ratings.)"]
[null,"2. The Impact of each threat is automatically calculated from the scope and severity values (Table 10 below)."]
[null,"3. Roll up all level-2 threat scope and severity scores to level-1. Roll up using these guidelines:"]
[null,"a)  If there is only one level-2 threat recorded within the level-1 threat, assign the level-2 scope, severity, and timing values to the level-1 threat."]
[null,"b)  If there are multiple level 2-threats recorded within the level-1 threat, evaluate their degree of overlap:"]
[null,"– if the level-2 threats overlap, assign the scope and severity values of the highest impact level-2 threat;"]
[null,"– if the level-2 threats are substantially non-overlapping, then best professional judgment should be used to assign scope, severity, and timing values; higher scope and severity values may be justified."]
[null,"4. After scope and severity have been recorded for all applicable level-1 threats, check the automatic calculation of overall threat impact (see Table 12 below). The impact value counts are displayed in the 'Overall Threat Impact Calculation Help' table*.  The Calculated Overall Threat Impact value should be reviewed and, using best professional judgment, adjusted if needed before it is entered as the Assigned Overall Threat Impact. Whether or not you adjust the Calculated Overall Threat Impact, you must fill in \"Assigned Overall Threat Impact\" using the dropdown box. If you do adjust the calculated impact, you should fill out the \"Overall Threat Impact Adjustment Reasons\" field."]
[null,"5. Click the \"Copy Overall Impact and Adjustments Reasons to Calculator\" button to copy your final values to the Calculator Form. The Calculated Overall Threat Impact is automatically displayed on the Calculator Form."]
[null,"6. Fill out Overall Threat Impact Comments in the Calculator Form (cell H29)."]
[null,"7. If desired, save your threats data using the \"Copy Data to Threats Data Compiled\" button on the Threats Assessment sheet."]
[null,"*Uncertainty Ranges: Please avoid using uncertainty ranges if at all possible! If the value for one or more level 1 impacts is a range, evaluate the highest (single and range) values for every level 1 threat and then evaluate the lowest values to determine the range of overall threat impact. For example, three Medium-Low impacts indicates an overall threat impact of High–Low, and four Medium-Low impacts indicates an overall threat impact of High-Medium. (This is done in the 2 columns in the 'Overall Threat Impact Calculation Help' table.)"]
[null,"Table 12. Guidelines for assigning overall impact value (from Master et al. 2012)",null,null,"Table 10. Calculation of threat impact \n(from Master et al. 2012)"]

{"sheet":"Threats Assessment","index":9,"n_rows":80,"n_cols":16,"rows_kept":80,"cut":false,"hidden":false,"merged":[[79,1,79,5],[0,0,0,8],[5,3,5,4],[19,3,19,4],[19,1,19,2],[15,5,15,6],[16,5,16,8],[14,8,15,8],[7,8,12,8]]}
["Threats Assessment Worksheet"]
[null,"See instructions on previous tab.  Scroll down in bottom pane to view the entire table."]
[null,"You MUST MANUALLY enter scope & severity for Level 1 threats. There is no automatic rollup of lower-level threats, and only Level 1 threats are included in the Overall Threat Impact calculation."]
[]
[null,null,"Species or Ecosystem Scientific Name",{"$f":"IF(ISBLANK(ElementName),\"\",ElementName)","v":""}]
[null,null,"Element ID",{"$f":"IF(ISBLANK(ElementID),\"\",ElementID)","v":""},null,"Elcode",{"$f":"IF(ISBLANK(Elcode),\"\",Elcode)","v":""}]
[]
[null,null,"Overall Threat Impact Calculation Help:",null,null,"Level 1 Threat Impact Counts",null,null,{"$f":"IF(N21,\"CAUTION! You have not rolled up lower-level threat data to Level 1, or you have not entered both scope & severity for a Level 1 Threat.\",\"\")","v":""}]
[null,null,null,"Threat Impact",null,"high range","low range",null,null,null,null,null,null,null,"count non-ranges","count inc. ranges"]
[null,null,null,"A","Very High",{"$f":"SUM((LEFT(D23:D79,1)=\"A\")*(NOT(ISBLANK(M23:M79))))","v":0},{"$f":"SUM((RIGHT(D23:D79,1)=\"A\")*(NOT(ISBLANK(M23:M79))))","v":0},null,null,null,null,null,null,null,{"$f":"SUM((D23:D79=\"A\")*(NOT(ISBLANK(M23:M79))))","v":0},{"$f":"SUM(((D23:D79=\"A\")+(D23:D79=\"AB\")+(D23:D79=\"AC\"))*(NOT(ISBLANK(M23:M79))))","v":0}]
[null,null,null,"B","High",{"$f":"SUM((LEFT(D23:D79,1)=\"B\")*(NOT(ISBLANK(M23:M79))))","v":0},{"$f":"SUM((RIGHT(D23:D79,1)=\"B\")*(NOT(ISBLANK(M23:M79))))","v":0},null,null,null,null,null,null,null,{"$f":"SUM((D23:D79=\"B\")*(NOT(ISBLANK(M23:M79))))","v":0},{"$f":"SUM(((D23:D79=\"B\")+(D23:D79=\"BC\")+(D23:D79=\"BD\"))*(NOT(ISBLANK(M23:M79))))","v":0}]
[null,null,null,"C","Medium",{"$f":"SUM((LEFT(D23:D79,1)=\"C\")*(NOT(ISBLANK(M23:M79))))","v":0},{"$f":"SUM((RIGHT(D23:D79,1)=\"C\")*(NOT(ISBLANK(M23:M79))))","v":0},null,null,null,null,null,null,null,{"$f":"SUM((D23:D79=\"C\")*(NOT(ISBLANK(M23:M79))))","v":0},{"$f":"SUM(((D23:D79=\"C\")+(D23:D79=\"CD\"))*(NOT(ISBLANK(M23:M79))))","v":0}]
[null,null,null,"D","Low",{"$f":"SUM((LEFT(D23:D79,1)=\"D\")*(NOT(ISBLANK(M23:M79))))","v":0},{"$f":"SUM((RIGHT(D23:D79,1)=\"D\")*(NOT(ISBLANK(M23:M79))))","v":0},null,null,null,null,null,null,null,{"$f":"SUM((D23:D79=\"D\")*(NOT(ISBLANK(M23:M79))))","v":0},{"$f":"SUM((D23:D79=\"D\")*(NOT(ISBLANK(M23:M79))))","v":0}]
[null,null,null,null,"Calculated Overall Threat Impact: ",{"$f":"IF(OR(F10>0,F11>1,AND(F11=1,F12>1)), \"Very High\",IF(OR(F11=1,F12>2,AND(F12=2,F13>1),AND(F12=1,F13>2)),\"High\",IF(OR(F12>0,F13>3),\"Medium\",IF(F13>0,\"Low\",\"\"))))","v":""},{"$f":"IF(OR(G11>1,AND(G11=1,G12>1),G10>0), \"Very High\",IF(OR(G12>2,AND(G12=2,G13>1),AND(G12=1,G13>2),G11=1),\"High\",IF(OR(G12>0,G13>3),\"Medium\",IF(G13>0,\"Low\",\"\"))))","v":""},{"$f":"IFERROR(VLOOKUP(I14,Threat2,4,FALSE),\"\")","v":""},{"$f":"IFERROR(IF(F15=G15,F15,F15&G15),\"\")","v":""},null,null,null,null,null,"Total",{"$f":"SUM((D23:D79>\"\")*(NOT(ISBLANK(M23:M79))))","v":0}]
[null,null,null,null,null,{"$f":"VLOOKUP(F14,ThreatImpactReverse,2,FALSE)","v":{"$error":"#N/A"}},{"$f":"VLOOKUP(G14,ThreatImpactReverse,2,FALSE)","v":{"$error":"#N/A"}},null,"Fill out Overall Threat Impact Comments \ndirectly on the Calculator Form."]
[null,null,null,null,"Assigned Overall Threat Impact: "]
[null,null,null,null,"Overall Threat Impact Adjustment Reasons: "]
[]
[null,null,null,null,null,"Place cursor in cell to see dropdown arrow"]
[null,"Threat",null,"Impact (calculated)",null,"Scope","Severity","Timing","Comments","ScopeSeverity Concat","Count of data entry values","Count of data not inc comments","Count of Level 2 Threat Impacts","L2 no L1"]
[null,null,"No known threats",null,null,null,null,null,null,{"$f":"F21&G21","v":""},{"$f":"IF(M21,1,0)","v":0},null,false,{"$f":"OR(N23:N79)","v":false}]
[null,null,"Unknown/undetermined",null,null,null,null,null,null,{"$f":"F22&G22","v":""},{"$f":"IF(M22,1,0)","v":0},null,false]
[null,1,"Residential & commercial development",{"$f":"IF(OR($H23=Lookups!$AA$7,$H23=Lookups!$AA$8,$H23=Lookups!$AA$9,$H23=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J23,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J23,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G23=Lookups!$Z$10,\"Not a Threat\",IF(OR($F23=Lookups!$X$9,$G23=Lookups!$Z$9),\"Negligible\",IF(OR($F23=Lookups!$X$10,$G23=Lookups!$Z$11),\"Unknown\",IF(OR($H23=Lookups!$AA$7,$H23=Lookups!$AA$8,$H23=Lookups!$AA$15),\"Not in timeframe\",IF($H23=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J23,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J23,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,{"$f":"F23&G23","v":""},{"$f":"COUNTA(F23:I23)","v":0},{"$f":"COUNTA(F23:H23)","v":0},{"$f":"COUNTIF(D24:D26,\">\"\"\")","v":0},{"$f":"AND(E23=\"\", SUM(L23:L26)>0)","v":false}]
[null,1.1000000000000001,"Housing & urban areas",{"$f":"IF(OR($H24=Lookups!$AA$7,$H24=Lookups!$AA$8,$H24=Lookups!$AA$9,$H24=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J24,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J24,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G24=Lookups!$Z$10,\"Not a Threat\",IF(OR($F24=Lookups!$X$9,$G24=Lookups!$Z$9),\"Negligible\",IF(OR($F24=Lookups!$X$10,$G24=Lookups!$Z$11),\"Unknown\",IF(OR($H24=Lookups!$AA$7,$H24=Lookups!$AA$8,$H24=Lookups!$AA$15),\"Not in timeframe\",IF($H24=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J24,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J24,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,{"$f":"F24&G24","v":""},{"$f":"COUNTA(F24:I24)","v":0},{"$f":"COUNTA(F24:H24)","v":0}]
[null,1.2,"Commercial & industrial areas",{"$f":"IF(OR($H25=Lookups!$AA$7,$H25=Lookups!$AA$8,$H25=Lookups!$AA$9,$H25=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J25,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J25,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G25=Lookups!$Z$10,\"Not a Threat\",IF(OR($F25=Lookups!$X$9,$G25=Lookups!$Z$9),\"Negligible\",IF(OR($F25=Lookups!$X$10,$G25=Lookups!$Z$11),\"Unknown\",IF(OR($H25=Lookups!$AA$7,$H25=Lookups!$AA$8,$H25=Lookups!$AA$15),\"Not in timeframe\",IF($H25=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J25,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J25,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,1.3,"Tourism & recreation areas",{"$f":"IF(OR($H26=Lookups!$AA$7,$H26=Lookups!$AA$8,$H26=Lookups!$AA$9,$H26=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J26,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J26,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G26=Lookups!$Z$10,\"Not a Threat\",IF(OR($F26=Lookups!$X$9,$G26=Lookups!$Z$9),\"Negligible\",IF(OR($F26=Lookups!$X$10,$G26=Lookups!$Z$11),\"Unknown\",IF(OR($H26=Lookups!$AA$7,$H26=Lookups!$AA$8,$H26=Lookups!$AA$15),\"Not in timeframe\",IF($H26=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J26,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J26,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,2,"Agriculture & aquaculture",{"$f":"IF(OR($H27=Lookups!$AA$7,$H27=Lookups!$AA$8,$H27=Lookups!$AA$9,$H27=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J27,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J27,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G27=Lookups!$Z$10,\"Not a Threat\",IF(OR($F27=Lookups!$X$9,$G27=Lookups!$Z$9),\"Negligible\",IF(OR($F27=Lookups!$X$10,$G27=Lookups!$Z$11),\"Unknown\",IF(OR($H27=Lookups!$AA$7,$H27=Lookups!$AA$8,$H27=Lookups!$AA$15),\"Not in timeframe\",IF($H27=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J27,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J27,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0,{"$f":"COUNTIF(D28:D31,\">\"\"\")","v":0},{"$f":"AND(E27=\"\", SUM(L27:L31)>0)","v":false}]
[null,2.1,"Annual & perennial non-timber crops",{"$f":"IF(OR($H28=Lookups!$AA$7,$H28=Lookups!$AA$8,$H28=Lookups!$AA$9,$H28=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J28,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J28,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G28=Lookups!$Z$10,\"Not a Threat\",IF(OR($F28=Lookups!$X$9,$G28=Lookups!$Z$9),\"Negligible\",IF(OR($F28=Lookups!$X$10,$G28=Lookups!$Z$11),\"Unknown\",IF(OR($H28=Lookups!$AA$7,$H28=Lookups!$AA$8,$H28=Lookups!$AA$15),\"Not in timeframe\",IF($H28=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J28,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J28,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,2.2000000000000002,"Wood & pulp plantations",{"$f":"IF(OR($H29=Lookups!$AA$7,$H29=Lookups!$AA$8,$H29=Lookups!$AA$9,$H29=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J29,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J29,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G29=Lookups!$Z$10,\"Not a Threat\",IF(OR($F29=Lookups!$X$9,$G29=Lookups!$Z$9),\"Negligible\",IF(OR($F29=Lookups!$X$10,$G29=Lookups!$Z$11),\"Unknown\",IF(OR($H29=Lookups!$AA$7,$H29=Lookups!$AA$8,$H29=Lookups!$AA$15),\"Not in timeframe\",IF($H29=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J29,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J29,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,2.2999999999999998,"Livestock farming & ranching",{"$f":"IF(OR($H30=Lookups!$AA$7,$H30=Lookups!$AA$8,$H30=Lookups!$AA$9,$H30=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J30,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J30,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G30=Lookups!$Z$10,\"Not a Threat\",IF(OR($F30=Lookups!$X$9,$G30=Lookups!$Z$9),\"Negligible\",IF(OR($F30=Lookups!$X$10,$G30=Lookups!$Z$11),\"Unknown\",IF(OR($H30=Lookups!$AA$7,$H30=Lookups!$AA$8,$H30=Lookups!$AA$15),\"Not in timeframe\",IF($H30=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J30,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J30,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,2.4,"Marine & freshwater aquaculture",{"$f":"IF(OR($H31=Lookups!$AA$7,$H31=Lookups!$AA$8,$H31=Lookups!$AA$9,$H31=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J31,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J31,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G31=Lookups!$Z$10,\"Not a Threat\",IF(OR($F31=Lookups!$X$9,$G31=Lookups!$Z$9),\"Negligible\",IF(OR($F31=Lookups!$X$10,$G31=Lookups!$Z$11),\"Unknown\",IF(OR($H31=Lookups!$AA$7,$H31=Lookups!$AA$8,$H31=Lookups!$AA$15),\"Not in timeframe\",IF($H31=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J31,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J31,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,3,"Energy production & mining",{"$f":"IF(OR($H32=Lookups!$AA$7,$H32=Lookups!$AA$8,$H32=Lookups!$AA$9,$H32=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J32,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J32,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G32=Lookups!$Z$10,\"Not a Threat\",IF(OR($F32=Lookups!$X$9,$G32=Lookups!$Z$9),\"Negligible\",IF(OR($F32=Lookups!$X$10,$G32=Lookups!$Z$11),\"Unknown\",IF(OR($H32=Lookups!$AA$7,$H32=Lookups!$AA$8,$H32=Lookups!$AA$15),\"Not in timeframe\",IF($H32=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J32,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J32,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0,{"$f":"COUNTIF(D33:D35,\">\"\"\")","v":0},{"$f":"AND(E32=\"\", SUM(L32:L35)>0)","v":false}]
[null,3.1,"Oil & gas drilling",{"$f":"IF(OR($H33=Lookups!$AA$7,$H33=Lookups!$AA$8,$H33=Lookups!$AA$9,$H33=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J33,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J33,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G33=Lookups!$Z$10,\"Not a Threat\",IF(OR($F33=Lookups!$X$9,$G33=Lookups!$Z$9),\"Negligible\",IF(OR($F33=Lookups!$X$10,$G33=Lookups!$Z$11),\"Unknown\",IF(OR($H33=Lookups!$AA$7,$H33=Lookups!$AA$8,$H33=Lookups!$AA$15),\"Not in timeframe\",IF($H33=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J33,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J33,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,3.2,"Mining & quarrying",{"$f":"IF(OR($H34=Lookups!$AA$7,$H34=Lookups!$AA$8,$H34=Lookups!$AA$9,$H34=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J34,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J34,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G34=Lookups!$Z$10,\"Not a Threat\",IF(OR($F34=Lookups!$X$9,$G34=Lookups!$Z$9),\"Negligible\",IF(OR($F34=Lookups!$X$10,$G34=Lookups!$Z$11),\"Unknown\",IF(OR($H34=Lookups!$AA$7,$H34=Lookups!$AA$8,$H34=Lookups!$AA$15),\"Not in timeframe\",IF($H34=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J34,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J34,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,3.3,"Renewable energy",{"$f":"IF(OR($H35=Lookups!$AA$7,$H35=Lookups!$AA$8,$H35=Lookups!$AA$9,$H35=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J35,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J35,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G35=Lookups!$Z$10,\"Not a Threat\",IF(OR($F35=Lookups!$X$9,$G35=Lookups!$Z$9),\"Negligible\",IF(OR($F35=Lookups!$X$10,$G35=Lookups!$Z$11),\"Unknown\",IF(OR($H35=Lookups!$AA$7,$H35=Lookups!$AA$8,$H35=Lookups!$AA$15),\"Not in timeframe\",IF($H35=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J35,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J35,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,4,"Transportation & service corridors",{"$f":"IF(OR($H36=Lookups!$AA$7,$H36=Lookups!$AA$8,$H36=Lookups!$AA$9,$H36=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J36,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J36,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G36=Lookups!$Z$10,\"Not a Threat\",IF(OR($F36=Lookups!$X$9,$G36=Lookups!$Z$9),\"Negligible\",IF(OR($F36=Lookups!$X$10,$G36=Lookups!$Z$11),\"Unknown\",IF(OR($H36=Lookups!$AA$7,$H36=Lookups!$AA$8,$H36=Lookups!$AA$15),\"Not in timeframe\",IF($H36=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J36,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J36,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0,{"$f":"COUNTIF(D37:D40,\">\"\"\")","v":0},{"$f":"AND(E36=\"\", SUM(L36:L40)>0)","v":false}]
[null,4.0999999999999996,"Roads & railroads",{"$f":"IF(OR($H37=Lookups!$AA$7,$H37=Lookups!$AA$8,$H37=Lookups!$AA$9,$H37=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J37,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J37,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G37=Lookups!$Z$10,\"Not a Threat\",IF(OR($F37=Lookups!$X$9,$G37=Lookups!$Z$9),\"Negligible\",IF(OR($F37=Lookups!$X$10,$G37=Lookups!$Z$11),\"Unknown\",IF(OR($H37=Lookups!$AA$7,$H37=Lookups!$AA$8,$H37=Lookups!$AA$15),\"Not in timeframe\",IF($H37=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J37,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J37,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,4.2,"Utility & service lines",{"$f":"IF(OR($H38=Lookups!$AA$7,$H38=Lookups!$AA$8,$H38=Lookups!$AA$9,$H38=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J38,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J38,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G38=Lookups!$Z$10,\"Not a Threat\",IF(OR($F38=Lookups!$X$9,$G38=Lookups!$Z$9),\"Negligible\",IF(OR($F38=Lookups!$X$10,$G38=Lookups!$Z$11),\"Unknown\",IF(OR($H38=Lookups!$AA$7,$H38=Lookups!$AA$8,$H38=Lookups!$AA$15),\"Not in timeframe\",IF($H38=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J38,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J38,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,4.3,"Shipping lanes",{"$f":"IF(OR($H39=Lookups!$AA$7,$H39=Lookups!$AA$8,$H39=Lookups!$AA$9,$H39=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J39,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J39,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G39=Lookups!$Z$10,\"Not a Threat\",IF(OR($F39=Lookups!$X$9,$G39=Lookups!$Z$9),\"Negligible\",IF(OR($F39=Lookups!$X$10,$G39=Lookups!$Z$11),\"Unknown\",IF(OR($H39=Lookups!$AA$7,$H39=Lookups!$AA$8,$H39=Lookups!$AA$15),\"Not in timeframe\",IF($H39=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J39,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J39,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,4.4000000000000004,"Flight paths",{"$f":"IF(OR($H40=Lookups!$AA$7,$H40=Lookups!$AA$8,$H40=Lookups!$AA$9,$H40=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J40,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J40,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G40=Lookups!$Z$10,\"Not a Threat\",IF(OR($F40=Lookups!$X$9,$G40=Lookups!$Z$9),\"Negligible\",IF(OR($F40=Lookups!$X$10,$G40=Lookups!$Z$11),\"Unknown\",IF(OR($H40=Lookups!$AA$7,$H40=Lookups!$AA$8,$H40=Lookups!$AA$15),\"Not in timeframe\",IF($H40=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J40,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J40,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,5,"Biological resource use",{"$f":"IF(OR($H41=Lookups!$AA$7,$H41=Lookups!$AA$8,$H41=Lookups!$AA$9,$H41=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J41,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J41,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G41=Lookups!$Z$10,\"Not a Threat\",IF(OR($F41=Lookups!$X$9,$G41=Lookups!$Z$9),\"Negligible\",IF(OR($F41=Lookups!$X$10,$G41=Lookups!$Z$11),\"Unknown\",IF(OR($H41=Lookups!$AA$7,$H41=Lookups!$AA$8,$H41=Lookups!$AA$15),\"Not in timeframe\",IF($H41=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J41,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J41,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0,{"$f":"COUNTIF(D42:D45,\">\"\"\")","v":0},{"$f":"AND(E41=\"\", SUM(L41:L45)>0)","v":false}]
[null,5.0999999999999996,"Hunting & collecting terrestrial animals",{"$f":"IF(OR($H42=Lookups!$AA$7,$H42=Lookups!$AA$8,$H42=Lookups!$AA$9,$H42=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J42,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J42,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G42=Lookups!$Z$10,\"Not a Threat\",IF(OR($F42=Lookups!$X$9,$G42=Lookups!$Z$9),\"Negligible\",IF(OR($F42=Lookups!$X$10,$G42=Lookups!$Z$11),\"Unknown\",IF(OR($H42=Lookups!$AA$7,$H42=Lookups!$AA$8,$H42=Lookups!$AA$15),\"Not in timeframe\",IF($H42=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J42,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J42,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,5.2,"Gathering terrestrial plants",{"$f":"IF(OR($H43=Lookups!$AA$7,$H43=Lookups!$AA$8,$H43=Lookups!$AA$9,$H43=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J43,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J43,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G43=Lookups!$Z$10,\"Not a Threat\",IF(OR($F43=Lookups!$X$9,$G43=Lookups!$Z$9),\"Negligible\",IF(OR($F43=Lookups!$X$10,$G43=Lookups!$Z$11),\"Unknown\",IF(OR($H43=Lookups!$AA$7,$H43=Lookups!$AA$8,$H43=Lookups!$AA$15),\"Not in timeframe\",IF($H43=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J43,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J43,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,5.3,"Logging & wood harvesting",{"$f":"IF(OR($H44=Lookups!$AA$7,$H44=Lookups!$AA$8,$H44=Lookups!$AA$9,$H44=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J44,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J44,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G44=Lookups!$Z$10,\"Not a Threat\",IF(OR($F44=Lookups!$X$9,$G44=Lookups!$Z$9),\"Negligible\",IF(OR($F44=Lookups!$X$10,$G44=Lookups!$Z$11),\"Unknown\",IF(OR($H44=Lookups!$AA$7,$H44=Lookups!$AA$8,$H44=Lookups!$AA$15),\"Not in timeframe\",IF($H44=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J44,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J44,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,5.4,"Fishing & harvesting aquatic resources",{"$f":"IF(OR($H45=Lookups!$AA$7,$H45=Lookups!$AA$8,$H45=Lookups!$AA$9,$H45=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J45,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J45,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G45=Lookups!$Z$10,\"Not a Threat\",IF(OR($F45=Lookups!$X$9,$G45=Lookups!$Z$9),\"Negligible\",IF(OR($F45=Lookups!$X$10,$G45=Lookups!$Z$11),\"Unknown\",IF(OR($H45=Lookups!$AA$7,$H45=Lookups!$AA$8,$H45=Lookups!$AA$15),\"Not in timeframe\",IF($H45=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J45,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J45,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,6,"Human intrusions & disturbance",{"$f":"IF(OR($H46=Lookups!$AA$7,$H46=Lookups!$AA$8,$H46=Lookups!$AA$9,$H46=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J46,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J46,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G46=Lookups!$Z$10,\"Not a Threat\",IF(OR($F46=Lookups!$X$9,$G46=Lookups!$Z$9),\"Negligible\",IF(OR($F46=Lookups!$X$10,$G46=Lookups!$Z$11),\"Unknown\",IF(OR($H46=Lookups!$AA$7,$H46=Lookups!$AA$8,$H46=Lookups!$AA$15),\"Not in timeframe\",IF($H46=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J46,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J46,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0,{"$f":"COUNTIF(D47:D49,\">\"\"\")","v":0},{"$f":"AND(E46=\"\", SUM(L46:L49)>0)","v":false}]
[null,6.1,"Recreational activities",{"$f":"IF(OR($H47=Lookups!$AA$7,$H47=Lookups!$AA$8,$H47=Lookups!$AA$9,$H47=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J47,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J47,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G47=Lookups!$Z$10,\"Not a Threat\",IF(OR($F47=Lookups!$X$9,$G47=Lookups!$Z$9),\"Negligible\",IF(OR($F47=Lookups!$X$10,$G47=Lookups!$Z$11),\"Unknown\",IF(OR($H47=Lookups!$AA$7,$H47=Lookups!$AA$8,$H47=Lookups!$AA$15),\"Not in timeframe\",IF($H47=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J47,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J47,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,6.2,"War, civil unrest & military exercises",{"$f":"IF(OR($H48=Lookups!$AA$7,$H48=Lookups!$AA$8,$H48=Lookups!$AA$9,$H48=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J48,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J48,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G48=Lookups!$Z$10,\"Not a Threat\",IF(OR($F48=Lookups!$X$9,$G48=Lookups!$Z$9),\"Negligible\",IF(OR($F48=Lookups!$X$10,$G48=Lookups!$Z$11),\"Unknown\",IF(OR($H48=Lookups!$AA$7,$H48=Lookups!$AA$8,$H48=Lookups!$AA$15),\"Not in timeframe\",IF($H48=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J48,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J48,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,6.3,"Work & other activities",{"$f":"IF(OR($H49=Lookups!$AA$7,$H49=Lookups!$AA$8,$H49=Lookups!$AA$9,$H49=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J49,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J49,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G49=Lookups!$Z$10,\"Not a Threat\",IF(OR($F49=Lookups!$X$9,$G49=Lookups!$Z$9),\"Negligible\",IF(OR($F49=Lookups!$X$10,$G49=Lookups!$Z$11),\"Unknown\",IF(OR($H49=Lookups!$AA$7,$H49=Lookups!$AA$8,$H49=Lookups!$AA$15),\"Not in timeframe\",IF($H49=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J49,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J49,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,7,"Natural system modifications",{"$f":"IF(OR($H50=Lookups!$AA$7,$H50=Lookups!$AA$8,$H50=Lookups!$AA$9,$H50=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J50,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J50,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G50=Lookups!$Z$10,\"Not a Threat\",IF(OR($F50=Lookups!$X$9,$G50=Lookups!$Z$9),\"Negligible\",IF(OR($F50=Lookups!$X$10,$G50=Lookups!$Z$11),\"Unknown\",IF(OR($H50=Lookups!$AA$7,$H50=Lookups!$AA$8,$H50=Lookups!$AA$15),\"Not in timeframe\",IF($H50=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J50,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J50,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0,{"$f":"COUNTIF(D51:D53,\">\"\"\")","v":0},{"$f":"AND(E50=\"\", SUM(L50:L53)>0)","v":false}]
[null,7.1,"Fire & fire suppression",{"$f":"IF(OR($H51=Lookups!$AA$7,$H51=Lookups!$AA$8,$H51=Lookups!$AA$9,$H51=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J51,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J51,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G51=Lookups!$Z$10,\"Not a Threat\",IF(OR($F51=Lookups!$X$9,$G51=Lookups!$Z$9),\"Negligible\",IF(OR($F51=Lookups!$X$10,$G51=Lookups!$Z$11),\"Unknown\",IF(OR($H51=Lookups!$AA$7,$H51=Lookups!$AA$8,$H51=Lookups!$AA$15),\"Not in timeframe\",IF($H51=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J51,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J51,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,7.2,"Dams & water management/use",{"$f":"IF(OR($H52=Lookups!$AA$7,$H52=Lookups!$AA$8,$H52=Lookups!$AA$9,$H52=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J52,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J52,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G52=Lookups!$Z$10,\"Not a Threat\",IF(OR($F52=Lookups!$X$9,$G52=Lookups!$Z$9),\"Negligible\",IF(OR($F52=Lookups!$X$10,$G52=Lookups!$Z$11),\"Unknown\",IF(OR($H52=Lookups!$AA$7,$H52=Lookups!$AA$8,$H52=Lookups!$AA$15),\"Not in timeframe\",IF($H52=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J52,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J52,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,7.3,"Other ecosystem modifications",{"$f":"IF(OR($H53=Lookups!$AA$7,$H53=Lookups!$AA$8,$H53=Lookups!$AA$9,$H53=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J53,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J53,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G53=Lookups!$Z$10,\"Not a Threat\",IF(OR($F53=Lookups!$X$9,$G53=Lookups!$Z$9),\"Negligible\",IF(OR($F53=Lookups!$X$10,$G53=Lookups!$Z$11),\"Unknown\",IF(OR($H53=Lookups!$AA$7,$H53=Lookups!$AA$8,$H53=Lookups!$AA$15),\"Not in timeframe\",IF($H53=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J53,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J53,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,8,"Invasive & other problematic species,  genes & diseases",{"$f":"IF(OR($H54=Lookups!$AA$7,$H54=Lookups!$AA$8,$H54=Lookups!$AA$9,$H54=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J54,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J54,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G54=Lookups!$Z$10,\"Not a Threat\",IF(OR($F54=Lookups!$X$9,$G54=Lookups!$Z$9),\"Negligible\",IF(OR($F54=Lookups!$X$10,$G54=Lookups!$Z$11),\"Unknown\",IF(OR($H54=Lookups!$AA$7,$H54=Lookups!$AA$8,$H54=Lookups!$AA$15),\"Not in timeframe\",IF($H54=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J54,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J54,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0,{"$f":"COUNTIF(D55:D60,\">\"\"\")","v":0},{"$f":"AND(E54=\"\", SUM(L54:L60)>0)","v":false}]
[null,8.1,"Invasive non-native/alien species/diseases",{"$f":"IF(OR($H55=Lookups!$AA$7,$H55=Lookups!$AA$8,$H55=Lookups!$AA$9,$H55=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J55,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J55,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G55=Lookups!$Z$10,\"Not a Threat\",IF(OR($F55=Lookups!$X$9,$G55=Lookups!$Z$9),\"Negligible\",IF(OR($F55=Lookups!$X$10,$G55=Lookups!$Z$11),\"Unknown\",IF(OR($H55=Lookups!$AA$7,$H55=Lookups!$AA$8,$H55=Lookups!$AA$15),\"Not in timeframe\",IF($H55=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J55,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J55,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,8.1999999999999993,"Problematic native species/diseases",{"$f":"IF(OR($H56=Lookups!$AA$7,$H56=Lookups!$AA$8,$H56=Lookups!$AA$9,$H56=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J56,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J56,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G56=Lookups!$Z$10,\"Not a Threat\",IF(OR($F56=Lookups!$X$9,$G56=Lookups!$Z$9),\"Negligible\",IF(OR($F56=Lookups!$X$10,$G56=Lookups!$Z$11),\"Unknown\",IF(OR($H56=Lookups!$AA$7,$H56=Lookups!$AA$8,$H56=Lookups!$AA$15),\"Not in timeframe\",IF($H56=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J56,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J56,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,8.3000000000000007,"Introduced genetic material",{"$f":"IF(OR($H57=Lookups!$AA$7,$H57=Lookups!$AA$8,$H57=Lookups!$AA$9,$H57=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J57,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J57,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G57=Lookups!$Z$10,\"Not a Threat\",IF(OR($F57=Lookups!$X$9,$G57=Lookups!$Z$9),\"Negligible\",IF(OR($F57=Lookups!$X$10,$G57=Lookups!$Z$11),\"Unknown\",IF(OR($H57=Lookups!$AA$7,$H57=Lookups!$AA$8,$H57=Lookups!$AA$15),\"Not in timeframe\",IF($H57=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J57,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J57,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,8.4,"Problematic species/diseases of unknown origin",{"$f":"IF(OR($H58=Lookups!$AA$7,$H58=Lookups!$AA$8,$H58=Lookups!$AA$9,$H58=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J58,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J58,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G58=Lookups!$Z$10,\"Not a Threat\",IF(OR($F58=Lookups!$X$9,$G58=Lookups!$Z$9),\"Negligible\",IF(OR($F58=Lookups!$X$10,$G58=Lookups!$Z$11),\"Unknown\",IF(OR($H58=Lookups!$AA$7,$H58=Lookups!$AA$8,$H58=Lookups!$AA$15),\"Not in timeframe\",IF($H58=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J58,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J58,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,{"$f":"F58&G58","v":""},{"$f":"COUNTA(F58:I58)","v":0},{"$f":"COUNTA(F58:H58)","v":0}]
[null,8.5,"Viral/prion-induced diseases",{"$f":"IF(OR($H59=Lookups!$AA$7,$H59=Lookups!$AA$8,$H59=Lookups!$AA$9,$H59=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J59,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J59,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G59=Lookups!$Z$10,\"Not a Threat\",IF(OR($F59=Lookups!$X$9,$G59=Lookups!$Z$9),\"Negligible\",IF(OR($F59=Lookups!$X$10,$G59=Lookups!$Z$11),\"Unknown\",IF(OR($H59=Lookups!$AA$7,$H59=Lookups!$AA$8,$H59=Lookups!$AA$15),\"Not in timeframe\",IF($H59=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J59,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J59,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,8.6,"Diseases of unknown cause",{"$f":"IF(OR($H60=Lookups!$AA$7,$H60=Lookups!$AA$8,$H60=Lookups!$AA$9,$H60=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J60,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J60,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G60=Lookups!$Z$10,\"Not a Threat\",IF(OR($F60=Lookups!$X$9,$G60=Lookups!$Z$9),\"Negligible\",IF(OR($F60=Lookups!$X$10,$G60=Lookups!$Z$11),\"Unknown\",IF(OR($H60=Lookups!$AA$7,$H60=Lookups!$AA$8,$H60=Lookups!$AA$15),\"Not in timeframe\",IF($H60=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J60,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J60,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,9,"Pollution",{"$f":"IF(OR($H61=Lookups!$AA$7,$H61=Lookups!$AA$8,$H61=Lookups!$AA$9,$H61=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J61,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J61,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G61=Lookups!$Z$10,\"Not a Threat\",IF(OR($F61=Lookups!$X$9,$G61=Lookups!$Z$9),\"Negligible\",IF(OR($F61=Lookups!$X$10,$G61=Lookups!$Z$11),\"Unknown\",IF(OR($H61=Lookups!$AA$7,$H61=Lookups!$AA$8,$H61=Lookups!$AA$15),\"Not in timeframe\",IF($H61=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J61,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J61,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0,{"$f":"COUNTIF(D62:D67,\">\"\"\")","v":0},{"$f":"AND(E61=\"\", SUM(L61:L67)>0)","v":false}]
[null,9.1,"Domestic & urban waste water",{"$f":"IF(OR($H62=Lookups!$AA$7,$H62=Lookups!$AA$8,$H62=Lookups!$AA$9,$H62=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J62,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J62,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G62=Lookups!$Z$10,\"Not a Threat\",IF(OR($F62=Lookups!$X$9,$G62=Lookups!$Z$9),\"Negligible\",IF(OR($F62=Lookups!$X$10,$G62=Lookups!$Z$11),\"Unknown\",IF(OR($H62=Lookups!$AA$7,$H62=Lookups!$AA$8,$H62=Lookups!$AA$15),\"Not in timeframe\",IF($H62=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J62,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J62,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,9.1999999999999993,"Industrial & military effluents",{"$f":"IF(OR($H63=Lookups!$AA$7,$H63=Lookups!$AA$8,$H63=Lookups!$AA$9,$H63=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J63,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J63,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G63=Lookups!$Z$10,\"Not a Threat\",IF(OR($F63=Lookups!$X$9,$G63=Lookups!$Z$9),\"Negligible\",IF(OR($F63=Lookups!$X$10,$G63=Lookups!$Z$11),\"Unknown\",IF(OR($H63=Lookups!$AA$7,$H63=Lookups!$AA$8,$H63=Lookups!$AA$15),\"Not in timeframe\",IF($H63=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J63,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J63,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,9.3000000000000007,"Agricultural & forestry effluents",{"$f":"IF(OR($H64=Lookups!$AA$7,$H64=Lookups!$AA$8,$H64=Lookups!$AA$9,$H64=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J64,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J64,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G64=Lookups!$Z$10,\"Not a Threat\",IF(OR($F64=Lookups!$X$9,$G64=Lookups!$Z$9),\"Negligible\",IF(OR($F64=Lookups!$X$10,$G64=Lookups!$Z$11),\"Unknown\",IF(OR($H64=Lookups!$AA$7,$H64=Lookups!$AA$8,$H64=Lookups!$AA$15),\"Not in timeframe\",IF($H64=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J64,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J64,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,{"$f":"COUNTA(F64:H64)","v":0}]
[null,9.4,"Garbage & solid waste",{"$f":"IF(OR($H65=Lookups!$AA$7,$H65=Lookups!$AA$8,$H65=Lookups!$AA$9,$H65=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J65,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J65,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G65=Lookups!$Z$10,\"Not a Threat\",IF(OR($F65=Lookups!$X$9,$G65=Lookups!$Z$9),\"Negligible\",IF(OR($F65=Lookups!$X$10,$G65=Lookups!$Z$11),\"Unknown\",IF(OR($H65=Lookups!$AA$7,$H65=Lookups!$AA$8,$H65=Lookups!$AA$15),\"Not in timeframe\",IF($H65=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J65,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J65,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,9.5,"Air-borne pollutants",{"$f":"IF(OR($H66=Lookups!$AA$7,$H66=Lookups!$AA$8,$H66=Lookups!$AA$9,$H66=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J66,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J66,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G66=Lookups!$Z$10,\"Not a Threat\",IF(OR($F66=Lookups!$X$9,$G66=Lookups!$Z$9),\"Negligible\",IF(OR($F66=Lookups!$X$10,$G66=Lookups!$Z$11),\"Unknown\",IF(OR($H66=Lookups!$AA$7,$H66=Lookups!$AA$8,$H66=Lookups!$AA$15),\"Not in timeframe\",IF($H66=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J66,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J66,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,9.6,"Excess energy",{"$f":"IF(OR($H67=Lookups!$AA$7,$H67=Lookups!$AA$8,$H67=Lookups!$AA$9,$H67=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J67,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J67,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G67=Lookups!$Z$10,\"Not a Threat\",IF(OR($F67=Lookups!$X$9,$G67=Lookups!$Z$9),\"Negligible\",IF(OR($F67=Lookups!$X$10,$G67=Lookups!$Z$11),\"Unknown\",IF(OR($H67=Lookups!$AA$7,$H67=Lookups!$AA$8,$H67=Lookups!$AA$15),\"Not in timeframe\",IF($H67=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J67,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J67,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,10,"Geological events",{"$f":"IF(OR($H68=Lookups!$AA$7,$H68=Lookups!$AA$8,$H68=Lookups!$AA$9,$H68=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J68,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J68,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G68=Lookups!$Z$10,\"Not a Threat\",IF(OR($F68=Lookups!$X$9,$G68=Lookups!$Z$9),\"Negligible\",IF(OR($F68=Lookups!$X$10,$G68=Lookups!$Z$11),\"Unknown\",IF(OR($H68=Lookups!$AA$7,$H68=Lookups!$AA$8,$H68=Lookups!$AA$15),\"Not in timeframe\",IF($H68=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J68,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J68,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0,{"$f":"COUNTIF(D69:D71,\">\"\"\")","v":0},{"$f":"AND(E68=\"\", SUM(L68:L71)>0)","v":false}]
[null,10.1,"Volcanoes",{"$f":"IF(OR($H69=Lookups!$AA$7,$H69=Lookups!$AA$8,$H69=Lookups!$AA$9,$H69=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J69,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J69,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G69=Lookups!$Z$10,\"Not a Threat\",IF(OR($F69=Lookups!$X$9,$G69=Lookups!$Z$9),\"Negligible\",IF(OR($F69=Lookups!$X$10,$G69=Lookups!$Z$11),\"Unknown\",IF(OR($H69=Lookups!$AA$7,$H69=Lookups!$AA$8,$H69=Lookups!$AA$15),\"Not in timeframe\",IF($H69=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J69,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J69,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,10.199999999999999,"Earthquakes/tsunamis",{"$f":"IF(OR($H70=Lookups!$AA$7,$H70=Lookups!$AA$8,$H70=Lookups!$AA$9,$H70=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J70,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J70,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G70=Lookups!$Z$10,\"Not a Threat\",IF(OR($F70=Lookups!$X$9,$G70=Lookups!$Z$9),\"Negligible\",IF(OR($F70=Lookups!$X$10,$G70=Lookups!$Z$11),\"Unknown\",IF(OR($H70=Lookups!$AA$7,$H70=Lookups!$AA$8,$H70=Lookups!$AA$15),\"Not in timeframe\",IF($H70=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J70,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J70,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,10.3,"Avalanches/landslides",{"$f":"IF(OR($H71=Lookups!$AA$7,$H71=Lookups!$AA$8,$H71=Lookups!$AA$9,$H71=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J71,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J71,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G71=Lookups!$Z$10,\"Not a Threat\",IF(OR($F71=Lookups!$X$9,$G71=Lookups!$Z$9),\"Negligible\",IF(OR($F71=Lookups!$X$10,$G71=Lookups!$Z$11),\"Unknown\",IF(OR($H71=Lookups!$AA$7,$H71=Lookups!$AA$8,$H71=Lookups!$AA$15),\"Not in timeframe\",IF($H71=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J71,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J71,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,11,"Climate change & severe weather",{"$f":"IF(OR($H72=Lookups!$AA$7,$H72=Lookups!$AA$8,$H72=Lookups!$AA$9,$H72=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J72,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J72,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G72=Lookups!$Z$10,\"Not a Threat\",IF(OR($F72=Lookups!$X$9,$G72=Lookups!$Z$9),\"Negligible\",IF(OR($F72=Lookups!$X$10,$G72=Lookups!$Z$11),\"Unknown\",IF(OR($H72=Lookups!$AA$7,$H72=Lookups!$AA$8,$H72=Lookups!$AA$15),\"Not in timeframe\",IF($H72=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J72,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J72,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0,{"$f":"COUNTIF(D73:D77,\">\"\"\")","v":0},{"$f":"AND(E72=\"\", SUM(L72:L77)>0)","v":false}]
[null,11.1,"Habitat shifting & alteration",{"$f":"IF(OR($H73=Lookups!$AA$7,$H73=Lookups!$AA$8,$H73=Lookups!$AA$9,$H73=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J73,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J73,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G73=Lookups!$Z$10,\"Not a Threat\",IF(OR($F73=Lookups!$X$9,$G73=Lookups!$Z$9),\"Negligible\",IF(OR($F73=Lookups!$X$10,$G73=Lookups!$Z$11),\"Unknown\",IF(OR($H73=Lookups!$AA$7,$H73=Lookups!$AA$8,$H73=Lookups!$AA$15),\"Not in timeframe\",IF($H73=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J73,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J73,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,11.2,"Droughts",{"$f":"IF(OR($H74=Lookups!$AA$7,$H74=Lookups!$AA$8,$H74=Lookups!$AA$9,$H74=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J74,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J74,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G74=Lookups!$Z$10,\"Not a Threat\",IF(OR($F74=Lookups!$X$9,$G74=Lookups!$Z$9),\"Negligible\",IF(OR($F74=Lookups!$X$10,$G74=Lookups!$Z$11),\"Unknown\",IF(OR($H74=Lookups!$AA$7,$H74=Lookups!$AA$8,$H74=Lookups!$AA$15),\"Not in timeframe\",IF($H74=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J74,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J74,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,11.3,"Temperature extremes",{"$f":"IF(OR($H75=Lookups!$AA$7,$H75=Lookups!$AA$8,$H75=Lookups!$AA$9,$H75=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J75,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J75,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G75=Lookups!$Z$10,\"Not a Threat\",IF(OR($F75=Lookups!$X$9,$G75=Lookups!$Z$9),\"Negligible\",IF(OR($F75=Lookups!$X$10,$G75=Lookups!$Z$11),\"Unknown\",IF(OR($H75=Lookups!$AA$7,$H75=Lookups!$AA$8,$H75=Lookups!$AA$15),\"Not in timeframe\",IF($H75=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J75,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J75,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,11.4,"Storms & flooding",{"$f":"IF(OR($H76=Lookups!$AA$7,$H76=Lookups!$AA$8,$H76=Lookups!$AA$9,$H76=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J76,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J76,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G76=Lookups!$Z$10,\"Not a Threat\",IF(OR($F76=Lookups!$X$9,$G76=Lookups!$Z$9),\"Negligible\",IF(OR($F76=Lookups!$X$10,$G76=Lookups!$Z$11),\"Unknown\",IF(OR($H76=Lookups!$AA$7,$H76=Lookups!$AA$8,$H76=Lookups!$AA$15),\"Not in timeframe\",IF($H76=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J76,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J76,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,{"$f":"F76&G76","v":""},{"$f":"COUNTA(F76:I76)","v":0},{"$f":"COUNTA(F76:H76)","v":0}]
[null,11.5,"Other impacts",{"$f":"IF(OR($H77=Lookups!$AA$7,$H77=Lookups!$AA$8,$H77=Lookups!$AA$9,$H77=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J77,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J77,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G77=Lookups!$Z$10,\"Not a Threat\",IF(OR($F77=Lookups!$X$9,$G77=Lookups!$Z$9),\"Negligible\",IF(OR($F77=Lookups!$X$10,$G77=Lookups!$Z$11),\"Unknown\",IF(OR($H77=Lookups!$AA$7,$H77=Lookups!$AA$8,$H77=Lookups!$AA$15),\"Not in timeframe\",IF($H77=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J77,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J77,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,12,"Other options",{"$f":"IF(OR($H78=Lookups!$AA$7,$H78=Lookups!$AA$8,$H78=Lookups!$AA$9,$H78=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J78,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J78,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G78=Lookups!$Z$10,\"Not a Threat\",IF(OR($F78=Lookups!$X$9,$G78=Lookups!$Z$9),\"Negligible\",IF(OR($F78=Lookups!$X$10,$G78=Lookups!$Z$11),\"Unknown\",IF(OR($H78=Lookups!$AA$7,$H78=Lookups!$AA$8,$H78=Lookups!$AA$15),\"Not in timeframe\",IF($H78=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J78,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J78,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0,{"$f":"COUNTIF(D79:D79,\">\"\"\")","v":0},{"$f":"AND(E78=\"\", SUM(L78:L79)>0)","v":false}]
[null,12.1,"Other threat",{"$f":"IF(OR($H79=Lookups!$AA$7,$H79=Lookups!$AA$8,$H79=Lookups!$AA$9,$H79=Lookups!$AA$15),\"\",\nIF(ISERROR(VLOOKUP(J79,ThreatCalc,2,FALSE)),\"\",VLOOKUP(J79,ThreatCalc,2,FALSE)))","v":""},{"$f":"IF($G79=Lookups!$Z$10,\"Not a Threat\",IF(OR($F79=Lookups!$X$9,$G79=Lookups!$Z$9),\"Negligible\",IF(OR($F79=Lookups!$X$10,$G79=Lookups!$Z$11),\"Unknown\",IF(OR($H79=Lookups!$AA$7,$H79=Lookups!$AA$8,$H79=Lookups!$AA$15),\"Not in timeframe\",IF($H79=Lookups!$AA$9,\"Timing unknown\",IF(ISERROR(VLOOKUP($J79,ThreatCalc,3,FALSE)),\"\",VLOOKUP($J79,ThreatCalc,3,FALSE)))))))","v":""},null,null,null,null,"",0,0]
[null,"Classification of Threats follows IUCN - CMP Unified Classification of Direct Threats Version 3.2.",null,null,null,null," "," ",null," "]

{"sheet":"Threats Data Compiled","index":10,"n_rows":6,"n_cols":18,"rows_kept":6,"cut":false,"hidden":false,"merged":[[4,8,4,9],[0,0,0,13],[0,14,0,16]]}
["Threats Data Compiled",null,null,null,null,null,null,null,null,null,null,null,null,null,"Threats import SQL"]
["This sheet stores data from the Threats Assessment Worksheet for multiple species or ecosystems.  ",null,null,null,null,null,null,null,null,null,null,null,null,null,"Subnational (ESR)","Global (EGR)","National (ENR)"]
["It is not intended for data entry.",null,null,null,null,null,null,null,null,null,null,null,null,null,"insert into element_subnatl_rank(element_subnational_id,rec_create_user) select es.element_subnational_id, 'rank_calc_upload' from element_subnational es, element_subnatl_rank esr where es.element_subnational_id=esr.element_subnational_id(+) and esr.element_subnational_id is null and es.element_subnational_id in();","insert into element_global_rank(element_global_id,rec_create_user) select eg.element_global_id, 'rank_calc_upload' from element_global eg, element_global_rank egr where eg.element_global_id=egr.element_global_id(+) and egr.element_global_id is null and eg.element_global_id in();","insert into element_national_rank(element_national_id,rec_create_user) select en.element_national_id, 'rank_calc_upload' from element_national en, element_national_rank enr where en.element_national_id=enr.element_national_id(+) and enr.element_national_id is null and en.element_national_id in();"," "]
["On this tab (unlike others), you can delete rows to delete data.",null,null,null,null,null,null,null,null,null,null,null,null,null,"delete from EL_SUBNATL_THREATS_ASSESS where element_subnational_id in();","delete from EL_GLOBAL_THREATS_ASSESS where element_global_id in();","delete from EL_NATL_THREATS_ASSESS where element_national_id in();"," "]
["Species or Ecosystem Scientific Name","Element ID","Elcode","Calculated Overall Threat Impact","Assigned Overall Threat Impact","Impact Adjustment Reasons","Threat No.","Threat Description","Threat Impact",null,"Scope","Severity","Timing","Comments","set define off;","set define off;","set define off;"]
[null,null,null,null,null,null,null,null,null,null,null,null,null,null,{"$f":"\"insert into EL_SUBNATL_THREATS_ASSESS (REC_CREATE_USER,ELEMENT_SUBNATIONAL_ID,D_IUCN_THREAT_CATEGORY_ID,D_THREAT_IMPACT_CALC_ID, D_IUCN_THREAT_SCOPE_ID, D_IUCN_THREAT_SEVERITY_ID, D_IUCN_THREAT_TIMING_ID, S_IUCN_THREAT_COMMENTS) \" & \"VALUES('rank_calc_upload',\"&B6&\",pklookup('D_IUCN_THREAT_CATEGORY','IUCN_THREAT_CATEGORY_CD=''\"&G6&\"'''),pklookup('D_THREAT_IMPACT_CALC','upper(THREAT_IMPACT_CALC_DESC)=''\"&UPPER(J6)&\"'''),pklookup('D_IUCN_THREAT_SCOPE','upper(DISPLAY_VALUE)=''\"&UPPER(K6)&\"'''),pklookup('D_IUCN_THREAT_SEVERITY','upper(DISPLAY_VALUE)=''\"&UPPER(L6)&\"'''),pklookup('D_IUCN_THREAT_TIMING','upper(DISPLAY_VALUE)=''\"&UPPER(M6)&\"'''),\"&AddQuotes(N6)&\");\"","v":"insert into EL_SUBNATL_THREATS_ASSESS (REC_CREATE_USER,ELEMENT_SUBNATIONAL_ID,D_IUCN_THREAT_CATEGORY_ID,D_THREAT_IMPACT_CALC_ID, D_IUCN_THREAT_SCOPE_ID, D_IUCN_THREAT_SEVERITY_ID, D_IUCN_THREAT_TIMING_ID, S_IUCN_THREAT_COMMENTS) VALUES('rank_calc_upload',,pklookup('D_IUCN_THREAT_CATEGORY','IUCN_THREAT_CATEGORY_CD='''''),pklookup('D_THREAT_IMPACT_CALC','upper(THREAT_IMPACT_CALC_DESC)='''''),pklookup('D_IUCN_THREAT_SCOPE','upper(DISPLAY_VALUE)='''''),pklookup('D_IUCN_THREAT_SEVERITY','upper(DISPLAY_VALUE)='''''),pklookup('D_IUCN_THREAT_TIMING','upper(DISPLAY_VALUE)='''''),Null);"},{"$f":"\"insert into EL_GLOBAL_THREATS_ASSESS (REC_CREATE_USER,ELEMENT_GLOBAL_ID,D_IUCN_THREAT_CATEGORY_ID,D_THREAT_IMPACT_CALC_ID, D_IUCN_THREAT_SCOPE_ID, D_IUCN_THREAT_SEVERITY_ID, D_IUCN_THREAT_TIMING_ID, G_IUCN_THREAT_COMMENTS) \" & \"VALUES('rank_calc_upload',\"&C6&\",pklookup('D_IUCN_THREAT_CATEGORY','IUCN_THREAT_CATEGORY_CD=''\"&H6&\"'''),pklookup('D_THREAT_IMPACT_CALC','upper(THREAT_IMPACT_CALC_DESC)=''\"&UPPER(K6)&\"'''),pklookup('D_IUCN_THREAT_SCOPE','upper(DISPLAY_VALUE)=''\"&UPPER(L6)&\"'''),pklookup('D_IUCN_THREAT_SEVERITY','upper(DISPLAY_VALUE)=''\"&UPPER(M6)&\"'''),pklookup('D_IUCN_THREAT_TIMING','upper(DISPLAY_VALUE)=''\"&UPPER(N6)&\"'''),\"&AddQuotes(O6)&\");\"","v":"insert into EL_GLOBAL_THREATS_ASSESS (REC_CREATE_USER,ELEMENT_GLOBAL_ID,D_IUCN_THREAT_CATEGORY_ID,D_THREAT_IMPACT_CALC_ID, D_IUCN_THREAT_SCOPE_ID, D_IUCN_THREAT_SEVERITY_ID, D_IUCN_THREAT_TIMING_ID, G_IUCN_THREAT_COMMENTS) VALUES('rank_calc_upload',,pklookup('D_IUCN_THREAT_CATEGORY','IUCN_THREAT_CATEGORY_CD='''''),pklookup('D_THREAT_IMPACT_CALC','upper(THREAT_IMPACT_CALC_DESC)='''''),pklookup('D_IUCN_THREAT_SCOPE','upper(DISPLAY_VALUE)='''''),pklookup('D_IUCN_THREAT_SEVERITY','upper(DISPLAY_VALUE)='''''),pklookup('D_IUCN_THREAT_TIMING','upper(DISPLAY_VALUE)='''''),'insert into EL_SUBNATL_THREATS_ASSESS (REC_CREATE_USER,ELEMENT_SUBNATIONAL_ID,D_IUCN_THREAT_CATEGORY_ID,D_THREAT_IMPACT_CALC_ID, D_IUCN_THREAT_SCOPE_ID, D_IUCN_THREAT_SEVERITY_ID, D_IUCN_THREAT_TIMING_ID, S_IUCN_THREAT_COMMENTS) VALUES(''rank_calc_upload'',,pklookup(''D_IUCN_THREAT_CATEGORY'',''IUCN_THREAT_CATEGORY_CD=''''''''''),pklookup(''D_THREAT_IMPACT_CALC'',''upper(THREAT_IMPACT_CALC_DESC)=''''''''''),pklookup(''D_IUCN_THREAT_SCOPE'',''upper(DISPLAY_VALUE)=''''''''''),pklookup(''D_IUCN_THREAT_SEVERITY'',''upper(DISPLAY_VALUE)=''''''''''),pklookup(''D_IUCN_THREAT_TIMING'',''upper(DISPLAY_VALUE)=''''''''''),Null);');"},{"$f":"\"insert into EL_NATL_THREATS_ASSESS (REC_CREATE_USER,ELEMENT_NATIONAL_ID,D_IUCN_THREAT_CATEGORY_ID,D_THREAT_IMPACT_CALC_ID, D_IUCN_THREAT_SCOPE_ID, D_IUCN_THREAT_SEVERITY_ID, D_IUCN_THREAT_TIMING_ID, N_IUCN_THREAT_COMMENTS) \" & \"VALUES('rank_calc_upload',\"&D6&\",pklookup('D_IUCN_THREAT_CATEGORY','IUCN_THREAT_CATEGORY_CD=''\"&I6&\"'''),pklookup('D_THREAT_IMPACT_CALC','upper(THREAT_IMPACT_CALC_DESC)=''\"&UPPER(L6)&\"'''),pklookup('D_IUCN_THREAT_SCOPE','upper(DISPLAY_VALUE)=''\"&UPPER(M6)&\"'''),pklookup('D_IUCN_THREAT_SEVERITY','upper(DISPLAY_VALUE)=''\"&UPPER(N6)&\"'''),pklookup('D_IUCN_THREAT_TIMING','upper(DISPLAY_VALUE)=''\"&UPPER(O6)&\"'''),\"&AddQuotes(P6)&\");\"","v":"insert into EL_NATL_THREATS_ASSESS (REC_CREATE_USER,ELEMENT_NATIONAL_ID,D_IUCN_THREAT_CATEGORY_ID,D_THREAT_IMPACT_CALC_ID, D_IUCN_THREAT_SCOPE_ID, D_IUCN_THREAT_SEVERITY_ID, D_IUCN_THREAT_TIMING_ID, N_IUCN_THREAT_COMMENTS) VALUES('rank_calc_upload',,pklookup('D_IUCN_THREAT_CATEGORY','IUCN_THREAT_CATEGORY_CD='''''),pklookup('D_THREAT_IMPACT_CALC','upper(THREAT_IMPACT_CALC_DESC)='''''),pklookup('D_IUCN_THREAT_SCOPE','upper(DISPLAY_VALUE)='''''),pklookup('D_IUCN_THREAT_SEVERITY','upper(DISPLAY_VALUE)='''''),pklookup('D_IUCN_THREAT_TIMING','upper(DISPLAY_VALUE)=''INSERT INTO EL_SUBNATL_THREATS_ASSESS (REC_CREATE_USER,ELEMENT_SUBNATIONAL_ID,D_IUCN_THREAT_CATEGORY_ID,D_THREAT_IMPACT_CALC_ID, D_IUCN_THREAT_SCOPE_ID, D_IUCN_THREAT_SEVERITY_ID, D_IUCN_THREAT_TIMING_ID, S_IUCN_THREAT_COMMENTS) VALUES('RANK_CALC_UPLOAD',,PKLOOKUP('D_IUCN_THREAT_CATEGORY','IUCN_THREAT_CATEGORY_CD='''''),PKLOOKUP('D_THREAT_IMPACT_CALC','UPPER(THREAT_IMPACT_CALC_DESC)='''''),PKLOOKUP('D_IUCN_THREAT_SCOPE','UPPER(DISPLAY_VALUE)='''''),PKLOOKUP('D_IUCN_THREAT_SEVERITY','UPPER(DISPLAY_VALUE)='''''),PKLOOKUP('D_IUCN_THREAT_TIMING','UPPER(DISPLAY_VALUE)='''''),NULL);'''),'insert into EL_GLOBAL_THREATS_ASSESS (REC_CREATE_USER,ELEMENT_GLOBAL_ID,D_IUCN_THREAT_CATEGORY_ID,D_THREAT_IMPACT_CALC_ID, D_IUCN_THREAT_SCOPE_ID, D_IUCN_THREAT_SEVERITY_ID, D_IUCN_THREAT_TIMING_ID, G_IUCN_THREAT_COMMENTS) VALUES(''rank_calc_upload'',,pklookup(''D_IUCN_THREAT_CATEGORY'',''IUCN_THREAT_CATEGORY_CD=''''''''''),pklookup(''D_THREAT_IMPACT_CALC'',''upper(THREAT_IMPACT_CALC_DESC)=''''''''''),pklookup(''D_IUCN_THREAT_SCOPE'',''upper(DISPLAY_VALUE)=''''''''''),pklookup(''D_IUCN_THREAT_SEVERITY'',''upper(DISPLAY_VALUE)=''''''''''),pklookup(''D_IUCN_THREAT_TIMING'',''upper(DISPLAY_VALUE)=''''''''''),''insert into EL_SUBNATL_THREATS_ASSESS (REC_CREATE_USER,ELEMENT_SUBNATIONAL_ID,D_IUCN_THREAT_CATEGORY_ID,D_THREAT_IMPACT_CALC_ID, D_IUCN_THREAT_SCOPE_ID, D_IUCN_THREAT_SEVERITY_ID, D_IUCN_THREAT_TIMING_ID, S_IUCN_THREAT_COMMENTS) VALUES(''''rank_calc_upload'''',,pklookup(''''D_IUCN_THREAT_CATEGORY'''',''''IUCN_THREAT_CATEGORY_CD=''''''''''''''''''''),pklookup(''''D_THREAT_IMPACT_CALC'''',''''upper(THREAT_IMPACT_CALC_DESC)=''''''''''''''''''''),pklookup(''''D_IUCN_THREAT_SCOPE'''',''''upper(DISPLAY_VALUE)=''''''''''''''''''''),pklookup(''''D_IUCN_THREAT_SEVERITY'''',''''upper(DISPLAY_VALUE)=''''''''''''''''''''),pklookup(''''D_IUCN_THREAT_TIMING'''',''''upper(DISPLAY_VALUE)=''''''''''''''''''''),Null);'');');"}," "]

{"sheet":"Export from Biotics5","index":11,"n_rows":136,"n_cols":7,"rows_kept":136,"cut":false,"hidden":false,"merged":[[12,0,12,2],[10,0,10,2],[11,0,11,2],[0,0,0,3],[4,0,4,2],[9,0,9,2],[5,0,5,1]]}
["Export Data from Biotics5 into the Calculator Table"]
[]
["Scroll to the right to see Threats Assessment Export Queries."]
["Instructions:"]
["1. Paste one of the 4 queries below into Biotics Query Builder, starting in row 15."]
["2. YOU MUST CHANGE RECORD SELECTION AT END OF QUERY"]
["   a. To select by working list, CHANGE THE WORKING LIST NAME."]
["   b. To select by element_global_id (or element subnational id), CHANGE THE ID list AND REMOVE THE WORKING LIST SECTION ."]
["3. Run the query and paste the results into the rank calculator."]
["a. For the EGR/ESR queries (columns A & C), paste the results into the Calculator Table starting in the first empty row in column B. \n     Your results will be truncated if you have more than 2195 records; this is to ensure that your results don't paste below row 2200 (red line)."]
["b. For the Threats Assessment queries (column E & G), paste the results into Threats Data Compiled in the first empty row. There is no row limit on this tab."]
[]
["CAUTION: If you are planning to make updates to your exported data, make sure you have a plan for tracking these edits and pasting them back into Biotics.\nWe strongly discourage the use of an import for data updates.  (See Import into Biotics tab.)"]
[]
["/******EGR B5 export for Calculator Table",null,"/******ESR B5 export for Calculator Table",null,"/** THREATS ASSESSMENT EXPORT--GLOBAL",null,"/** THREATS ASSESSMENT EXPORT--SUBNATIONAL"]
["This query returns global rank data from Biotics5 for import into the Calculator Table.",null,"This query returns subnational rank data from Biotics5 for import into the Calculator Table.",null,"This query returns global Threats Assessment data for import into Threats Data Compiled.",null,"This query returns subnational Threats Assessment data for import into Threats Data Compiled."]
["REMEMBER TO CHANGE WORKING LIST (or ELEMENT_GLOBAL_IDs) AT END OF QUERY",null,"REMEMBER TO CHANGE WORKING LIST (or ELEMENT_SUBNATIONAL_ IDs) AT END OF QUERY",null,"REMEMBER TO CHANGE WORKING LIST (or ELEMENT_GLOBAL_IDs) AT END OF QUERY",null,"REMEMBER TO CHANGE WORKING LIST (or ELEMENT_SUBNATIONAL_IDs) AT END OF QUERY"]
["******/",null,"******/",null,"******/",null,"******/"]
["SELECT",null,"SELECT",null,"SELECT ",null,"SELECT "]
["    eg.g_rank assigned_rank  ",null,"    es.s_rank assigned_rank  ",null,"    sn.scientific_name ",null,"    sn.scientific_name "]
["  , sn.scientific_name gname",null,"  , sn.scientific_name sname",null,"  , eg.element_global_id   ",null,"  , es.element_subnational_id   "]
["  , case when sn.d_classification_level_id in (7,17) then 'Species' when sn.d_classification_level_id in (8,9,18,19) then 'Infraspecies' when sn.d_classification_level_id = 10 then 'Animal Assemblage' when sn.d_classification_level_id = 47 then 'Association' when sn.d_classification_level_id in (51,61) then 'Ecological System' else case when dcl.d_class_framework_id between 5 and 17 then 'Other Ecological Type' else 'Other' end end name_level ",null,"  , lower(dcl.classification_level_keyword) name_level ",null,"  , eg.elcode_bcd   ",null,"  , eg.elcode_bcd   "]
["  , dpat.ranking_spatial_pattern_desc  ",null,"  , dpat.ranking_spatial_pattern_desc  ",null,"  , dtic.threat_impact_calc_cd overall_impact_calc_cd ",null,"  , dtic.threat_impact_calc_cd overall_impact_calc_cd "]
["  , eg.element_global_id",null,"  , es.element_subnational_id",null,"  , dtia.threat_impact_assigned_cd overall_impact_assigned_cd ",null,"  , dtia.threat_impact_assigned_cd overall_impact_assigned_cd "]
["  , eg.elcode_bcd",null,"  , eg.elcode_bcd",null,"  , egr.g_impact_adjustment_reasons  ",null,"  , esr.s_impact_adjustment_reasons  "]
["  , eg.g_primary_common_name ",null,"  , es.s_primary_common_name ",null,"  , dtc.iucn_threat_category_cd ",null,"  , dtc.iucn_threat_category_cd "]
["  , dnc.name_category_desc",null,"  , dnc.name_category_desc",null,"  , dtc.iucn_threat_category_desc    ",null,"  , dtc.iucn_threat_category_desc    "]
["  , NULL nation ",null,"  , s.subnation_code subnation ",null,"  , dtic2. threat_impact_calc_cd ",null,"  , dtic2. threat_impact_calc_cd "]
["/* Range/Distribution */ ",null,"/* Range/Distribution */ ",null,"  , dtic2. threat_impact_calc_desc ",null,"  , dtic2. threat_impact_calc_desc "]
["  , drange.range_extent_cd",null,"  , drange.range_extent_cd",null,"  , dtsc.display_value scope_cd ",null,"  , dtsc.display_value scope_cd "]
["  , NVL(daood.aoo_direct_default_cd, NVL(daoom.aoo_direct_matrix_cd, daoos.aoo_direct_small_cd)) aoo_direct_combined ",null,"  , NVL(daood.aoo_direct_default_cd, NVL(daoom.aoo_direct_matrix_cd, daoos.aoo_direct_small_cd)) aoo_direct_combined ",null,"  , dtse.display_value severity_cd ",null,"  , dtse.display_value severity_cd "]
["  , daoo4.AOO_4KM_CD aoo_4km_cd",null,"  , daoo4.AOO_4KM_CD aoo_4km_cd",null,"  , dtt.display_value  timing_cd ",null,"  , dtt.display_value  timing_cd "]
["  , daoo1.AOO_1KM_CD aoo_1km_cd",null,"  , daoo1.AOO_1KM_CD aoo_1km_cd",null,"  , ta.g_iucn_threat_comments ",null,"  , ta.s_iucn_threat_comments "]
["/* Abundance and Condition */",null,"/* Abundance and Condition */",null,"FROM ",null,"FROM "]
["  , deos.number_eos_cd ",null,"  , deos.number_eos_cd ",null,"    EL_GLOBAL_THREATS_ASSESS ta",null,"    EL_SUBNATL_THREATS_ASSESS ta"]
["  , dpop.pop_size_cd ",null,"  , dpop.pop_size_cd ",null,"  , element_global eg ",null,"  , element_subnational es "]
["  , dngood.number_good_eos_cd ",null,"  , dngood.number_good_eos_cd ",null," ",null,"  , element_national en "]
["  , dpgood.aoo_percent_good_cd ",null,"  , dpgood.aoo_percent_good_cd ",null," ",null,"  , element_global eg "]
["  , denviro.enviro_specificity_cd ",null,"  , denviro.enviro_specificity_cd ",null,"  , scientific_name sn ",null,"  , scientific_name sn "]
["/* Threats */   ",null,"/* Threats */   ",null,"  , element_global_rank egr",null,"  , element_subnatl_rank esr "]
["  , dthreata.threat_impact_assigned_cd",null,"  , dthreata.threat_impact_assigned_cd",null,"  , d_iucn_threat_category dtc ",null,"  , d_iucn_threat_category dtc "]
["  , dthreatc.threat_impact_calc_cd ",null,"  , dthreatc.threat_impact_calc_cd ",null,"  , d_threat_impact_assigned dtia",null,"  , d_threat_impact_assigned dtia"]
["  , dintrin.intrin_vulnerability_cd ",null,"  , dintrin.intrin_vulnerability_cd ",null,"  , d_threat_impact_calc dtic",null,"  , d_threat_impact_calc dtic"]
["/* Trends */",null,"/* Trends */",null,"  , d_threat_impact_calc dtic2",null,"  , d_threat_impact_calc dtic2"]
["  , dshort.short_term_trend_cd ",null,"  , dshort.short_term_trend_cd ",null,"  , d_iucn_threat_scope dtsc ",null,"  , d_iucn_threat_scope dtsc "]
["  , dlong.long_term_trend_cd ",null,"  , dlong.long_term_trend_cd ",null,"  , d_iucn_threat_severity dtse ",null,"  , d_iucn_threat_severity dtse "]
["/* Reasons and Version */   ",null,"/* Reasons and Version */   ",null,"  , d_iucn_threat_timing dtt ",null,"  , d_iucn_threat_timing dtt "]
["  , egr.g_rank_adjustment_reasons ",null,"  , esr.s_rank_adjustment_reasons ",null,"WHERE",null,"WHERE"]
["  , egr.g_rank_reasons assigned_rank_reasons ",null,"  , esr.s_rank_reasons assigned_rank_reasons ",null,"      ta.element_global_id = eg.element_global_id ",null,"      ta.element_subnational_id = es.element_subnational_id "]
["  , egr.version_author rank_factors_author ",null,"  , esr.version_author rank_factors_author ",null," ",null,"  and es.element_national_id  = en.element_national_id "]
["  , egr.version_date rank_factors_date",null,"  , esr.version_date rank_factors_date",null," ",null,"  and en.element_global_id  = eg.element_global_id "]
["  , egr.g_rank_assignment_author ",null,"  , esr.s_rank_assignment_author ",null,"  and eg.gname_id = sn.scientific_name_id ",null,"  and es.sname_id = sn.scientific_name_id "]
["  , eg.g_rank_review_date",null,"  , es.s_rank_review_date",null,"  and ta.element_global_id = egr.element_global_id (+) ",null,"  and ta.element_subnational_id = esr.element_subnational_id  (+) "]
["  , egr.internal_notes ",null,"  , esr.internal_notes ",null,"  and ta.d_iucn_threat_category_id = dtc.d_iucn_threat_category_id ",null,"  and ta.d_iucn_threat_category_id = dtc.d_iucn_threat_category_id "]
["/* Comments */   ",null,"/* Comments */   ",null,"  and egr.d_threat_impact_assigned_id = dtia.d_threat_impact_assigned_id (+)",null,"  and esr.d_threat_impact_assigned_id = dtia.d_threat_impact_assigned_id (+)"]
["  , egr.g_range_com",null,"  , esr.s_range_com",null,"  and egr.d_threat_impact_calc_id = dtic.d_threat_impact_calc_id (+)",null,"  and esr.d_threat_impact_calc_id = dtic.d_threat_impact_calc_id (+)"]
["  , egr.g_area_dist_of_occupancy_com g_area_of_occupancy_com",null,"  , esr.s_area_dist_of_occupancy_com s_area_of_occupancy_com",null,"  and ta.d_threat_impact_calc_id = dtic2.d_threat_impact_calc_id (+)",null,"  and ta.d_threat_impact_calc_id = dtic2.d_threat_impact_calc_id (+)"]
["  , egr.g_number_eos_com",null,"  , esr.s_number_eos_com",null,"  and ta.d_iucn_threat_scope_id = dtsc.d_iucn_threat_scope_id (+)",null,"  and ta.d_iucn_threat_scope_id = dtsc.d_iucn_threat_scope_id (+)"]
["  , egr.g_pop_size_com",null,"  , esr.s_pop_size_com",null,"  and ta.d_iucn_threat_severity_id = dtse.d_iucn_threat_severity_id (+)",null,"  and ta.d_iucn_threat_severity_id = dtse.d_iucn_threat_severity_id (+)"]
["  , egr.g_number_good_eos_com g_good_eos_aoo_com ",null,"  , esr.s_number_good_eos_com",null,"  and ta.d_iucn_threat_timing_id = dtt.d_iucn_threat_timing_id (+)",null,"  and ta.d_iucn_threat_timing_id = dtt.d_iucn_threat_timing_id (+)"]
["  , egr.g_enviro_specificity_com ",null,"  , esr.s_enviro_specificity_com ",null,"  and dtc.IUCN_THREAT = 'Y'   /* Limit to IUCN threats */ ",null,"  and dtc.IUCN_THREAT = 'Y'   /* Limit to IUCN threats */ "]
["  , egr.g_threat_com ",null,"  , esr.s_threat_com ",null,"  and eg.inactive_ind = 'N' /* EXCLUDE INACTIVES */",null,"  and eg.inactive_ind = 'N' /* EXCLUDE INACTIVES */"]
["  , egr.g_impact_adjustment_reasons ",null,"  , esr.s_impact_adjustment_reasons ",null,"  and eg.element_global_id in",null,"  and es.element_subnational_id  in"]
["  , egr.g_intrinsic_vulnerability_com ",null,"  , esr.s_intrinsic_vulnerability_com ",null,"  /***CHANGE WORKING LIST NAME***/",null,"  /***CHANGE WORKING LIST NAME***/"]
["  , egr.g_short_term_trend_com ",null,"  , esr.s_short_term_trend_com ",null,"  (select wled.data_id ",null,"  (select wled.data_id "]
["  , egr.g_long_term_trend_com ",null,"  , esr.s_long_term_trend_com ",null,"   from working_list_element_data wled, working_list wl",null,"   from working_list_element_data wled, working_list wl"]
["FROM",null,"FROM",null,"   where wled.working_list_id = wl.working_list_id",null,"   where wled.working_list_id = wl.working_list_id"]
["    element_global eg ",null,"    element_global eg ",null,"   and wl.working_list_name = 'ENTER WORKING LIST NAME HERE') ",null,"   and wl.working_list_name = 'ENTER WORKING LIST NAME HERE') "]
[" ",null,"  , element_national en ",null,"/***",null,"/***"]
[" ",null,"  , element_subnational es ",null,"TO USE IDs INSTEAD OF WORKING LIST (for advanced users):",null,"TO USE IDs INSTEAD OF WORKING LIST (for advanced users):"]
["  , element_global_rank egr ",null,"  , element_subnatl_rank esr ",null,"Update and uncomment this element_global_id list and remove the working list section.***/",null,"Update and uncomment this element_subnational_id list and remove the working list section.***/"]
["  , scientific_name sn",null,"  , scientific_name sn",null,"/*  (134469,159233,158927,129364,146099)  */",null,"/*  (8001, 8731, 9819, 34183, 9838)  */"]
["  , d_name_category dnc",null,"  , d_name_category dnc",null,"ORDER BY",null,"ORDER BY"]
["  , d_classification_level dcl",null,"  , d_classification_level dcl",null,"  sn.scientific_name, dtc.display_order",null,"  sn.scientific_name, dtc.display_order"]
["  , d_intrin_vulnerability dintrin",null,"  , d_intrin_vulnerability dintrin"]
["  , d_enviro_specificity denviro",null,"  , d_enviro_specificity denviro"]
["  , d_range_extent drange",null,"  , d_range_extent drange"]
["  , d_ranking_spatial_pattern dpat",null,"  , d_ranking_spatial_pattern dpat"]
["  , d_aoo_direct_default daood",null,"  , d_aoo_direct_default daood"]
["  , d_aoo_direct_small daoos",null,"  , d_aoo_direct_small daoos"]
["  , d_aoo_direct_matrix daoom",null,"  , d_aoo_direct_matrix daoom"]
["  , D_AOO_4KM daoo4",null,"  , D_AOO_4KM daoo4"]
["  , D_AOO_1KM daoo1",null,"  , D_AOO_1KM daoo1"]
["  , d_number_eos deos",null,"  , d_number_eos deos"]
["  , d_pop_size dpop",null,"  , d_pop_size dpop"]
["  , d_number_good_eos dngood",null,"  , d_number_good_eos dngood"]
["  , d_aoo_percent_good dpgood",null,"  , d_aoo_percent_good dpgood"]
["  , d_threat_impact_calc dthreatc",null,"  , d_threat_impact_calc dthreatc"]
["  , d_threat_impact_assigned dthreata",null,"  , d_threat_impact_assigned dthreata"]
["  , d_short_term_trend dshort",null,"  , d_short_term_trend dshort"]
["  , d_long_term_trend dlong ",null,"  , d_long_term_trend dlong "]
["  , d_rank_method_used dmeth ",null,"  , d_rank_method_used dmeth "]
["  , d_number_prot_eos dprot",null,"  , d_number_prot_eos dprot"]
[" ",null,"  , subnation s "]
["WHERE",null,"WHERE"]
[" ",null,"      eg.element_global_id = en.element_global_id"]
[" ",null,"  and en.element_national_id = es.element_national_id"]
["      eg.gname_id = sn.scientific_name_id ",null,"  and es.sname_id = sn.scientific_name_id"]
["  and eg.element_global_id = egr.element_global_id (+) ",null,"  and es.element_subnational_id = esr.element_subnational_id (+) "]
["  and sn.d_name_category_id = dnc.d_name_category_id ",null,"  and sn.d_name_category_id = dnc.d_name_category_id "]
["  and sn.d_classification_level_id = dcl.d_classification_level_id   ",null,"  and sn.d_classification_level_id = dcl.d_classification_level_id   "]
["  and egr.d_intrin_vulnerability_id = dintrin.d_intrin_vulnerability_id (+)",null,"  and esr.d_intrin_vulnerability_id = dintrin.d_intrin_vulnerability_id (+)"]
["  and egr.d_enviro_specificity_id = denviro.d_enviro_specificity_id (+)",null,"  and esr.d_enviro_specificity_id = denviro.d_enviro_specificity_id (+)"]
["  and egr.d_range_extent_id = drange.d_range_extent_id (+)",null,"  and esr.d_range_extent_id = drange.d_range_extent_id (+)"]
["  and egr.d_ranking_spatial_pattern_id = dpat.d_ranking_spatial_pattern_id (+)",null,"  and esr.d_ranking_spatial_pattern_id = dpat.d_ranking_spatial_pattern_id (+)"]
["  and egr.d_aoo_direct_default_id = daood.d_aoo_direct_default_id (+) ",null,"  and esr.d_aoo_direct_default_id = daood.d_aoo_direct_default_id (+) "]
["  and egr.d_aoo_direct_small_id = daoos.d_aoo_direct_small_id (+) ",null,"  and esr.d_aoo_direct_small_id = daoos.d_aoo_direct_small_id (+) "]
["  and egr.d_aoo_direct_matrix_id = daoom.d_aoo_direct_matrix_id (+)",null,"  and esr.d_aoo_direct_matrix_id = daoom.d_aoo_direct_matrix_id (+)"]
["  and egr.D_AOO_4KM_ID = daoo4.D_AOO_4KM_ID (+)",null,"  and esr.D_AOO_4KM_ID = daoo4.D_AOO_4KM_ID (+)"]
["  and egr.D_AOO_1KM_ID = daoo1.D_AOO_1KM_ID (+) ",null,"  and esr.D_AOO_1KM_ID = daoo1.D_AOO_1KM_ID (+) "]
["  and egr.d_number_eos_id = deos.d_number_eos_id (+) ",null,"  and esr.d_number_eos_id = deos.d_number_eos_id (+) "]
["  and egr.d_pop_size_id = dpop.d_pop_size_id (+) ",null,"  and esr.d_pop_size_id = dpop.d_pop_size_id (+) "]
["  and egr.d_number_good_eos_id = dngood.d_number_good_eos_id (+) ",null,"  and esr.d_number_good_eos_id = dngood.d_number_good_eos_id (+) "]
["  and egr.d_aoo_percent_good_id = dpgood.d_aoo_percent_good_id (+) ",null,"  and esr.d_aoo_percent_good_id = dpgood.d_aoo_percent_good_id (+) "]
["  and egr.d_threat_impact_calc_id = dthreatc.d_threat_impact_calc_id (+) ",null,"  and esr.d_threat_impact_calc_id = dthreatc.d_threat_impact_calc_id (+) "]
["  and egr.d_threat_impact_assigned_id = dthreata.d_threat_impact_assigned_id (+)",null,"  and esr.d_threat_impact_assigned_id = dthreata.d_threat_impact_assigned_id (+)"]
["  and egr.d_short_term_trend_id = dshort.d_short_term_trend_id (+) ",null,"  and esr.d_short_term_trend_id = dshort.d_short_term_trend_id (+) "]
["  and egr.d_long_term_trend_id = dlong.d_long_term_trend_id (+)",null,"  and esr.d_long_term_trend_id = dlong.d_long_term_trend_id (+)"]
["  and egr.d_rank_method_used_id = dmeth.d_rank_method_used_id (+)   ",null,"  and esr.d_rank_method_used_id = dmeth.d_rank_method_used_id (+)   "]
["  and egr.d_number_prot_eos_id = dprot.d_number_prot_eos_id (+)   ",null,"  and esr.d_number_prot_eos_id = dprot.d_number_prot_eos_id (+)   "]
[" ",null,"  and es.subnation_id = s.subnation_id"]
["  and eg.inactive_ind = 'N' /* EXCLUDE INACTIVES */",null,"  and eg.inactive_ind = 'N' /* EXCLUDE INACTIVES */"]
["  and eg.element_global_id in",null,"  and es.element_subnational_id in"]
["  /***CHANGE WORKING LIST NAME***/",null,"  /***CHANGE WORKING LIST NAME***/"]
["  (select wled.data_id ",null,"  (select wled.data_id "]
["   from working_list_element_data wled, working_list wl",null,"   from working_list_element_data wled, working_list wl"]
["   where wled.working_list_id = wl.working_list_id",null,"   where wled.working_list_id = wl.working_list_id"]
["   and wl.working_list_name = 'ENTER WORKING LIST NAME HERE') ",null,"   and wl.working_list_name = 'ENTER WORKING LIST NAME HERE') "]
["/***",null,"/***"]
["TO USE IDs INSTEAD OF WORKING LIST (for advanced users):",null,"TO USE IDs INSTEAD OF WORKING LIST (for advanced users):"]
["Update and uncomment this element_global_id list and remove the working list section.***/",null,"Update and uncomment this element_subnational_id list and remove the working list section.***/"]
["/* (101495,688570,120997,140310) */",null,"/* (313364,419787,307285,742259) */"]
["  and rownum < 2196    /* Limit to 2195 results so fits in calculator */",null,"  and rownum < 2196    /* Limit to 2195 results so fits in calculator */"]
["ORDER BY   ",null,"ORDER BY  "]
["  dnc.d_name_category_id,",null,"  dnc.d_name_category_id,"]
["  sn.scientific_name",null,"  sn.scientific_name"]

{"sheet":"Import into Biotics","index":12,"n_rows":6,"n_cols":2,"rows_kept":6,"cut":false,"hidden":false,"merged":[[0,0,0,2],[2,1,2,2],[3,1,3,2]]}
["Importing Data from the Calculator Table and Threats Data Compiled into Biotics 5"]
[]
[null,"This is the correct calculator version to use with the instructions in this Solution:"]
[null,"https://bioticssupport.natureserve.org/support/solutions/articles/239588-how-to-import-excel-rank-calculator-data-into-biotics"]
[]
[null,"If your data are already in this version, you can ignore the steps involving copying data from an older version to this version."]

{"sheet":"for Version2 users","index":13,"n_rows":33,"n_cols":4,"rows_kept":33,"cut":false,"hidden":false,"merged":[[4,1,4,2],[2,1,2,3],[0,0,0,3]]}
["Information for Users of  Element Rank Estimator Simplified v2.0r2"]
[null,"Converting your data from version 2.0r2 to version 3.1"]
[null,"You cannot copy Calculator Table data directly from a version 2 rank estimator to version 3.1, due to new fields and changes in field order.  Instead, download the file \"convert to v3.xlsx\" and follow the instructions."]
[]
[null,"Changes to Element Rank Estimator Simplified since v2.0r2 (2009)\nSee also the Preface to Master et al. 2012."]
[null,"worksheet","change","affects rank?"]
[null,"General","Upgraded to Excel 2007","N"]
[null,null,"Added automatic turn off of Excel drag-and-drop, which causes errors in the Calculator Table","N"]
[null,"Calculator Form","Changed Trends calculation to use the \"Trend Subtraction/Addition Method\" (see \"Implementing the Status Assessment Method\" in Faber-Langendoen et al. 2012)","Y"]
[null,null,"For ecosystems, added a spatial pattern field that changes the Area Occupied scale ","Y"]
[null,null,"Added a field for recording Subnation or Nation","N"]
[null,null,"Added Overall Threat Impact Adjustment Reasons field plus a read-only field for Calculated Overall Threat Impact (from Threats Assessment worksheet)","N"]
[null,null,"Replaced fields Rank Author and Rank Date with 4 fields: Rank Factors Author, Rank Factors Date, Rank Assign Author, and Rank Review Date. The 4 fields correspond to the following Biotics fields, respectively: version_author, version_date, rank_assignment_author (new field), g_rank_review_date.","N"]
[null,null,"Changed the order of Trends and Threats","N"]
[null,null,"Added requirement that scientific name be filled out for Copy Data to Calculator Table","N"]
[null,null,"In the Percent of Area Occupied with Good Viability/Ecological Integrity dropdown, fixed the description of 2 range values: BF and DF (which was incorrectly labeled BE)","N"]
[null,null,"In the Population Size dropdown, fixed the definition for BF (which was incorrectly labeled DF)","N"]
[null,null,"Added guidelines for when to leave Population Size blank","N"]
[null,"Calculator Table","Added option to clear the Threats Assessment worksheet when loading data into the Calculator Form.","N"]
[null,null,"Improved Copy to Form error messages","N"]
[null,null,"Added fields and changed field order to match changes listed under Calculator Form. These changes mean that extra steps must be taken to import version 2 data into version 3.1. (Download the file \"convert to v3.xlsx\" to do so.)","N"]
[null,"Threats Assessment","Fixed calculation of Threat Impact for 2 scope-severity combinations: Scope = Restricted-Small + Severity = Moderate (Impact should be D not CD), and Scope = Restricted + Severity = Moderate-Slight (Impact should be D, not CD).","Y"]
[null,null,"Changed Threat Impact calculation so that if Timing is scored as Low, Insignificant/Negligible, or Unknown, a Threat Impact is not calculated (appears as \"Not in timeframe\"), as threats are assessed within the next 10 years or 3 generationsfor taxa or 20 years for ecosystems.","Y"]
[null,null,"Added \"No known threats\" and \"Unknown/Undetermined\" choices","N"]
[null,null,"Added a warning and highlighting that appear if threat data have been entered but insufficient to calculate Impact for the Level 1 threat","N"]
[null,null,"Added hyperlinks from threats to their descriptions on the CMP website","N"]
[null,null,"Added more information to the scope and severity dropdowns and headings and moved instructions onto a new sheet","N"]
[null,null,"Added “Negligible” options to the scope and severity dropdowns and “Neutral or Potential Benefit” to the severity dropdown.  While the Threats Assessment is not intended to be used as a laundry list of threats, a Negligible option prevents the problem of potential threats beings scored as Low when they really are negligible.","N"]
[null,null,"Changed display of Threat Impact such that a reason is displayed if Impact is not calculated","N"]
[null,null,"Added Calculated Overall Threats Impact to Threats sheets, Calculator Forms, and Tabular Calculator, so it's available for upload to Biotics","N"]
[null,"Threats Data Compiled","Added a Copy to Threats Assessment button and Cautions","N"]
[null,"Biotics Export/Import","Modified the Biotics Export SQL scripts so that elements can be selected by either a working list or a list of element IDs. The SQL must be edited in order to run, which helps prevent users from exporting the wrong data.","N"]
[null,null,"Updated Import into Biotics guidelines","N"]

{"sheet":"Lookups","index":14,"n_rows":137,"n_cols":43,"rows_kept":137,"cut":false,"hidden":true,"merged":[]}
["x",null,"Rank Factor Dropdowns (including range ranks)",null,"HIDDEN TAB"]
["x"]
["x",null,"RARITY 1 FACTOR GROUP",null,null,null,null,null,null,null,null,null,"RARITY 2 FACTOR GROUP",null,null,null,null,null,null,"TRENDS and THREATS FACTOR GROUPS"]
["x",null,"Range Extent  ",null,"Area of Occupancy: km2 DEFAULT/ LARGE PATCH","Area of Occupancy: km2 SMALL PATCH","Area of Occupancy: km2 MATRIX","Area of Occupancy: 4-km2 grid cells","Area of Occupancy: 1-km2 grid cells",null,"Environmental Specificity",null,"Number of Occurrences",null,"Population Size  ",null,"# of Good Occurrences with Good Viability/Ecological Integrity","Percent Area with Good Viability/Ecological Integrity ",null,"Short- and Long-term Trend",null,"Intrinsic Vulnerability","Threat Scope  ","Threat Scope  ","Threat Severity","Threat Severity","Threat Timing",null,"Threat Impact",null,null,"Threat Impact List",null,null,"Threat Impact Calculation",null,null,null,null,null,"Name Category","Classification Level","Spatial Pattern"]
["x","Z","Z = Zero (no occurrences believed extant; presumed extinct)","Z","Z = Zero (no occurrences believed extant; presumed extinct)","Z = Zero (no occurrences believed extant; presumed extinct)","Z = Zero (no occurrences believed extant; presumed extinct)","Z = Zero (no occurrences believed extant; presumed extinct)","Z = Zero (no occurrences believed extant; presumed extinct)","A","A = Very narrow. Specialist or community with key requirements scarce","Z","Z = 0 (zero; presumed extinct)","Z","Z = Zero, no individuals believed extant (presumed extinct)","A","A = No occurrences with excellent or good (A or B) viability or ecological integrity","A = No area with excellent or good (A or B) viability or ecological integrity         ","A","A = Decline of >90%","A","A = Highly vulnerable","Pervasive:  Affects all or most (71-100%) of the total population or occurrences","Pervasive (71-100%)","Extreme:   Likely to destroy or eliminate occurrences, OR reduce population 71-100%","Extreme or 71-100% pop. decline","High (continuing)",null,"A","Very High","A",{"$f":"AC5& \" = \" & AD5","v":"A = Very High"},null,null,"Scope","Severity","concatenated","ImpactLetterValue","Impact",null,"Vascular Plant","Species","Small Patch"]
["x","A","A = <100 sq km (< ~40 sq mi)","A","A = <1 km2","A = <0.1 km2","A = <10 km2","A = 1 4-km2 grid cell","A = 1-4 1-km2 grid cell","B","B = Narrow. Specialist or community with key requirements common","A","A = 1 - 5","A","A = 1 - 50 individuals","B","B = Very few (1-3) occurrences with excellent or good viability or ecological integrity","B = Very small percent (<5%) of area with excellent or good viability or ecological integrity ","B","B = Decline of 80 - 90%","B","B = Moderately vulnerable","Large:         Affects much (31-70%) of the total population or occurrences","Large (31-70%)","Serious:    Likely to seriously degrade/reduce affected occurrences or habitat, OR reduce population 31-70%","Serious or 31-70% pop. decline","Moderate (short-term)",null,"B","High","B",{"$f":"AC6& \" = \" & AD6","v":"B = High"},null,null,"Pervasive (71-100%)","Extreme or 71-100% pop. decline",{"$f":"AI6&AJ6","v":"Pervasive (71-100%)Extreme or 71-100% pop. decline"},"A","Very High",null,"Nonvascular Plant","Infraspecies","Large Patch"]
["x","B","B = 100-250 sq km (~40-100 sq mi)","B","B = 1-5 km2","B = 0.1-0.5 km2","B = 10-30 km2","B = 2 4-km2 grid cells","B = 5-10 1-km2 grid cells","C","C = Moderate. Generalist or community with some key requirements scarce","B","B = 6 - 20","B","B = 50 - 250 individuals","C","C = Few (4-12) occurrences with excellent or good viability or ecological integrity","C = Small percent (5-10%) of area with excellent or good viability or ecological integrity","C","C = Decline of 70 - 80%","C","C = Not intrinsically vulnerable","Restricted: Affects some (11-30%) of the total population or occurrences","Restricted (11-30%)","Moderate: Likely to moderately degrade/reduce affected occurrences or habitat, OR reduce population 11-30%","Moderate or 11-30% pop. decline","Low (long-term)",null,"C","Medium","C",{"$f":"AC7& \" = \" & AD7","v":"C = Medium"},null,null,"Pervasive (71-100%)","Serious or 31-70% pop. decline","Pervasive (71-100%)Serious or 31-70% pop. decline","B","High",null,"Fungus","Animal Assemblage","Matrix"]
["x","C","C = 250-1,000 sq km (~100-400 sq mi)","C","C = 5-10 km2","C = 0.5-1 km2","C = 30-100 km2","C = 3-5 4-km2 grid cells","C = 11-20 1-km2 grid cells","D","D = Broad. Generalist or community with all key requirements common","C","C = 21 - 80","C","C = 250 - 1,000 individuals","D","D = Some (13-40) occurrences with excellent or good viability or ecological integrity","D = Moderate percent (11-20%) of area with excellent or good viability or ecological integrity","D","D = Decline of 50 - 70%","U","U = Unknown","Small:         Affects a small proportion (1-10%) of the total population or occurrences","Small (1-10%)","Slight:       Likely to only slightly degrade/reduce affected occurrences or habitat, OR reduce population 1-10%","Slight or 1-10% pop. decline","Insignificant/Negligible or past",null,"D","Low","D",{"$f":"AC8& \" = \" & AD8","v":"D = Low"},null,null,"Pervasive (71-100%)","Moderate or 11-30% pop. decline","Pervasive (71-100%)Moderate or 11-30% pop. decline","C","Medium",null,"Vertebrate Animal","Association","Unknown"]
["x","D","D = 1,000-5,000 sq km (~400-2,000 sq mi)","D","D = 10-20 km2","D = 1-2 km2","D = 100-300 km2","D = 6-25 4-km2 grid cells","D = 21-100 1-km2 grid cells","U","U = Unknown","D","D = 81 - 300","D","D = 1,000 - 2,500 individuals","E","E = Many (41-125) occurrences with excellent or good viability or ecological integrity","E = Good percent (21-40%) of area with excellent or good viability or ecological integrity","E","E = Decline of 30 - 50%"," ","---- Range values ----","Negligible: Too small to include in calcuation","Negligible (<1%)","Negligible: Too small to include in calcuation","Negligible or <1% pop. decline","Unknown",null,"U","Unknown","U",{"$f":"AC9& \" = \" & AD9","v":"U = Unknown"},null,null,"Pervasive (71-100%)","Slight or 1-10% pop. decline","Pervasive (71-100%)Slight or 1-10% pop. decline","D","Low",null,"Invertebrate Animal","Ecological System"]
["x","E","E = 5,000-20,000 sq km (~2,000-8,000 sq mi)","E","E = 20-100 km2","E = 2-5 km2","E = 300-1,000 km2","E = 26-125 4-km2 grid cells","E = 101-500 1-km2 grid cells"," ","---- Range values ----","E","E = >300","E","E = 2,500 - 10,000 individuals","F","F = Very many (>125) occurrences with excellent or good viability or ecological integrity","F = Excellent percent (>40%) of area with excellent or good viability or ecological integrity","F","F = Decline of 10 - 30%","AB","AB = Highly to moderately vulnerable","Unknown","Unknown","Neutral or Potential Benefit","Neutral or Potential Benefit","-- Uncertainty Ranges --",null,null,null,null,"---- Uncertainty Ranges ----",null,null,"Large (31-70%)","Extreme or 71-100% pop. decline","Large (31-70%)Extreme or 71-100% pop. decline","B","High",null,"Animal Assemblage","Other Ecological Type"]
["x","F","F = 20,000-200,000 sq km (~8,000-80,000 sq mi)","F","F = 100-500 km2","F = 5-20 km2","F = 1,000-5,000 km2","F = 126-500 4-km2 grid cells","F = 501-2,000 1-km2 grid cells","AB","AB = Very narrow to narrow","U","U = Unknown","F","F = 10,000 - 100,000 individuals","U","U = Unknown","U = Unknown","G","G = Relatively Stable (<=10% change)","BC","BC = Moderately vulnerable to not intrinsically vulnerable","---- Uncertainty Ranges ----","-- Uncertainty Ranges --","Unknown","Unknown","High - Moderate",null,"AB",{"$f":"MID(AF11,6,99)","v":"Very High - High"},"AB","AB = Very High - High",null,null,"Large (31-70%)","Serious or 31-70% pop. decline","Large (31-70%)Serious or 31-70% pop. decline","B","High",null,"International Vegetation Classification"]
["x","G","G = 200,000-2,500,000 sq km (~80,000-1,000,000 sq mi)","G","G = 500-2,000 km2","G = 20-100 km2","G = 5,000- 25,000 km2","G = 501-2,500 4-km2 grid cells","G = 2,001-10,000 1-km2 grid cells","AC","AC = Very narrow to moderate"," ","---- Range values (Z last) ----","G","G = 100,000 - 1,000,000 individuals"," ","---- Range values ----","---- Range values ----","H","H = Increase of 10 - 25%",null,null,"Pervasive - Large        (31-100%)","Pervasive - Large","---- Uncertainty Ranges ----","-- Uncertainty Ranges --","High - Low",null,"AC",{"$f":"MID(AF12,6,99)","v":"Very High - Medium"},"AC","AC = Very High - Medium",null,null,"Large (31-70%)","Moderate or 11-30% pop. decline","Large (31-70%)Moderate or 11-30% pop. decline","C","Medium",null,"International Terrestrial Ecological System Classification"]
["x","H","H = >2,500,000 sq km (> 1,000,000 sq mi)","H","H = 2,000-20,000 km2","H = 100-500 km2","H = 25,000-200,000 km2","H = 2,501-12,500 4-km2 grid cells","H = 10,001-50,000 1-km2 grid cells","BC","BC = Narrow to moderate","AB","AB = 1 - 20","H","H = >1,000,000 individuals","AB","AB = None to very few (0-3) occurrences with good viability","AB = None to very small percent (0 or <5%) of area","I","I = Increase of >25%",null,null,"Pervasive - Restricted (11-100%)","Pervasive - Restricted","Extreme - Serious","Extreme - Serious","Moderate - Low",null,"BC",{"$f":"MID(AF13,6,99)","v":"High - Medium"},"BC","BC = High - Medium",null,null,"Large (31-70%)","Slight or 1-10% pop. decline","Large (31-70%)Slight or 1-10% pop. decline","D","Low",null,"Other Ecological Classification"]
["x","U","U = Unknown","I","I = >20,000 km2","I = > 500 km2","I = >200,000 km2","I = > 12,500 4-km2 grid cells","I = > 50,000 1-km2 grid cells","BD","BD = Narrow to broad","AC","AC = 1 - 80","U","U = Unknown","AC","AC = None to few (0-12) occurrences with good viability","AC = None to small percent (0 or <11%) of area        ","U","U = Unknown",null,null,"Large - Restricted         (11-70%)","Large - Restricted","Extreme - Moderate","Extreme - Moderate","Moderate - Insignificant/Negligible",null,"BD",{"$f":"MID(AF14,6,99)","v":"High - Low"},"BD","BD = High - Low",null,null,"Restricted (11-30%)","Extreme or 71-100% pop. decline","Restricted (11-30%)Extreme or 71-100% pop. decline","C","Medium"]
["x"," ","---- Range values (Z last) ----","U","U = Unknown","U = Unknown","U = Unknown","U = Unknown","U = Unknown","CD","CD = Moderate to broad","AD","AD = 1 - 300"," ","---- Range values (Z last) ----","AD","AD = None to some (0-40) occurrences with good viability","AD = None to moderate percent (0 or <21%) of area        "," ","---- Range values ----",null,null,"Large - Small                   (1-70%)","Large - Small","Serious - Moderate","Serious - Moderate","Low - Insignificant/Negligible",null,"CD",{"$f":"MID(AF15,6,99)","v":"Medium - Low"},"CD","CD = Medium - Low",null,null,"Restricted (11-30%)","Serious or 31-70% pop. decline","Restricted (11-30%)Serious or 31-70% pop. decline","C","Medium"]
["x","AB","AB = <100-250 sq km (< ~40 to 100 sq miles)"," ","---- Range values (Z last) ----","---- Range values (Z last) ----","---- Range values (Z last) ----","---- Range values (Z last) ----","---- Range values (Z last) ----",null,null,"BC","BC = 6 - 80","AB","AB = 1 - 250 individuals","AE","AE = None to many (0-125) occurrences with good viability","AE = None to good percent (0 or <41%) of area","AB","AB = Decline of >80%",null,null,"Restricted - Small            (1-30%)","Restricted - Small","Serious - Slight","Serious - Slight",null,null,null,null,null,null,null,null,"Restricted (11-30%)","Moderate or 11-30% pop. decline","Restricted (11-30%)Moderate or 11-30% pop. decline","D","Low"]
["x","AC","AC = <100-1000 sq km (< ~40-400 sq miles)","AB","AB = <5 km2","AB = <0.5 km2","AB = <30 km2","AB = 1-2 4-km2 grid cells","AB = 1-10 1-km2 grid cells",null,null,"BD","BD = 6 - 300","AC","AC = 1 - 1000 individuals","BC","BC = Very few to few (1-12) occurrences with good viability","BC = Very small to small percent (<11%) of area        ","AC","AC = Decline of >70%",null,null,null,null,"Moderate - Slight","Moderate - Slight",null,null,null,null,null,null,null,null,"Restricted (11-30%)","Slight or 1-10% pop. decline","Restricted (11-30%)Slight or 1-10% pop. decline","D","Low"]
["x","AD","AD = <100-5000 sq km (< ~40-2000 sq miles)","AC","AC = <10 km2","AC = <1 km2","AC = <100 km2","AC = 1-5 4-km2 grid cells","AC = 1-20 1-km2 grid cells",null,null,"BE","BE = 6 to >300","AD","AD = 1 - 2500 individuals","BD","BD = Very few to some (1-40) occurrences with good viability","BD = Very small to moderate percent (<21%) of area        ","AD","AD = Decline of >50%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Small (1-10%)","Extreme or 71-100% pop. decline","Small (1-10%)Extreme or 71-100% pop. decline","D","Low"]
["x","AE","AE = <100-20,000 sq km (< ~40-8000 sq miles)","AD","AD = <20 km2","AD = <2 km2","AD = <300 km2","AD = 1-25 4-km2 grid cells","AD = 1-100 1-km2 grid cells",null,null,"CD","CD = 21 - 300","AE","AE = 1 - 10,000 individuals","BE","BE = Very few to many (1-125) occurrences with good viability","BE = Very small to good percent (<41%) of area","AE","AE = Decline of >30%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Small (1-10%)","Serious or 31-70% pop. decline","Small (1-10%)Serious or 31-70% pop. decline","D","Low"]
["x","AF","AF = <100-200,000 sq km (< ~40-80,000 sq miles)","AE","AE = <100 km2","AE = <5 km2","AE = <1,000 km2","AE = 1-125 4-km2 grid cells","AE = 1-500 1-km2 grid cells",null,null,"CE","CE = 21 to >300","AF","AF = 1 - 100,000 individuals","BF","BF = Very few to very many (1 to >125) occurrences with good viability","BF = Very small to excellent percent (>0%) of area","AF","AF = Decline of >10%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Small (1-10%)","Moderate or 11-30% pop. decline","Small (1-10%)Moderate or 11-30% pop. decline","D","Low"]
["x","AG","AG = <100-2,500,000 sq km (< ~40-1,000,000 sq miles)","AF","AF = <500 km2","AF = <20 km2","AF = <5,000 km2","AF = 1-500 4-km2 grid cells","AF = 1-2,000 1-km2 grid cells",null,null,"DE","DE = 81 to >300","AG","AG = 1 - 1,000,000 individuals","CD","CD = Few to some (4-40) occurrences with good viability","CD = Small to moderate percent (5-20%) of area        ","AG","AG = Decline of >90% to Relatively Stable",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Small (1-10%)","Slight or 1-10% pop. decline","Small (1-10%)Slight or 1-10% pop. decline","D","Low"]
["x","BC","BC = 100-1000 sq km (~40-400 sq miles)","AG","AG = <2,000 km2","AG = <100 km2","AG = <25,000 km2","AG = 1-2,500 4-km2 grid cells","AG = 1-10,000 1-km2 grid cells",null,null,"ZA","ZA = 0 - 5","BC","BC = 50 - 1000 individuals","CE","CE = Few to many (4-125) occurrences with good viability","CE = Small to good percent (5-40%) of area","AH","AH = Decline of >90% to increase of <25%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive (71-100%)","Extreme - Serious","Pervasive (71-100%)Extreme - Serious","AB","Very High - High"]
["x","BD","BD = 100-5000 sq km (~40-2000 sq miles)","AH","AH = <20,000 km2","AH = <500 km2","AH = <200,000 km2","AH = 1-12,500 4-km2 grid cells","AH = 1-50,000 1-km2 grid cells",null,null,"ZB","ZB = 0 - 20","BD","BD = 50 - 2500 individuals","CF","CF = Few to very many (4 to >125) occurrences with good viability","CF = Small to excellent percent (>4%) of area","BC","BC = Decline of 70 - 90%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive (71-100%)","Extreme - Moderate","Pervasive (71-100%)Extreme - Moderate","AC","Very High - Medium"]
["x","BE","BE = 100-20,000 sq km (~40-8000 sq miles)","BC","BC = 1-10 km2","BC = 0.1-1 km2","BC = 10-100 km2","BC = 2-5 4-km2 grid cells","BC = 5-20 1-km2 grid cells",null,null,"ZC","ZC = 0 - 80","BE","BE = 50 - 10,000 individuals","DE","DE = Some to many (13-125) occurrences with good viability","DE = Moderate to good percent (11-40%) of area","BD","BD = Decline of 50 - 90%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive (71-100%)","Serious - Moderate","Pervasive (71-100%)Serious - Moderate","BC","High - Medium"]
["x","BF","BF = 100-200,000 sq km (~40-80,000 sq miles)","BD","BD = 1-20 km2","BD = 0.1-2 km2","BD = 10-300 km2","BD = 2-25 4-km2 grid cells","BD = 5-100 1-km2 grid cells",null,null,"ZD","ZD = 0 - 300","BF","BF = 50 - 100,000 individuals","DF","DF = Moderate to excellent proportion (>10%) of area","DF = Moderate to excellent percent (>10%) of area","BE","BE = Decline of 30 - 90%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive (71-100%)","Serious - Slight","Pervasive (71-100%)Serious - Slight","BD","High - Low"]
["x","BG","BG = 100-2,500,000 sq km (~40-1,000,000 sq miles)","BE","BE = 1-100 km2","BE = 0.1-5 km2","BE = 10-1,000 km2","BE = 2-125 4-km2 grid cells","BE = 5-500 1-km2 grid cells",null,null,"BF","BF = 50 - 100,000 individuals","BG","BG = 50 - 1,000,000 individuals","EF","EF = Many to very many (41 to >125) occurrences with good viability","EF = Good to excellent percent (>20%) of area","BF","BF = Decline of 10 - 90%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive (71-100%)","Moderate - Slight","Pervasive (71-100%)Moderate - Slight","CD","Medium - Low"]
["x","BH","BH = 100 to >2,500,000 sq km (~40 to >1,000,000 sq miles)","BF","BF = 1-500 km2","BF = 0.1-20 km2","BF = 10-5,000 km2","BF = 2-500 4-km2 grid cells","BF = 5-2,000 1-km2 grid cells",null,null,null,null,"BH","BH = 50 to >1,000,000 individuals",null,null,null,"BG","BG = Decline of <90% to Relatively Stable",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Large (31-70%)","Extreme - Serious","Large (31-70%)Extreme - Serious","B","High"]
["x","CD","CD = 250-5000 sq km (~100-2000 sq miles)","BG","BG = 1-2,000 km2","BG = 0.1-100 km2","BG = 10-25,000 km2","BG = 2-2,500 4-km2 grid cells","BG = 5-10,000 1-km2 grid cells",null,null,null,null,"CD","CD = 250 - 2500 individuals",null,null,null,"BH","BH = Decline of <90% to increase of <25%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Large (31-70%)","Extreme - Moderate","Large (31-70%)Extreme - Moderate","BC","High - Medium"]
["x","CE","CE = 250-20,000 sq km (~100-8000 sq miles)","BH","BH = 1-20,000 km2","BH = 0.1-500 km2","BH = 10-200,000 km2","BH = 2-12,500 4-km2 grid cells","BH = 5-50,000 1-km2 grid cells",null,null,null,null,"CE","CE = 250 - 10,000 individuals",null,null,null,"CD","CD = Decline of 50 - 80%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Large (31-70%)","Serious - Moderate","Large (31-70%)Serious - Moderate","BC","High - Medium"]
["x","CF","CF = 250-200,000 sq km (~100-80,000 sq miles)","BI","BI = 1 to >20,000 km2","BI = 0.1 to >500 km2","BI = 10 to >200,000 km2","BI = 2 to >12,500 4-km2 grid cells","BI = 5 to >50,000 1-km2 grid cells",null,null,null,null,"CF","CF = 250 - 100,000 individuals",null,null,null,"CE","CE = Decline of 30 - 80%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Large (31-70%)","Serious - Slight","Large (31-70%)Serious - Slight","BD","High - Low"]
["x","CG","CG = 250-2,500,000 sq km (~100-1,000,000 sq miles)","CD","CD = 5-20 km2","CD = 0.5-2 km2","CD = 30-300 km2","CD = 3-25 4-km2 grid cells","CD = 11-100 1-km2 grid cells",null,null,null,null,"CG","CG = 250 - 1,000,000 individuals",null,null,null,"CF","CF = Decline of 10 - 80%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Large (31-70%)","Moderate - Slight","Large (31-70%)Moderate - Slight","CD","Medium - Low"]
["x","CH","CH = 250 to >2,500,000 sq km (~100 to >2,500,000 sq miles)","CE","CE = 5-100 km2","CE = 0.5-5 km2","CE = 30-1,000 km2","CE = 4-125 4-km2 grid cells","CE = 11-500 1-km2 grid cells",null,null,null,null,"CH","CH = 250 to > 1,000,000 individuals",null,null,null,"CG","CG = Decline of <80% to Relatively Stable",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Restricted (11-30%)","Extreme - Serious","Restricted (11-30%)Extreme - Serious","C","Medium"]
["x","DE","DE = 1000-20,000 sq km (~400-8000 sq miles)","CF","CF = 5-500 km2","CF = 0.5-20 km2","CF = 30-5,000 km2","CF = 4-500 4-km2 grid cells","CF = 11-2,000 1-km2 grid cells",null,null,null,null,"DE","DE = 1000 - 10,000 individuals",null,null,null,"CH","CH = Decline of <80% to increase of <25%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Restricted (11-30%)","Extreme - Moderate","Restricted (11-30%)Extreme - Moderate","CD","Medium - Low"]
["x","DF","DF = 1000-200,000 sq km (~400-80,000 sq miles)","CG","CG = 5-2,000 km2","CG = 0.5-100 km2","CG = 30-25,000 km2","CG = 4-2,500 4-km2 grid cells","CG = 11-10,000 1-km2 grid cells",null,null,null,null,"DF","DF = 1000 - 100,000 individuals",null,null,null,"CI","CI =   Decline of <80% to increase of >25%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Restricted (11-30%)","Serious - Moderate","Restricted (11-30%)Serious - Moderate","CD","Medium - Low"]
["x","DG","DG = 1000-2,500,000 sq km (~400-1,000,000 sq miles)","CH","CH = 5-20,000 km2","CH = 0.5-500 km2","CH = 30-200,000 km2","CH = 4-12,500 4-km2 grid cells","CH = 11-50,000 1-km2 grid cells",null,null,null,null,"DG","DG = 1000 - 1,000,000 individuals",null,null,null,"DE","DE = Decline of 30 - 70%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Restricted (11-30%)","Serious - Slight","Restricted (11-30%)Serious - Slight","CD","Medium - Low"]
["x","DH","DH = 1000 to >2,500,000 sq km (~400 to >1,000,000 sq miles)","CI","CI = 5 to >20,000 km2","CI = 0.5 to >500 km2","CI  = 30 to >200,000 km2","CI = 4 to >12,500 4-km2 grid cells","CI = 11 to >50,000 1-km2 grid cells",null,null,null,null,"DH","DH = 1000 to >1,000,000 individuals",null,null,null,"DF","DF = Decline of 10 - 70%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Restricted (11-30%)","Moderate - Slight","Restricted (11-30%)Moderate - Slight","D","Low"]
["x","EF","EF = 5000-200,000 sq km (~2000-80,000 sq miles)","DE","DE = 10-100 km2","DE = 1-5 km2","DE = 100-1,000 km2","DE = 6-125 4-km2 grid cells","DE = 21-500 1-km2 grid cells",null,null,null,null,"EF","EF = 2500 - 100,000 individuals",null,null,null,"DG","DG = Decline of <70% to Relatively Stable",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Small (1-10%)","Extreme - Serious","Small (1-10%)Extreme - Serious","D","Low"]
["x","EG","EG = 5000-2,500,000 sq km (~2000-1,000,000 sq miles)","DF","DF = 10-500 km2","DF = 1-20 km2","DF = 100-5,000 km2","DF = 6-500 4-km2 grid cells","DF = 21-2,000 1-km2 grid cells",null,null,null,null,"EG","EG = 2500 - 1,000,000 individuals",null,null,null,"DH","DH = Decline of <70% to increase of <25%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Small (1-10%)","Extreme - Moderate","Small (1-10%)Extreme - Moderate","D","Low"]
["x","EH","EH = 5000 to >2,500,000 sq km (~2000 to >1,000,000 sq miles)","DG","DG = 10-2,000 km2","DG = 1-100 km2","DG = 100-25,000 km2","DG = 6-2,500 4-km2 grid cells","DG = 21-10,000 1-km2 grid cells",null,null,null,null,"EH","EH = 2500 to >1,000,000 individuals",null,null,null,"DI","DI =   Decline of <70% to increase of >25%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Small (1-10%)","Serious - Moderate","Small (1-10%)Serious - Moderate","D","Low"]
["x","FG","FG = 20,000-2,500,000 sq km (~8000-1,000,000 sq miles)","DH","DH = 10-20,000 km2","DH = 1-500 km2","DH = 100-200,000 km2","DH = 6-12,500 4-km2 grid cells","DH = 21-50,000 1-km2 grid cells",null,null,null,null,"FG","FG = 10,000 - 1,000,000 individuals",null,null,null,"EF","EF =  Decline of 10 - 50%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Small (1-10%)","Serious - Slight","Small (1-10%)Serious - Slight","D","Low"]
["x","FH","FH = 20,000 to >2,500,000 sq km (~8000 to >1,000,000 sq miles)","DI","DI = 10 to >20,000 km2","DI = 1 to >500 km2","DI  = 100 to >200,000 km2","DI = 6 to >12,500 4-km2 grid cells","DI = 21 to >50,000 1-km2 grid cells",null,null,null,null,"FH","FH = 10,000 to >1,000,000 individuals",null,null,null,"EG","EG = Decline of <50% to Relatively Stable",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Small (1-10%)","Moderate - Slight","Small (1-10%)Moderate - Slight","D","Low"]
["x","GH","GH = 200,000 to >2,500,000 sq km (~80,000 to >1,000,000 sq miles)","EF","EF = 20-500 km2","EF = 2-20 km2","EF = 300-5,000 km2","EF = 26-500 4-km2 grid cells","EF = 101-2,000 1-km2 grid cells",null,null,null,null,"GH","GH = 100,000 to >1,000,000 individuals",null,null,null,"EH","EH = Decline of <50% to increase of <25%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive - Large","Extreme or 71-100% pop. decline","Pervasive - LargeExtreme or 71-100% pop. decline","AB","Very High - High"]
["x","ZA","ZA = Zero to <100 sq km (zero to < ~40 sq miles)","EG","EG = 20-2,000 km2","EG = 2-100 km2","EG = 300-25,000 km2","EG = 26-2,500 4-km2 grid cells","EG = 101-10,000 1-km2 grid cells",null,null,null,null,"ZA","ZA = Zero to 50 individuals",null,null,null,"EI","EI =   Decline of <50% to increase of >25%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive - Large","Serious or 31-70% pop. decline","Pervasive - LargeSerious or 31-70% pop. decline","B","High"]
["x","ZB","ZB = Zero to 250 sq km (zero to ~100 sq miles)","EH","EH = 20-20,000 km2","EH = 2-500 km2","EH = 300-200,000 km2","EH = 26-12,500 4-km2 grid cells","EH = 101-50,000 1-km2 grid cells",null,null,null,null,"ZB","ZB = Zero to 250 individuals",null,null,null,"FG","FG = Decline of <30% to relatively stable",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive - Large","Moderate or 11-30% pop. decline","Pervasive - LargeModerate or 11-30% pop. decline","C","Medium"]
["x","ZC","ZC = Zero to 1000 sq km (zero to ~400 sq miles)","EI","EI = 20 to >20,000 km2","EI = 2 to >500 km2","EI  = 300 to >200,000 km2","EI = 26 to >12,500 4-km2 grid cells","EI = 101 to >50,000 1-km2 grid cells",null,null,null,null,"ZC","ZC = Zero to 1000 individuals",null,null,null,"FH","FH = Decline of <30% to increase of 25%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive - Large","Slight or 1-10% pop. decline","Pervasive - LargeSlight or 1-10% pop. decline","D","Low"]
["x","ZD","ZD = Zero to 5000 sq km (zero to ~2000 sq miles)","FG","FG = 100-2,000 km2","FG = 5-100 km2","FG = 1,000-25,000 km2","FG = 126-2,500 4-km2 grid cells","FG = 501-10,000 1-km2 grid cells",null,null,null,null,"ZD","ZD = Zero to 2500 individuals",null,null,null,"FI","FI =   Decline of <30% to increase of >25%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive - Large","Extreme - Serious","Pervasive - LargeExtreme - Serious","AB","Very High - High"]
["x","ZE","ZE = Zero to 20,000 sq km (zero to ~8000 sq miles)","FH","FH = 100-20,000 km2","FH = 5-500 km2","FH = 1,000-200,000 km2","FH = 126-12,500 4-km2 grid cells","FH = 501-50,000 1-km2 grid cells",null,null,null,null,"ZE","ZE = Zero to 10,000 individuals",null,null,null,"GH","GH = Relatively Stable to increase of <25%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive - Large","Extreme - Moderate","Pervasive - LargeExtreme - Moderate","AC","Very High - Medium"]
["x","ZF","ZF = Zero to 200,000 sq km (zero to ~80,000 sq miles)","FI","FI = 100 to >20,000 km2","FI = 5 to >500 km2","FI = 1,000 to >200,000 km2","FI = 126 to >12,500 4-km2 grid cells","FI = 501 to >50,000 1-km2 grid cells",null,null,null,null,"ZF","ZF = Zero to 100,000 individuals",null,null,null,"GI","GI =   Relatively Stable to increase of >25%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive - Large","Serious - Moderate","Pervasive - LargeSerious - Moderate","BC","High - Medium"]
["x","ZG","ZG = Zero to 2,500,000 sq km (zero to ~1,000,000 sq miles)","GH","GH = 500-20,000 km2","GH = 20-500 km2","GH = 5,000-200,000 km2","GH = 501-12,500 4-km2 grid cells","GH = 2,001-50,000 1-km2 grid cells",null,null,null,null,"ZG","ZG = Zero to 1,000,000 individuals",null,null,null,"HI","HI =   Increase of >10%",null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Pervasive - Large","Serious - Slight","Pervasive - LargeSerious - Slight","BD","High - Low"]
["x",null,null,"GI","GI = 500 to >20,000 km2","GI = 20 to >500 km2","GI  = 5,000 to >200,000 km2","GI = 501 to >12,500 4-km2 grid cells","GI = 2,001 to >50,000 1-km2 grid cells",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,"Pervasive - Large","Moderate - Slight","Pervasive - LargeModerate - Slight","CD","Medium - Low"]
["x",null,null,"HI","HI = 2,000 to >20,000 km2","HI = 100 to >500 km2","HI = 25,000 to >200,000 km2","HI = 2,501 to >12,500 4-km2 grid cells","HI = 10,000 to >50,000 1-km2 grid cells",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,"Pervasive - Restricted","Extreme or 71-100% pop. decline","Pervasive - RestrictedExtreme or 71-100% pop. decline","AC","Very High - Medium"]
["x",null,null,"ZA","ZA = Zero to 1 km2","ZA = Zero to 0.1 km2","ZA = Zero to 10 km2","ZA = Zero to 1 4-km2 grid cells","ZA = Zero to 4 1-km2 grid cells",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,"Pervasive - Restricted","Serious or 31-70% pop. decline","Pervasive - RestrictedSerious or 31-70% pop. decline","BC","High - Medium"]
["x",null,null,"ZB","ZB = Zero to 5 km2","ZB = Zero to 0.5 km2","ZB = Zero to 30 km2","ZB = Zero to 2 4-km2 grid cells","ZB = Zero to 10 1-km2 grid cells",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,"Pervasive - Restricted","Moderate or 11-30% pop. decline","Pervasive - RestrictedModerate or 11-30% pop. decline","CD","Medium - Low"]
["x",null,null,"ZC","ZC = Zero to 10 km2","ZC = Zero to 1 km2","ZC = Zero to 100 km2","ZC = Zero to 5 4-km2 grid cells","ZC = Zero to 20 1-km2 grid cells",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,"Pervasive - Restricted","Slight or 1-10% pop. decline","Pervasive - RestrictedSlight or 1-10% pop. decline","D","Low"]
["x",null,null,"ZD","ZD = Zero to 20 km2","ZD = Zero to 2 km2","ZD = Zero to 300 km2","ZD = Zero to 25 4-km2 grid cells","ZD = Zero to 100 1-km2 grid cells",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,"Pervasive - Restricted","Extreme - Serious","Pervasive - RestrictedExtreme - Serious","AC","Very High - Medium"]
["x",null,null,"ZE","ZE = Zero to 100 km2","ZE = Zero to 5 km2","ZE = Zero to 1,000 km2","ZE = Zero to 125 4-km2 grid cells","ZE = Zero to 500 1-km2 grid cells",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,"Pervasive - Restricted","Extreme - Moderate","Pervasive - RestrictedExtreme - Moderate","U","Unknown"]
["x",null,null,"ZF","ZF = Zero to 500 km2","ZF = Zero to 20 km2","ZF = Zero to 5,000 km2","ZF = Zero to 500 4-km2 grid cells","ZF = Zero to 2,000 1-km2 grid cells",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,"Pervasive - Restricted","Serious - Moderate","Pervasive - RestrictedSerious - Moderate","BD","High - Low"]
["x",null,null,"ZG","ZG = Zero to 2,000 km2","ZG = Zero to 100 km2","ZG = Zero to 25,000 km2","ZG = Zero to 2,500 4-km2 grid cells","ZG = Zero to 10,000 1-km2 grid cells",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,"Pervasive - Restricted","Serious - Slight","Pervasive - RestrictedSerious - Slight","BD","High - Low"]
["x",null,null,"ZH","ZH = Zero to 20,000 km2","ZH = Zero to 500 km2","ZH = Zero to 200,000 km2","ZH = Zero to 12,500 4-km2 grid cells","ZH = Zero to 50,000 1-km2 grid cells",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,"Pervasive - Restricted","Moderate - Slight","Pervasive - RestrictedModerate - Slight","CD","Medium - Low"]
["x",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,"Large - Restricted","Extreme or 71-100% pop. decline","Large - RestrictedExtreme or 71-100% pop. decline","BC","High - Medium"]
["x",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,"Large - Restricted","Serious or 31-70% pop. decline","Large - RestrictedSerious or 31-70% pop. decline","BC","High - Medium"]
["x",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,"Large - Restricted","Moderate or 11-30% pop. decline","Large - RestrictedModerate or 11-30% pop. decline","CD","Medium - Low"]
["x",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,"Large - Restricted","Slight or 1-10% pop. decline","Large - RestrictedSlight or 1-10% pop. decline","D","Low"]
["x",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,"Large - Restricted","Extreme - Serious","Large - RestrictedExtreme - Serious","BC","High - Medium"]
["x",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,"Large - Restricted","Extreme - Moderate","Large - RestrictedExtreme - Moderate","BD","High - Low"]
["x",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,"Large - Restricted","Serious - Moderate","Large - RestrictedSerious - Moderate","BD","High - Low"]
["x",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,"Large - Restricted","Serious - Slight","Large - RestrictedSerious - Slight","BD","High - Low"]
["x",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,"Large - Restricted","Moderate - Slight","Large - RestrictedModerate - Slight","CD","Medium - Low"]
["x",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,"Large - Small","Extreme or 71-100% pop. decline","Large - SmallExtreme or 71-100% pop. decline","BD","High - Low"]
["x",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,"Large - Small","Serious or 31-70% pop. decline","Large - SmallSerious or 31-70% pop. decline","BD","High - Low"]
["x",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,"Large - Small","Moderate or 11-30% pop. decline","Large - SmallModerate or 11-30% pop. decline","CD","Medium - Low"]
["x",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,"Large - Small","Slight or 1-10% pop. decline","Large - SmallSlight or 1-10% pop. decline","D","Low"]
["x",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,"Large - Small","Extreme - Serious","Large - SmallExtreme - Serious","BD","High - Low"]
["x",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,"Large - Small","Extreme - Moderate","Large - SmallExtreme - Moderate","BD","High - Low"]
["x",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,"Large - Small","Serious - Moderate","Large - SmallSerious - Moderate","BD","High - Low"]
["x",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,"Large - Small","Serious - Slight","Large - SmallSerious - Slight","BD","High - Low"]
["x",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,"Large - Small","Moderate - Slight","Large - SmallModerate - Slight","CD","Medium - Low"]
["x",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,"Restricted - Small","Extreme or 71-100% pop. decline","Restricted - SmallExtreme or 71-100% pop. decline","CD","Medium - Low"]
["x",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,"Restricted - Small","Serious or 31-70% pop. decline","Restricted - SmallSerious or 31-70% pop. decline","CD","Medium - Low"]
["x",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,"Restricted - Small","Moderate or 11-30% pop. decline","Restricted - SmallModerate or 11-30% pop. decline","D","Low"]
["x",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,"Restricted - Small","Slight or 1-10% pop. decline","Restricted - SmallSlight or 1-10% pop. decline","D","Low"]
["x",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,"Restricted - Small","Extreme - Serious","Restricted - SmallExtreme - Serious","CD","Medium - Low"]
["x",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,"Restricted - Small","Extreme - Moderate","Restricted - SmallExtreme - Moderate","CD","Medium - Low"]
["x",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,"Restricted - Small","Serious - Moderate","Restricted - SmallSerious - Moderate","CD","Medium - Low"]
["x",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,"Restricted - Small","Serious - Slight","Restricted - SmallSerious - Slight","CD","Medium - Low"]
["x",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,"Restricted - Small","Moderate - Slight","Restricted - SmallModerate - Slight","D","Low"]
["x",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,"using formula for these instead",null,null,"Negligible (<1%)","Extreme or 71-100% pop. decline","Negligible (<1%)Extreme or 71-100% pop. decline",null,"Negligible"]
["x",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,"Negligible (<1%)","Serious or 31-70% pop. decline",{"$f":"AI88&AJ88","v":"Negligible (<1%)Serious or 31-70% pop. decline"},null,"Negligible"]
["x",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,"Negligible (<1%)","Moderate or 11-30% pop. decline","Negligible (<1%)Moderate or 11-30% pop. decline",null,"Negligible"]
["x",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,"Negligible (<1%)","Slight or 1-10% pop. decline","Negligible (<1%)Slight or 1-10% pop. decline",null,"Negligible"]
["x",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,"Negligible (<1%)","Extreme - Serious","Negligible (<1%)Extreme - Serious",null,"Negligible"]
["x",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,"Negligible (<1%)","Extreme - Moderate","Negligible (<1%)Extreme - Moderate",null,"Negligible"]
["x",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,"Negligible (<1%)","Serious - Moderate","Negligible (<1%)Serious - Moderate",null,"Negligible"]
["x",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,"Negligible (<1%)","Serious - Slight","Negligible (<1%)Serious - Slight",null,"Negligible"]
["x",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,"Negligible (<1%)","Moderate - Slight","Negligible (<1%)Moderate - Slight",null,"Negligible"]
["x",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,"Unknown","Extreme or 71-100% pop. decline","UnknownExtreme or 71-100% pop. decline",null,"Unknown"]
["x",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,"Unknown","Serious or 31-70% pop. decline","UnknownSerious or 31-70% pop. decline",null,"Unknown"]
["x",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,"Unknown","Moderate or 11-30% pop. decline","UnknownModerate or 11-30% pop. decline",null,"Unknown"]
["x",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,"Unknown","Slight or 1-10% pop. decline","UnknownSlight or 1-10% pop. decline",null,"Unknown"]
["x",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,"Unknown","Extreme - Serious","UnknownExtreme - Serious",null,"Unknown"]
["x",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,"Unknown","Extreme - Moderate","UnknownExtreme - Moderate",null,"Unknown"]
["x",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,"Unknown","Serious - Moderate","UnknownSerious - Moderate",null,"Unknown"]
["x",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,"Unknown","Serious - Slight","UnknownSerious - Slight",null,"Unknown"]
["x",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,"Unknown","Moderate - Slight","UnknownModerate - Slight",null,"Unknown"]
["x",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,"Pervasive (71-100%)","Negligible or <1% pop. decline","Pervasive (71-100%)Negligible or <1% pop. decline",null,"Negligible"]
["x",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,"Large (31-70%)","Negligible or <1% pop. decline","Large (31-70%)Negligible or <1% pop. decline",null,"Negligible"]
["x",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,"Restricted (11-30%)","Negligible or <1% pop. decline","Restricted (11-30%)Negligible or <1% pop. decline",null,"Negligible"]
["x",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,"Small (1-10%)","Negligible or <1% pop. decline","Small (1-10%)Negligible or <1% pop. decline",null,"Negligible"]
["x",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,"Pervasive - Large","Negligible or <1% pop. decline","Pervasive - LargeNegligible or <1% pop. decline",null,"Negligible"]
["x",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,"Pervasive - Restricted","Negligible or <1% pop. decline","Pervasive - RestrictedNegligible or <1% pop. decline",null,"Negligible"]
["x",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,"Large - Restricted","Negligible or <1% pop. decline","Large - RestrictedNegligible or <1% pop. decline",null,"Negligible"]
["x",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,"Large - Small","Negligible or <1% pop. decline","Large - SmallNegligible or <1% pop. decline",null,"Negligible"]
["x",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,"Restricted - Small","Negligible or <1% pop. decline","Restricted - SmallNegligible or <1% pop. decline",null,"Negligible"]
["x",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,"Pervasive (71-100%)","Neutral or Benefit Potential","Pervasive (71-100%)Neutral or Benefit Potential",null,"Not a threat"]
["x",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,"Large (31-70%)","Neutral or Benefit Potential","Large (31-70%)Neutral or Benefit Potential",null,"Not a threat"]
["x",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,"Restricted (11-30%)","Neutral or Benefit Potential","Restricted (11-30%)Neutral or Benefit Potential",null,"Not a threat"]
["x",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,"Small (1-10%)","Neutral or Benefit Potential","Small (1-10%)Neutral or Benefit Potential",null,"Not a threat"]
["x",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,"Pervasive - Large","Neutral or Benefit Potential","Pervasive - LargeNeutral or Benefit Potential",null,"Not a threat"]
["x",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,"Pervasive - Restricted","Neutral or Benefit Potential","Pervasive - RestrictedNeutral or Benefit Potential",null,"Not a threat"]
["x",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,"Large - Restricted","Neutral or Benefit Potential","Large - RestrictedNeutral or Benefit Potential",null,"Not a threat"]
["x",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,"Large - Small","Neutral or Benefit Potential","Large - SmallNeutral or Benefit Potential",null,"Not a threat"]
["x",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,"Restricted - Small","Neutral or Benefit Potential","Restricted - SmallNeutral or Benefit Potential",null,"Not a threat"]
["x",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,"Pervasive (71-100%)","Unknown","Pervasive (71-100%)Unknown",null,"Unknown"]
["x",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,"Large (31-70%)","Unknown","Large (31-70%)Unknown",null,"Unknown"]
["x",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,"Restricted (11-30%)","Unknown","Restricted (11-30%)Unknown",null,"Unknown"]
["x",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,"Small (1-10%)","Unknown","Small (1-10%)Unknown",null,"Unknown"]
["x",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,"Pervasive - Large","Unknown","Pervasive - LargeUnknown",null,"Unknown"]
["x",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,"Pervasive - Restricted","Unknown","Pervasive - RestrictedUnknown",null,"Unknown"]
["x",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,"Large - Restricted","Unknown","Large - RestrictedUnknown",null,"Unknown"]
["x",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,"Large - Small","Unknown","Large - SmallUnknown",null,"Unknown"]
["x",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,"Restricted - Small","Unknown","Restricted - SmallUnknown",null,"Unknown"]
["x",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,"Negligible (<1%)","Negligible or <1% pop. decline","Negligible (<1%)Negligible or <1% pop. decline",null,"Negligible"]
["x",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,"Negligible (<1%)","Neutral or Benefit Potential","Negligible (<1%)Neutral or Benefit Potential",null,"Not a threat"]
["x",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,"Negligible (<1%)","Unknown","Negligible (<1%)Unknown",null,"Negligible"]
["x",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,"Unknown","Negligible or <1% pop. decline","UnknownNegligible or <1% pop. decline",null,"Negligible"]
["x",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,"Unknown","Neutral or Benefit Potential","UnknownNeutral or Benefit Potential",null,"Not a threat"]
["x",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,"Unknown","Unknown","UnknownUnknown",null,"Unknown"]

{"sheet":"RULES","index":15,"n_rows":179,"n_cols":16,"rows_kept":179,"cut":false,"hidden":true,"merged":[[1,4,1,13],[8,1,8,9],[11,1,11,9],[10,1,10,9],[7,1,7,9]]}
["Ranking Rules and Weights",null,null,null,null,"Ruleset:","Standard with \"Trend Subtraction/Addition Method\"",null,null,null,"(Dec 2010)","HIDDEN TAB"]
[null,null,null,null,"Note:  Yellow highlighted cells may be edited in this tab.  Edits will be automatically propagated to the appropriate formulas.  Point Scale (LINEAR, EXPONENTIAL or MIXED) must be edited by copying from the appropriate Rules tab and pasting over the data on the RULES tab (see Instructions tab)."]
[null,"(G)RANKS or (S)RANKS?",null,null,null,"POINT RANGE",5.5,null,null,"AVERAGING METHOD"]
[null,{"$f":"'Calculator Form'!F4","v":"S"},null,null,null,"Point scale:","LINEAR SCALE",null,null,"3AVG","1AVG","Average across all factors"]
[null,null,null,null,null,null,null,null,null,null,"2AVG","Average of Rarity + (Trend&Threats) Ranks"]
[null,null,null,null,null,null,null,null,null,null,"3AVG","Weighted Average of Rarity+Trends+Threats Ranks"]
["Explanation of factor points"]
[null,"The \"Values\" rows are for reference only; they show the meaning of each rank factor value.  For example, Population Size rank factor value of C means \"250 - 1000 individuals\" (see Factors tab), so 1000 (the maximum) is entered for \"Values\"."]
[null,"The \"Weighted\" row is the points altered by the Weight given in column B (editable).  These are the values used in the rank calculation."]
[null,"The points are calculated based on the Point Range (above) and Point Scale (Linear or Exponential)."]
[null,"If you wish to manually change the points, make a copy of this tab and edit in the points row."]
[null,"See the Rk Assign tab rules below for more information about how a rank is calculated."]
[]
["Relative weights",null,null,null,null,"Weight (Must add to 1.0)"]
[null,null,null,null,"Rarity",0.7]
[null,null,null,null,"Trends",0]
[null,null,null,null,"Threats",{"$f":"1-SUM(F15:F16)","v":0.30000000000000004},"automatically calculated based on other 2 factors"]
[]
["If using 2AVG calculation method (average of 2 factor groups), maximum weight should = 1 in each of the 2 groups"]
[]
[]
["Minimum # of factors by factor group",null,null,null,null,null,null,null,null,"Factors in each group:"]
[null,null,null,null,null,"minimum count to produce a rank",null,null,null,"count","List of factors:"]
[null,null,null,null,"Rarity (R1+R2)",1,null,null,null,6,"Range Extent, Area of Occupancy, Linear Distance of Occupancy, # EOs with Good Viability, # EOs, Population Size"]
[null,null,null,null,"Trends & Threats (T)",1,null,null,null,3,"Long-Term Trend, Short-Term Trend, Overall Threat"]
[null,null,null,null,"- OR -"]
[null,null,null,null,"Rarity 1 (R1)",1,null,null,null,3,"Range Extent, Area of Occupancy, Linear Distance of Occupancy"]
[null,null,null,null,"Rarity 2 (R2)",1,null,null,null,3,"# EOs with Good Viability, # EOs, Population Size"]
[null,null,null,null,null,null,null,null,null,"Factors in no group:"]
[null,null,null,null,"Flag to use if min. factors not met (after GU):",null,null,null,null,null,"Environmental Specificity, Intrinsic Vulnerability"]
[]
["Rarity"]
[null,null,null,null,"Step 1",0,0,1,2,3,4,5,6,7]
[null,"Weight",null,"Range","Population Size","Z","A","B","C","D","E","F","G","H",null,"U/Null"]
[null,null,null,null,"Values (see letter code definitions)",0,50,250,1000,2500,10000,100000,1000000,10000000]
[]
[]
[null,2,null,null,"Weighted",{"$f":"F39*$B38","v":0},0,1.58,3.14,4.72,6.28,7.86,9.42,11,null,{"$error":"#VALUE!"}]
[null,null,null,{"$f":"(MAX(G39:P39)-(MIN(G39:P39)))","v":5.5},"Points",{"$f":"ROUND($G$3/$N33*F33,2)","v":0},{"$f":"ROUND($G$3/$N33*G33,2)","v":0},0.79,1.57,2.36,3.14,3.93,4.71,5.5,null,"--"]
[]
[null,null,null,null,"Step 2/3",0,0,1,2,3,4,5,6,7]
[null,"Weight",null,"Range","Range Extent","Z","A","B","C","D","E","F","G","H",null,"U/Null"]
[null,null,null,null,"Values (see letter code definitions)",0,100,250,1000,5000,20000,200000,2500000,25000000]
[]
[]
[null,1,null,null,"Weighted",{"$f":"F47*$B46","v":0},0,0.79,1.57,2.36,3.14,3.93,4.71,5.5,null,{"$error":"#VALUE!"}]
[null,null,null,{"$f":"(MAX(G47:P47)-(MIN(G47:P47)))","v":5.5},"Points",{"$f":"ROUND($G$3/$N41*F41,2)","v":0},{"$f":"ROUND($G$3/$N41*G41,2)","v":0},0.79,1.57,2.36,3.14,3.93,4.71,5.5,null,"--"]
[]
[]
[null,null,null,null,null,0,0,1,2,3,4,5,6,7,8]
[null,"Weight",null,"Range","Area of Occupancy","Z","A","B","C","D","E","F","G","H","I","U/Null"]
[null,null,null,null,"Values (see letter code definitions)",0,0.4,4,20,100,500,2000,20000,200000]
[]
[]
[null,2,null,null,"Weighted",{"$f":"F56*$B55","v":0},0,1.38,2.76,4.12,5.5,6.88,8.26,9.6199999999999992,11,{"$f":"P56*$B55","v":{"$error":"#VALUE!"}}]
[null,null,null,{"$f":"(MAX(G56:P56)-(MIN(G56:P56)))","v":5.5},"Points",{"$f":"ROUND($G$3/$O50*F50,2)","v":0},{"$f":"ROUND($G$3/$O50*G50,2)","v":0},0.69,1.38,2.06,2.75,3.44,4.13,4.8099999999999996,5.5,"--"]
[]
[]
[]
[]
[null,null,null,null,"Step 4",0,0,1,2,3,4,null,null,4]
[null,"Weight",null,"Range","Number of EOs","Z","A","B","C","D","E","F","G","H",null,"U/Null"]
[null,null,null,null,"Values (see letter code definitions)",0,5,20,80,300,1200]
[]
[]
[null,1,null,null,"Weighted",{"$f":"F67*$B66","v":0},0,1.38,2.75,4.13,5.5,null,null,null,null,{"$f":"P67*$B66","v":{"$error":"#VALUE!"}}]
[null,null,null,{"$f":"(MAX(G67:P67)-(MIN(G67:P67)))","v":5.5},"Points",{"$f":"ROUND($G$3/$N61*F61,2)","v":0},{"$f":"ROUND($G$3/$N61*G61,2)","v":0},1.38,2.75,4.13,5.5,null,null,null,null,"--"]
[]
[]
[null,null,null,null,"Step 5",null,0,1,2,3,4,5,null,5]
[null,"Weight",null,"Range","# of Good EOs/Populations","Z","A","B","C","D","E","F","G","H",null,"U/Null"]
[null,null,null,null,"Values (see letter code definitions)",null,1,3,12,40,125,400]
[]
[]
[null,2,null,null,"Weighted",null,{"$f":"G76*$B75","v":0},2.2000000000000002,4.4000000000000004,6.6,8.8000000000000007,11,null,null,null,{"$f":"P76*$B75","v":{"$error":"#VALUE!"}}]
[null,null,null,{"$f":"(MAX(M76:P76)-(MIN(M76:P76)))","v":0},"Points",null,{"$f":"ROUND($G$3/$N70*G70,2)","v":0},{"$f":"ROUND($G$3/$N70*H70,2)","v":1.1000000000000001},2.2000000000000002,3.3,4.4000000000000004,5.5,null,null,null,"--"]
[]
[null,null,null,null,"Step 5B",null,0,1,2,3,4,5,null,5]
[null,"Weight",null,"Range","Proportion Area in Good Condition",null,"A","B","C","D","E","F","G","H",null,"U/Null"]
[null,null,null,null,"Values (see letter code definitions)",null,0,2.5,7.5,15,30,70]
[]
[]
[null,{"$f":"B75","v":2},null,null,"Weighted",null,{"$f":"G84*$B83","v":0},2.2000000000000002,4.4000000000000004,6.6,8.8000000000000007,11,null,null,null,{"$f":"P84*$B83","v":{"$error":"#VALUE!"}}]
[null,null,null,{"$f":"(MAX(G84:P84)-(MIN(G84:P84)))","v":5.5},"Points",null,{"$f":"ROUND($G$3/$N78*G78,2)","v":0},{"$f":"ROUND($G$3/$N78*H78,2)","v":1.1000000000000001},2.2000000000000002,3.3,4.4000000000000004,5.5,null,null,null,"--"]
[]
[null,"****Weight of Area of # Good EOs/Populations and Proportion Area in Good Condition should always be the same; change only # of Good EOs/Populations."]
[]
[null,null,null,null,"Condition: Only use Proportion Area in Good Condition if Area of Occupancy or Linear Distance of Occupancy has a value."]
[null,null,null,null,"Condition: If both # Good EOs/Populations and Proportion Area in Good Condition have values, use # Good EOs/Populations"]
[]
[null,null,null,null,"Step 6",null,0,1,2,3,null,null,null,3]
[null,"Weight",null,"Range","Environmental Specificity","Z","A","B","C","D","E","F","G","H",null,"U/Null"]
[null,null,null,null,"Values (see letter code definitions)",null,1,2,4,8]
[]
[]
[null,1,null,null,"Weighted",null,{"$f":"G97*$B96","v":0},{"$f":"H97*$B96","v":1.83},{"$f":"I97*$B96","v":3.67},{"$f":"J97*$B96","v":5.5},null,null,null,null,null,{"$f":"P97*$B96","v":{"$error":"#VALUE!"}}]
[null,null,null,{"$f":"(MAX(G97:P97)-(MIN(G97:P97)))","v":5.5},"Points",null,{"$f":"ROUND($G$3/$N91*G91,2)","v":0},{"$f":"ROUND($G$3/$N91*H91,2)","v":1.83},3.67,5.5,null,null,null,null,null,"--"]
[]
[null,null,null,null,"Condition"]
[null,null,null,null,"Only use Environmental Specificity if the Number of EOs AND Area of Occupancy AND Linear Distance of Occupancy are U or Null."]
[]
["Trends"]
[null,null,null,null,"Step 7",null,6,5,4,3,2,1,0,1,2]
[null,"Weight",null,"Range","Long Term Trend","Z","A","B","C","D","E","F","G","H","I","U/Null"]
[null,null,null,null,"Values (see letter code definitions)",null,10,25,50,75,100,125]
[]
[null,null,null,null,null,null,null,null,null,null,null,null,null,null,{"$f":"($D$117+1)^(1/G111)","v":1.069913193933663},"base"]
[null,1,null,0.75,"Weighted",null,{"$f":"G109*$B108","v":-0.5},-0.4,-0.31,-0.22,-0.14000000000000001,-7.0000000000000007E-2,0,7.0000000000000007E-2,0.14000000000000001,{"$f":"P109*$B108","v":{"$error":"#VALUE!"}}]
[null,null,null,{"$f":"(MAX(G109:P109)-(MIN(G109:P109)))","v":0.64},"Points",null,{"$f":"G117","v":-0.5},{"$f":"H117","v":-0.4},-0.31,-0.22,-0.14000000000000001,-7.0000000000000007E-2,0,7.0000000000000007E-2,0.14000000000000001,"--"]
[]
[null,null,null,null,"Step 8",null,6,5,4,3,2,1,0,1,2]
[null,"Weight",null,"Range","Short Term Trend","Z","A","B","C","D","E","F","G","H","I","U/Null"]
[null,null,null,null,"Values (see letter code definitions)",null,30,50,70,90,100,110]
[]
[]
[null,2,null,1.25,"Weighted",null,{"$f":"G117*$B116","v":-1},-0.8,-0.62,-0.44,-0.28000000000000003,-0.14000000000000001,0,0.14000000000000001,0.28000000000000003,{"$f":"P117*$B116","v":{"$error":"#VALUE!"}}]
[null,null,null,0.5,"Points",null,{"$f":"-(ROUND($O$107^G111-1,2))","v":-0.5},{"$f":"-(ROUND($O$107^H111-1,2))","v":-0.4},-0.31,-0.22,-0.14000000000000001,-7.0000000000000007E-2,0,{"$f":"ROUND($O$107^N111-1,2)","v":7.0000000000000007E-2},{"$f":"ROUND($O$107^O111-1,2)","v":0.14000000000000001},"--"]
[]
["Threats"]
[null,null,null,null,"Step 9",null,0,1,2,3,null,null,null,3]
[null,"Weight",null,"Range","Overall Threat","Z","A","B","C","D","E","F","G","H",null,"U/Null"]
[null,null,null,null,"Values (see letter code definitions)",null,"Extreme","Serious","Moderate","Slight"]
[]
[]
[null,1,null,null,"Weighted",null,{"$f":"G126*$B125","v":0},1.83,3.67,5.5,null,null,null,null,null,{"$error":"#VALUE!"}]
[null,null,null,{"$f":"(MAX(G126:P126)-(MIN(G126:P126)))","v":5.5},"Points",null,{"$f":"ROUND($G$3/$N120*G120,2)","v":0},{"$f":"ROUND($G$3/$N120*H120,2)","v":1.83},3.67,5.5,null,null,null,null,null,"--"]
[]
[null,null,null,null,"Step 10",null,0,1,2,null,null,null,null,2]
[null,"Weight",null,"Range","Intrinsic Vulnerability","Z","A","B","C","D","E","F","G","H",null,"U/Null"]
[null,null,null,null,"Values (see letter code definitions)",null,1,2,4]
[]
[]
[null,1,null,null,"Weighted",null,{"$f":"G134*$B133","v":0},{"$f":"H134*$B133","v":2.75},{"$f":"I134*$B133","v":5.5},null,null,null,null,null,null,{"$f":"P134*$B133","v":{"$error":"#VALUE!"}}]
[null,null,null,{"$f":"(MAX(G134:P134)-(MIN(G134:P134)))","v":5.5},"Points",null,{"$f":"ROUND($G$3/$N128*G128,2)","v":0},{"$f":"ROUND($G$3/$N128*H128,2)","v":2.75},5.5,null,null,null,null,null,null,"--"]
[]
[null,null,null,null,"Condition"]
[null,null,null,null,"Only use Intrinsic Vulnerability if Overall Threat is Unknown or Null.  "]
[]
[]
[null,null,null,null,{"$f":"B38+B46 + B55+B66+B75","v":8},null,"Total Weight of Rarity Factors",null,null,null,"does not include enviro specificity (usually not included in calc)"]
[null,null,null,null,{"$f":"B108+B116+B125","v":4},null,"Total Weight of Threat and Trend Factors",null,null,null,"does not include intrinsic vulnerability (usually not included in calc)"]
[null,null,null,null,{"$f":"E140/E141","v":2},null,"Rarity Factors Weight / Threat and Trend Factors Weight"]
[null,null,null,null,{"$f":"E140+E141","v":12},null,"Total Weight Rarity + Threat and Trend"]
[]
[]
["Rk Assign Tab"]
["Rank Assignment   (Distinguishing G3, G3?, G3G4, G2G4, GU, etc.)"]
[]
[null,"Thresholds:",null,null,null,0.95,0.8,"Change selections here (only) to try different thresholds"]
[]
[null,"Rank range is interval between calculated low and high values"]
[]
[null,null,null,"G1","calculated value<=1.5"]
[null,null,null,"G2","1.5<calculated value<=2.5"]
[null,null,null,"G3","2.5<calculated value<=3.5"]
[null,null,null,"G4","3.5<calculated value<=4.5"]
[null,null,null,"G5","calculated value>4.5"]
[]
[null,"1.",null,"H-rank if rank factors include "]
[null,null,null,"(a) one or more exact 'Z' responses (displays as HX in Initial tab, column J), or"]
[null,null,null,{"$f":"CONCATENATE(\"(b) one or more factor ranges begin with 'Z' (displays as H+ in Initial tab, column J) and >= \",VALUE(F149*100),\"% (can modify % above) of rank range is G1 and/or G2\")","v":"(b) one or more factor ranges begin with 'Z' (displays as H+ in Initial tab, column J) and >= 95% (can modify % above) of rank range is G1 and/or G2"}]
[]
[null,"2.",null,{"$f":"CONCATENATE(\"Exact single-number rank if low and high are identical or >= \",VALUE(F149*100),\"% of rank range is in a single rank\")","v":"Exact single-number rank if low and high are identical or >= 95% of rank range is in a single rank"}]
[]
[null,"3.",null,{"$f":"CONCATENATE(\"Single-number rank with '?' if >= \",VALUE(G149*100),\"% (can modify % above) but < \",VALUE(F149*100),\"% (can modify percent above) of rank range is in a single rank\")","v":"Single-number rank with '?' if >= 80% (can modify % above) but < 95% (can modify percent above) of rank range is in a single rank"}]
[null,null,null,null,"[Question yet of whether one-tailed '?' ranks appropriate for 2,3,4]"]
[]
[null,"4.",null,{"$f":"CONCATENATE(\"2-number rank if >= \",VALUE(F149*100),\"% (can modify % above) of rank range is in two ranks, but < \",VALUE(G149*100),\"% (can modify % above) in a single rank\")","v":"2-number rank if >= 95% (can modify % above) of rank range is in two ranks, but < 80% (can modify % above) in a single rank"}]
[]
[null,"5.",null,{"$f":"CONCATENATE(\"3-number rank if >= \",VALUE(F149*100),\"% (can modify % above) of rank range is in three ranks, but < \",VALUE(F149*100),\"% (can modify % above) in any two ranks\")","v":"3-number rank if >= 95% (can modify % above) of rank range is in three ranks, but < 95% (can modify % above) in any two ranks"}]
[]
[null,"6.",null,"Minimum Factors Requirement"]
[null,null,null,"One factor from each of 2 factor groups."]
[null,null,null,"If not met, a GU (or SU) rank is returned."]
[]
[null,"7.",null,"Overrides:"]
[null,null,null,"Any factor = X produces GX (or SX).  (Population size or Area/Linear Occupancy)"]
[null,null,null,"Any factor = exact Z produces GH (or SH).  (Population size, Area/Linear Occupancy, # Occurrences, or Range Extent)"]
[null,null,null,"Population size or Area/Linear Occupancy = exact A or ZA produces G1 (or S1)."]